I was trying to play CK3 today, used to work perfectly a few weeks ago when I last played it. Today it crashes at launch. Not after loading screens, right when I click play on the paradox launcher (or if I launch it directly from the games files for that matter).
I know it looks user related (mods or missing files, etc.) but even trying to launch a vanilla game after checking te files with Steam makes the game crash. I tried on Wayland and X11 without it changing anything.
Is there a way this is Linux involved ? I think I checked everything I could on Steam (plus the game crashing at launch before a window even opening feels weird)
this is the PDX launcher crash log :
ERROR: ld.so: object '/home/pcb-heavy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/pcb-heavy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Setting breakpad minidump AppID = 1158310
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198063894233 [API loaded no]
Warning: 2 log categories not defined in log_settings_live.json
Game AI
Game Tests
Trying to Write minidump to dir: /home/pcb-heavy/.local/share/Paradox Interactive/Crusader Kings III/crashes/ck3_20230731_170037/
Created Minidump: /home/pcb-heavy/.local/share/Paradox Interactive/Crusader Kings III/crashes/ck3_20230731_170037//94c77552-8e89-480b-dd1683a2-0326ab70.dmp
ERROR: ld.so: object '/home/pcb-heavy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
I think it is Nvidia related after testing with other games, it seems that there are problem with my drivers.
Although I thought only CK3 had problems, other games also have performance issues and Yuzu emulator couldn’t launch because of old driver, despite my system being up to date.
I notice I have nvidia-dkms installed and not the first package showing up, simply “nvidia”, and that the first one seems to be more advanced in its update.
I’m not familiar with what the difference is between the two, could this be related ?
But you’re using latest one, so it’s likely problem with emulator / games i’d think.
Is it laptop with optimus by chance?
Perhaps you’re just launching stuff with Intel card, instead of Nvidia.
Well, it’s Yuzu. It had happened before that I forgot to immediately reboot and tried to launch it when there was a Nvidia package update. If this happened and I tried to launch a game, I would receive a message saying that there was a problem with my drivers, the same I’m having now.
But maybe I’m jumping to conclusion to quickly indeed.
But you’re using latest one, so it’s likely problem with emulator / games i’d think.
Is it laptop with optimus by chance?
Perhaps you’re just launching stuff with Intel card, instead of Nvidia.
I am actually, I forgot that. Maybe its the problem. Maybe I should try setting my GPU to always be Nvidia to check !
Being a little nervous to change things in the grub (as I haven’t BIOS options to change GPU options) I tried to use gdm-prime to see if I could switch to nvidia only to see what happen. But I got this
$ optimus-manager --switch nvidia
WARNING : no power management option is currently enabled (this is the default since v1.2). Switching between GPUs will work but you will likely experience poor battery life.
Follow instructions at https://github.com/Askannz/optimus-manager/wiki/A-guide--to-power-management-options to enable power management.
modinfo: ERROR: Module nvidia not found.
WARNING : the nvidia module does not seem to be available for the current kernel. It is likely the Nvidia driver was not properly installed. GPU switching will probably fail,
continue anyway ? (y/N)
So this would lead to either a problem with the drivers (I tried reinstalling, same thing happened) or maybe the physical card itself ? I’m not sure. Is there a way to find out ?
Thanks a lot again and sorry to bother you with this, maybe I should try opening a new nvidia related subject ?
WARNING : the nvidia module does not seem to be available for the current kernel. It is likely the Nvidia driver was not properly installed. GPU switching will probably fail,
That’s interesting.
@dalto
Does it mean that optimus-manager works only with nvidia, but not with nvidia-dkms or something?
I wouldn’t know coz i despise optimus as technology and has no hardware for it in years
Ah maybe I could try this. But I think both should work if I remember correctly .
Indeed this tech is so annoying. This what happen when you retrieve an old gaming PC from a friend to save money.
I’ll try nvidia drivers to see if there’s a change.
Still, I know the nvidia card was working before. Is there a chance it just… broke or something ? This would explain why some things stopped working so suddenly.