Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QtWebEngine Locked at 60FPS Despite Detecting 144Hz Displays
Forum Updated to NodeBB v4.3 + New Features

QtWebEngine Locked at 60FPS Despite Detecting 144Hz Displays

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 489 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AelecTi
    wrote on last edited by AelecTi
    #1

    Windows 10,Qt 6.6.1

    To reproduce the issue, compile and install qtwebengine (version 6.6.1#1) using vcpkg.

    vcpkg install qtwebengine[geolocation,proprietary-codecs,spellchecker,webchannel,default-features]:x64-windows --editable --x-buildtrees-root="C:\qt"
    

    After installation, compile and run the following code:

    #include <QApplication>
    #include <QWebEngineView>
    
    int main(int argc, char *argv[])
    {
       QApplication app(argc, argv);
    
       QWebEngineView view;
    
       // Check the refresh rate
       view.setUrl(QUrl("https://vsynctester.com")); 
    
       view.show();
    
       return app.exec();
    }
    

    The test results show that the refresh rate of QtWebEngineView is capped at 60 FPS.

    When I set the URL to chrome://gpu/, it shows that Chromium correctly detects my 144Hz monitor, but for some reason, it's still limiting the max refresh rate to 60.

    I've tried using qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--ignore-gpu-blacklist --enable-gpu --vsync-interval=7 --max-gum-fps=144"); with no luck.

    Also, using qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-frame-rate-limit"); pushes the frames beyond 500, but it maxes out CPU resources.

    Any ideas on how to fix this?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved