Skip to content

attempt at fixing visa-related opengl issues - #347

Open
rozyczko wants to merge 2 commits into
developfrom
visa-issues
Open

rozyczko wants to merge 2 commits into
developfrom
visa-issues

Conversation

@rozyczko

Copy link
Copy Markdown
Member

Rendering backend selection improvements:

  • 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.

@rozyczko rozyczko added [scope] bug Bug report or fix (major.minor.PATCH) [priority] highest Urgent. Needs attention ASAP labels Sep 21, 2026
@rozyczko

Copy link
Copy Markdown
Member Author

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.

@rozyczko

Copy link
Copy Markdown
Member Author

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 branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[priority] highest Urgent. Needs attention ASAP [scope] bug Bug report or fix (major.minor.PATCH)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant