Bug 474015 - Max 60 FPS on electron/chromium with wayland
Summary: Max 60 FPS on electron/chromium with wayland
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.27.7
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-01 11:02 UTC by lightofpast
Modified: 2023-09-01 15:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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