Random stuttering until reboot watching yt videos

Which Linux distro are you using?
Ubuntu

Which release version?
24.04.2 LTS

Which kernel are you using?
6.11.0-21-generic

Which BIOS version are you using?
3.07

Which Framework Laptop 13 model are you using? (AMD Ryzen™ 7040 Series, Intel® Core™ Ultra Series 1, 13th Gen Intel® Core™ , 12th Gen Intel® Core™, 11th Gen Intel® Core™)
AMD Ryzen™ 7040 Series

Video and audio stutters, moving the mouse around also stutters at the same intervals. Persists until reboot.

If you have amdgpu_top installed, next time this happens, can you open “amdgpu_top” and have a look at the “Thottle Status: […]” and show what is between those squared brackets, also set your power profile ( or equivalent ) to “performance” and see what the maximum processor frequency is

I’m assessing some stuff and there something I’m suspicious of ( somewhat… ) what’s going on and it’s been more noticeable since I’ve replaced the liquid thermal with PTM7958

I have a Framework 16 but we’re both using AMD Phoenix ( I’ve have 7840HS, no dGPU )

I’m using Gentoo 2.17, Kernel 6.15-rc2, BIOS 3.05, KDE Plasma 6.2.5 ( Wayland )

Thanks

I’m also running into the same issues with youtube videos stuttering.

Config: Framework 13, AMD 7040 series (AMD Ryzen 5 7640U)

OS: Fedora release 42 (Adams)

Kernel: 6.5.6-300.fc39.x86_64

BIOS:

	Vendor: INSYDE Corp.
	Version: 03.08
	Release Date: 03/19/2025
	Address: 0xE0000
       product: AMD Ryzen 5 7640U w/ Radeon 760M Graphics
       vendor: Advanced Micro Devices [AMD]
       physical id: 4
       bus info: cpu@0
       version: 25.116.1

Scale: 125%

watching this space for any suggestions..

ok, will do. installed amdgpu_top - just waiting for it to happen again.

output while laptop was stuttering with a yt video playing. this time the sound was fine but everything else was laggy.

oops sorry missed this part. ill scroll down next time :man_facepalming:

this is a known issue. https://gitlab.freedesktop.org/drm/amd/-/issues/3647#top

try adding this to your kernel params
amdgpu.dcdebugmask=0x10

thanks, added. now its a wait and see game :smiley:

I tried adding the parm by making my /etc/default/grub line:
GRUB_CMDLINE_LINUX="rhgb quiet amdgpu.runpm=0 amdgpu.dcdebugmask=0x10"

I still see the issue. When I move the mouse while video is playing full screen i still see stuttering/micro freezes etc.

When i say stuck i see the following:

  • video frame is stuck but audio keeps playing
  • exiting fullscreen video playback and then opening fullscreen fixes the problem until the next time i move the mouse while video is playing fullscreen.

Also, now my framework BIOS version is 3.09 which is the latest as of now.

My stack uses Wayland and not x11

Another update here.

When I connect an external display, I see the stuttering when interacting with content on the laptop display but not on the external display.

Also, this happens even when no video is playing

I was finally able to fix the issue. In my case it was simply turning off the display scaling. It was set to 125% and changing it back to 100% got rid of the issue. I haven’t been able to replicate it since that change.