After switching from stable to unstable branch, I encountered that when starting CS:GO in Wayland, there is a ~90% chance it would crash gnome-shell after ~10 sec while displaying a black CS:GO window. It crashes with and without extensions enabled.
CS:GO doesn’t officially support Wayland, but you can force it to do so by patching a lib-resource. I’d guess this is still a valid issue, both 'cause it worked earlier, and because no app should be able to outright crash Gnome, right? The reason I’m running with Wayland is because XWayland seemingly has provided worse performance, at least earlier. When starting in XWayland, the game starts and doesn’t crash the session.
In order to reproduce:
- Patch a strstr.c file as described in this GitHub comment.
- Make sure steam has the environment variables described in post when starting, and that CS:GO is launching with launch options: “SDL_VIDEODRIVER=wayland %command% -novid -nojoy”
- If the game crashes, this fix might help.
This is my first time posting a support post, so I’m sorry if i missed some info!
inxi output:
inxi
System:
Kernel: 5.15.1-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
root=UUID=0c427134-a39c-4d5a-9eee-9b097c816907 rw quiet splash apparmor=1
security=apparmor udev.log_priority=3
Desktop: GNOME 41.1 tk: GTK 3.24.30 wm: gnome-shell dm: GDM 41.0
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop System: Micro-Star product: MS-7A34 v: 1.0 serial: <filter>
Mobo: Micro-Star model: B350 TOMAHAWK (MS-7A34) v: 1.0 serial: <filter>
UEFI: American Megatrends v: 1.M0 date: 01/23/2019
Battery:
Device-1: hidpp_battery_0
model: Logitech G305 Lightspeed Wireless Gaming Mouse serial: <filter>
charge: 100% (should be ignored) rechargeable: yes status: Discharging
Memory:
RAM: total: 15.64 GiB used: 2.78 GiB (17.8%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: 6-Core model: AMD Ryzen 5 1600X bits: 64 type: MT MCP arch: Zen
family: 17 (23) model-id: 1 stepping: 1 microcode: 8001137 cache: L2: 3 MiB
bogomips: 86421
Speed: 2171 MHz min/max: 2200/3600 MHz boost: enabled Core speeds (MHz):
1: 2171 2: 1941 3: 1890 4: 1885 5: 2098 6: 1988 7: 2009 8: 1979 9: 2128
10: 3698 11: 1849 12: 1928
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid
cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid
fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm mca
mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl
npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq pdpe1gb
perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36
rapl rdrand rdseed rdtscp rep_good sep sev sha_ni skinit smap smca sme smep
ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock syscall tce
topoext tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt
xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
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 and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP:
disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
driver: amdgpu v: kernel bus-ID: 1c:00.0 chip-ID: 1002:67df class-ID: 0300
Device-2: Logitech C920 HD Pro Webcam type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 3-1:2 chip-ID: 046d:0892
class-ID: 0102 serial: <filter>
Display: wayland server: X.Org 1.21.1.3 compositor: gnome-shell driver:
loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa
display-ID: :0 screens: 1
Screen-1: 0 s-res: 5120x1686 s-dpi: 96 s-size: 1355x446mm (53.3x17.6")
s-diag: 1427mm (56.2")
Monitor-1: XWAYLAND0 res: 2560x1440 hz: 144 dpi: 93
size: 700x390mm (27.6x15.4") diag: 801mm (31.5")
Monitor-2: XWAYLAND1 res: 2560x1440 hz: 60 dpi: 107
size: 610x350mm (24.0x13.8") diag: 703mm (27.7")
OpenGL: renderer: AMD Radeon RX 480 Graphics (POLARIS10 DRM 3.42.0
5.15.1-1-MANJARO LLVM 12.0.1)
v: 4.6 Mesa 21.2.4 direct render: Yes
Audio:
Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
driver: snd_hda_intel v: kernel bus-ID: 1c:00.1 chip-ID: 1002:aaf0
class-ID: 0403
Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus-ID: 1e:00.3 chip-ID: 1022:1457
class-ID: 0403
Device-3: Logitech C920 HD Pro Webcam type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 3-1:2 chip-ID: 046d:0892
class-ID: 0102 serial: <filter>
Device-4: C-Media Blue Snowball type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-4.1.1:6
chip-ID: 0d8c:0005 class-ID: 0300 serial: <filter>
Sound Server-1: ALSA v: k5.15.1-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: no
Sound Server-4: PipeWire v: 0.3.40 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel port: f000 bus-ID: 19:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp25s0 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
WAN IP: <filter>
Bluetooth:
Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB
driver: btusb v: 0.8 bus-ID: 3-4.2:5 chip-ID: 0a12:0001 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 1.04 TiB used: 555.82 GiB (52.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: PNY model: CS3030 250GB SSD
size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: CS303224 temp: 32.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Kingston model: SV300S37A120G
size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: BBF0 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Crucial model: CT525MX300SSD1
size: 489.05 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: R040 scheme: GPT
ID-4: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST3250820AS
size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
type: N/A serial: <filter> rev: C scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 232.59 GiB size: 227.88 GiB (97.98%)
used: 173.17 GiB (76.0%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
label: N/A uuid: 0c427134-a39c-4d5a-9eee-9b097c816907
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: 97BA-A352
ID-3: /mnt/GameLib raw-size: 489.05 GiB size: 480.37 GiB (98.23%)
used: 382.65 GiB (79.7%) fs: ext4 dev: /dev/sdb1 maj-min: 8:17
label: GameLib uuid: 7fd667ef-4e54-4491-a902-76e710d739b9
Swap:
Alert: No swap data was found.
Unmounted:
ID-1: /dev/sda1 maj-min: 8:1 size: 16 MiB fs: <superuser required>
label: N/A uuid: N/A
ID-2: /dev/sda2 maj-min: 8:2 size: 111.77 GiB fs: ntfs label: N/A
uuid: 64D890BAD8908C44
ID-3: /dev/sdc1 maj-min: 8:33 size: 128 MiB fs: <superuser required>
label: N/A uuid: N/A
ID-4: /dev/sdc2 maj-min: 8:34 size: 232.76 GiB fs: <superuser required>
label: N/A uuid: N/A
USB:
Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 10 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-9:2 info: ASUSTek ROG STRIX SCOPE type: Keyboard,HID
driver: hid-generic,usbhid interfaces: 4 rev: 2.0 speed: 12 Mb/s
power: 500mA chip-ID: 0b05:18f8 class-ID: 0300
Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-1:2 info: Logitech C920 HD Pro Webcam type: Video,Audio
driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
power: 500mA chip-ID: 046d:0892 class-ID: 0102 serial: <filter>
Hub-4: 3-4:3 info: Realtek RTS5411 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
chip-ID: 0bda:5411 class-ID: 0900
Hub-5: 3-4.1:4 info: Realtek RTS5411 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
chip-ID: 0bda:5411 class-ID: 0900
Device-1: 3-4.1.1:6 info: C-Media Blue Snowball type: Audio,HID
driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 1.1
speed: 12 Mb/s power: 100mA chip-ID: 0d8c:0005 class-ID: 0300
serial: <filter>
Device-2: 3-4.2:5 info: Cambridge Silicon Radio Bluetooth Dongle (HCI mode)
type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s
chip-ID: 0a12:0001 class-ID: e001
Device-3: 3-4.4:7 info: Logitech USB Receiver type: Keyboard,Mouse,HID
driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
power: 98mA chip-ID: 046d:c53f class-ID: 0300
Hub-6: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 speed: 5 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-7: 4-4:2 info: Realtek Hub ports: 4 rev: 3.0 speed: 5 Gb/s
chip-ID: 0bda:0411 class-ID: 0900
Hub-8: 4-4.1:3 info: Realtek Hub ports: 4 rev: 3.0 speed: 5 Gb/s
chip-ID: 0bda:0411 class-ID: 0900
Sensors:
System Temperatures: cpu: 34.8 C mobo: N/A gpu: amdgpu temp: 62.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 792
Info:
Processes: 332 Uptime: 24m wakeups: 3 Init: systemd v: 249 tool: systemctl
Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: 1786 pacman: 1765 lib: 505
pkg: 0 flatpak: 12 snap: 9 Shell: Zsh v: 5.8 running-in: gnome-terminal
inxi: 3.3.08
Here is the output from journalctl --catalog --priority=3 --boot=-1 --no-pager > journalctl.log
: