Games crash shortly after launch

i cant get games that are gold/platinum rated on protondb to launch, i can get to the menu or the 'made with unity' screen to launch but as soon as the actual game is supposed to start it crashes.

everything looks fine but i cold have messed something up trying to set up gpu passthrough

i tried linux kernel, linux-zen kernel, and linux-lts, no change

--------lspci -k--------

VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT / Grenada XT [Radeon R9 290X/390X] (rev 80)
Subsystem: Micro-Star International Co., Ltd. [MSI] Radeon R9 390X
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu (edited)
[7:39 PM]

--------MKINITCPIO.CONF--------

.# The following modules are loaded before any boot hooks are
.# run.  Advanced users may wish to specify all system modules
.# in this array.  For instance:
.#     MODULES=(crc32c intel_agp i915 amdgpu radeon nouveau)
MODULES=(crc32c intel_agp i915 amdgpu radeon nouveau)

garuda-inxi

System:
Kernel: 5.17.1-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux
root=UUID=5ee75985-2241-465d-afdf-55aaf7e202a1 rw [email protected]
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3
Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: Gigabyte product: X570 AORUS ELITE WIFI v: -CF
serial: <superuser required>
Mobo: Gigabyte model: X570 AORUS ELITE WIFI v: x.x
serial: <superuser required> UEFI: American Megatrends v: F11
date: 12/06/2019
CPU:
Info: model: AMD Ryzen 7 3800X bits: 64 type: MT MCP arch: Zen 2
family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701013
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 32 MiB desc: 2x16 MiB
Speed (MHz): avg: 3623 high: 4115 min/max: 2200/4559 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 3730 2: 3594
3: 3587 4: 3593 5: 3596 6: 3639 7: 3593 8: 3592 9: 3592 10: 4115 11: 3297
12: 3592 13: 3683 14: 3585 15: 3593 16: 3598 bogomips: 124609
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
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: Retpolines, IBPB: conditional, STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Hawaii XT / Grenada [Radeon R9 290X/390X]
vendor: Micro-Star MSI driver: radeon v: kernel alternate: amdgpu pcie:
gen: 3 speed: 8 GT/s lanes: 16 ports:
active: DP-1, DVI-D-1, DVI-D-2, HDMI-A-1 empty: none bus-ID: 08:00.0
chip-ID: 1002:67b0 class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
loaded: radeon unloaded: modesetting alternate: fbdev,vesa gpu: radeon
display-ID: :0 screens: 1
Screen-1: 0 s-res: 6399x1598 s-dpi: 96 s-size: 1693x422mm (66.65x16.61")
s-diag: 1745mm (68.69")
Monitor-1: DVI-D-1 mapped: DVI-0 pos: bottom-l model: HP 24es
serial: <filter> built: 2018 res: 1920x1080 dpi: 93 gamma: 1.2
size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
Monitor-2: DVI-D-2 mapped: DVI-1 pos: bottom-r model: HP 24es
serial: <filter> built: 2018 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-3: DP-1 mapped: DisplayPort-0 pos: primary,top-center
model: Gigabyte G32QC serial: <filter> built: 2020 res: 2560x1440 dpi: 93
gamma: 1.2 size: 697x392mm (27.44x15.43") diag: 800mm (31.5") ratio: 16:9
modes: max: 2560x1440 min: 640x480
Monitor-4: HDMI-A-1 mapped: HDMI-0 pos: bottom-r model: Samsung
built: 2013 res: 1920x1080 dpi: 55 gamma: 1.2
size: 886x498mm (34.88x19.61") diag: 1168mm (46") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
OpenGL: renderer: AMD HAWAII (LLVM 13.0.1 DRM 2.50 5.17.1-arch1-1)
v: 4.5 Mesa 22.0.1 direct render: Yes
Audio:
Device-1: AMD Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 3
speed: 8 GT/s lanes: 16 bus-ID: 08:00.1 chip-ID: 1002:aac8 class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 0a:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: Generalplus USB Audio Device type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 5-4:5 chip-ID: 1b3f:2008
class-ID: 0300
Sound Server-1: ALSA v: k5.17.1-arch1-1 running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.49 running: yes
Network:
Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0
chip-ID: 8086:24fb class-ID: 0280
IF: wlp3s0 state: down mac: <filter>
Device-2: Intel I211 Gigabit Network vendor: Gigabyte driver: igb
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 04:00.0
chip-ID: 8086:1539 class-ID: 0200
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 3-5:2 chip-ID: 8087:0aa7 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 5.51 TiB used: 3.61 TiB (65.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 2B6Q scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 850 EVO 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 2B6Q scheme: GPT
ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital
model: WD3003FZEX-00Z4SA0 size: 2.73 TiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
rev: 1A01 scheme: GPT
ID-4: /dev/sdd maj-min: 8:48 vendor: Western Digital
model: WD20EZRZ-22Z5HB0 size: 1.82 TiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
rev: 0A80 scheme: GPT
ID-5: /dev/sde maj-min: 8:64 type: USB vendor: SanDisk model: USB 3.2Gen1
size: 57.3 GiB block-size: physical: 512 B logical: 512 B type: N/A
serial: <filter> rev: 1.00 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
used: 351.67 GiB (75.6%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
ID-3: /home raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
used: 351.67 GiB (75.6%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-4: /var/log raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
used: 351.67 GiB (75.6%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-5: /var/tmp raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
used: 351.67 GiB (75.6%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.36 GiB used: 768 KiB (0.0%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 16.8 C mobo: 16.8 C gpu: radeon temp: 62.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 465 Uptime: 52m wakeups: 0 Memory: 31.36 GiB
used: 5.07 GiB (16.2%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1988 lib: 562 Shell: fish
v: 3.4.1 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.14
Garuda (2.6.1-1):
System install date:     2022-04-06
Last full system update: 2022-04-07
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:
1 Like

Did they work before you did that?

What did you change?

If you revert the changes do they start working again?

Which games are you running?

How are you running them?

If you run them from a terminal do they provide any output?

2 Likes

i didn't test the games right away when i installed the distro so i'm not sure if they worked before unfortunately

ive reverted back all the config files that i changed and timeshifted to alot earlier on with btrfs. the only thing that i might not have fully removed are things ive downloaded using pacman or octopi

ARK and Dyson Sphere Program
I'm trying to run them on steam but i've tried Lutris too

Thats the steam output, says something about lavapipe but i couldn't figure out what is was exactly or how to get rid of it

Game process added : AppID 1366540 "/home/kekin/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1366540 -- '/usr/share/steam/compatibilitytools.d/proton-ge-custom'/proton waitforexitandrun  '/home/kekin/.local/share/Steam/steamapps/common/Dyson Sphere Program/DSPGAME.exe'", ProcID 472577, IP 0.0.0.0:0
chdir /home/kekin/.local/share/Steam/steamapps/common/Dyson Sphere Program
GameAction [AppID 1366540, ActionID 7] : LaunchApp changed task to WaitingGameWindow with ""
GameAction [AppID 1366540, ActionID 7] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ProtonFixes[472578] INFO: Running protonfixes
ProtonFixes[472578] INFO: Running checks
ProtonFixes[472578] INFO: All checks successful
ProtonFixes[472578] INFO: Using global defaults for "Dyson Sphere Program" (1366540)
ProtonFixes[472578] INFO: No protonfix found for "Dyson Sphere Program" (1366540)
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
fsync: up and running.
wine: Using setpriority to control niceness in the [-11,11] range
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ThreadGetProcessExitCode: no such process 472584
ThreadGetProcessExitCode: no such process 472581
ThreadGetProcessExitCode: no such process 472579
Game process updated : AppID 1366540 "/home/kekin/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1366540 -- '/usr/share/steam/compatibilitytools.d/proton-ge-custom'/proton waitforexitandrun  '/home/kekin/.local/share/Steam/steamapps/common/Dyson Sphere Program/DSPGAME.exe'", ProcID 472580, IP 0.0.0.0:0
Setting breakpad minidump AppID = 1366540
Steam_SetMinidumpSteamID:  Caching Steam ID:  [A BUNCH OF NUMBERS][API loaded no]
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Mono path[0] = 'O:/home/kekin/.local/share/Steam/steamapps/common/Dyson Sphere Program/DSPGAME_Data/Managed'
Mono config path = 'O:/home/kekin/.local/share/Steam/steamapps/common/Dyson Sphere Program/MonoBleedingEdge/etc'
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
Fossilize INFO: Overriding serialization path: "/home/kekin/.local/share/Steam/steamapps/shadercache/1366540/fozpipelinesv6/steamapprun_pipeline_cache".
wine: Unhandled page fault on read access to 0000000000000000 at address 000000035909CA85 (thread 020c), starting debugger...
ERROR: ld.so: object '/home/kekin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ThreadGetProcessExitCode: no such process 472773
ThreadGetProcessExitCode: no such process 472633
pid 472582 != 472581, skipping destruction (fork without exec?)
Game process removed: AppID 1366540 "/home/kekin/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1366540 -- '/usr/share/steam/compatibilitytools.d/proton-ge-custom'/proton waitforexitandrun  '/home/kekin/.local/share/Steam/steamapps/common/Dyson Sphere Program/DSPGAME.exe'", ProcID 472580
ThreadGetProcessExitCode: no such process 472669
ThreadGetProcessExitCode: no such process 472649
ThreadGetProcessExitCode: no such process 472627
1 Like

lavapipe is a software rendering output for Vulkan, so that's not going to work correctly with the majority of Vulkan software.

Try this to get the amdgpu driver loaded:

https://wiki.archlinux.org/title/AMDGPU#Enable_Southern_Islands_(SI)and_Sea_Islands(CIK)_support

4 Likes

That worked! Thanks so much!

made a little guide for anybody with the same problem who finds this.

Here's what i did.

  1. $ sudo nano /etc/modprobe.b/amdgpu.conf This creates a new text

    • In this blank text file I added this...
options amdgpu si_support=1
options amdgpu cik_support=1
  1. $ sudo nano /etc/modprobe.b/radeon.conf This creates another new text file

    • In this one I add this...
options radeon si_support=0
options radeon cik_support=0
  1. $ sudo nano /etc/mkinitcpio.conf in this text file I'm looking for the line that starts with 'MODULES=' and the one that starts with 'HOOKS='. if there is a '#' before it, then it doesn't count)

    • In the MODULES line I need to make sure that amdgpu is listed before radeon. this makes amdgpu the first driver it tries to load.
      (didn't need to change anything)
    • I verified that modconf is listed in the HOOKS, mondconf will load those text files I created.
      (didn't need to change anything here either)
MODULES=(crc32c intel_agp i915 amdgpu radeon nouveau)
HOOKS="base udev autodetect modconf block keyboard keymap consolefont plymouth filesystems grub-btrfs-overlayfs"
  1. Lastly I entered $ sudo mkinitcpio -P to lock in my changes
  2. Then Reboot
5 Likes

Your #1 and #2 are the same file paths with different contents suggested. I'm assuming copy pasta error.

Just fixed it, Thanks!

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