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. --disable-gpu flag is not working in simple browser application .
Forum Updated to NodeBB v4.3 + New Features

--disable-gpu flag is not working in simple browser application .

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 943 Views 2 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.
  • R Offline
    R Offline
    Rajesh_M
    wrote on last edited by
    #1

    I am trying to disable the gpu in simple browser application using the --disable-gpu flag but the usage of CPU remains same before using this flag and after using this flag when measuring using top command. The Qt verison I am using is 6.4 and chromium version is 94 . When I am using the --disable-gpu flag ,the changes are getting reflected in the chrome://gpu by changing the status to softwareonly, Hardware acceleration disabled.
    I tried to play a youtube video and checked the top command for above. The graphics backed is eglfs. One last question is how can we conform whether the application is using the gpu or not?
    Can anyone suggest me some ideas to disable the gpu in eglfs in simple browser .

    When using the --disable-gpu flag the following is the output

    
    Sandboxing disabled by user.
    qt.webenginecontext:
    
    GL Type: disabled
    Surface Type: OpenGLES
    Surface Profile: NoProfile
    Surface Version: 3.1
    QSG RHI Backend: OpenGL
    Using Supported QSG Backend: yes
    Using Software Dynamic GL: no
    Using Multithreaded OpenGL: yes
    
    Init Parameters:
      *  application-name simplebrowser
      *  browser-subprocess-path /usr/libexec/QtWebEngineProcess
      *  disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
      *  disable-gpu
      *  disable-speech-api
      *  enable-features NetworkServiceInProcess,TracingServiceInProcess
      *  enable-threaded-compositing
      *  enable-use-zoom-for-dsf false
      *  in-process-gpu
      *  no-sandbox
      *  use-gl disabled
    
    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