Return to Level1Techs.com

Looking Glass Client fails to start due to AMD drivers/mesa issues

I have a fresh installation of fedora 31 and a Windows 10 guest. I have managed to compile the Looking Glass client however it fails to run

./looking-glass-client 
[I]               main.c:996  | run                            | Looking Glass (B1-rc6-6-gb979752989+1)
[I]               main.c:997  | run                            | Locking Method: Atomic
libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib64/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib64/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib64/dri)
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  112
  Current serial number in output stream:  111

I have looked in /usr/lib64/dri and I do see a file named radeonsi_dri.so. I am guessing I am missing something but I can’t figure out what.

Host CPU: AMD 2700X
Host GPU: AMD Radeon RX 570
Guest GPU: Nvidia 1080
Host Kernel version: 5.4.18-200.fc31.x86_64
Host QEMU version: qemu-4.1.1-1.fc31

Did you install the amdgpu drivers from AMD? If so these are very broken and should not be used. radeonsi is the xorg GLX driver for amdgpu, check your Xorg logs to see why it didn’t load.

No I did not, I’ll check the xorg logs to see if it says anything.

I can’t find anything in ~/.local/share/xorg/Xorg.0.log, journalctl -fe _COMM=gdm-x-session or /var/log/Xorg.0.log that would indicate any problem. Also nothing pops up in those logs when I run looking glass.