This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Entire computer freezes while gaming with Compositor off

Tags: None
(comma "," separated)
Kimimaru
Registered Member
Posts
2
Karma
0
Hi everyone,

I'm trying out KDE Plasma on EndeavourOS (Arch-based). My previous distro was Linux Mint, and games ran super well. Now on here, I'm noticing games are a bit choppy, so I looked into ways to improve performance, including disabling the Compositor. However, when the compositor is off, randomly a game will freeze the entire desktop. Audio still plays, but I cannot enter a new tty and cannot move the mouse or do anything on the keyboard. The only way I found to recover here is manually power off the machine.

I'm running this on a laptop with Nvidia drivers, and I run in hybrid mode.

Here's the output of `inxi -Fxz`:
Code: Select all
System:
  Kernel: 5.19.7-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    Desktop: KDE Plasma v: 5.25.5 Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: Alienware product: Alienware m15 v: 2.8.0
    serial: <superuser required>
  Mobo: Alienware model: 0NNRFD v: A01 serial: <superuser required>
    UEFI: Alienware v: 2.8.0 date: 06/10/2021
Battery:
  ID-1: BAT0 charge: 42.2 Wh (100.0%) condition: 42.2/90.0 Wh (46.9%)
    volts: 12.7 min: 11.4 model: DELL K69WH877 status: full
CPU:
  Info: 6-core model: Intel Core i7-9750H bits: 64 type: MT MCP
    arch: Coffee Lake rev: A cache: L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
  Speed (MHz): avg: 4136 high: 4198 min/max: 800/4500 cores: 1: 4149
    2: 4189 3: 4172 4: 4186 5: 4185 6: 4198 7: 4179 8: 4166 9: 4179 10: 3662
    11: 4197 12: 4172 bogomips: 62399
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Dell
    driver: i915 v: kernel arch: Gen-9.5 bus-ID: 00:02.0
  Device-2: NVIDIA TU106M [GeForce RTX 2060 Mobile] vendor: Dell
    driver: nvidia v: 515.65.01 arch: Turing bus-ID: 01:00.0
  Device-3: Sunplus Innovation Integrated_Webcam_FHD type: USB
    driver: uvcvideo bus-ID: 1-9:4
  Display: x11 server: X.Org v: 21.1.4 driver: X:
    loaded: modesetting,nvidia gpu: i915 resolution: 1920x1080~144Hz
  OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa
    22.1.7 direct render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3
  Device-2: NVIDIA TU106 High Definition Audio vendor: Dell
    driver: snd_hda_intel v: kernel bus-ID: 01:00.1
  Sound Server-1: ALSA v: k5.19.7-zen2-1-zen running: yes
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.57 running: yes
Network:
  Device-1: Qualcomm Atheros Killer E2500 Gigabit Ethernet
    vendor: Rivet Networks driver: alx v: kernel port: 3000 bus-ID: 70:00.0
  IF: enp112s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel Wireless-AC 9260 vendor: Rivet Networks driver: iwlwifi
    v: kernel bus-ID: 71:00.0
  IF: wlan0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb
    v: 0.8 bus-ID: 1-7:3
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 1.86 TiB used: 227.33 GiB (11.9%)
  ID-1: /dev/nvme0n1 vendor: Toshiba model: KXG60ZNV1T02 NVMe 1024GB
    size: 953.87 GiB temp: 36.9 C
  ID-2: /dev/nvme1n1 vendor: Toshiba model: KXG60ZNV1T02 NVMe 1024GB
    size: 953.87 GiB temp: 36.9 C
Partition:
  ID-1: / size: 146.59 GiB used: 25.87 GiB (17.7%) fs: ext4
    dev: /dev/nvme1n1p3
  ID-2: /boot/efi size: 299.4 MiB used: 312 KiB (0.1%) fs: vfat
    dev: /dev/nvme1n1p1
  ID-3: /home size: 776.11 GiB used: 201.46 GiB (26.0%) fs: ext4
    dev: /dev/nvme1n1p4
Swap:
  ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme1n1p2
Sensors:
  System Temperatures: cpu: 51.0 C pch: 49.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 269 Uptime: 7h 40m Memory: 15.42 GiB used: 3.34 GiB (21.6%)
  Init: systemd Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: 1423
  Shell: Bash v: 5.1.16 inxi: 3.3.21


I wish I had more information, but I'm not sure where to look for logs when the system freezes, or how to further debug what might be causing it. As a reminder, issue does not happen on Mint.

Here are my compositor settings:
Code: Select all
[x] Enable on startup
[x] Allow applications to block compositing
Scale Method: Accurate
Latency: Force lowest latency (may cause dropped frames)
Tearing prevention ("vsync"): Automatic
Keep window thumbnails: Always
Kimimaru
Registered Member
Posts
2
Karma
0
A few more things to note:
- I can reliably reproduce it. The desktop will freeze usually after a few minutes of playing. This is regardless of whether "Allow applications to block compositing" is enabled or not.
- I can move the mouse and disconnec/reconnect bluetooth devices while it's in the frozen state.
- However, the keyboard doesn't work, which prevents me from entering the tty, exiting the application, or doing anything.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]