Re: Fw: Spice Android client: Screen turns black and won't recover

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chuan,

On Thu, Oct 10, 2013 at 12:20 PM,  <linuxqc@xxxxxxxxx> wrote:
> The workaround in v3.3.3 works, and I can’t tell any difference on my
> samsung Galaxy s4, too. But on some of my friends’ devices it can tell.
> I also have a workaround. the idea is that, when the issue occurs we just
> recycle the bitmap and create a new one, like what we do when the remote
> screen resolution has changed.

I thought about that too, but decided that it would neither be elegant
nor applicable to all three clients. It would not work for the VNC
client (bVNC) because there is absolutely no way to detect the issue
programatically in it. The SPICE and RDP clients, (aSPICE and aRDP)
perform a lockPixels() call in native code which fails, and we can
detect the issue at that point. However, bVNC is implemented entirely
in Java, and it only calls drawBitmap() which fails silently.

> If you like, I can send you the source, but the changes I have made is not
> elegant.

Let me look at it in any case.

Thanks!
iordan

-- 
The conscious mind has only one thread of execution.
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]