protonscr

Steam crashes on launch on Arch Linux with NVIDIA-340 drivers

steamopen NVIDIA driversDistro Family: Arch
ValveSoftware/steam-for-linux#11572 · opened 2024-12-13 by cyndaqua · updated 2024-12-13 · 0 comments · github
Ccyndaqua 2024-12-13 github

Your system information

  • Steam client version: 1733265492
  • Distribution: Arch Linux 6.12, Linux kernal
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes
  • GPU: Nvidia Quadro FX 880M

Issue: Steam crashes on launch when using NVIDIA 340 drivers

These are the nvidia packages I have installed:

lib32-nvidia-340xx-utils 340.108-1
lib32-opencl-nvidia-340xx 340.108-1
nvidia-340xx-dkms 340.108-37
nvidia-340xx-settings 340.108-2
nvidia-340xx-settings-debug 340.108-2
nvidia-340xx-utils 340.108-1
opencl-nvidia-340xx 340.108-1

This is steam running with a debugger, gdb:

(gdb) run
Starting program: /home/cyndaqua/.local/share/Steam/ubuntu12_32/steam  
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
CProcessEnvironmentManager is ready, 6 preallocated environment variables.
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
[2024-12-13 11:50:48] Startup - updater built Dec  2 2024 21:26:10
[2024-12-13 11:50:48] Startup - Steam Client launched with: '/home/cyndaqua/.local/share/Steam/ubuntu12_32/steam'
12/13 11:50:48 minidumps folder is set to /tmp/dumps
12/13 11:50:48 Init: Installing breakpad exception handler for appid(steam)/version(1733265492)/tid(2615)
SteamUpdateUI: An X Error occurred
X Error of failed request:  BadWindow (invalid Window parameter)
Major opcode of failed request:  155 (NV-GLX)
Minor opcode of failed request:  4
Resource id in failed request:  0x2e00002
Serial number of failed request:  40


Program received signal SIGTRAP, Trace/breakpoint trap.
0x565bf0f6 in xerror_handler(_XDisplay*, XErrorEvent*) ()

Steps for reproducing this issue:

  1. Install Arch Linux, latest kernal with headers and all proper packages
  2. Install nvidia version 340 drivers, prevent nouveau drivers from being loaded on boot
  3. Install and run steam through Flatpak or AUR, do not install present version nvidia-utils, as that breaks nvidia-340xx-utils, same with lib32 package
  4. Run Steam, observe crash after initial update

Nothing extracted yet.