Required information
Host CPU: Ryzen 1700
Host GPU: AMD RX560
Guest GPU: Nvidia 1070
Host Kernel version: 4.17.0-041700rc3-generic
Host QEMU version: 2.11.1(Debian 1:2.11+dfsg-1ubuntu7)
Hello,
Decided to try LG again as it worked fine few months back, however now I am facing several problems.
My setup changed quite a bit (software wise) and this might be at fault.
Here is the description, any help is welcome.
The GL window is black (except for fps information that is displayed properly (60fps, ~3.99 UPS)
What versions of LG have I tried:
- a10
- git master (by the way there is an incompatible pointer error with h264 decode, couldn't figure it out, so just compiled the bin without h264 support)
What does my setup look like:
- Standard default ubuntu 18.04 install
- Last kernel from mainline (this also fails with older "stable" kernels)
- 3 screens (2 host (1920x1200, 3840x2160), 1 guest 1200x1920)
- The guest screen is setup vertically
Does LG guest or host crash ? NO
Does LG connect to host to guest ? YES
Have you tried different memory allocation size ? YES (more than enough for that guest res@24bit
Some logs:
./looking-glass-client -a -k -j
[I] main.c:682 | run | Looking Glass (a10-59-gda2bcfdf9a-dirty)
[I] main.c:683 | run | Locking Method: Atomic
[I] main.c:676 | try_renderer | Using Renderer: OpenGL
[I] main.c:764 | run | Using: OpenGL
[I] main.c:879 | run | Waiting for host to signal it's ready...
[I] spice.c:347 | spice_on_common_read | notify message: keyboard channel is insecure
[I] main.c:883 | run | Host ready, starting session
[I] main.c:174 | updatePositionInfo | client 1200x1920, guest 1200x1920, target 1200x1920, scaleX: 1.00, scaleY 1.00
[I] main.c:174 | updatePositionInfo | client 1024x768, guest 1200x1920, target 480x768, scaleX: 2.50, scaleY 2.50
[W] main.c:177 | updatePositionInfo | Window size doesn't match guest resolution, cursor alignment may not be reliable
[I] opengl.c:545 | configure | Vendor : X.Org
[I] opengl.c:546 | configure | Renderer: Radeon RX 560 Series (POLARIS11 / DRM 3.25.0 / 4.17.0-041700rc3-generic, LLVM 6.0.0)
[I] opengl.c:547 | configure | Version : 3.0 Mesa 18.0.0-rc5
[I] opengl.c:557 | configure | Using GL_AMD_pinned_memory
[I] opengl.c:592 | configure | Using decoder: NULL
[I] main.c:174 | updatePositionInfo | client 1200x1920, guest 1200x1920, target 1200x1920, scaleX: 1.00, scaleY 1.00
Once I click scroll lock to get the mouse to move on the guest (The mouse only moves If I click anywhere inside the LG window otherwise, there is no mouse position matching).
[W] spice.c:410 | spice_on_main_channel_read | main channel unhandled message type 105
[I] main.c:516 | eventFilter | Server Mode: on
[I] main.c:516 | eventFilter | Server Mode: off
[W] spice.c:410 | spice_on_main_channel_read | main channel unhandled message type 105
If you want me to do anything or test with a different setup, let me know, I'll gladly provide extra feedback.
Concerning the black screen, it seem the texture is not being pushed to the GL surface you create in LG.
Concerning the mouse, I don't see why the spice client doesn't follow the mouse when the window is active but no scroll lock is in place (click updates the to the correct position tough), and I certainly don't see why the cursor is "reset" back to its original place (when you first press scroll lock) after a click if the scroll lock was activated.
I had one run, where I got the following. But I am unable to reproduce:
[E] spice.c:854 | spice_mouse_motion | mouse motion ringbuffer full!
[E] main.c:497 | eventFilter | SDL_MOUSEMOTION: failed to send message
[E] spice.c:854 | spice_mouse_motion | mouse motion ringbuffer full!
[E] main.c:497 | eventFilter | SDL_MOUSEMOTION: failed to send message
[I] main.c:174 | updatePositionInfo | client 1200x1920, guest 1200x1920, target 1200x1920, scaleX: 1.00, scaleY 1.00
[E] spice.c:854 | spice_mouse_motion | mouse motion ringbuffer full!
[E] main.c:497 | eventFilter | SDL_MOUSEMOTION: failed to send message
[E] spice.c:854 | spice_mouse_motion | mouse motion ringbuffer full!
[E] main.c:497 | eventFilter | SDL_MOUSEMOTION: failed to send message
[E] spice.c:854 | spice_mouse_motion | mouse motion ringbuffer full!
[E] main.c:497 | eventFilter | SDL_MOUSEMOTION: failed to send message
[E] spice.c:854 | spice_mouse_motion | mouse motion ringbuffer full!