Sample Header Ad - 728x90

EndeavourOS becoming unbearable after a while of playing a game

0 votes
1 answer
245 views
I have my laptop (ASUS TUF A14) and a secondary monitor. After playing a Minecraft for about 30-60m entire OS becomes stuttery and unusable (like a frame a second), even in the TTY consoles, and when logging out. his only happens on my laptop screen, but there is still infrequent stutters on my secondary monitor. The only way I can fix it is to reboot, but it will still happen after a while. This started happening 2 days ago. I also reinstalled just today, and it started doing it again after playing Minecraft for about 30 mintues. I had nvidia-smi running, and I looked at it after this happend and this is the output (the output was normal before the stutters):
Every 1.0s: nvidia-smi                                                                                                   isabella-linux: 16:30:13
                                                                                                                                   in 0.009s (18)
Failed to initialize NVML: Driver/library version mismatch
NVML library version: 570.124
(I did the above again, and it's giving normal results:)
[isabella@isabella-linux ~]$ nvidia-smi 
Thu Mar  6 15:58:51 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.124.04             Driver Version: 570.124.04     CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4060 ...    Off |   00000000:01:00.0  On |                  N/A |
| N/A   43C    P5              5W /   55W |     463MiB /   8188MiB |     40%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A             830      G   /usr/lib/Xorg                             4MiB |
|    0   N/A  N/A             999      G   /usr/bin/kwin_wayland                     2MiB |
|    0   N/A  N/A           24594      G   /app/bin/prismrun                         2MiB |
|    0   N/A  N/A           24664      G   ...a/java-runtime-delta/bin/java        384MiB |
+-----------------------------------------------------------------------------------------+
Free:
[isabella@isabella-linux ~]$ free
               total        used        free      shared  buff/cache   available
Mem:        15639720    13569472      613744      399188     2427776     2070248
Swap:       20479996     3194472    17285524
Sensors:
[isabella@isabella-linux ~]$ sensors
k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +48.8°C  

amdgpu-pci-6600
Adapter: PCI adapter
vddgfx:        1.29 V  
vddnb:       680.00 mV 
edge:         +44.0°C  
PPT:          19.05 W  (avg =  11.13 W)

nvme-pci-0500
Adapter: PCI adapter
Composite:    +28.9°C  (low  = -40.1°C, high = +83.8°C)
                       (crit = +87.8°C)
Sensor 1:     +44.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +28.9°C  (low  = -273.1°C, high = +65261.8°C)

BAT0-acpi-0
Adapter: ACPI interface
in0:          17.49 V  
power1:        0.00 W  

mt7921_phy0-pci-0400
Adapter: PCI adapter
temp1:        +48.0°C  

asus-isa-0000
Adapter: ISA adapter
cpu_fan:     3100 RPM
gpu_fan:     2800 RPM

ucsi_source_psy_USBC000:001-isa-0000
Adapter: ISA adapter
in0:           0.00 V  (min =  +0.00 V, max =  +0.00 V)
curr1:         0.00 A  (max =  +0.00 A)

nvme-pci-0200
Adapter: PCI adapter
Composite:    +40.9°C  (low  =  -5.2°C, high = +89.8°C)
                       (crit = +93.8°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +48.0°C
And, also:
[isabella@isabella-linux ~]$ lsmod | grep nvidia
nvidia_drm            139264  31
nvidia_uvm           3895296  2
nvidia_modeset       1826816  9 nvidia_drm
drm_ttm_helper         16384  3 amdgpu,nvidia_drm
nvidia_wmi_ec_backlight    12288  0
nvidia              96948224  197 nvidia_uvm,nvidia_modeset
video                  81920  5 nvidia_wmi_ec_backlight,asus_wmi,amdgpu,asus_nb_wmi,nvidia_modeset
wmi                    28672  4 video,nvidia_wmi_ec_backlight,asus_wmi,wmi_bmof
I've tried reinstalling the nvidia drivers/packages, but it hasn't helped, or I might of not done it correctly, I ran these:
sudo pacman -Rns nvidia-dkms nvidia-utils nvidia-settings nvidia-prime
sudo pacman -S nvidia-dkms nvidia-utils nvidia-settings nvidia-prime
sudo dkms install nvidia/$(pacman -Q nvidia-dkms | awk '{print $2}' | cut -d- -f1)
sudo mkinitcpio -P
sudo grub-mkconfig -o /boot/grub/grub.cfg
But this didn't help. Here is more information about the machine: Kernel: Linux 6.12.17-1-lts GPU: AMD Phoenix3 [Integrated] GPU 2: NVIDIA GeForce RTX 4060 Max-Q / Mobile [Discrete] CPU: AMD Ryzen 7 8845HS Using KDE Plasma 6.3.2 on Wayland
Asked by InvaderIzzy (1 rep)
Mar 3, 2025, 08:35 PM
Last activity: Mar 10, 2025, 08:00 AM