Screen flickering in different apps


I’ve recently installed EndeavourOS and I’m really liking it.

Unfortunately, I’m encountering a screen flickering issue with various apps on my PC. Google Chrome, Discord, so far. The flickering tends to occur when I open a graphic, like an image or even scroll through Twitter on Chrome.

I assume this might be because of the integrated GPU on my board while I have a dedicated NVIDIA RTX 3070 installed.

Not entirely sure though, since I’m new. Would love some help in this regard.

I’ve included relevant info for starters. Thanks.

  Kernel: 6.6.32-1-lts arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
    root=UUID=564cb6e6-6448-461a-b4cd-883f34197e08 rw rootflags=subvol=@
    nowatchdog nvme_load=YES nvidia_drm.modeset=1 loglevel=3
  Desktop: GNOME v: 46.2 tk: GTK v: 3.24.42 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: 1: GDM v: 46.2 2: SDDM note: stopped
    Distro: EndeavourOS base: Arch Linux
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: TUF GAMING X670E-PLUS v: Rev 1.xx
    serial: <superuser required> part-nu: SKU uuid: <superuser required>
    UEFI: American Megatrends v: 2413 date: 02/04/2024
  Info: model: AMD Ryzen 5 7600X bits: 64 type: MT MCP arch: Zen 4 gen: 5
    level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
    model-id: 0x61 (97) stepping: 2 microcode: 0xA601206
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 6 MiB desc: 6x1024 KiB
    L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 4834 high: 5250 min/max: 400/5453 scaling:
    driver: amd-pstate-epp governor: performance cores: 1: 5249 2: 5249 3: 5249
    4: 5248 5: 5187 6: 5248 7: 5180 8: 5250 9: 5249 10: 5250 11: 400 12: 5249
    bogomips: 112859
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB:
    conditional; STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected;
    BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
  Device-1: NVIDIA GA104 [GeForce RTX 3070 Lite Hash Rate] vendor: Gigabyte
    driver: nvidia v: 550.78 alternate: nouveau,nvidia_drm non-free: 550.xx+
    status: current (as of 2024-04; EOL~2026-12-xx) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 16 link-max: gen: 4 speed: 16 GT/s ports: active: none
    off: DP-1,HDMI-A-1 empty: DP-2,HDMI-A-2 bus-ID: 01:00.0 chip-ID: 10de:2488
    class-ID: 0300
  Device-2: AMD Raphael vendor: ASUSTeK driver: amdgpu v: kernel
    arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie:
    gen: 4 speed: 16 GT/s lanes: 16 ports: active: none empty: DP-3,HDMI-A-3
    bus-ID: 11:00.0 chip-ID: 1002:164e class-ID: 0300 temp: 54.0 C
  Device-3: Razer USA Gaming Webcam [Kiyo] driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:3
    chip-ID: 1532:0e03 class-ID: 0102
  Display: wayland server: v: with: Xwayland v: 24.1.0
    compositor: gnome-shell driver: X: loaded: amdgpu,nvidia
    unloaded: modesetting alternate: fbdev,nouveau,nv,vesa dri: radeonsi
    gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: DP-1 model: Dell AW2521HF serial: <filter> built: 2020
    res: 1920x1080 dpi: 90 gamma: 1.2 size: 544x303mm (21.42x11.93")
    diag: 623mm (24.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  Monitor-2: HDMI-A-1 model: Dell S2240L serial: <filter> built: 2012
    res: 1920x1080 dpi: 102 gamma: 1.2 size: 476x267mm (18.74x10.51")
    diag: 546mm (21.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
    drv: nvidia device: 2 drv: radeonsi device: 3 drv: swrast gbm: drv: nvidia
    surfaceless: drv: nvidia wayland: drv: nvidia x11: drv: zink
    inactive: device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.78
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3070/PCIe/SSE2
    memory: 7.81 GiB display-ID: :0.0
  Device-1: NVIDIA GA104 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:228b class-ID: 0403
  Device-2: AMD Rembrandt Radeon High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 11:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 11:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-4: HP HyperX QuadCast S driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-2.4:4
    chip-ID: 03f0:0d8b class-ID: 0300 serial: <filter>
  Device-5: Razer USA Gaming Webcam [Kiyo] driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:3
    chip-ID: 1532:0e03 class-ID: 0102
  Device-6: HP HyperX Cloud II Wireless
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 3-3:2 chip-ID: 03f0:018b class-ID: 0300
  API: ALSA v: k6.6.32-1-lts status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.0.7 status: active 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
  Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 0a:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  Local Storage: total: 953.87 GiB used: 9.84 GiB (1.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Orico model: V500-1T
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: S1111A0L temp: 39.9 C
    scheme: GPT
  ID-1: / raw-size: 153.55 GiB size: 153.55 GiB (100.00%)
    used: 9.81 GiB (6.4%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 27 MiB (28.1%) fs: vfat dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-3: /home raw-size: 153.55 GiB size: 153.55 GiB (100.00%)
    used: 9.81 GiB (6.4%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
  ID-4: /var/log raw-size: 153.55 GiB size: 153.55 GiB (100.00%)
    used: 9.81 GiB (6.4%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
  Alert: No swap data was found.
  System Temperatures: cpu: 67.0 C mobo: N/A gpu: amdgpu temp: 54.0 C
  Fan Speeds (rpm): N/A
  Memory: total: 32 GiB note: est. available: 30.57 GiB used: 5.21 GiB (17.0%)
  Processes: 389 Power: uptime: 1h 25m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.19 GiB services: gsd-power,
    power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 904 libs: 249 tools: paru,yay Compilers:
    gcc: 14.1.1 Shell: Bash v: 5.2.26 running-in: kitty inxi: 3.3.34
Jun 07 13:36:27 endvros kernel: hub 10-0:1.0: config failed, hub doesn't have any ports! (err -19)
Jun 07 13:36:27 endvros kernel: 
Jun 07 13:36:29 endvros kernel: usbhid 1-2.1:1.0: couldn't find an input interrupt endpoint
Jun 07 13:36:30 endvros (udev-worker)[597]: event17: Failed to call EVIOCSKEYCODE with scan code 0x7c, and key code 190: Invalid argument
Jun 07 13:36:30 endvros kernel: uvcvideo 1-3:1.1: Failed to set UVC probe control : -32 (exp. 26).
Jun 07 13:36:57 endvros gdm-password][1416]: gkr-pam: unable to locate daemon control file
Jun 07 13:36:57 endvros gdm[904]: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
Jun 07 13:36:58 endvros systemd[1431]: Failed to start Application launched by gnome-session-binary.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support:
░░ A start job for unit UNIT has finished with a failure.
░░ The job identifier is 151 and the job result is failed.
Jun 07 13:36:59 endvros gdm[904]: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
Jun 07 15:01:04 endvros kernel: nvidia-modeset: ERROR: Invalid request parameters, planePitch or rmObjectSizeInBytes, passed during surface registration

Update: I’ve just found out the flickering is not consistent, rather limited to some apps. If I use Firefox to scroll through Twitter, it doesn’t happen. Using Chrome on the other hand causes a lot of flicker, not entirely sure what to make of it.

Another worthy addition is missing text and icons after waking up my PC from auto suspension. I guess that has to be due to gnome-shell but I’ve disabled Auto-suspend for the time being, and isolated the issue.


Your desktop session is using Wayland. This flickering is a known issue with Nvidia cards and will hopefully be resolved in an upcoming driver release.

Log-out, and log-in again using X11, instead of Wayland, and the flickering should hopefully go away. Once the Nvidia 555 drivers are release, hopefully this issue will be no more.

1 Like

I run on an RTX3070, no flickering.

On chrome/chromium/electron based browers and apps, edit the desktop file and add:

--enable-features=UseOzonePlatform --ozone-platform=wayland 

To the exec line, e.g.:

Exec=opera-beta --enable-features=UseOzonePlatform --ozone-platform=wayland %U

You can also set the flags in some browsers:

This is google chrome.

Hi, thank you for the replies.

Switching my desktop session to X11 did resolve the issue.

Is this a temporary fix for wayland while the issue in the drivers is sorted? I have noticed the flickering is only prominent in chromium/electron based apps.

I don’t know if it’s placebo but wayland felt smoother and faster compared to X11. I’ll give this a shot until a permanent fix is out. Thanks.

As I said, some chrome based browsers have flags, most electron apps don’t so it is a mix and match of both techniques at the moment - whether this is temporary - who knows :smiley:

1 Like

I decided to stay on X11 for the time being, since there were still some discrepancies even when using the Ozone flags. Regardless, I really appreciate the help.

Unfortunately, I’ve started encountering another issue where my PC lags and it’s not smooth at all, often when browsing. I’ve a fairly decent and modern computer, so it can handle a bunch of browser instances.

Not sure what’s causing the issue but any insights on what to look out for when the issue happens again? It isn’t permanent but really annoying when it does occur.

The cursor movement lags along with the general app UI - to be more specific. I’ve encountered this in my browsers (Firefox and Chrome) and while using Neovim in the terminal (kitty).

If you need any details, please do let me know and I’ll happily provide. Would love to get this sorted.


EDIT: Perhaps a new topic for this would be more convenient?