Screen doesn't refresh unless I move my mouse

Hello,
for a few weeks I have issues with my screen, as it doesn’t refresh when I don’t move my cursor.
I’m using fedora 41, and my laptop is quite recent, with an AMD Ryzen 7 8845HS and a mobile RTX 4050.

The lspci command returns :

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Phoenix IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Phoenix GPP Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Phoenix GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Phoenix GPP Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Phoenix GPP Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Host Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Internal GPP Bridge to Bus [C:A]
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Internal GPP Bridge to Bus [C:A]
00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Internal GPP Bridge to Bus [C:A]
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 7
01:00.0 VGA compatible controller: NVIDIA Corporation AD107M [GeForce RTX 4050 Max-Q / Mobile] (rev a1)
02:00.0 Non-Volatile memory controller: Sandisk Corp WD PC SN740 NVMe SSD 512GB (DRAM-less) (rev 01)
03:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
04:00.0 Network controller: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter
35:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix3 (rev cc)
35:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
35:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Phoenix CCP/PSP 3.0 Device
35:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b9
35:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15ba
35:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 63)
35:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h/1ah HD Audio Controller
36:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Function
36:00.1 Signal processing controller: Advanced Micro Devices, Inc. [AMD] AMD IPU Device
37:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Function
37:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15c0
37:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15c1
37:00.5 USB controller: Advanced Micro Devices, Inc. [AMD] Pink Sardine USB4/Thunderbolt NHI controller #1

There was a topic on reddit : Reddit - Dive into anything
However in my case the problem hasn’t been resolved.

My kernel is up to date.
I’ve already tried to reinstall the NVIDIA drivers, and to switch between wayland and the other one.

Thanks in advance, and if you need any other information I’m here !

Maybe I’m misunderstanding the issue, but how do you know it’s not refreshing when you simply sit there and do nothing?

For example, if you have a video playing in YouTube within your browser, and you sit back to watch it and don’t touch the mouse, do you just see a static frame from the video?

Please go into some depth, as I’m genuinely struggling to come up with any kind of situation or configuration which would require mouse movement to refresh the display.

This is exactly the issue I have. Another exemple is that, when I’m typing something, I don’t see the letters appear until I move my cursor.

What is strange is that it doesn’t happen when I’m linked to my external screen, only on my laptop screen.

Also, the issue still happens when I have an external mouse or not (in which case I’m using the pad).

I forgot to add that :
this issue doesn’t happen with some app, like the preinstalled Video app on fedora (the only solution I’ve found to watch video on my laptop with this bug).
the screen still refresh from time to time, for example on youtube, the video can run fine for 5s, then the image stay static.
finally, the issue doesn’t happen at all on video games (why ???). I discovered that just now, when I tried to launch grounded, which runs just fine, as well as the other games I tried after.

OK — somewhat bizarre!

Please post details of the laptop, e.g., by running inxi -Fzxx in a terminal (as searchable, pre-formatted text using the </> button from the top line of the text entry panel). This will help others with similar hardware and issues find this topic.

Finally, I presume this issue has persisted across multiple versions of the kernel and that even after installing different versions of the kernel, you always see the same issue.

inxi -Fzxx returns :
System:
Kernel: 6.12.4-200.fc41.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 2.43.1-4.fc41
Desktop: GNOME v: 47.2 tk: GTK v: 3.24.43 wm: gnome-shell dm: GDM
Distro: Fedora Linux 41 (Workstation Edition)
Machine:
Type: Laptop System: LENOVO product: 83D5 v: IdeaPad Pro 5 16AHP9
serial: Chassis: type: 10 v: IdeaPad Pro 5 16AHP9
serial:
Mobo: LENOVO model: LNVNB161216 v: NO DPK serial:
part-nu: LENOVO_MT_83D5_BU_idea_FM_IdeaPad Pro 5 16AHP9 UEFI: LENOVO
v: NQCN27WW date: 07/10/2024
Battery:
ID-1: BAT0 charge: 73.9 Wh (87.1%) condition: 84.8/84.0 Wh (101.0%)
volts: 17.6 min: 15.6 model: COSMX L23X4PF1 serial:
status: charging
CPU:
Info: 8-core model: AMD Ryzen 7 8845HS w/ Radeon 780M Graphics bits: 64
type: MT MCP arch: Zen 4 rev: 2 cache: L1: 512 KiB L2: 8 MiB L3: 16 MiB
Speed (MHz): avg: 400 min/max: 400/5137 boost: enabled 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: 121368
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: NVIDIA AD107M [GeForce RTX 4050 Max-Q / Mobile] vendor: Lenovo
driver: nvidia v: 565.77 arch: Lovelace pcie: speed: 16 GT/s lanes: 8
bus-ID: 01:00.0 chip-ID: 10de:28e1
Device-2: Advanced Micro Devices [AMD/ATI] Phoenix3 vendor: Lenovo
driver: amdgpu v: kernel arch: RDNA-3 pcie: 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: 35:00.0 chip-ID: 1002:1900 temp: 32.0 C
Device-3: Bison Integrated RGB Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 3-1:2 chip-ID: 5986:2169
Display: x11 server: X.Org v: 21.1.14 with: Xwayland v: 24.1.4
compositor: gnome-shell driver: X: loaded: modesetting,nvidia
alternate: fbdev,nouveau,nv,vesa dri: radeonsi gpu: amdgpu display-ID: :0
screens: 1
Screen-1: 0 s-res: 2048x1280 s-dpi: 96
Monitor-1: eDP-1 model: Samsung 0x41a7 res: 2048x1280 dpi: 151
diag: 407mm (16")
API: OpenGL v: 4.6 vendor: amd mesa v: 24.2.8 glx-v: 1.4 es-v: 3.2
direct-render: yes renderer: AMD Radeon Graphics (radeonsi gfx1103_r1 LLVM
19.1.0 DRM 3.59 6.12.4-200.fc41.x86_64) device-ID: 1002:1900
API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High Definition
Audio vendor: Lenovo driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
lanes: 16 bus-ID: 35:00.1 chip-ID: 1002:1640
Device-2: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
vendor: Lenovo driver: snd_pci_ps v: kernel pcie: speed: 16 GT/s lanes: 16
bus-ID: 35:00.5 chip-ID: 1022:15e2
Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
vendor: Lenovo driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
lanes: 16 bus-ID: 35:00.6 chip-ID: 1022:15e3
API: ALSA v: k6.12.4-200.fc41.x86_64 status: kernel-api
Server-1: JACK v: 1.9.22 status: off
Server-2: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
vendor: Lenovo driver: mt7921e v: kernel pcie: speed: 5 GT/s lanes: 1
bus-ID: 04:00.0 chip-ID: 14c3:0616
IF: wlp4s0 state: up mac:
IF-ID-1: docker0 state: down mac:
Bluetooth:
Device-1: Foxconn / Hon Hai Bluetooth 5.2 Adapter [MediaTek MT7922]
driver: btusb v: 0.8 type: USB rev: 2.1 speed: 480 Mb/s lanes: 1
bus-ID: 1-3:2 chip-ID: 0489:e0d8
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: bt-v: 5.2
lmp-v: 11
Drives:
Local Storage: total: 953.87 GiB used: 518.22 GiB (54.3%)
ID-1: /dev/nvme0n1 vendor: Western Digital model: WD PC SN740
SDDPMQD-1T00-1101 size: 953.87 GiB speed: 63.2 Gb/s lanes: 4
serial: temp: 23.9 C
Partition:
ID-1: / size: 780.25 GiB used: 517.66 GiB (66.3%) fs: btrfs
dev: /dev/nvme0n1p6
ID-2: /boot size: 973.4 MiB used: 512.3 MiB (52.6%) fs: ext4
dev: /dev/nvme0n1p5
ID-3: /boot/efi size: 96 MiB used: 53.6 MiB (55.8%) fs: vfat
dev: /dev/nvme0n1p1
ID-4: /home size: 780.25 GiB used: 517.66 GiB (66.3%) fs: btrfs
dev: /dev/nvme0n1p6
Swap:
ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 30.0 C mobo: N/A gpu: amdgpu temp: 31.0 C
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB note: est. available: 13.39 GiB used: 4.1 GiB (30.6%)
Processes: 507 Power: uptime: 3m wakeups: 0 Init: systemd v: 256
target: graphical (5) default: graphical
Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 64
Compilers: gcc: 14.2.1 Shell: Bash v: 5.2.32 running-in: gnome-terminal
inxi: 3.3.36

Could you please try installing kernel 6.11.7-300 and see if the issue persists?

I have similar or same problem. F41 and AMD Ryzen 7 PRO 8840U w/ Radeon 780M Graphics.
For example, the use of the terminal was almost unusable.
Downgraded kernel to 6.11.7-30. Much better now, such hanging problems no longer exist.

Could you post your ‘inxi -Fzxx’ output please, so I can compare it to the other two ideapsd users who had this issue. See if we can find some commonality between the two different machines and narrow down the root cause.

(On my phone so excuse typos!)

Seems that 6.11.7-30 does not change my issue :frowning_face:
It reproduces when the charger is not plugged in i.e. when running on battery.

System:
  Kernel: 6.11.7-300.fc41.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.43.1-2.fc41
  Desktop: Cinnamon v: 6.4.3 tk: GTK v: 3.24.43 wm: Muffin dm: LightDM
    Distro: Fedora Linux 41 (Forty One)
Machine:
  Type: Laptop System: LENOVO product: 21MCCTO1WW v: ThinkPad T14 Gen 5
    serial: <filter> Chassis: type: 10 serial: <filter>
  Mobo: LENOVO model: 21MCCTO1WW serial: <filter>
    part-nu: LENOVO_MT_21MC_BU_Think_FM_ThinkPad T14 Gen 5 UEFI: LENOVO
    v: R2LET30W (1.11 ) date: 11/11/2024
Battery:
  ID-1: BAT0 charge: 48.8 Wh (93.3%) condition: 52.3/52.6 Wh (99.4%)
    volts: 17.7 min: 15.5 model: SMP 5B11H56415 serial: <filter>
    status: charging
CPU:
  Info: 8-core model: AMD Ryzen 7 PRO 8840U w/ Radeon 780M Graphics bits: 64
    type: MT MCP arch: Zen 4 rev: 2 cache: L1: 512 KiB L2: 8 MiB L3: 16 MiB
  Speed (MHz): avg: 400 min/max: 400/5132 boost: enabled 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: 105396
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Phoenix3 vendor: Lenovo
    driver: amdgpu v: kernel arch: RDNA-3 pcie: 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: c4:00.0 chip-ID: 1002:1900 temp: 41.0 C
  Device-2: Luxvisions Innotech Integrated Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-1:2 chip-ID: 30c9:00cd
  Display: unspecified server: X.Org v: 21.1.15 with: Xwayland v: 24.1.4
    driver: X: loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa
    dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2880x1800 s-dpi: 96
  Monitor-1: eDP-1 mapped: eDP model: Samsung 0x419f res: 2880x1800 dpi: 242
    diag: 356mm (14")
  API: OpenGL v: 4.6 vendor: amd mesa v: 24.2.8 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: AMD Radeon Graphics (radeonsi gfx1103_r1 LLVM
    19.1.0 DRM 3.59 6.11.7-300.fc41.x86_64) device-ID: 1002:1900
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High Definition
    Audio vendor: Lenovo driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
    lanes: 16 bus-ID: c4:00.1 chip-ID: 1002:1640
  Device-2: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
    vendor: Lenovo driver: snd_pci_ps v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: c4:00.5 chip-ID: 1022:15e2
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Lenovo driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
    lanes: 16 bus-ID: c4:00.6 chip-ID: 1022:15e3
  API: ALSA v: k6.11.7-300.fc41.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: a000 bus-ID: 01:00.0 chip-ID: 10ec:8168
  IF: enp1s0f0 state: down mac: <filter>
  Device-2: Qualcomm QCNFA765 Wireless Network Adapter vendor: Lenovo
    driver: ath11k_pci v: kernel pcie: speed: 8 GT/s lanes: 1 bus-ID: 02:00.0
    chip-ID: 17cb:1103
  IF: wlp2s0 state: up mac: <filter>
Bluetooth:
  Device-1: USI driver: btusb v: 0.8 type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 bus-ID: 1-3.1:5 chip-ID: 10ab:9309
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.3
    lmp-v: 12
Drives:
  Local Storage: total: 953.87 GiB used: 82.53 GiB (8.7%)
  ID-1: /dev/nvme0n1 vendor: Lenovo model: UMIS RPETJ1T24MHP2QDQ
    size: 953.87 GiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 34.9 C
Partition:
  ID-1: / size: 195.8 GiB used: 12.83 GiB (6.6%) fs: ext4 dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 411.9 MiB (42.3%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 7.6 MiB (1.3%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 739.39 GiB used: 69.29 GiB (9.4%) fs: ext4
    dev: /dev/dm-0 mapped: home
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 45.8 C mobo: 43.2 C gpu: amdgpu temp: 42.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 64 GiB note: est. available: 61.45 GiB used: 6.93 GiB (11.3%)
  Processes: 427 Power: uptime: 7h 19m wakeups: 4 Init: systemd v: 256
    target: graphical (5) default: graphical
  Packages: pm: rpm pkgs: N/A note: see --rpm Compilers: gcc: 14.2.1
    Shell: Bash v: 5.2.32 running-in: gnome-terminal inxi: 3.3.36

Short update. The issue reproduces also when the charger is plugged in, the screen refresh is slow. In my case, unable use for example GIMP (gimp-3.0.0~RC1) because it hangs after a short time.

Sounds related to Panel Self-refresh tech. I’m not sure about AMD, but Intel GPUs can disable it with i915.enable_psr=0

I tried :

sudo nano /etc/default/grub
Locate the line starting with GRUB_CMDLINE_LINUX_DEFAULT and append:
amdgpu.dc=0
and
amdgpu.psr=0

which, I think, should be the equivalent of what you suggested for AMD, but the problem is still there.

It sounds like AMDGPU’s is this for disabling PSR:

amdgpu.dcdebugmask=0x10