Nvidia GPU screen flickering

Hello everyone. I am facing very intense flickering on my system. Every time I open a game or an app the screen flickers with black lines and squares all over it.
I have tried downgrading my nvidia drivers like this. I just ran sudo downgrade nvidia-utils nvidia-dkms lib32-nvidia-utils libxnvctrl. But when I rebooted the system could not start kde and I had to rollback all downgrades. I also tried changing kernel from zen to lts. It did not help either.
I also tried adding nvidia_drm as a kernel parameter. It didn’t help either.
Here is my garuda-inxi

╭─demka@dpc in ~ as 🧙 took 2s
[🧱] × sudo garuda-inxi
System:
Kernel: 6.8.2-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc avail: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=b25bf832-6e70-4b5c-abff-f6317cfbb24c rw rootflags=subvol=@
quiet loglevel=3 ibt=off nvidia-drm.modeset=1
Desktop: KDE Plasma v: 6.0.3 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
Distro: Garuda base: Arch Linux
Machine:
Type: Desktop Mobo: ASRock model: Z590M Pro4 serial: <filter>
uuid: 9159a1a8-4801-0000-0000-000000000000 BIOS: American Megatrends LLC.
v: P1.50 date: 04/12/2021
CPU:
Info: model: Intel Core i7-10700KF bits: 64 type: MT MCP arch: Comet Lake
gen: core 10 level: v3 note: check built: 2020 process: Intel 14nm family: 6
model-id: 0xA5 (165) stepping: 5 microcode: 0xFA
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 3479 high: 4800 min/max: 800/5100 base/boost: 3663/12000
scaling: driver: intel_pstate governor: powersave volts: 1.0 V
ext-clock: 100 MHz cores: 1: 4608 2: 4730 3: 4733 4: 800 5: 4211 6: 800
7: 4800 8: 4747 9: 4800 10: 800 11: 800 12: 800 13: 4718 14: 4774 15: 4752
16: 4798 bogomips: 121596
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA GA104 [GeForce RTX 3060] vendor: Gigabyte driver: nvidia
v: 550.67 alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current
(as of 2024-02; EOL~2026-12-xx) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 3 speed: 8 GT/s
lanes: 16 link-max: gen: 4 speed: 16 GT/s ports: active: none off: DP-1
empty: DP-2,HDMI-A-1,HDMI-A-2 bus-ID: 01:00.0 chip-ID: 10de:2487
class-ID: 0300
Display: server: X.Org v: 23.2.4 with: Xwayland v: 23.2.4
compositor: kwin_wayland driver: X: loaded: nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa
gpu: nvidia,nvidia-nvswitch display-ID: :1 screens: 1
Screen-1: 0 s-res: 3440x1440 s-dpi: 96 s-size: 910x381mm (35.83x15.00")
s-diag: 987mm (38.84")
Monitor-1: DP-1 note: disabled model: Mi Monitor built: 2021
res: 3440x1440 hz: 144 dpi: 109 gamma: 1.2 size: 800x330mm (31.5x12.99")
diag: 864mm (34") modes: max: 3440x1440 min: 640x480
API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia x11: drv: zink
inactive: wayland,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.67
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2
memory: 11.72 GiB
API: Vulkan v: 1.3.279 layers: 10 device: 0 type: discrete-gpu
name: NVIDIA GeForce RTX 3060 driver: nvidia v: 550.67 device-ID: 10de:2487
surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe (LLVM 17.0.6 256
bits) driver: mesa llvmpipe v: 24.0.3-arch1.2 (LLVM 17.0.6)
device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: Intel vendor: ASRock driver: snd_hda_intel v: kernel
bus-ID: 00:1f.3 chip-ID: 8086:f0c8 class-ID: 0403
Device-2: NVIDIA GA104 High Definition Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.1 chip-ID: 10de:228b
class-ID: 0403
Device-3: Logitech G435 Wireless Gaming Headset
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 1-7:4 chip-ID: 046d:0acb class-ID: 0300
serial: <filter>
API: ALSA v: k6.8.2-zen2-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.0.4 status: n/a (root, process) with:
1: pipewire-pulse status: active 2: wireplumber status: active
3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Ethernet I219-V vendor: ASRock driver: e1000e v: kernel
port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15fa class-ID: 0200
IF: enp0s31f6 state: down mac: <filter>
Device-2: Realtek RTL8125 2.5GbE driver: r8169 v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 port: 3000 bus-ID: 04:00.0 chip-ID: 10ec:8125
class-ID: 0200
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-3: Ralink MT7601U Wireless Adapter driver: mt7601u type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-10:6
chip-ID: 148f:7601 class-ID: 0000 serial: <filter>
IF: wlp0s20f0u10 state: down mac: <filter>
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Drives:
Local Storage: total: 7.73 TiB used: 48.04 GiB (0.6%)
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: SNVS500G
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: S8I40100 temp: 33.9 C
scheme: MBR
SMART: yes health: PASSED on: 201d 7h cycles: 1,715
read-units: 46,324,077 [23.7 TB] written-units: 35,156,617 [18.0 TB]
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST8000DM004-2U9188
family: BarraCuda 3.5 (SMR) size: 7.28 TiB block-size: physical: 4096 B
logical: 512 B sata: 3.1 speed: 6.0 Gb/s tech: HDD rpm: 5400
serial: <filter> fw-rev: 0001 temp: 32 C scheme: GPT
SMART: yes state: enabled health: PASSED on: 3153h+59m+34.970s cycles: 871
read: 6.33 TiB written: 6.14 TiB Pre-Fail: attribute: Spin_Retry_Count
value: 100 worst: 100 threshold: 97
Partition:
ID-1: / raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
used: 48.04 GiB (10.3%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p1
maj-min: 259:1
ID-2: /home raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
used: 48.04 GiB (10.3%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p1
maj-min: 259:1
ID-3: /var/log raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
used: 48.04 GiB (10.3%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p1
maj-min: 259:1
ID-4: /var/tmp raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
used: 48.04 GiB (10.3%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p1
maj-min: 259:1
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 31.21 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 40.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 32 GiB available: 31.21 GiB used: 6.3 GiB (20.2%)
Processes: 374 Power: uptime: 15m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 12.44 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 1980 libs: 554 tools: octopi,paru Compilers:
clang: 17.0.6 gcc: 13.2.1 Shell: garuda-inxi (sudo) default: Bash v: 5.2.26
running-in: konsole inxi: 3.3.33
Garuda (2.6.23-1):
System install date:     2024-03-25
Last full system update: 2024-03-30
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       No/Undetected
Failed units:

Any help would be appreciated

Please try x11 at login instead of wayland

3 Likes

I have changed wayland for x11. And everything works fine now. Thank you! Can you explain why that happens? And is there any way I can set x11 as default for login?

Wayland for some setups is not working as intended wayland for me does not work. If you have chosen x11 in the login screen it should persist :smiley:

2 Likes

Sadly the issue is with Nvidia and wayland though after 2 long years there’s finally some hope coming in may as you can see here, Explicit Sync Wayland Protocol Merged, Wayland Protocols 1.34 released | GamingOnLinux

If you want to know about the bug you can see here.
though if you have epilepsy don’t play the videos.

https://bugs.kde.org/show_bug.cgi?id=481975

2 Likes

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