Zen 3 flickering issue on Cinnamon DE

Hey,

lately I tried out the Zen 3 or Zenver3 kernel variant over the last months as I thought my AMD CPU might get some small booster with it. Latest patch (arround this thursday 18th) brought some black overlay flickering over the whole upper third of my screen running on 144 Hz.

First try was to restore the former state and wait for another patch, which worked. Today I did another try, because also mesa and vulkan drivers where announced. Same issue happened again.

Then I switched back toward the usual Zen kernel, what solved the problem.

So, this is no inquiry for assistance, but to bring the issue to your eyes, should someone else experience similar issues with Zen3 on AMD CPU and AMD GPU.

Here my garuda-inxi output after switching back to Zen:

garuda-inxi
System:
  Kernel: 6.9.10-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: hpet,acpi_pm
  Desktop: Cinnamon v: 6.2.2 tk: GTK v: 3.24.43 wm: Muffin v: 6.2.0
    with: plank tools: avail: cinnamon-screensaver,xautolock dm: LightDM
    v: 1.32.0 Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: X570S UD serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends LLC. v: F4d
    date: 07/20/2022
CPU:
  Info: model: AMD Ryzen 7 5800X bits: 64 type: MT MCP arch: Zen 3+ gen: 4
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 2 microcode: 0xA20120A
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 3763 high: 4013 min/max: 2200/4850 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 3800 2: 3800
    3: 3800 4: 4013 5: 3730 6: 3800 7: 3599 8: 3800 9: 3800 10: 3800 11: 3750
    12: 3800 13: 3745 14: 3598 15: 3800 16: 3584 bogomips: 121591
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] vendor: ASRock
    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: DP-1
    empty: DP-2, DP-3, HDMI-A-1, Writeback-1 bus-ID: 0c:00.0
    chip-ID: 1002:73bf class-ID: 0300
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.1 driver: X:
    loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa
    dri: radeonsi gpu: amdgpu display-ID: :0 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 mapped: DisplayPort-0 model: AOC U34G3XM serial: <filter>
    built: 2023 res: 3440x1440 hz: 144 dpi: 110 gamma: 1.2
    size: 797x334mm (31.38x13.15") diag: 864mm (34") modes: max: 3440x1440
    min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.4-arch1.2
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6800 XT (radeonsi
    navi21 LLVM 18.1.8 DRM 3.57 6.9.10-zen1-1-zen) device-ID: 1002:73bf
    memory: 15.62 GiB unified: no
  API: Vulkan v: 1.3.279 layers: 7 device: 0 type: discrete-gpu name: AMD
    Radeon RX 6800 XT (RADV NAVI21) driver: mesa radv v: 24.1.4-arch1.2
    device-ID: 1002:73bf surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
    (LLVM 18.1.8 256 bits) driver: mesa llvmpipe v: 24.1.4-arch1.2 (LLVM
    18.1.8) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
  Device-1: C-Media CMI8788 [Oxygen HD Audio] vendor: ASUSTeK Virtuoso 200
    driver: snd_virtuoso v: kernel bus-ID: 06:04.0 chip-ID: 13f6:8788
    class-ID: 0401
  Device-2: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel
    pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 0c:00.1 chip-ID: 1002:ab28
    class-ID: 0403
  Device-3: AMD Starship/Matisse HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0e:00.4 chip-ID: 1022:1487 class-ID: 0403
  API: ALSA v: k6.9.10-zen1-1-zen status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: PipeWire v: 1.2.1 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
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 04:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd
Drives:
  Local Storage: total: 6.02 TiB used: 2.19 TiB (36.4%)
 Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 31.24 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 40.04 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sdb2 maj-min: 8:18
Sensors:
  System Temperatures: cpu: 49.5 C mobo: 33.0 C gpu: amdgpu temp: 43.0 C
    mem: 38.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Memory: total: 32 GiB available: 31.24 GiB used: 5.99 GiB (19.2%)
  Processes: 450 Power: uptime: 12m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.49 GiB services: csd-power,upowerd
    Init: systemd v: 256 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1979 libs: 561 tools: gnome-software, octopi,
    pamac, paru Compilers: clang: 18.1.8 gcc: 14.1.1 Shell: garuda-inxi
    default: Bash v: 5.2.26 running-in: tilix inxi: 3.3.35
Garuda (2.6.26-1):
  System install date:     2024-05-07
  Last full system update: 2024-07-20
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:

Ok, after latest update I NOW do ask for your support.

As you read in the OP, I changed back to normal Zen kernel and the flickering issue didnā€™t happen again. With latest update the flickering is also happening with the usual kernel on Cinnamon DE.

So I went back with pre-snapshot of the causing update, flickering ended.

Here is the output of garuda-update, so you can see the libraries that have been updated. One of them is causing the flickering, but Iā€™m not able to locate which one:

Package (28)                           Old Version                New Version                 Net Change  Download Size

extra/bind                             9.18.27-1                  9.18.28-1                     0.04 MiB               
core/binutils                          2.42+r91+g6224493e457-1    2.42+r195+g29ae8b8ea71-1      0.08 MiB               
chaotic-aur/cachyos-ananicy-rules-git  20240711.r397.gd0cfc43-1   20240723.r408.g2453e45-1      0.00 MiB       0.05 MiB
extra/dbus-glib                        0.112-3                    0.112-4                      -0.02 MiB       0.14 MiB
extra/espeak-ng                        1.51.1-3                   1.51.1-4                      0.01 MiB               
extra/fastfetch                        2.19.0-1                   2.19.1-1                      0.01 MiB               
extra/firefox                          128.0-2                    128.0.2-1                     0.15 MiB      69.03 MiB
core/gcc                               14.1.1+r58+gfc9fb69ad62-1  14.1.1+r309+gbb34b7eda1f-1    0.65 MiB               
core/gcc-libs                          14.1.1+r58+gfc9fb69ad62-1  14.1.1+r309+gbb34b7eda1f-1    0.17 MiB               
core/glibc                             2.39+r52+gf8e4623421-1     2.40-1                        0.39 MiB               
extra/gvim                             9.1.0532-1                 9.1.0611-1                    0.04 MiB       2.38 MiB
core/lib32-gcc-libs                    14.1.1+r58+gfc9fb69ad62-1  14.1.1+r309+gbb34b7eda1f-1    0.08 MiB               
core/lib32-glibc                       2.39+r52+gf8e4623421-1     2.40-1                        0.11 MiB               
multilib/lib32-systemd                 256.2-1                    256.3-1                       0.00 MiB               
core/libelf                            0.191-3                    0.191-4                       0.01 MiB               
extra/libheif                          1.18.0-1                   1.18.1-1                      0.01 MiB               
extra/libsysprof-capture               46.0-3                     46.0-4                        0.00 MiB               
core/libtool                           2.5.0+14+g9a4a0261-1       2.5.0+14+g9a4a0261-2          0.01 MiB               
extra/linux-zen                        6.9.10.zen1-1              6.10.zen1-2                   1.50 MiB               
extra/linux-zen-headers                6.9.10.zen1-1              6.10.zen1-2                   0.50 MiB               
core/mpfr                              4.2.1-3                    4.2.1-4                       0.00 MiB               
extra/python-jaraco.context            4.3.0-4                    5.3.0-1                       0.01 MiB               
extra/strawberry                       1.1.0-1                    1.1.1-1                      -0.01 MiB               
core/systemd                           256.2-1                    256.3-1                       0.02 MiB               
core/systemd-libs                      256.2-1                    256.3-1                       0.01 MiB               
core/systemd-sysvcompat                256.2-1                    256.3-1                       0.00 MiB               
extra/ttf-fantasque-sans-mono          1.8.0-2                    1.8.0-3                       0.00 MiB               
extra/vim-runtime                      9.1.0532-1                 9.1.0611-1                    0.14 MiB       7.28 MiB

Total Download Size:     78.88 MiB
Total Installed Size:  1195.57 MiB
Net Upgrade Size:         3.90 MiB

im on dragonized flikering too last zen kernel update AMD card too

1 Like

It seems the Zen kernel shows instability for AMD graphic cards.

So far I used Zen V3 (6.9.1 + 6.10.1) and the usual Zen (6.10.1) kernel, both show the flickering issue.

Actually I tried the Liquorix gaming kernel ( linux-lqx , 6.9.10.lqx1-1 ) and the system booted without the flickering issue. No further tests yet, so I canā€™t tell about gaming performance.

My best guess is, that Zen devs might not have flagged 3440x1440 or 144Hz screens to be supported.

Just post

mhwd-kernel -li

please.

2 Likes

Thank you for looking into the issue.

Here the requestet output:

mhwd-kernel -li
Currently running: 6.9.10-lqx1-1-lqx (linux-lqx)
The following kernels are installed in your system:
local/linux-amd-znver3 6.10.v.0-1
local/linux-zen 6.10.1.zen1-1
local/linux-lqx 6.9.10.lqx1-1

Wondering if it may be related toward the 6800 XT graphics card.
What model you are using @Margusxx ?

Although a bit rare, odd flickering issues with newer OS updates while using an older BIOS version can occur. I would recommend you try updating your BIOS:

Edit: Also, I donā€™t see a listing for your current version ā€œF4dā€. Maybe there could be some troubles with that version and it got removed from the download page there?

2 Likes

Thankā€™s for the update. Will give it a try next.

BTW, found a guy at Steam having the same issue. I tried to do a snapshot picture, but I failed. The guy made a video, what looks exactly like my issue.

flickering screen

According to a post on Steam, this issue might be related toward Kernel 6.10 and/or the screen refresh rates beyond 120Hz.

1 Like

@Kayo Updating BIOS didnā€™t change anything about the flickering.

@SGS Yesterday also a linux-zen 6.10.2 was offered.

Both changes didnā€™t solve the issue.

There are similar reports with flickering that a recent patch did not fix. Here is one of the reports:

Edit: the issue in this report has since been identified as a userā€™s issue with their CoreCtrl settings.

If it becomes too much of a hassle to wait for a fix for, you could try out the LTS kernel or something similar until then and see if that helps. If that doesnā€™t help, there might be more at play with VRR (if you use that) or something else differentā€¦ :thinking:

Keep an eye out for new community amdgpu reports talking about refresh rates: Issues Ā· drm / amd Ā· GitLab

Edit:

The fix should be in 6.10.3
https://bbs.archlinux.org/viewtopic.php?id=298198

4 Likes

Thank you for providing the ongoing information.
For the moment, Iā€™m fine with the linux-lqx kernel and hoping the issue is fixed before they are changing on 6.10. too.

1 Like

Finally, Zen 6.10.3. catched the issue.
No flickering, all worked out fine on my side.
Thx @Kayo and @SGS for looking into it.

We always mark here the solution and not the implementation. :slight_smile:

2 Likes

Thx for the clarification @SGS
From my perspective @Kayo pointed on a ā€˜possibleā€™ solution from another source instead of giving the actual solution. Just a simple different interpretation from my side. Acknowledging your rules about, just didnā€™t know your procedere.

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