I did an update (on the nixos unstable channel) a few days ago for the first time in over a month. All of my steam games have stopped launching, they all provides errors like (error loading directx, unable to detect graphics device). For example, Hades gives the following error exactly
Hades was unable to detect a graphics device. Please ensure one is connected and has up-to-date drivers, then try again
and gives the following output in terminal
>>> Adding process 4351 for game ID 1145360
>>> Adding process 4352 for game ID 1145360
>>> Adding process 4353 for game ID 1145360
>>> Adding process 4356 for game ID 1145360
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 4358 for game ID 1145360
>>> Adding process 4361 for game ID 1145360
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 4368 for game ID 1145360
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 4380 for game ID 1145360
Game update: AppID 1145360 "", ProcID 4352, IP 0.0.0.0:0
RecordSteamInterfaceCreation (PID 4352): SteamUtils009 / Utils
Setting breakpad minidump AppID = 1145360
RecordSteamInterfaceCreation (PID 4352): SteamUser019 / User
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198981915761 [API loaded no]
RecordSteamInterfaceCreation (PID 4352): SteamUser019 / User
RecordSteamInterfaceCreation (PID 4352): SteamFriends015 / Friends
RecordSteamInterfaceCreation (PID 4352): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 4352): SteamMatchMaking009 / Matchmaking
RecordSteamInterfaceCreation (PID 4352): SteamMatchMakingServers002 / MatchmakingServers
RecordSteamInterfaceCreation (PID 4352): STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
RecordSteamInterfaceCreation (PID 4352): STEAMAPPS_INTERFACE_VERSION008 / Apps
RecordSteamInterfaceCreation (PID 4352): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 4352): STEAMREMOTESTORAGE_INTERFACE_VERSION014 / RemoteStorage
RecordSteamInterfaceCreation (PID 4352): STEAMSCREENSHOTS_INTERFACE_VERSION003 / Screenshots
RecordSteamInterfaceCreation (PID 4352): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 4352): SteamController006 / Controller
RecordSteamInterfaceCreation (PID 4352): STEAMUGC_INTERFACE_VERSION010 / UGC
RecordSteamInterfaceCreation (PID 4352): STEAMAPPLIST_INTERFACE_VERSION001 / AppList
RecordSteamInterfaceCreation (PID 4352): STEAMMUSIC_INTERFACE_VERSION001 / Music
RecordSteamInterfaceCreation (PID 4352): STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote
RecordSteamInterfaceCreation (PID 4352): STEAMHTMLSURFACE_INTERFACE_VERSION_004 / HTMLSurface
RecordSteamInterfaceCreation (PID 4352): STEAMINVENTORY_INTERFACE_V002 / Inventory
RecordSteamInterfaceCreation (PID 4352): STEAMVIDEO_INTERFACE_V002 / Video
RecordSteamInterfaceCreation (PID 4352): STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / ParentalSettings
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 4535 for game ID 1145360
2021-03-14 17:26:38 [MainThread ] log.cpp:279 INFO| Opened log file Hades.log
2021-03-14 17:26:38 [MainThread ] program.cpp:1431 DBG| Previous stack guard size was 0 bytes
2021-03-14 17:26:38 [MainThread ] optionset.cpp:157 INFO| argument: /c=..\
2021-03-14 17:26:38 [MainThread ] optionset.cpp:157 INFO| argument: /steampowered
2021-03-14 17:26:38 [MainThread ] optionset.cpp:157 INFO| argument: /DirectLoadShell=true
2021-03-14 17:26:38 [MainThread ] optionset.cpp:157 INFO| argument: /DebugMessages=false
2021-03-14 17:26:38 [MainThread ] optionset.cpp:157 INFO| argument: /DebugKeysEnabled=false
2021-03-14 17:26:38 [MainThread ] optionset.cpp:157 INFO| argument: /ShowFPS=false
2021-03-14 17:26:38 [MainThread ] optionset.cpp:157 INFO| argument: /PerfDashWarnings=false
2021-03-14 17:26:38 [MainThread ] optionset.cpp:157 INFO| argument: /VerboseScriptLogging=false
2021-03-14 17:26:38 [MainThread ] optionset.cpp:157 INFO| argument: /UnsafeDebugKeysEnabled=false
2021-03-14 17:26:38 [MainThread ] optionset.cpp:157 INFO| argument: /LiveCreateTextures=false
2021-03-14 17:26:38 [MainThread ] platformservice.cpp:386 DBG| Processor Count : 16
2021-03-14 17:26:38 [MainThread ] program.cpp:1637 DBG| TotalRam: 42196746240
2021-03-14 17:26:38 [MainThread ] program.cpp:1638 DBG| Running Hades in 64-bit
2021-03-14 17:26:38 [MainThread ] pcsavedevice.cpp:249 INFO| Opening save file for reading: activeProfile
2021-03-14 17:26:38 [MainThread ] binaryloaddata.cpp:12 INFO| Reading 16 bytes
2021-03-14 17:26:38 [MainThread ] profilemanager.cpp:40 INFO| Loading default profile C:\users\steamuser\My Documents\Saved Games\Hades Profile1
2021-03-14 17:26:38 [MainThread ] profilemanager.cpp:187 INFO| ProfileManager::Load(): Profile1.sjson
2021-03-14 17:26:38 [MainThread ] windowsfilesystem.cpp:209 ERR| Error opening file: C:\users\steamuser\My Documents\Saved Games\Hades\Profile1.sjson -- rb (error: No such file or directory)
2021-03-14 17:26:38 [MainThread ] pcsavedevice.cpp:267 INFO| Unable to find save file: Profile1.sjson
2021-03-14 17:26:38 [MainThread ] profilemanager.cpp:203 ERR| Load profile Profile1.sjson failed! Load status: 1
2021-03-14 17:26:38 [MainThread ] windowsfilesystem.cpp:209 ERR| Error opening file: C:\users\steamuser\My Documents\Saved Games\Hades\NIXMACHINE.sjson -- rb (error: No such file or directory)
2021-03-14 17:26:38 [MainThread ] windowsfilesystem.cpp:209 ERR| Error opening file: Z:\mnt\HD4\SteamLibrary\steamapps\common\Hades\Content\ConfigOptions\NIXMACHINE.sjson -- rb (error: No such file or directory)
2021-03-14 17:26:38 [MainThread ] configoptions.cpp:1483 INFO| ConfigOption: NextUpdateDate = NextUpdateCountdownCustom
2021-03-14 17:26:38 [MainThread ] configoptions.cpp:1483 INFO| ConfigOption: LastUpdateDate = 07-03-2020
2021-03-14 17:26:38 [MainThread ] configoptions.cpp:1483 INFO| ConfigOption: UpdateWarningDate = 11-01-2020
2021-03-14 17:26:38 [MainThread ] configoptions.cpp:1483 INFO| ConfigOption: SaveCollectionBeginDate = 10-05-2020
2021-03-14 17:26:38 [MainThread ] configoptions.cpp:1483 INFO| ConfigOption: SaveCollectionEndDate = 10-09-2020
2021-03-14 17:26:38 [MainThread ] binarysavedata.cpp:17 INFO| Writing 16 bytes
2021-03-14 17:26:38 [MainThread ] program.cpp:1754 DBG| Initial startup in 0.1 msec
2021-03-14 17:26:38 [MainThread ] program.cpp:1755 DBG| Profile load in 0.0 msec
2021-03-14 17:26:38 [MainThread ] filesystem.cpp:682 WARN| Resource directory {9} already set on:'C:\users\steamuser\My Documents\Saved Games\Hades'
2021-03-14 17:26:38 [MainThread ] windowsbase.cpp:641 INFO| Created window app Hades
2021-03-14 17:26:38 [MainThread ] sdlwindow.cpp:54 DBG| SDL Initialized with UseNativeGaInputNoControllers
2021-03-14 17:26:38 [MainThread ] resolution.cpp:141 DBG| Monitor modes:
2021-03-14 17:26:38 [MainThread ] program.cpp:1997 INFO| DisplayModes Configured
2021-03-14 17:26:38 [MainThread ] program.cpp:2254 DBG| Initializing steam
Game update: AppID 1145360 "", ProcID 4535, IP 0.0.0.0:0
RecordSteamInterfaceCreation (PID 4535): SteamUtils009 / Utils
Setting breakpad minidump AppID = 1145360
RecordSteamInterfaceCreation (PID 4535): SteamUser020 / User
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198981915761 [API loaded no]
RecordSteamInterfaceCreation (PID 4535): SteamUtils009 /
RecordSteamInterfaceCreation (PID 4535): SteamController007 /
RecordSteamInterfaceCreation (PID 4535): STEAMUSERSTATS_INTERFACE_VERSION011 /
RecordSteamInterfaceCreation (PID 4535): SteamUser020 /
2021-03-14 17:26:39 [MainThread ] program.cpp:2260 DBG| Steam initialized
2021-03-14 17:26:39 [MainThread ] discord_client.cpp:70 INFO| [Discord SDK] Discord init error: 4
2021-03-14 17:26:39 [MainThread ] program.cpp:2009 INFO| PlatformService Initialized
2021-03-14 17:26:39 [MainThread ] inputsystemsdl.cpp:738 DBG| InputSystemSDL Initialized with UseNativeGaInputNoControllers
2021-03-14 17:26:39 [MainThread ] windowsfilesystem.cpp:209 ERR| Error opening file: Z:\mnt\HD4\SteamLibrary\steamapps\common\Hades\Content\gamecontrollerdb.txt -- rb (error: No such file or directory)
2021-03-14 17:26:39 [MainThread ] program.cpp:2016 INFO| InputSystem Initialized
2021-03-14 17:26:39 [MainThread ] direct3d11.cpp:828 ERR| Could not create DXGI factory.
2021-03-14 17:26:39 [MainThread ] program.cpp:2020 ERR| Failed to initialize ForgeRenderer.
2021-03-14 17:26:39 [MainThread ] program.cpp:2021 INFO| Showing MessageBox: No Graphics Device
1483 INFO| ConfigOption: SaveCollectionBeginDate = 10-05-2020
2021-03-14 17:26:38 [MainThread ] configoptions.cpp:1483 INFO| ConfigOption: SaveCollectionEndDate = 10-09-2020
2021-03-14 17:26:38 [MainThread ] binarysavedata.cpp:17 INFO| Writing 16 bytes
2021-03-14 17:26:38 [MainThread ] program.cpp:1754 DBG| Initial startup in 0.1 msec
2021-03-14 17:26:38 [MainThread ] program.cpp:1755 DBG| Profile load in 0.0 msec
2021-03-14 17:26:38 [MainThread ] filesystem.cpp:682 WARN| Resource directory {9} already set on:'C:\users\steamuser\My Documents\Saved Games\Hades'
2021-03-14 17:26:38 [MainThread ] windowsbase.cpp:641 INFO| Created window app Hades
2021-03-14 17:26:38 [MainThread ] sdlwindow.cpp:54 DBG| SDL Initialized with UseNativeGaInputNoControllers
2021-03-14 17:26:38 [MainThread ] resolution.cpp:141 DBG| Monitor modes:
2021-03-14 17:26:38 [MainThread ] program.cpp:1997 INFO| DisplayModes Configured
2021-03-14 17:26:38 [MainThread ] program.cpp:2254 DBG| Initializing steam
Game update: AppID 1145360 "", ProcID 4535, IP 0.0.0.0:0
RecordSteamInterfaceCreation (PID 4535): SteamUtils009 / Utils
Setting breakpad minidump AppID = 1145360
RecordSteamInterfaceCreation (PID 4535): SteamUser020 / User
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198981915761 [API loaded no]
RecordSteamInterfaceCreation (PID 4535): SteamUtils009 /
RecordSteamInterfaceCreation (PID 4535): SteamController007 /
RecordSteamInterfaceCreation (PID 4535): STEAMUSERSTATS_INTERFACE_VERSION011 /
RecordSteamInterfaceCreation (PID 4535): SteamUser020 /
2021-03-14 17:26:39 [MainThread ] program.cpp:2260 DBG| Steam initialized
2021-03-14 17:26:39 [MainThread ] discord_client.cpp:70 INFO| [Discord SDK] Discord init error: 4
2021-03-14 17:26:39 [MainThread ] program.cpp:2009 INFO| PlatformService Initialized
2021-03-14 17:26:39 [MainThread ] inputsystemsdl.cpp:738 DBG| InputSystemSDL Initialized with UseNativeGaInputNoControllers
2021-03-14 17:26:39 [MainThread ] windowsfilesystem.cpp:209 ERR| Error opening file: Z:\mnt\HD4\SteamLibrary\steamapps\common\Hades\Content\gamecontrollerdb.txt -- rb (error: No such file or directory)
2021-03-14 17:26:39 [MainThread ] program.cpp:2016 INFO| InputSystem Initialized
2021-03-14 17:26:39 [MainThread ] direct3d11.cpp:828 ERR| Could not create DXGI factory.
2021-03-14 17:26:39 [MainThread ] program.cpp:2020 ERR| Failed to initialize ForgeRenderer.
2021-03-14 17:26:39 [MainThread ] program.cpp:2021 INFO| Showing MessageBox: No Graphics Device
As I mentioned I’m following the nixos unstable branch (just updated) and I have my 2080 ti nvidia card configured with the following
services.xserver.videoDrivers = [ "nvidia" ];
# services.xserver.dpi = 96;
hardware.opengl = {
enable = true;
extraPackages = with pkgs; [
vaapiIntel
vaapiVdpau
libvdpau-va-gl
];
setLdLibraryPath = true;
driSupport32Bit = true;
};
any clues as to what’s going on here? Also I should note the same errors persist no matter what version of proton i seem to select.