Linux hypervisor and Linux VM

Hi,
Is it possible to use LG with both hypervisor and guest being Linux OS?
I cannot seem to find much information around. So far I only found some hints that it should be possible but no instructions.

My setup is:
Hypervisor : Coffee lake integrated GPU
VM: 1050ti

Idea behind is to utilize multiple GPUs under linux. Integrated gpu will handle only the desktop while dedicated will do the hard work. If using only dedicated gpu the desktop can get unresponsive during rendering.
On top of that … I have another older nvidia GT650 which I would like to hook up onto another VM and try to use 1 PC for two users, or just run render jobs on all cards + cpu.
One last thing. I do not wan’t to use Windows, that OS stoppped working for me 10+y ago.

I tried to run Opensuse tumbleweed on both side, but LG always crashes if run as root user:

Prongs:/home/kolomansell/LookingGlass-Release-B1/client/build # ./looking-glass-client 

[I] main.c:996 | run | Looking Glass (B1-rc6-6-gb979752989+1)
[I] main.c:997 | run | Locking Method: Atomic
error: XDG_RUNTIME_DIR not set in the environment.
[I] egl.c:187 | egl_initialize | Double buffering is on
[I] main.c:902 | try_renderer | Using Renderer: EGL
[E] egl.c:392 | egl_render_startup | Unsupported subsystem
[I] spice.c:197 | spice_connect | Remote: 127.0.0.1:5900
[I] main.c:1259 | run | Waiting for host to signal it’s ready…

I tried it other way :

pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /usr/local/bin/looking-glass-client
[I] main.c:996 | run | Looking Glass (B1-rc6-6-gb979752989+1)
[I] main.c:997 | run | Locking Method: Atomic
[I] egl.c:187 | egl_initialize | Double buffering is on
[I] egl.c:201 | egl_initialize | Multsampling enabled, max samples: 4
[I] main.c:902 | try_renderer | Using Renderer: EGL
[I] main.c:1183 | run | Using Clipboard: X11
[I] spice.c:197 | spice_connect | Remote: 127.0.0.1:5900
[I] spice.c:911 | spice_agent_connect | Spice agent available, sending start
[I] main.c:1259 | run | Waiting for host to signal it’s ready…
[I] spice.c:409 | spice_on_common_read | notify message: keyboard channel is insecure
[I] spice.c:995 | spice_agent_process | clipboard capability detected
[I] egl.c:447 | egl_render_startup | Vendor : Intel Open Source Technology Center
[I] egl.c:448 | egl_render_startup | Renderer: Mesa DRI Intel® UHD Graphics 630 (CFL GT2)
[I] egl.c:449 | egl_render_startup | Version : OpenGL ES 3.2 Mesa 20.0.1
[E] spice.c:1107 | spice_agent_process | Fixme!
[E] spice.c:603 | spice_on_main_channel_read | failed to process spice agent message
[E] spice.c:273 | spice_process | failed to perform read on main channel
[E] main.c:394 | spiceThread | failed to process spice messages

Now purple window with the logo shows up but crashes after clicking on it.

Looking Glass Host doesn’t work with Linux.

I’m not entirely sure what you’re trying to do.

You know you can do that without a VM right? :thinking:

1 Like