https://bugs.kde.org/show_bug.cgi?id=357755
Kevin Kofler <kevin.kof...@chello.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kevin.kof...@chello.at --- Comment #3 from Kevin Kofler <kevin.kof...@chello.at> --- I explained why I implemented this the way I did in my Qt review request: https://codereview.qt-project.org/#/c/76992/ > Q: Why do you need the special QT_XCB_FORCE_SOFTWARE_OPENGL environment > variable and the xinitrc.d snippet? Can't you just detect this > automatically inside Qt? > A: The problem is that to check what version of OpenGL is supported by the > driver, I have to initialize it, and after initializing it, it is too late > to switch to software rendering. So I would have to spawn an external > helper executable to check that. Doing so all the time is expensive. > Therefore, I decided to do the check once at session startup and cache the > result (which is not likely to change) in an environment variable. (And I > also cache the result of the environment variable lookup inside Qt, to > minimize the performance hit of the workaround.) -- You are receiving this mail because: You are watching all bug changes.