canonical / steam-snap

Steam as a snap
https://snapcraft.io/steam
76 stars 10 forks source link

"sh: 1: xdg-user-dir: not found" messages #270

Closed BlackMage2 closed 1 year ago

BlackMage2 commented 1 year ago

Describe the bug

In my snap steam there are several "sh: 1: xdg-user-dir: not found" messages when starting.

Environment

os_release: 
    name:               "Ubuntu"
    version:            "22.04.2 LTS (Jammy Jellyfish)"
snap_info: 
    steam_revision:     83
    snapd_revision:     19457
lspci: 
    00:02.0:            Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
glxinfo: 
    gpu:                Mesa Intel(R) HD Graphics 4000 (IVB GT2)
    gpu_version:        4.2 (Core Profile) Mesa 23.0.0-devel (git-224e9ce 2022-12-02 jammy-oibaf-ppa)
lscpu: 
    model_name:         Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz

Logs

$ steam
Testing for explicit PulseAudio choice...
...and PulseAudio has been explicitly chosen, so using it.
steam.sh[48715]: Running Steam on ubuntu 22.04 64-bit
steam.sh[48715]: STEAM_RUNTIME is enabled automatically
setup.sh[48828]: Steam runtime environment up-to-date!
steam.sh[48715]: Steam client's requirements are satisfied
[2023-06-25 16:05:55] Startup - updater built Jun 23 2023 23:15:16
[2023-06-25 16:05:55] Startup - Steam Client launched with: '/home/user/snap/steam/common/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox'
[2023-06-25 16:05:55] Opted in to client beta 'publicbeta' via beta file
You are in the 'publicbeta' client beta.
06/25 16:05:55 Init: Installing breakpad exception handler for appid(steam)/version(1687563636)/tid(48880)
[2023-06-25 16:05:55] Loading cached metrics from disk (/home/user/snap/steam/common/.local/share/Steam/package/steam_client_metrics.bin)
[2023-06-25 16:05:55] Using the following download hosts for Public, Realm steamglobal
[2023-06-25 16:05:55] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-06-25 16:05:55] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-06-25 16:05:55] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-06-25 16:05:55] Verifying installation...
[2023-06-25 16:05:56] Verification complete

(process:48880): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xe9e70370
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xe9e6ecc0
GetWin32Stats: display was not open yet, good
Loaded SDL version 3.0.0-1782-g214d5daa3
GetWin32Stats: display was not open yet, good
steamwebhelper.sh[48907]: Runtime for steamwebhelper: defaulting to /home/user/snap/steam/common/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
/home/user/snap/steam/common/.local/share/Steam/ubuntu12_64/steamwebhelper.sh: line 53: /proc/sys/kernel/unprivileged_userns_clone: Permission denied
/home/user/snap/steam/common/.local/share/Steam/ubuntu12_64/steamwebhelper.sh: line 60: /proc/sys/user/max_user_namespaces: Permission denied
steamwebhelper.sh[48907]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
steamwebhelper.sh[48907]: CEF sandbox already disabled
flock /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
Warning: failed to set thread priority: set failed for priority 8
Warning: support for elevated priorities is most likely unavailable, suppressing future warnings
Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
flock /sys/power/suspend_stats/success LOCK_SH failed. errno = 13CAppInfoCacheReadFromDiskThread took 70 milliseconds to initialize
Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
Failed to init SteamVR because it isn't installed
sh: 1: xdg-user-dir: not found
sh: 1: xdg-user-dir: not found
flock /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13
(steam:48880): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()
vkEnumeratePhysicalDevices failed, unable to init and enumerate GPUs with Vulkan.
BInit - Unable to initialize Vulkan!
local (potentially out of sync) copy of roaming config loaded - 230 bytes.
sh: 1: xdg-user-dir: not found
Vulkan missing requested extension 'VK_KHR_surface'.
Vulkan missing requested extension 'VK_KHR_xlib_surface'.
BInit - Unable to initialize Vulkan!
sh: 1: xdg-user-dir: not found
sh: 1: xdg-user-dir: not found
roaming config store loaded successfully - 230 bytes.
migrating temporary roaming config store
sh: 1: xdg-user-dir: not found
sh: 1: xdg-user-dir: not found
BRefreshApplicationsInLibrary 1: 1ms
sh: 1: xdg-user-dir: not found
sh: 1: xdg-user-dir: not found

(steam:48880): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed
flock /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Italic.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation2/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13System startup time: 5.12 seconds
sh: 1: xdg-user-dir: not found
BuildCompleteAppOverviewChange: 322 apps
RegisterForAppOverview 1: 46ms
RegisterForAppOverview 2: 46ms
ExecCommandLine: "'/home/user/snap/steam/common/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox'"

(steam:48880): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed
Warning: failed to set thread priority: set failed for -10: -1: setpriority() failed
Warning: failed to set thread priority: set failed for -10: -1: setpriority() failed
[2023-06-25 16:07:57] Background update loop checking for update. . .
[2023-06-25 16:07:57] Checking for available updates...
[2023-06-25 16:07:57] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_publicbeta_ubuntu12?t=439168975
[2023-06-25 16:07:57] Manifest download: send request
[2023-06-25 16:07:57] Manifest download: waiting for download to finish
[2023-06-25 16:08:03] Manifest download: finished
[2023-06-25 16:08:03] Download skipped: /steam_client_publicbeta_ubuntu12?t=439168975 version 1687563636, installed version 1687563636, existing pending version 0
[2023-06-25 16:08:03] Nothing to do
kenvandine commented 1 year ago

The bug report was reported from the beta channel, could you please retest this with stable? Also note, beta has been updated significantly since the revision reported.

ashuntu commented 1 year ago

This should be resolved, please reopen if not.