Bug 219468

Summary: Screen flickering on Radeon 680M - 6.12
Product: Drivers Reporter: Joungmin Lee (leejm516)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED ANSWERED    
Severity: low    
Priority: P3    
Hardware: AMD   
OS: Linux   
Kernel Version: 6.12 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg
kernel configuration

Description Joungmin Lee 2024-11-05 10:23:41 UTC
Created attachment 307141 [details]
dmesg

Random screen flickering is observed after upgrading to 6.12 (from rc1), which was not observed in 6.11 kernels. 

The phenomenon is more notable when trying to scroll the screen with mouse.

Seen on a machine running KDE Plasma 6.2 (w/ wayland) on Arch Linux. Other WMs have not been tested. 

My English is not so good for describing the problem exactly. So I link two clips where the display was taken.

I could identify nothing special from dmesg. The dmesg and kernel configuration are attached.
Comment 1 Joungmin Lee 2024-11-05 10:24:45 UTC
Created attachment 307142 [details]
kernel configuration

kernel config
Comment 2 Joungmin Lee 2024-11-05 10:26:43 UTC
Video clips taken.

https://youtu.be/WfS5tWvqiYc
https://youtu.be/vVnlvhUzIvY
Comment 3 Joungmin Lee 2024-11-05 10:28:23 UTC
System info from inxi 

----

System:
  Host: leej-zenbook Kernel: 6.12.0-rc6-1-llvm-241014 arch: x86_64 bits: 64
    compiler: clang v: 19.1.3 clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/root/boot/vmlinuz-linux-6.12.0-rc6-1-llvm-241014
    root=UUID=ff2c684d-f559-4a51-9ae2-b27098fadb5f rw rootflags=subvol=root
    loglevel=3 quiet splash
  Desktop: KDE Plasma v: 6.2.2 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: Zenbook 15 UM3504DA_UM3504DA v: 1.0
    serial: RBN0CX03S725478
  Mobo: ASUSTeK model: UM3504DA v: 1.0 serial: RB46NBCX002FT6MB
    uuid: dda31f15-6388-bd4b-b4ea-cc1e6f3dd3e9 UEFI: American Megatrends LLC.
    v: UM3504DA.312 date: 05/13/2024
CPU:
  Info: model: AMD Ryzen 7 7735U with Radeon Graphics socket: FP7 bits: 64
    type: MT MCP arch: Zen 3+ gen: 3 level: v3 note: check built: 2022
    process: TSMC n6 (7nm) family: 0x19 (25) model-id: 0x44 (68) stepping: 1
    microcode: 0xA404102
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
    smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB
    desc: 8x512 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 400 min/max: 400/4819 boost: enabled
    base/boost: 2700/4800 scaling: driver: amd-pstate-epp governor: powersave
    volts: 1.2 V ext-clock: 100 MHz cores: 1: 400 2: 400 3: 400 4: 400 5: 400
    6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400
    15: 400 16: 400 bogomips: 86261
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  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 status: Vulnerable: Safe RET, no microcode
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW;
    STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
    affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Rembrandt [Radeon 680M]
    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: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6,
    HDMI-A-1, Writeback-1 bus-ID: 73:00.0 chip-ID: 1002:1681 class-ID: 0300
    temp: 44.0 C
  Device-2: Shinetech USB2.0 FHD UVC WebCam driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-1:2 chip-ID: 3277:0033
    class-ID: fe01 serial: 200901010001
  Display: unspecified server: X.Org v: 24.1.4 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :1 screens: 1
  Screen-1: 0 s-res: 2880x1620 s-dpi: 96 s-size: 762x429mm (30.00x16.89")
    s-diag: 874mm (34.43")
  Monitor-1: eDP-1 model: Samsung 0x4180 built: 2021 res: 2880x1620 hz: 120
    dpi: 213 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: max: 2880x1620 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: radeonsi surfaceless: drv: radeonsi x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.6-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    rembrandt LLVM 18.1.8 DRM 3.59 6.12.0-rc6-1-llvm-241014)
    device-ID: 1002:1681 memory: 500 MiB unified: no
  API: Vulkan v: 1.3.295 layers: N/A device: 0 type: integrated-gpu name: AMD
    Radeon Graphics (RADV REMBRANDT) driver: mesa radv v: 24.2.6-arch1.1
    device-ID: 1002:1681 surfaces: xcb,xlib
Comment 4 Artem S. Tashkinov 2024-11-05 14:22:07 UTC
Please refile here: https://gitlab.freedesktop.org/drm/amd/-/issues