[GH-ISSUE #220] Retroarch/vulkan/nvidia doesn't load #148

Open
opened 2026-10-15 12:57:10 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @gtrak on GitHub (Jun 30, 2025).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/220

I am unable to load retroarch. Steam works, other things seem to be working fine. I suspect I can work around this by changing the retroarch config (how do I do that?).

I'm using Ubuntu server 24.04, Nvidia driver 535 on an ancient quadro p620:

$ docker logs WolfRetroarch_12678246887437149537
[2025-06-30 18:10:25]
[2025-06-30 18:10:25] [ /etc/cont-init.d/10-setup_user.sh: executing... ]
[2025-06-30 18:10:25] **** Configure default user ****
[2025-06-30 18:10:25] Setting default user uid=1000(retro) gid=1000(retro)
userdel: ubuntu mail spool (/var/mail/ubuntu) not found
useradd: warning: the home directory /home/retro already exists.
useradd: Not copying any file from skel directory into it.
[2025-06-30 18:10:25] Setting umask to 000
[2025-06-30 18:10:25] Ensure retro home directory is writable
[2025-06-30 18:10:25] Ensure XDG_RUNTIME_DIR is writable
[2025-06-30 18:10:25] DONE
[2025-06-30 18:10:25]
[2025-06-30 18:10:25] [ /etc/cont-init.d/15-setup_devices.sh: executing... ]
[2025-06-30 18:10:25] **** Configure devices ****
[2025-06-30 18:10:25] Exec device groups
[2025-06-30 18:10:25] Adding user 'retro' to groups: gow-gid-109,video,root
[2025-06-30 18:10:26] DONE
[2025-06-30 18:10:26]
[2025-06-30 18:10:26] [ /etc/cont-init.d/30-nvidia.sh: executing... ]
[2025-06-30 18:10:26] Nvidia driver volume detected
[2025-06-30 18:10:26] [nvidia] Add Vulkan ICD
[2025-06-30 18:10:26] [nvidia] Add EGL external platform
[2025-06-30 18:10:26] [nvidia] Add egl-vendor
[2025-06-30 18:10:26] [nvidia] Add gbm backend
[2025-06-30 18:10:26]
[2025-06-30 18:10:26] [ /etc/cont-init.d/init-gamescope.sh: executing... ]
[2025-06-30 18:10:26] Launching the container's startup script as user 'retro'
[2025-06-30 18:10:26] Starting RetroArch
[2025-06-30 18:10:26] [Sway] - Starting: `/usr/bin/retroarch`
00:00:00.002 [ERROR] [sway/server.c:157] !!! Proprietary Nvidia drivers are in use !!!
Failed to connect to user scope bus via local transport: No such file or directory
2025-06-30 18:10:26 - [main.c:278] Could not find config for output WL-1 ((null))

(waybar:158): dbind-WARNING **: 18:10:26.462: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
[2025-06-30 18:10:26.474] [info] Using configuration file /home/retro/.config/waybar/config.jsonc
dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Activating service name='org.freedesktop.portal.Desktop' requested by ':1.1' (uid=1000 pid=158 comm="waybar -b bar-0" label="docker-default (enforce)")
dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.3' (uid=1000 pid=175 comm="/usr/libexec/xdg-desktop-portal" label="docker-default (enforce)")
dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Activating service name='org.freedesktop.portal.Documents' requested by ':1.3' (uid=1000 pid=175 comm="/usr/libexec/xdg-desktop-portal" label="docker-default (enforce)")
dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Successfully activated service 'org.freedesktop.portal.Documents'
fusermount3: fuse device not found, try 'modprobe fuse' first
error: fuse init failed: Can't mount path /tmp/sockets/doc
dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Activating service name='org.freedesktop.impl.portal.desktop.gtk' requested by ':1.3' (uid=1000 pid=175 comm="/usr/libexec/xdg-desktop-portal" label="docker-default (enforce)")
dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Activating service name='com.feralinteractive.GameMode' requested by ':1.6' (uid=1000 pid=167 comm="/usr/bin/retroarch" label="docker-default (enforce)")
Daemon launched as /usr/bin/gamemoded...
dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Successfully activated service 'com.feralinteractive.GameMode'

(xdg-desktop-portal-gtk:196): dbind-WARNING **: 18:10:26.504: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(xdg-desktop-portal-gtk:196): xdg-desktop-portal-gtk-WARNING **: 18:10:26.517: error: Could not connect: No such file or directory

dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Successfully activated service 'org.freedesktop.impl.portal.desktop.gtk'

(/usr/libexec/xdg-desktop-portal:175): xdg-desktop-portal-WARNING **: 18:10:26.528: Failed to create RealtimeKit proxy: Could not connect: No such file or directory
[W][36919.837092] pw.conf      | [          conf.c: 1214 try_load_conf()] can't load config client.conf: No such file or directory
[E][36919.837097] pw.conf      | [          conf.c: 1243 pw_conf_load_conf_for_context()] can't load config client.conf: No such file or directory

(/usr/libexec/xdg-desktop-portal:175): xdg-desktop-portal-WARNING **: 18:10:26.531: Failed connect to PipeWire: Couldn't create PipeWire context
dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Successfully activated service 'org.freedesktop.portal.Desktop'
[2025-06-30 18:10:26.534] [info] Using CSS file /home/retro/.config/waybar/style.css
basic_string::_M_create
[2025-06-30 18:10:26.538] [warning] Unable to connect to the SYSTEM Bus!...
[2025-06-30 18:10:26.553] [error] Can't open RFKILL control device
warning: queue 0x653abee8fe70 destroyed while proxies still attached:
  wl_registry#33 still attached
libEGL warning: egl: failed to create dri2 screen
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
> Warning:          Could not resolve keysym XF86KbdInputAssistPrevgrou
> Warning:          Could not resolve keysym XF86KbdInputAssistNextgrou
Errors from xkbcomp are not fatal to the X server
[2025-06-30 18:10:26.678] [warning] Requested height: 30 is less than the minimum height: 37 required by the modules
[2025-06-30 18:10:26.678] [info] Bar configured (width: 1920, height: 37) for output: WL-1
warning: queue 0x653abf773140 destroyed while proxies still attached:
  wl_registry#40 still attached
MESA: error: CreateSwapchainKHR failed with VK_ERROR_INITIALIZATION_FAILED
MESA: error: zink: could not create swapchain
ALSA lib seq_hw.c:531:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
Originally created by @gtrak on GitHub (Jun 30, 2025). Original GitHub issue: https://github.com/games-on-whales/wolf/issues/220 I am unable to load retroarch. Steam works, other things seem to be working fine. I suspect I can work around this by changing the retroarch config (how do I do that?). I'm using Ubuntu server 24.04, Nvidia driver 535 on an ancient quadro p620: ``` $ docker logs WolfRetroarch_12678246887437149537 [2025-06-30 18:10:25] [2025-06-30 18:10:25] [ /etc/cont-init.d/10-setup_user.sh: executing... ] [2025-06-30 18:10:25] **** Configure default user **** [2025-06-30 18:10:25] Setting default user uid=1000(retro) gid=1000(retro) userdel: ubuntu mail spool (/var/mail/ubuntu) not found useradd: warning: the home directory /home/retro already exists. useradd: Not copying any file from skel directory into it. [2025-06-30 18:10:25] Setting umask to 000 [2025-06-30 18:10:25] Ensure retro home directory is writable [2025-06-30 18:10:25] Ensure XDG_RUNTIME_DIR is writable [2025-06-30 18:10:25] DONE [2025-06-30 18:10:25] [2025-06-30 18:10:25] [ /etc/cont-init.d/15-setup_devices.sh: executing... ] [2025-06-30 18:10:25] **** Configure devices **** [2025-06-30 18:10:25] Exec device groups [2025-06-30 18:10:25] Adding user 'retro' to groups: gow-gid-109,video,root [2025-06-30 18:10:26] DONE [2025-06-30 18:10:26] [2025-06-30 18:10:26] [ /etc/cont-init.d/30-nvidia.sh: executing... ] [2025-06-30 18:10:26] Nvidia driver volume detected [2025-06-30 18:10:26] [nvidia] Add Vulkan ICD [2025-06-30 18:10:26] [nvidia] Add EGL external platform [2025-06-30 18:10:26] [nvidia] Add egl-vendor [2025-06-30 18:10:26] [nvidia] Add gbm backend [2025-06-30 18:10:26] [2025-06-30 18:10:26] [ /etc/cont-init.d/init-gamescope.sh: executing... ] [2025-06-30 18:10:26] Launching the container's startup script as user 'retro' [2025-06-30 18:10:26] Starting RetroArch [2025-06-30 18:10:26] [Sway] - Starting: `/usr/bin/retroarch` 00:00:00.002 [ERROR] [sway/server.c:157] !!! Proprietary Nvidia drivers are in use !!! Failed to connect to user scope bus via local transport: No such file or directory 2025-06-30 18:10:26 - [main.c:278] Could not find config for output WL-1 ((null)) (waybar:158): dbind-WARNING **: 18:10:26.462: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files [2025-06-30 18:10:26.474] [info] Using configuration file /home/retro/.config/waybar/config.jsonc dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Activating service name='org.freedesktop.portal.Desktop' requested by ':1.1' (uid=1000 pid=158 comm="waybar -b bar-0" label="docker-default (enforce)") dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.3' (uid=1000 pid=175 comm="/usr/libexec/xdg-desktop-portal" label="docker-default (enforce)") dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore' dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Activating service name='org.freedesktop.portal.Documents' requested by ':1.3' (uid=1000 pid=175 comm="/usr/libexec/xdg-desktop-portal" label="docker-default (enforce)") dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Successfully activated service 'org.freedesktop.portal.Documents' fusermount3: fuse device not found, try 'modprobe fuse' first error: fuse init failed: Can't mount path /tmp/sockets/doc dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Activating service name='org.freedesktop.impl.portal.desktop.gtk' requested by ':1.3' (uid=1000 pid=175 comm="/usr/libexec/xdg-desktop-portal" label="docker-default (enforce)") dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Activating service name='com.feralinteractive.GameMode' requested by ':1.6' (uid=1000 pid=167 comm="/usr/bin/retroarch" label="docker-default (enforce)") Daemon launched as /usr/bin/gamemoded... dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Successfully activated service 'com.feralinteractive.GameMode' (xdg-desktop-portal-gtk:196): dbind-WARNING **: 18:10:26.504: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files (xdg-desktop-portal-gtk:196): xdg-desktop-portal-gtk-WARNING **: 18:10:26.517: error: Could not connect: No such file or directory dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Successfully activated service 'org.freedesktop.impl.portal.desktop.gtk' (/usr/libexec/xdg-desktop-portal:175): xdg-desktop-portal-WARNING **: 18:10:26.528: Failed to create RealtimeKit proxy: Could not connect: No such file or directory [W][36919.837092] pw.conf | [ conf.c: 1214 try_load_conf()] can't load config client.conf: No such file or directory [E][36919.837097] pw.conf | [ conf.c: 1243 pw_conf_load_conf_for_context()] can't load config client.conf: No such file or directory (/usr/libexec/xdg-desktop-portal:175): xdg-desktop-portal-WARNING **: 18:10:26.531: Failed connect to PipeWire: Couldn't create PipeWire context dbus-daemon[150]: [session uid=1000 pid=150 pidfd=5] Successfully activated service 'org.freedesktop.portal.Desktop' [2025-06-30 18:10:26.534] [info] Using CSS file /home/retro/.config/waybar/style.css basic_string::_M_create [2025-06-30 18:10:26.538] [warning] Unable to connect to the SYSTEM Bus!... [2025-06-30 18:10:26.553] [error] Can't open RFKILL control device warning: queue 0x653abee8fe70 destroyed while proxies still attached: wl_registry#33 still attached libEGL warning: egl: failed to create dri2 screen The XKEYBOARD keymap compiler (xkbcomp) reports: > Warning: Unsupported maximum keycode 708, clipping. > X11 cannot support keycodes above 255. > Warning: Could not resolve keysym XF86KbdInputAssistPrevgrou > Warning: Could not resolve keysym XF86KbdInputAssistNextgrou Errors from xkbcomp are not fatal to the X server [2025-06-30 18:10:26.678] [warning] Requested height: 30 is less than the minimum height: 37 required by the modules [2025-06-30 18:10:26.678] [info] Bar configured (width: 1920, height: 37) for output: WL-1 warning: queue 0x653abf773140 destroyed while proxies still attached: wl_registry#40 still attached MESA: error: CreateSwapchainKHR failed with VK_ERROR_INITIALIZATION_FAILED MESA: error: zink: could not create swapchain ALSA lib seq_hw.c:531:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory ```
Author
Owner

@ABeltramo commented on GitHub (Jun 30, 2025):

Are you using the container toolkit? Have you tried the manual Nvidia driver volume instead?

<!-- gh-comment-id:3020203736 --> @ABeltramo commented on GitHub (Jun 30, 2025): Are you using the container toolkit? Have you tried the manual Nvidia driver volume instead?
Author
Owner

@gtrak commented on GitHub (Jun 30, 2025):

I had the container toolkit installed in the host OS (tried to use it for steam-headless in the past), but I used the manual setup method for wolf. I tried to find any missing packages to install by searching around for that error, but they had no effect.

<!-- gh-comment-id:3020303373 --> @gtrak commented on GitHub (Jun 30, 2025): I had the container toolkit installed in the host OS (tried to use it for steam-headless in the past), but I used the manual setup method for wolf. I tried to find any missing packages to install by searching around for that error, but they had no effect.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/wolf#148
No description provided.