Open Bug 1954406 Opened 7 months ago Updated 4 months ago

Choppy scrolling while Youtube video is playing

Categories

(Core :: Graphics: WebRender, defect)

Firefox 136
defect

Tracking

()

People

(Reporter: jorahandal, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

https://share.firefox.dev/3FwwNdv

I noticed this since the 136 update.

Once I scroll further down it stops being choppy but while I scroll up and down where the video is playing, it gets extremely laggy.

My specs:

Ryzen 9800X3D

Radeon 7900XTX (latest drivers)
64GB RAM
2TB WD Black SN850X SSD
ASRock X870E Nova WIFI motherboard

The strange thing is, once I ran the performance profiler the choppiness stopped. It comes back when I re-start Firefox but when I run the performance profiler, it will go away again.

Not seeing anything obvious in the profile, though are you saying that the issue doesn't occur when running with the profiler?

Component: General → Performance
Flags: needinfo?(jorahandal)
Product: Firefox → Core

I have the exact same issue
32GB RAM
5800X3D
RX 7800 XT

(In reply to Dave Townsend [:mossop] from comment #1)

Not seeing anything obvious in the profile, though are you saying that the issue doesn't occur when running with the profiler?

Yes, so while the video is playing and I scroll, it gets choppy. As soon as I press "record a performance profile" the choppiness goes away even after stopping the performance recording. It's very strange.

Flags: needinfo?(jorahandal)

This bug was moved into the Performance component.

:jorahandal, could you make sure the following information is on this bug?

  • βœ… For slowness or high CPU usage, capture a profile with http://profiler.firefox.com/, upload it and share the link here.
  • For memory usage issues, capture a memory dump from about:memory and attach it to this bug.
  • Troubleshooting information: Go to about:support, click "Copy raw data to clipboard", paste it into a file, save it, and attach the file here.

If the requested information is already in the bug, please confirm it is recent.

Thank you.

Flags: needinfo?(jorahandal)

Exact same issue.
Also have the exact same specs as @kalmarin1.
5800X3D/GIGABYTE 7800XT/32GB 3200MHZ

Seems to only happen while the video itself is on the screen. If you go down past the comments it doesn't happen.

Also starting the performance profiler through the extension and then discarding it fixes the issue.

(In reply to Nav from comment #7)

Also starting the performance profiler through the extension and then discarding it fixes the issue.

I am glad someone else has also reported this. I have also reported this to AMD via the AMD Bug Report Tool

Flags: needinfo?(jorahandal)

Yeah had my card for about a year now and everything has been perfect but in the last 2 weeks I've had a weird issue to do with alt-tabbing (the tabs are scaled weird and the text is messed up) and also noticed random lag on the desktop/Firefox.

I did swap it out for a GT 1030 just to check and the issues seemed to persist after DDU and even windows nuke so it could be another component messing stuff up for me.

However this Firefox youtube thing is 100% down to FF and not AMD.

Also are you on 25.3.2? I am using 25.3.1 right now, I don't remember if this happened on 24.12.1 + FF 136, but I think it was fine on 24.12.1. + FF 135.

Wow, I just opened two instances of Firefox, went to youtube on both, clicked play, and my entire screen just froze for about 10 seconds. Firefox is currently using a 3600MB according to task manager (it that a lot)?

(In reply to Nav from comment #10)

Also are you on 25.3.2? I am using 25.3.1 right now, I don't remember if this happened on 24.12.1 + FF 136, but I think it was fine on 24.12.1. + FF 135.

I am on 25.3.2, I think 24.12.1 was fine, I only noticed this happening in the last few weeks.

Yeah, but that's either because of 25.3.1/25.3.2 causing the issue, or FF 136. We have had both driver + browser updates in the time between not having this issue and having it.

(In reply to Nav from comment #13)

Yeah, but that's either because of 25.3.1/25.3.2 causing the issue, or FF 136. We have had both driver + browser updates in the time between not having this issue and having it.

I definitely had this issue on 25.3.1 though.

I think this started happening on FF 136 and 25.3.1

Alright. I'm not at home today so if possible could you try DDU and install 24.12.1 and see if it happens on FF 136. If so then its a FF 136 issue, if not then it's a 25.3.x issue.

I uninstalled my GPU drivers via DDU and then installed 24.12.1 and the issue was not present there.

After installed 25.3.2 again, the issue is back. Looks like this is an issue with 25.3.x drivers.

All we can do is report to AMD then. The bug here can be closed.

(In reply to Nav from comment #17)

All we can do is report to AMD then. The bug here can be closed.

Are you able to replicate it as well though?

Yes. No issues on 24.12.1 or prior. I actually reinstalled windows recently and I was using 24.12.1 on my old install, and my issues on FF started on the same day I reinstalled windows (which was also when I switched to using 25.3.2).

This is on a Gigabyte 7800XT. You have an XTX. 9070 series isn't supported on 24.12.1 so this is probably just an issue with RDNA 3 (7000 series), but I can't see any reports of other users with this on reddit or amd forums.

I am also noticing the same behavior on Reddit posts with videos. Seems to be some sort of 25.3.x video bug, but its strange how it doesn't happen on chromium browsers such as Edge and Chrome.

The severity field is not set for this bug.
:bas.schouten, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(bas)
Blocks: media-triage
Status: UNCONFIRMED → NEW
Ever confirmed: true

Profiling stopping the choppiness makes it sound like the this is related to DirectComposition (it gets turned off when profiling with screenshots)

jorahandal, can you try getting a profile with the "Graphics" preset? Does getting that profile fix the problem in the same way?

Component: Performance: General → Graphics: WebRender
Flags: needinfo?(jorahandal)

I've noticed a similar issue with an RX6600, but had the issue the the entire time I had the card (Nov 2022 - Feb 2025). I was on the latest AMD drivers throughout, the lag seemed more severe when I switched to a lower refresh rate monitor vs when I was running a higher refresh rate one.

I do use a trackpad though so I might have just noticed the laggy scrolling more than a mouse user would, and that the latest AMD driver exacerbated it to the point that it's even noticable with mouse wheel scrolling.

I've since switched graphics cards though so I'm not able to further help with troubleshooting, but that the issue went away when I switched would imply it's AMD specific.

(In reply to Jeff Muizelaar [:jrmuizel] from comment #23)

Profiling stopping the choppiness makes it sound like the this is related to DirectComposition (it gets turned off when profiling with screenshots)

jorahandal, can you try getting a profile with the "Graphics" preset? Does getting that profile fix the problem in the same way?

Unfortunately no, the graphics preset doesn't fix it.

Flags: needinfo?(jorahandal)

Can you share the profile with the graphics preset?

Flags: needinfo?(jorahandal)

(In reply to Jeff Muizelaar [:jrmuizel] from comment #26)

Can you share the profile with the graphics preset?

Here you go: https://share.firefox.dev/4jlQwLZ

So I did not notice as I've been pressing the performance profile when launching Firefox these past few weeks so I wouldn't have to deal with the choppy scrolling but it appears the choppiness is not present on YouTube any more. It is still present on Twitch, Instagram and Reddit for example.

Flags: needinfo?(jorahandal)
No longer blocks: media-triage
Blocks: video-perf
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.