Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Steam Refuses to Launch: Can't find device in libsystemd. (Read 453 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Steam Refuses to Launch: Can't find device in libsystemd.

For a reason I don't understand, Steam can't get a reference my GPU and refuses to start.

Output of running `steam`:
steam.sh[29240]: Running Steam on artix rolling 64-bit
steam.sh[29240]: STEAM_RUNTIME is enabled automatically
setup.sh[29320]: Steam runtime environment up-to-date!
steam.sh[29240]: Steam client's requirements are satisfied
[2023-08-06 16:51:15] Startup - updater built Aug  4 2023 23:36:41
[2023-08-06 16:51:15] Startup - Steam Client launched with: '/home/.../.local/share/Steam/ubuntu12_32/steam'
[2023-08-06 16:51:15] Opted in to client beta 'publicbeta' via beta file
You are in the 'publicbeta' client beta.
08/06 16:51:15 Init: Installing breakpad exception handler for appid(steam)/version(1691193224)/tid(29407)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2023-08-06 16:51:15] Loading cached metrics from disk (/home/.../.local/share/Steam/package/steam_client_metrics.bin)
[2023-08-06 16:51:15] Using the following download hosts for Public, Realm steamglobal
[2023-08-06 16:51:15] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-08-06 16:51:15] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-08-06 16:51:15] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-08-06 16:51:15] Checking for update on startup
[2023-08-06 16:51:15] Checking for available updates...
[2023-08-06 16:51:15] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_publicbeta_ubuntu12
[2023-08-06 16:51:15] Manifest download: send request
[2023-08-06 16:51:15] Manifest download: waiting for download to finish
[2023-08-06 16:51:15] Manifest download: finished
[2023-08-06 16:51:15] Download skipped: /steam_client_publicbeta_ubuntu12 version 1691193224, installed version 1691193224, existing pending version 0
[2023-08-06 16:51:15] Nothing to do
[2023-08-06 16:51:15] Verifying installation...
[2023-08-06 16:51:15] Performing checksum verification of executable files
[2023-08-06 16:51:16] Verification complete
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf0922db0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf0921500
/usr/share/themes/Nordic/gtk-2.0/main.rc:729: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Nordic/gtk-2.0/apps/chrome.rc:50: error: invalid string constant "button", expected valid string constant
/usr/share/themes/Nordic/gtk-2.0/apps/xfce.rc:78: error: invalid string constant "entry", expected valid string constant
GetWin32Stats: display was not open yet, good
GetWin32Stats: display was not open yet, good
steamwebhelper.sh[29426]: Runtime for steamwebhelper: defaulting to /home/.../.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[29426]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
CAppInfoCacheReadFromDiskThread took 110 milliseconds to initialize
Assertion 'device' failed at src/libsystemd/sd-device/device-private.c:103, function device_get_tags_generation(). Aborting.
crash_20230806165117_25.dmp[29596]: Uploading dump (out-of-process)
/tmp/dumps/crash_20230806165117_25.dmp
/home/.../.local/share/Steam/steam.sh: line 798: 29407 Aborted                 "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20230806165117_25.dmp[29596]: Finished uploading minidump (out-of-process): success = yes
crash_20230806165117_25.dmp[29596]: response: CrashID=bp-a9ae18a3-08ad-4716-816c-a6bbf2230806
crash_20230806165117_25.dmp[29596]: file ''/tmp/dumps/crash_20230806165117_25.dmp'', upload yes: ''CrashID=bp-a9ae18a3-08ad-4716-816c-a6bbf2230806''



Notably, I find the line

Assertion 'device' failed at src/libsystemd/sd-device/device-private.c:103, function device_get_tags_generation(). Aborting.

to be the most curious. I am running on NVIDIA, and all my NVIDIA packages are of the same version:

pacman -Qs nvidia
local/cuda 12.2.0-1
    NVIDIA's GPU programming toolkit
local/egl-wayland 2:1.1.12-1
    EGLStream-based Wayland external platform
local/lib32-nvidia-utils 535.86.05-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-1
    Nvidia VDPAU library
local/libxnvctrl 535.86.05-1
    NVIDIA NV-CONTROL X extension
local/nvidia-dkms 535.86.05-2
    NVIDIA drivers - module sources
local/nvidia-settings 535.86.05-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 535.86.05-2
    NVIDIA drivers utilities
local/opencl-nvidia 535.86.05-2
    OpenCL implemention for NVIDIA
local/xf86-video-nouveau 1.0.17-2 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards


I have also tried installing steam-native-runtime to no avail.

Re: Steam Refuses to Launch: Can't find device in libsystemd.

Reply #1
can you send the output of
Code: [Select]
$ pacman -Qi steam

Re: Steam Refuses to Launch: Can't find device in libsystemd.

Reply #2
Sure thing!

Code: [Select]
pacman -Qi steam
Name            : steam
Version         : 1.0.0.78-1
Description     : Valve's digital software delivery system
Architecture    : x86_64
URL             : https://steampowered.com/
Licenses        : custom
Groups          : None
Provides        : None
Depends On      : bash  desktop-file-utils  diffutils  hicolor-icon-theme  curl  dbus  freetype2  gdk-pixbuf2  ttf-font  zenity  lsb-release  nss  usbutils  xorg-xrandr
                  vulkan-driver  vulkan-icd-loader  lsof  python  lib32-libgl  lib32-gcc-libs  lib32-libx11  lib32-libxss  lib32-alsa-plugins  lib32-libgpg-error
                  lib32-nss  lib32-vulkan-driver  lib32-vulkan-icd-loader
Optional Deps   : steam-native-runtime: steam native runtime support
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 3.83 MiB
Packager        : Artix Build Bot <[email protected]>
Build Date      : Tue 30 May 2023 10:05:43 PM EDT
Install Date    : Sun 06 Aug 2023 04:30:41 PM EDT
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

Re: Steam Refuses to Launch: Can't find device in libsystemd.

Reply #3
It appears the problem may be libgudev according to this Arch forum post. Unfortunately, I don't have any version in my package cache other than 238-1, so I can't downgrade to 237-2. Does Artix have its own package archive like Arch, or should I just use the arch one?

Edit: Upon reading the forum post closer, it appears that Valve suggest installing lib32-libudev0-shim to fix the issue, which is exactly what I needed!