Open NyaomiDEV opened 3 years ago
As readme says, WebEngineView in plasmashell can't init opengl
.
https://github.com/Marcel1202/HTMLWallpaper/issues/2
This kde wallpaper plugin is used via qml in plasmashell.
It's nearly impossible to insert a QWidget in QML, so the QCefView
dose not work.
Qt provide qml web support by WebEngineView
item.
However it needs Qt::AA_ShareOpenGLContexts to make webgl work.
Qt::AA_ShareOpenGLContexts must loaded by plasmashell at the start, plasmashell dosn't enable this, so there is no webgl support.
This kde wallpaper plugin is used via qml in plasmashell. It's nearly impossible to insert a QWidget in QML, so the
QCefView
dose not work.Qt provide qml web support by
WebEngineView
item. However it needs Qt::AA_ShareOpenGLContexts to make webgl work. Qt::AA_ShareOpenGLContexts must loaded by plasmashell at the start, plasmashell dosn't enable this, so there is no webgl support.
I wonder if this can be requested to the kde developers themselves
Qt provide qml web support by
WebEngineView
item. However it needs Qt::AA_ShareOpenGLContexts to make webgl work. Qt::AA_ShareOpenGLContexts must loaded by plasmashell at the start, plasmashell dosn't enable this, so there is no webgl support.
Qt::AA_ShareOpenGLContexts is enabled on Plasma Shell since january 2022, so is it now possible?
One thing to note: in my experience webgl wallpapers work perfectly fine on my intel igpu, and then just don't work at all if i run my laptop solely on its nvidia gpu. seems to be a kde problem. Not sure if it works on AMD.
Describe the bug There is no WebGL support at all; and it is used by a lot of complex web wallpapers to properly render.
Workshop link https://steamcommunity.com/sharedfiles/filedetails/?id=1396475780
Kde version
Additional context It could be preferable to flat out use Chromium as a web backend? That way, it should be super simple to get all web wallpapers working... There are some projects that include CEF on QT Views (for example QCefView)