[KDE] Games issues

Games from steam, both proton and native, will just close themselves after 10 seconds without creating a window. I thought it was an nvidia driver issue, but using nvidia-istaller-db on a clean install didn’t fix it. Thanks in advance.

Any system info? inxi -Faz ?

Summary
System:    Kernel: 5.14.13-arch1-1 x86_64 bits: 64 compiler: gcc v: 11.1.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=8c395b97-0250-4a09-b01d-c5772f36274a rw quiet loglevel=3 
           nowatchdog 
           Desktop: KDE Plasma 5.23.1 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM Distro: EndeavourOS base: Arch Linux 
Machine:   Type: Desktop Mobo: ASUSTeK model: PRIME B365M-A v: Rev X.0x serial: <filter> UEFI-[Legacy]: American Megatrends 
           v: 1203 date: 10/10/2019 
CPU:       Info: Quad Core model: Intel Core i3-9100F bits: 64 type: MCP arch: Kaby Lake note: check family: 6 
           model-id: 9E (158) stepping: B (11) microcode: EA cache: L2: 6 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28808 
           Speed: 1017 MHz min/max: 800/4200 MHz Core speeds (MHz): 1: 1017 2: 800 3: 800 4: 800 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
           Type: mds mitigation: Clear CPU buffers; SMT disabled 
           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: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA TU116 [GeForce GTX 1650 SUPER] vendor: Micro-Star MSI driver: nvidia v: 470.74 
           alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:2187 class-ID: 0300 
           Display: x11 server: X.org 1.20.13 compositor: kwin_x11 driver: loaded: nvidia unloaded: fbdev,modesetting,vesa 
           alternate: nouveau,nv resolution: <missing: xdpyinfo> 
           Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:     Device-1: Intel 200 Series PCH HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 
           chip-ID: 8086:a2f0 class-ID: 0403 
           Device-2: NVIDIA TU116 High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 01:00.1 
           chip-ID: 10de:1aeb class-ID: 0403 
           Sound Server-1: ALSA v: k5.14.13-arch1-1 running: yes 
           Sound Server-2: JACK v: 1.9.19 running: no 
           Sound Server-3: PulseAudio v: 15.0 running: yes 
           Sound Server-4: PipeWire v: 0.3.38 running: no 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK PRIME B450M-A driver: r8169 
           v: kernel modules: r8168 port: d000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200 
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 447.13 GiB used: 16.04 GiB (3.6%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: A-Data model: SU630 size: 447.13 GiB block-size: physical: 512 B logical: 512 B 
           speed: 6.0 Gb/s type: SSD serial: <filter> rev: 129a scheme: MBR 
Partition: ID-1: / raw-size: 447.13 GiB size: 439.04 GiB (98.19%) used: 16.04 GiB (3.7%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 
Swap:      Alert: No swap data was found. 
Sensors:   System Temperatures: cpu: 29.8 C mobo: 27.8 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 172 Uptime: 17m wakeups: 0 Memory: 15.56 GiB used: 1.92 GiB (12.4%) Init: systemd v: 249 tool: systemctl 
           Compilers: gcc: 11.1.0 Packages: pacman: 957 lib: 263 Shell: Bash v: 5.1.8 running-in: konsole inxi: 3.3.06
1 Like

Might be an issue with nvidia driver and latest kernels. I noticed some odd behavior when using the 5.14 kernel. For instance, DX12 (vkd3d) games just wouldn’t launch with 5.14 but will with 5.10 lts.

Switching to 5.10 with akm didn’t fix the issue.

this is a database only not a driver :wink:

local/nvidia-installer-db 2.4.25-1
    Database for the script to setup nvidia drivers in EndeavourOS

The installer helper is called nvidia-installer-dkms —> https://discovery.endeavouros.com/nvidia/nvidia-installer/2021/03/

Could you install mesa-demos to get: glxinfo

extra/mesa-demos 8.4.0-4 (1.6 MiB 7.8 MiB) (Installed)
    Mesa demos and tools incl. glxinfo + glxgears

and show inxi -G

Graphics: Device-1: NVIDIA TU116 [GeForce GTX 1650 SUPER] driver: nvidia v: 470.74
Display: x11 server: X.org 1.20.13 driver: loaded: nvidia unloaded: fbdev,modesetting,vesa
resolution: <missing: xdpyinfo>
OpenGL: renderer: NVIDIA GeForce GTX 1650 SUPER/PCIe/SSE2 v: 4.6.0 NVIDIA 470.74

this is looking good… driver is fully loaded… and hardware rendering is working.

could this hint on an issue?

vkCreateInstance failed with error -9
BInit - Unable to initialize Vulkan!

Found the solution! All I had to do was install lib32-nvidia-utils.

nvidia-installer-dkms installs it by default…

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