Hello, for as long as I’ve had EndeavourOS installed, this problem appears from time to time.
The problem: every few seconds the screen glitches for a split second. See the following
video for more.
This usually happens when waking the computer from sleep (though once it happened after booting up the laptop). The problem is resolved by going to sleep and then waking back up.
I am running Wayland, with an AMD integrated GPU and Nvidia dedicated GPU. I have installed the nvidia-open-dkms drivers via nvidia-inst.
Thank you and enjoy the holidays!
This solved somewhat similar problems for me.
Which gpu is actually active? If it is the nVidia, did you follow the Arch Wiki, to set-up suspend?:
https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks
Follow point 10.
From the Arch Wiki page you provided:
You also need to have the services nvidia-suspend.service
, nvidia-hibernate.service
, and nvidia-resume.service
enabled. Arch Linux enables them by default on supported drivers, as per upstream requirements.
Nevertheless, I checked the status of those services and this is what I got:
❯ systemctl status nvidia-suspend.service ⏎
○ nvidia-suspend.service - NVIDIA system suspend actions
Loaded: loaded (/usr/lib/systemd/system/nvidia-suspend.service; enabled; preset: disabled)
Active: inactive (dead)
❯ systemctl status nvidia-resume.service ⏎
○ nvidia-resume.service - NVIDIA system resume actions
Loaded: loaded (/usr/lib/systemd/system/nvidia-resume.service; enabled; preset: disabled)
Active: inactive (dead)
❯ systemctl status nvidia-hibernate.service ⏎
○ nvidia-hibernate.service - NVIDIA system hibernate actions
Loaded: loaded (/usr/lib/systemd/system/nvidia-hibernate.service; enabled; preset: disabled)
Active: inactive (dead)
But check this out, nvidia-persistenced.service
was disabled. Can this cause the issue?
❯ systemctl status nvidia-persistenced.service ⏎
○ nvidia-persistenced.service - NVIDIA Persistence Daemon
Loaded: loaded (/usr/lib/systemd/system/nvidia-persistenced.service; disabled; preset: disabled)
Active: inactive (dead)
Output of nvidia-smi
when running vkcube-wayland
:
Mon Dec 23 19:30:53 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.77 Driver Version: 565.77 CUDA Version: 12.7 |
|-----------------------------------------+------------------------+----------------------+
| 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 GTX 1650 Off | 00000000:01:00.0 Off | N/A |
| N/A 41C P8 1W / 25W | 14MiB / 4096MiB | 12% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 781 G /usr/lib/Xorg 4MiB |
| 0 N/A N/A 29309 C+G vkcube-wayland 7MiB |
+-----------------------------------------------------------------------------------------+
To answer your first question, I am in hybrid mode, according to envycontrol -q
, so I guess that usually the AMD iGPU is running, with the nVidia discrete card kicking in when there’s something more graphically intensive (correct me if I’m wrong!!).
Also, thanks for your reply!
If running on AMD, then forget what I said. The above is for nVidia running as the main card.
inxi -G 17:39:06
Graphics:
Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] driver: nvidia
v: 565.77
Device-2: Bison Integrated Camera driver: uvcvideo type: USB
Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
compositor: kwin_wayland driver: X: loaded: nvidia unloaded: modesetting
gpu: nvidia resolution: 1920x1080
API: EGL v: 1.5 drivers: nvidia
platforms: gbm,wayland,x11,surfaceless,device
API: OpenGL v: 4.6.0 vendor: nvidia v: 565.77 renderer: NVIDIA GeForce
RTX 3070 Laptop GPU/PCIe/SSE2
API: Vulkan v: 1.4.303 drivers: N/A surfaces: xcb,xlib,wayland
This bit says which card is in use:
API: OpenGL v: 4.6.0 vendor: nvidia v: 565.77 renderer: NVIDIA GeForce
RTX 3070 Laptop GPU/PCIe/SSE2
I cant watch the video but i think i have the same issue
Since todays update after waking my Lenovo T14 from sleep the screen goes black after 5 Seconds for about 1 Second and after that starts flickering faster and faster till i goes to complete black screen.
Close the lid, open it, notebook wakes up with no problem, after 5 Seconds same Problem.
After a Reboot and blocking the Sleep Mode the Notebook works with no problem.
First time go to sleep, same Problem again
even if i reboot the screen flickers at shutdown when systemd messages show up
endeavouros KDE on a Lenovo T14 Gen1 with Ryzen Pro 7 and Radeon internal gpu