You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added the Rendering class to helpers.py, which determines whether to use the software or OpenGL Qt Quick scene graph backend based on environment variables, platform, and OpenGL renderer detection. This helps avoid GUI freezes in remote desktop scenarios.
Integrated the Rendering class into main.py, including a new --software-rendering command-line argument to allow users to force software rendering.
This doesn't show in previous versions.
Digging deeper I find that what's changed is that v1.4.0 started Qt WebEngine at launch (Bayesian display components), and current, proposed fix works largely because it switches WebEngine to software compositing as a side effect.
The fix is effective but broader than the likely cause
Forcing the software scene graph makes WebEngine treat the backend as unsupported, so it adds --disable-gpu. That removes both the Qt Quick GLX swap and OPen GL use. The cost is: no ShaderEffect, full-window redraws at fractional scaling, CPU rendering of everything.
we might be better of doing lazy-load the Bayesian view with active: Globals.BackendWrapper.bayesianResultAvailable on the Loader, so Chromium never starts unless needed. This would help every platform.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rendering backend selection improvements:
Renderingclass tohelpers.py, which determines whether to use the software or OpenGL Qt Quick scene graph backend based on environment variables, platform, and OpenGL renderer detection. This helps avoid GUI freezes in remote desktop scenarios.Renderingclass intomain.py, including a new--software-renderingcommand-line argument to allow users to force software rendering.