Page MenuHomeSolus

Retroarch won't load
Closed, ResolvedPublic

Description

I installed RetroArch but launching it gives me this error when starting it:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
libEGL warning: DRI2: failed to authenticate
Segmentation fault

This is with Solus 3.9999:

Graphics:
  Card-1: NVIDIA GT218 [GeForce 405] driver: nvidia v: 340.106 
  bus ID: 01:00.0 
  Display: x11 server: X.Org 1.19.6 driver: nvidia 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: GeForce 405/PCIe/SSE2 v: 3.3.0 NVIDIA 340.106 
  direct render: Yes

Event Timeline

Can I see output of these:

ldd /usr/bin/retroarch
ldconfig -pN |grep libGL

NOTE: Note the output from this next one might be massive, but the output will be saved in /tmp/strace.tmp

strace -f -o /tmp/strace.tmp retroarch; cat /tmp/strace.tmp

Also after that, try launching it via:

LD_LIBRARY_PATH=/usr/lib64/nvidia retroarch

Well, I may be the most unlucky bastard in the universe but my HDD gave up yesterday on that computer so I guess that giving you any outputs will be close impossible ? @sunnyflunk

Guess I will install RetroArch on my Solus laptop and see if I get the same error there...

From what I understand, the issue only exists on the nvidia 304 and 340 drivers, though it would be nice to have the outputs I've requested to validate.

I've got the same problem! I will give you the outputs later, when I get home again.

Awesome @CyrosX ? My laptop has Intel graphics so it won’t prove any useful then...


All three outputs.
With this command:
LD_LIBRARY_PATH=/usr/lib64/nvidia retroarch
Retroarch launches but it is not possible to navigate and all icons are black squares.

Black icon squares is because they for some reason don’t package assets, just go in to online updater and update assets ?

Straight text would have been much easier (I don't have LO installed), I've extracted the important parts:

libGLESv2.so.2 (libc6,x86-64) => /usr/lib64/nvidia/libGLESv2.so.2
libGLESv2.so.2 (libc6,x86-64) => /usr/lib/libGLESv2.so.2
libGLESv2.so.2 (libc6) => /usr/lib32/nvidia/libGLESv2.so.2
libGLESv2.so.2 (libc6) => /usr/lib32/libGLESv2.so.2
libGLESv2.so (libc6,x86-64) => /usr/lib64/nvidia/libGLESv2.so
libGLESv2.so (libc6,x86-64) => /usr/lib/libGLESv2.so
libGLESv2.so (libc6) => /usr/lib32/nvidia/libGLESv2.so
libGLESv2.so (libc6) => /usr/lib32/libGLESv2.so
libGLESv1_CM.so.1 (libc6,x86-64) => /usr/lib64/nvidia/libGLESv1_CM.so.1
libGLESv1_CM.so.1 (libc6,x86-64) => /usr/lib/libGLESv1_CM.so.1
libGLESv1_CM.so.1 (libc6) => /usr/lib32/nvidia/libGLESv1_CM.so.1
libGLESv1_CM.so.1 (libc6) => /usr/lib32/libGLESv1_CM.so.1
libGLESv1_CM.so (libc6,x86-64) => /usr/lib64/nvidia/libGLESv1_CM.so
libGLESv1_CM.so (libc6,x86-64) => /usr/lib/libGLESv1_CM.so
libGLESv1_CM.so (libc6) => /usr/lib32/nvidia/libGLESv1_CM.so
libGLESv1_CM.so (libc6) => /usr/lib32/libGLESv1_CM.so
libGL.so.1 (libc6,x86-64) => /usr/lib64/nvidia/libGL.so.1
libGL.so.1 (libc6,x86-64) => /usr/lib/libGL.so.1
libGL.so.1 (libc6) => /usr/lib32/nvidia/libGL.so.1
libGL.so.1 (libc6) => /usr/lib32/libGL.so.1
libGL.so (libc6,x86-64) => /usr/lib64/nvidia/libGL.so
libGL.so (libc6,x86-64) => /usr/lib/libGL.so
libGL.so (libc6) => /usr/lib32/nvidia/libGL.so
libGL.so (libc6) => /usr/lib32/libGL.so

3857 openat(AT_FDCWD, "/usr/lib64/libGL.so.1", O_RDONLY|O_CLOEXEC) = 3
3857 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
3857 openat(AT_FDCWD, "/etc/glvnd/egl_vendor.d", O_RDONLY|O_NONBLOCK O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3857 openat(AT_FDCWD, "/usr/share/glvnd/egl_vendor.d", O_RDONLY|O_NONBLOCK O_DIRECTORY|O_CLOEXEC) = 3
3857 openat(AT_FDCWD, "/usr/share/glvnd/egl_vendor.d/50_mesa.json", O_RDONLY) = 3

Ok, I think I understand why this is happening, but I may have to rebuild a good chunk of Solus to fix it

Jacalz updated the task description. (Show Details)

@Jacalz now it's been synced, can you update, reboot and try this and Sphinx and the Cursed Mummy and report back with any new logs that arise if they still don't work.

Yeah, I will give this a shot later the comming week due to being on vacation. Will probably be home by Wednesday...

I have tested and it definitely works now! Thanks @sunnyflunk ?