Bug 501696 - Video Freezes When Moving Cursor Over Fullscreen Video, Second Screen Becomes Unusable
Summary: Video Freezes When Moving Cursor Over Fullscreen Video, Second Screen Becomes...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: git-stable-Plasma/6.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-18 14:54 UTC by rishen.t.pillai
Modified: 2025-05-22 15:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rishen.t.pillai 2025-03-18 14:54:29 UTC
SUMMARY


STEPS TO REPRODUCE
1. Play a video in fullscreen mode on YouTube (Browser:Zen)
2. Move the cursor out of the screen.
3. Move the browser back to the fullscreen video.


OBSERVED RESULT
System freezes for a few seconds.
The video stays frozen even after system responsiveness returns.
The second screen becomes unusable.

EXPECTED RESULT
The video should continue playing smoothly.
The second screen should remain usable.
The cursor movement should not cause any freezes.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.6-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 9 5900HX with Radeon Graphics
Memory: 13.5 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82MS
System Version: Yoga Slim 7 Pro 14ACH5

ADDITIONAL INFORMATION
Comment 1 TraceyC 2025-03-21 00:36:11 UTC
Can you check kwin's logs when the freeze occurs? 

  journalctl --boot --user-unit plasma-kwin_wayland > ~/log.txt

Also, is there any chance that you could retrieve kwin's backtrace when the freeze occurs? You would need to ssh from another computer and attach a debugger to kwin process, e.g.

  sudo gdb -p $(pidof kwin_wayland)

then type

  bt

and paste the output here
Comment 2 rishen.t.pillai 2025-03-25 18:27:27 UTC
Hi,

Thank you for your response! I will follow the steps you’ve outlined and collect the logs and backtrace soon. I’ll update the bug report once I have the requested information.

Thanks for your help!
Comment 3 rishen.t.pillai 2025-03-28 12:05:40 UTC
Here's the output: 
Mar 28 15:56:00 fedora kscreenlocker_greet[282901]: pam_unix(kde:auth): authentication failure; logname=rvalayodapillai uid=1000 euid=1000 tty= ruser= rhost=  user=rvalayodapillai
Mar 28 15:56:39 fedora kwin_wayland[73620]: qt.svg: link #g917 is undefined!
Mar 28 15:56:39 fedora kwin_wayland[73620]: qt.svg: link #g949 is undefined!
Mar 28 15:56:39 fedora kwin_wayland[73620]: qt.svg: link #g969 is undefined!
Comment 4 TraceyC 2025-03-31 15:57:22 UTC
Thanks for the information. I'll let the kwin developers take it from here.
Comment 5 Zamundaaa 2025-05-21 14:06:03 UTC
Please attach the full kwin log here after reproducing the issue.
Comment 6 rishen.t.pillai 2025-05-22 04:43:17 UTC
I found that the issue occurs only when using Firefox or its forks. It doesn't happen on Chromium-based browsers. The issue appears to be related to AMD GPUs and was resolved by setting the kernel parameter amdgpu.runpm=0.
Comment 7 TraceyC 2025-05-22 15:34:19 UTC
Thanks for letting us know, and I'm glad you got this working well on your system.
Since this was an issue with the AMD driver and the kernel, I'm going to close this out for now.