Bug 474015

Summary: Max 60 FPS on electron/chromium with wayland
Product: [Plasma] kwin Reporter: lightofpast
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: xaver.hugl
Priority: NOR    
Version First Reported In: 5.27.7   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description lightofpast 2023-09-01 11:02:58 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Install electron or chromium application (vscode, chromium)
2. run the application with flag "--ozone-platform-hint=wayland"

OBSERVED RESULT
On a monitor with a high refresh rate like 144 or 165hz, the application only runs at 60 fps. I tried with and without the freesync, the problem occurs always.

EXPECTED RESULT
The refresh rate of the application must be the same with the monitors.

SOFTWARE/OS VERSIONS
Linux: Linux archlinux 6.4.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:38:14 +0000 x86_64 GNU/Linux
Kde Plasma: kwin 5.27.7-1
KDE Plasma Version: 5.27.7
KDE Frameworks Version: plasma-framework 5.109.0-1
Qt Version: Using Qt version 5.15.10 in /usr/lib

ADDITIONAL INFORMATION
The problem does not occur in other compositors like sway or hyprland and the applications works as expected with high refresh rates. I dont know what is the case in Gnome.
Comment 1 Zamundaaa 2023-09-01 15:38:05 UTC
This is a chromium bug https://bugs.chromium.org/p/chromium/issues/detail?id=1310539