!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

259 Members
Gaming things, my hands are typing words.86 Servers

Load older messages


SenderMessageTime
11 Feb 2025
@atemu12:matrix.orgAtemuThis is aoways suboptimal but usually okay12:16:40
@atemu12:matrix.orgAtemu * 12:16:45
@atemu12:matrix.orgAtemuBut it can certainly cause such behaviour12:17:06
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)I guess I can always run the compositor on the dGPU.12:20:11
@k900:0upti.meK900If your display is plugged into the dGPU, there's no reason to not do that, really12:22:00
@k900:0upti.meK900Because the dGPU will always be powered anyway12:22:11
@atemu12:matrix.orgAtemu It really depends on where your display is physically connected to 13:48:23
@atemu12:matrix.orgAtemuIn e.g. laptops you frequently don't have a choice13:49:02
@exzombie:matrix.orgexzombie joined the room.20:10:07
12 Feb 2025
@sliedes:hacklab.fiSami Liedes

Is this normal? Looks weird (or two different errors with one of them weird):

pressure-vessel-wrap[168208]: W: Found more than one possible libdrm data directory from provider
pressure-vessel-wrap[168208]: W: Extra environment variable WAYLAND_DISPLAY set during container setup but not in known_vars; check logic
pressure-vessel-adverb[168277]: W: Cannot run /sbin/ldconfig: Failed to execute child process “/sbin/ldconfig” (Too many levels of symbolic links)
pressure-vessel-adverb[168277]: W: Recovering by keeping our previous LD_LIBRARY_PATH
01:37:41
@k900:0upti.meK900
In reply to @sliedes:hacklab.fi

Is this normal? Looks weird (or two different errors with one of them weird):

pressure-vessel-wrap[168208]: W: Found more than one possible libdrm data directory from provider
pressure-vessel-wrap[168208]: W: Extra environment variable WAYLAND_DISPLAY set during container setup but not in known_vars; check logic
pressure-vessel-adverb[168277]: W: Cannot run /sbin/ldconfig: Failed to execute child process “/sbin/ldconfig” (Too many levels of symbolic links)
pressure-vessel-adverb[168277]: W: Recovering by keeping our previous LD_LIBRARY_PATH
Normal
04:26:10
@sliedes:hacklab.fiSami LiedesYeah, the second one is the one that looks more sus to me.04:27:03
@sliedes:hacklab.fiSami LiedesAnd the game does not start, but I'm not sure if it's because of that.04:27:16
@sliedes:hacklab.fiSami LiedesMy method of diagnosing these is an strace -ff and reading the in this case 140 resulting files. I wonder if there's something better...04:27:58
@sliedes:hacklab.fiSami LiedesI think it comes from SteamLinuxRuntime_sniper, whatever that is.04:28:42
@sliedes:hacklab.fiSami LiedesIs it just me or is steam enough of a black box (and/or somehow tries to hide what goes on, not maliciously but with some kind of an idea that it's nice) that debugging it seems quite hard?04:29:49
@k900:0upti.meK900It's better documented than you'd think, if you know where to look 04:30:43
@k900:0upti.meK900What is the actual issue? 04:30:48
@sliedes:hacklab.fiSami Liedesltrace is often nicer than strace, though. Depends on the problem, but like 20% of the cases it helps much more than strace, and so far with steam the percentage has been more for me.04:31:14
@sliedes:hacklab.fiSami LiedesI'm trying to start a game. Mount & Blade With Fire and Sword. Apparently it usually works with Proton. But it doesn't start.04:32:10
@sliedes:hacklab.fiSami Liedes
$ steam-run gamescope --mouse-sensitivity 3 -w 3840 -h 2160 -W 3840 -H 2160 --fullscreen --borderless --expose-wayland --force-grab-cursor -- /home/sliedes/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- /home/sliedes/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=48720 -- '/home/sliedes/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/home/sliedes/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/sliedes/.local/share/Steam/steamapps/common/Mount & Blade With Fire and Sword/mb_wfas.exe'
[gamescope] [Info]  console: gamescope version 3.16.1 (gcc 14.2.1)
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
[gamescope] [Info]  scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts'
[gamescope] [Info]  scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope'
[gamescope] [Info]  scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope/common'
[gamescope] [Info]  scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/inspect.lua' (id: 0)
[gamescope] [Info]  scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/modegen.lua' (id: 1)
[gamescope] [Info]  scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/util.lua' (id: 2)
[gamescope] [Info]  scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope/displays'
[gamescope] [Info]  scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/asus.rogally.lcd.lua' (id: 3)
[gamescope] [Info]  scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/deckhd.steamdeck.deckhd-lcd.lua' (id: 4)
[gamescope] [Info]  scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.lcd.lua' (id: 5)
[gamescope] [Info]  scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.oled.lua' (id: 6)
[gamescope] [Info]  scriptmgr: Loading scripts from: '/etc/gamescope/scripts'
[gamescope] [Warn]  scriptmgr: Directory '/etc/gamescope/scripts' does not exist
[gamescope] [Info]  scriptmgr: Loading scripts from: '/home/sliedes/.config/gamescope/scripts'
[gamescope] [Warn]  scriptmgr: Directory '/home/sliedes/.config/gamescope/scripts' does not exist
[gamescope] [Info]  vulkan: selecting physical device 'NVIDIA GeForce RTX 4090': queue family 2 (general queue family 0)
[gamescope] [Info]  vulkan: physical device supports DRM format modifiers
[gamescope] [Info]  wlserver: [backend/headless/backend.c:67] Creating headless backend
[gamescope] [Info]  xdg_backend: Seat name: seat0
[gamescope] [Error] vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x38344241 (VkResult: 0)
[gamescope] [Error] vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x38344258 (VkResult: 0)
[gamescope] [Info]  vulkan: supported DRM formats for sampling usage:
[gamescope] [Info]  vulkan:   AR24 (0x34325241)
[gamescope] [Info]  vulkan:   XR24 (0x34325258)
[gamescope] [Info]  vulkan:   AB24 (0x34324241)
[gamescope] [Info]  vulkan:   XB24 (0x34324258)
[gamescope] [Info]  vulkan:   RG16 (0x36314752)
[gamescope] [Info]  vulkan:   NV12 (0x3231564E)
[gamescope] [Info]  vulkan:   AB4H (0x48344241)
[gamescope] [Info]  vulkan:   XB4H (0x48344258)
[gamescope] [Info]  vulkan:   AB30 (0x30334241)
[gamescope] [Info]  vulkan:   XB30 (0x30334258)
[gamescope] [Info]  vulkan:   AR30 (0x30335241)
[gamescope] [Info]  vulkan:   XR30 (0x30335258)
[gamescope] [Info]  wlserver: Using explicit sync when available
[gamescope] [Info]  wlserver: Running compositor on wayland display 'gamescope-0'
[gamescope] [Info]  wlserver: [backend/headless/backend.c:17] Starting headless backend
[gamescope] [Info]  wlserver: Successfully initialized libei for input emulation!
[gamescope] [Error] wlserver: [xwayland/sockets.c:64] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use
[gamescope] [Info]  wlserver: [xwayland/server.c:107] Starting Xwayland on :1
[gamescope] [Info]  pipewire: stream state changed: connecting
[gamescope] [Info]  pipewire: stream state changed: paused
[gamescope] [Info]  pipewire: stream available on node ID: 77
[gamescope] [Info]  xwm: Embedded, no cursor set. Using left_ptr by default.
[gamescope] [Info]  vblank: Using timerfd.
[gamescope] [Info]  edid: Patching res 800x1280 -> 3840x2160
pressure-vessel-wrap[168208]: W: Found more than one possible libdrm data directory from provider
pressure-vessel-wrap[168208]: W: Extra environment variable WAYLAND_DISPLAY set during container setup but not in known_vars; check logic
pressure-vessel-adverb[168277]: W: Cannot run /sbin/ldconfig: Failed to execute child process “/sbin/ldconfig” (Too many levels of symbolic links)
pressure-vessel-adverb[168277]: W: Recovering by keeping our previous LD_LIBRARY_PATH
Proton: No compat data path?
[gamescope] [Info]  launch: Primary child shut down!
(EE) failed to read Wayland events: Broken pipe

(I have also tried without gamescope.)

04:33:50
@sliedes:hacklab.fiSami LiedesWould there be something to start with that would show me exactly what executes and when, and tie the outputs to those processes?04:34:47
@k900:0upti.meK900Can you run it from Steam? 04:34:54
@k900:0upti.meK900And not from a terminal 04:35:01
@k900:0upti.meK900 Also, set the launch options to PROTON_LOG=1 %command% 04:35:36
@sliedes:hacklab.fiSami LiedesNo. I mean, I can try. The output looks very similar. That sounds like a useful variable! I'll try.04:36:09
@sliedes:hacklab.fiSami Liedes

With PROTON_LOG=1 %command% (and without gamescope) this is what I get on my steam stdout/stderr:

pressure-vessel-wrap[200462]: W: Found more than one possible libdrm data directory from provider
wine: using kernel write watches, use_kernel_writewatch 1.
fsync: up and running.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
chdir "/home/sliedes/.local/share/Steam/steamapps/common/Mount & Blade With Fire and Sword"
ERROR: ld.so: object '/home/sliedes/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/sliedes/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/sliedes/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/sliedes/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Game Recording - would start recording game 48720, but recording for this game is disabled
Adding process 200646 for gameID 48720
ERROR: ld.so: object '/home/sliedes/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Adding process 200647 for gameID 48720
Adding process 200648 for gameID 48720
pressure-vessel-wrap[200647]: W: Found more than one possible libdrm data directory from provider
Adding process 200755 for gameID 48720
Adding process 200756 for gameID 48720
Adding process 200757 for gameID 48720
Adding process 200758 for gameID 48720
Adding process 200761 for gameID 48720
Adding process 200763 for gameID 48720
Adding process 200766 for gameID 48720
Adding process 200776 for gameID 48720
Adding process 200790 for gameID 48720
Adding process 200796 for gameID 48720
Adding process 200809 for gameID 48720
Adding process 200826 for gameID 48720
Game Recording - game stopped [gameid=48720]
Removing process 200826 for gameID 48720
Removing process 200809 for gameID 48720
Removing process 200796 for gameID 48720
Removing process 200790 for gameID 48720
Removing process 200776 for gameID 48720
Removing process 200766 for gameID 48720
Removing process 200763 for gameID 48720
Removing process 200761 for gameID 48720
Removing process 200758 for gameID 48720
Removing process 200757 for gameID 48720
Removing process 200756 for gameID 48720
Removing process 200755 for gameID 48720
Removing process 200648 for gameID 48720
Removing process 200647 for gameID 48720
Removing process 200646 for gameID 48720
04:39:46
@sliedes:hacklab.fiSami LiedesNo compat data path?04:40:48
@sliedes:hacklab.fiSami LiedesAlthough that didn't come when running under steam.04:40:59
@sliedes:hacklab.fiSami LiedesIs this an approximately minimal command line that should work? `steam-run $HOME/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=48720 -- "$HOME/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper"/_v2-entry-point --verb=waitforexitandrun -- "$HOME/.local/share/Steam/steamapps/common/Proton - Experimental"/proton waitforexitandrun "$HOME/.local/share/Steam/steamapps/common/Mount & Blade With Fire and Sword/mb_wfas.exe"04:43:12

Show newer messages


Back to Room ListRoom Version: 10