Steam crashes proton games while heroic and pure wine doesn't

Hello, I am using manjaro with KDE, updated with the latest LTS kernel. 5.15.41-1 as of the time I am writing.

I have an Acer F5 laptop with an Intel i5-7200U and Nividia 940MX graphics. I run an hybrid system using nvidia-prime to run applications on the graphics card and it works as intended for everything.

Whenever I start Steam and try to play a game that uses proton it tries to launch the game and after a few minutes it simply cancel the launch, with play button returning back to normal. This seems to happen with every game on my steam library (I haven’t really tried with all of them, but a few dozen, for sure).

However, I can launch a lot of games using Heroic Launcher, even the same games i have in Steam, using “Run Exe on this prefix” option that the Heroic launcher have. The weird thing is that once I start steam-runtime or steam-native, i can’t launch anything from either steam or heroic, and I have to restart the computer to be able to launch from heroic again.

I have tried reinstalling steam and all it’s libraries, deleting every single file related to steam on my pc a few times, I have tried reinstalling all the games that i tested too. Also tried different versions of the Nvidia drivers, default proton, proton-ge and wine-ge. Short of reinstalling the whole system, I believe i have installed and reinstalled every related program to steam and proton. I have no idea how to debug this, but it seems to me that launching steam sets some kind of system-wide variable or temp-file that borks everything related to proton.

When I run the games with PROTON_LOG=1, It usually complains with some variation of

64589.239:0020:00bc:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
64589.239:0020:00bc:err:winediag:nodrv_CreateWindow The explorer process failed to start.

on the game “.log” file and

ERROR: ld.so: object '[share]/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '[share]/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '[share]/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 979120, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '[share]/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '[share]/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

on the terminal that i ran Steam from.

If anyone has encountered this problem before or have a way to debug so I can discover what steam is doing in my system, any help is greatly appreciated. Thanks.

inxi output:

System:
  Kernel: 5.15.41-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=f820f8ef-666d-49bc-896c-0a935ea4fd82 rw quiet apparmor=1
    security=apparmor resume=UUID=94b7f922-9ae3-4c23-bef9-b84f8e6bf681
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.24.5 tk: Qt v: 5.15.4 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Acer product: Aspire F5-573G v: V1.27
    serial: <superuser required>
  Mobo: Acer model: Captain_SK v: V1.27 serial: <superuser required>
    UEFI: Insyde v: 1.27 date: 05/26/2017
Battery:
  ID-1: BAT1 charge: 18.8 Wh (100.0%) condition: 18.8/41.4 Wh (45.5%)
    volts: 16.8 min: 14.8 model: PANASONIC AS16A5K type: Li-ion serial: <filter>
    status: full
  ID-2: hidpp_battery_4 charge: 97% condition: N/A volts: 4.1 min: N/A
    model: Logitech G502 LIGHTSPEED Wireless Gaming Mouse type: N/A
    serial: <filter> status: discharging
  Device-1: hidpp_battery_5 model: Logitech Wireless Keyboard ERGO K860
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
Memory:
  RAM: total: 15.5 GiB used: 12.29 GiB (79.3%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i5-7200U bits: 64 type: MT MCP arch: Amber/Kaby Lake
    note: check family: 6 model-id: 0x8E (142) stepping: 9 microcode: 0xF0
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
    L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 799 high: 800 min/max: 400/3100 scaling:
    driver: intel_pstate governor: powersave cores: 1: 800 2: 799 3: 800 4: 800
    bogomips: 21607
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush clflushopt
    cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts
    epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu fsgsbase fxsr
    ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid
    invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr mtrr
    nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln
    pni popcnt pse pse36 pti pts rdrand rdseed rdtscp rep_good sdbg sep smap
    smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow
    tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave
    xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: Split huge pages
  Type: l1tf
    mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel HD Graphics 620 vendor: Acer Incorporated ALI driver: i915
    v: kernel ports: active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 00:02.0
    chip-ID: 8086:5916 class-ID: 0300
  Device-2: NVIDIA GM107 [GeForce 940MX] vendor: Acer Incorporated ALI
    driver: nvidia v: 510.73.05 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-05) arch: Maxwell pcie: gen: 1 speed: 2.5 GT/s
    lanes: 4 link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:179c class-ID: 0302
  Device-3: Realtek HD WebCam type: USB driver: uvcvideo bus-ID: 1-7:5
    chip-ID: 0bda:57f2 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.3 compositor: kwin_x11 driver: X:
    loaded: modesetting gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x15dc built: 2015 res: 1366x768
    hz: 60 dpi: 101 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: 1366x768
  OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 22.0.4
    direct render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
    chip-ID: 8086:9d71 class-ID: 0403
  Device-2: NVIDIA GM107 High Definition Audio [GeForce 940MX]
    vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 4 link-max: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:0fbc class-ID: 0403
  Device-3: ZhuHai JieLi BR17 type: USB
    driver: hid-generic,snd-usb-audio,usb-storage,usbhid bus-ID: 1-4.1:19
    chip-ID: e5b7:0811 class-ID: 0300 serial: <filter>
  Sound Server-1: ALSA v: k5.15.41-1-MANJARO running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: JACK v: 1.9.21 running: no
  Sound Server-4: PulseAudio v: 15.0 running: yes
  Sound Server-5: PipeWire v: 0.3.51 running: yes
Network:
  Device-1: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
    vendor: Lite-On driver: ath9k v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 bus-ID: 03:00.0 chip-ID: 168c:0036 class-ID: 0280
  IF: wlp3s0 state: down 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: 04:00.1 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp4s0f1 state: up speed: 100 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  IF-ID-1: docker0 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Lite-On Qualcomm Atheros Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-5:12 chip-ID: 04ca:3014 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 4 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.36 TiB used: 398.65 GiB (28.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: SNVS500G
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: EDFK0N01 temp: 47.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD10JPVX-22JC3T0 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 1A01 scheme: GPT
  Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRAM GUE1N rev: 1.00
    dev-links: cdrom
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 456.66 GiB size: 448.43 GiB (98.20%)
    used: 393.77 GiB (87.8%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: f820f8ef-666d-49bc-896c-0a935ea4fd82
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: NO_LABEL uuid: 05E3-D4A1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.8 GiB used: 4.88 GiB (55.5%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3 label: swap
    uuid: 94b7f922-9ae3-4c23-bef9-b84f8e6bf681
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 100 MiB fs: vfat label: ESP
    uuid: 7045-37E2
  ID-2: /dev/sda2 maj-min: 8:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/sda3 maj-min: 8:3 size: 262.46 GiB fs: ntfs label: Acer
    uuid: AEDA46AEDA46729F
  ID-4: /dev/sda4 maj-min: 8:4 size: 1024 MiB fs: ntfs label: Recovery
    uuid: FAC44792C4475055
  ID-5: /dev/sda5 maj-min: 8:5 size: 314.98 GiB fs: ext4 label: N/A
    uuid: 213e8bc7-c916-436a-b4a4-659350175307
  ID-6: /dev/sda6 maj-min: 8:6 size: 7.87 GiB fs: swap label: N/A
    uuid: 02b779c6-8496-4576-8d4e-b61decc4e12c
  ID-7: /dev/sda7 maj-min: 8:7 size: 1024 KiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-8: /dev/sda8 maj-min: 8:8 size: 48.6 GiB fs: ext4 label: N/A
    uuid: fab5449f-ad63-4c81-b19c-6cb790ac5703
  ID-9: /dev/sda9 maj-min: 8:9 size: 296.48 GiB fs: ext4 label: N/A
    uuid: b9bada9c-3f78-4b66-b312-8bef55581ac8
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-4:16 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 1a40:0101 class-ID: 0900
  Device-1: 1-4.1:19 info: ZhuHai JieLi BR17 type: Mass Storage,Audio,HID
    driver: hid-generic,snd-usb-audio,usb-storage,usbhid interfaces: 5 rev: 1.1
    speed: 12 Mb/s power: 400mA chip-ID: e5b7:0811 class-ID: 0300
    serial: <filter>
  Device-2: 1-4.2:17 info: Logitech Cordless Mouse Receiver
    type: Keyboard,Mouse,HID driver: logitech-djreceiver,usbhid interfaces: 3
    rev: 2.0 speed: 12 Mb/s power: 98mA chip-ID: 046d:c539 class-ID: 0300
  Device-3: 1-4.3:18 info: Logitech Unifying Receiver
    type: Keyboard,Mouse,HID driver: logitech-djreceiver,usbhid interfaces: 3
    rev: 2.0 speed: 12 Mb/s power: 98mA chip-ID: 046d:c52b class-ID: 0300
  Device-4: 1-5:12 info: Lite-On Qualcomm Atheros Bluetooth type: Bluetooth
    driver: btusb interfaces: 2 rev: 1.1 speed: 12 Mb/s power: 100mA
    chip-ID: 04ca:3014 class-ID: e001
  Device-5: 1-7:5 info: Realtek HD WebCam type: Video driver: uvcvideo
    interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0bda:57f2
    class-ID: 0e02 serial: <filter>
  Hub-3: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 53.0 C pch: 48.5 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 306 Uptime: 1d 4h 0m wakeups: 146 Init: systemd v: 250
  tool: systemctl Compilers: gcc: 12.1.0 alt: 10 clang: 13.0.1 Packages:
  pacman: 2005 lib: 493 flatpak: 0 Shell: Bash v: 5.1.16
  running-in: terminator inxi: 3.3.16

Hi @alvimpaulo, and welcome!

In order for us, or anyone for that matter, to be able to provide assistance, more information is necessary. To that end, please see:

Hope you manage!


Tip:

To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:

```
pasted text
```

This will just cause it to be rendered like this:

Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.

Instead of like this:

Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.

Thereby improving legibility and making it much easier for those trying to be of assistance.

Please edit your post accordingly.

P.S.: I am probably the last person that will be able to help with STEAM and/or -related problems, but the info requested would make the life of anyone trying to provide assistance easier.