Crusader Kings III suddently crashing on launch (exit code 11)

Hi everyone,

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.

Do you know what it could be ?

Thanks a lot !

  1. Do full system update

    sudo pacman -Syu
    
  2. Launch Steam and from top menu Steam → Check for Steam Client Updates

  3. Reboot

See if that helps.

1 Like

I had similar problems in the past.
Try using proton experimental.

1 Like

Unfortunately it didn’t help. :confused:

I’m puzzled as to how it happened, this seem to be the only paradox game that has this. I’ll try a new install.

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 ?

2 extra/nvidia-dkms 535.86.05-2 (42.9 MiB 69.9 MiB) (Installed)
    NVIDIA drivers - module sources
1 extra/nvidia 535.86.05-7 (43.6 MiB 43.6 MiB) 
    NVIDIA drivers for linux

Again, thanks a lot for your help !

What exactly lead you to that conclusion?

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.

https://wiki.archlinux.org/title/Dynamic_Kernel_Module_Support#top-page


I think you should have one or the other package…You can try installing usual nvidia and see if it changes anything, i doubt it though… :thinking:

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. :confused:

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 ?

Nah it’s fine to continue here i think.

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 :laughing:

Ah maybe I could try this. But I think both should work if I remember correctly :thinking:.

Indeed this tech is so annoying. This what happen when you retrieve an old gaming PC from a friend to save money. :sweat_smile:

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.

Thanks again !

Post your inxi -Faz please

Well actually it seems indeed th nvidia-dkms doesn’t work with optimus, switching to nvidia fixed the optimus problem.

inxi-faz just in case.

$ inxi -Faz
System:
  Kernel: 6.4.7-arch1-3 arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    parameters: initrd=\f6a01ca4afd94d6fab859f42c28d48a9\6.4.7-arch1-3\initrd
    nvme_load=YES rw root=UUID=d2c35011-896a-4f37-9492-1561e2286f40
    systemd.machine_id=f6a01ca4afd94d6fab859f42c28d48a9
  Desktop: GNOME v: 44.3 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM v: 44.1
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: Acer product: Aspire VN7-793G v: V1.03
    serial: <superuser required>
  Mobo: KBL model: Neptune_KLS v: V1.03 serial: <superuser required>
    UEFI: Insyde v: 1.03 date: 02/17/2017
Battery:
  ID-1: BAT0 charge: 25.9 Wh (55.5%) condition: 46.7/52.5 Wh (88.9%)
    volts: 11.9 min: 11.4 model: LGC AC14A8L type: Li-ion serial: <filter>
    status: not charging
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 2S
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
  Device-2: ps-controller-battery-28:c1:3c:3d:4c:0a model: N/A serial: N/A
    charge: N/A status: full
CPU:
  Info: model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake
    gen: core 7 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 9 microcode: 0xF2
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 2800 min/max: 800/3800 scaling: driver: intel_pstate
    governor: powersave cores: 1: 2800 2: 2800 3: 2800 4: 2800 5: 2800 6: 2800
    7: 2800 8: 2800 bogomips: 44817
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, STIBP: conditional,
    RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel HD Graphics 630 vendor: Acer Incorporated ALI driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: HDMI-A-1,eDP-1 empty: DP-1,DP-2,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:591b class-ID: 0300
  Device-2: NVIDIA GP106M [GeForce GTX 1050 Ti Mobile]
    vendor: Acer Incorporated ALI driver: nvidia v: 535.86.05
    alternate: nouveau,nvidia_drm non-free: 535.xx+
    status: current (as of 2023-07) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:1c21 class-ID: 0302
  Device-3: Chicony HD WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-9:6 chip-ID: 04f2:b573
    class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2
    compositor: gnome-shell driver: X: loaded: modesetting,nvidia dri: iris
    gpu: i915 display-ID: :1 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.00x11.26")
    s-diag: 1055mm (41.55")
  Monitor-1: HDMI-A-1 mapped: HDMI-1-1 pos: right model: Dell P2419H
    serial: <filter> built: 2020 res: 1920x1080 hz: 60 dpi: 93 gamma: 1.2
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  Monitor-2: eDP-1 mapped: eDP-1-1 pos: primary,left
    model: AU Optronics 0x109d built: 2014 res: 1920x1080 hz: 60 dpi: 128
    gamma: 1.2 size: 381x214mm (15x8.43") diag: 437mm (17.2") ratio: 16:9
    modes: 1920x1080
  API: OpenGL v: 4.6.0 NVIDIA 535.86.05 renderer: NVIDIA GeForce GTX 1050
    Ti/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: Intel CM238 HD Audio vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel alternate: snd_soc_avs bus-ID: 00:1f.3
    chip-ID: 8086:a171 class-ID: 0403
  Device-2: Sony DualShock 4 [CUH-ZCT2x]
    driver: playstation,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-12:10 chip-ID: 054c:09cc class-ID: 0300
  API: ALSA v: k6.4.7-arch1-3 status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.76 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    vendor: Lite-On driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 bus-ID: 02:00.0 chip-ID: 168c:003e class-ID: 0280 temp: 50.0 C
  IF: wlan0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Acer Incorporated ALI driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
Bluetooth:
  Device-1: Lite-On driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-7:4 chip-ID: 04ca:3016 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Drives:
  Local Storage: total: 1.14 TiB used: 613.92 GiB (52.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: SK Hynix model: HFS256G39TND-N210A
    size: 238.47 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 1P10 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST1000LM035-1RK172
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 5400 serial: <filter> fw-rev: ACM1 scheme: GPT
Partition:
  ID-1: / raw-size: 237.49 GiB size: 232.7 GiB (97.98%)
    used: 193.82 GiB (83.3%) fs: ext4 dev: /dev/sda2 maj-min: 8:2
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 60.0 C pch: 58.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 264 Uptime: 2m wakeups: 4 Memory: total: 16 GiB
  available: 15.51 GiB used: 2.5 GiB (16.1%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 15.0.7
  Packages: 1446 pm: pacman pkgs: 1438 libs: 492 tools: trizen,yay pm: flatpak
  pkgs: 8 Shell: Bash v: 5.1.16 running-in: kgx inxi: 3.3.28
2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.