-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hardware acceleration stops working after I turn off my monitor. #35
Comments
Can't reproduce here with Intel iGPU (UHD Graphics 630). I need more info
yes https://github.com/mpv-player/mpv-examples/tree/master/libmpv/qml in fact https://github.com/catsout/wallpaper-engine-kde-plugin/tree/qt6 supports it, not sure when I will look into that so no ETA, (PRs welcome) |
Operating System: Arch Linux
Doesn't it need gstreamer? I saw gstreamer in README page, so I installed it.
I don't understand what the first link says. |
Only if you switch to gstreamer as video backend (also in the README) but should only need that if ffmpeg one (the default and what you are most likely using) has problems. Since you have problems with the HW decoding you can try enabling it (the environment variable part) to see if it works any better. There are some bugs with Qt Multimedia and AMD and this is probably another. I also suggest doing the same while playing videos on other programs where decoding is working to discard this being a driver bug. If the problem seems to be only with the wallpaper please run this qml example https://gist.github.com/luisbocanegra/cb758ee5f57a9e7c2838b1db349b635a#file-testmediaplayer-qml download it and run it like this
No problem, first is just an example of how to implement mpv support and the second is another wallpaper plugin that already supports it. Personally I am not very well versed in C++/lower level stuff so this was more of a hint in case someone was to help implementing it |
Also it seems you didn't enable debug mode or the qml logging level has changed to warning by default I am not sure. Set plasmashell to full debug in KDebugSettings and reboot, if there are no debug logs from the wallpaper you may need to do https://develop.kde.org/docs/plasma/widget/testing/#enable-logging too. |
Should I replace kwriteconfig5 to kwriteconfig6? |
I also notice that I can't drag files into text block after turning off my monitor. |
Yes |
I also see this happen when I log out and log in again, is it a Plasma6 bug? |
Sorry that file is empty, you need to use this command
This is a plasma wayland bug, (unrelated to this wallpaper plugin), you should report this in bugs.kde.org |
|
I need you to answer these questions please, otherwise I am making guesses here Does the testMediaPlayer.qml also loses hardware decoding after turning off the monitor? What about firefox or |
Then the problem is (most likely) in Qt or KDE, I suspect this could be related to the other AMD playback bugs that were also reported in this repo, as none of them seems to happen on Intel or Nvidia GPU If you switch back to Image wallpaper, and run the |
The usage is really low, so I can't tell the difference. |
You can replace the video array with a large video from your disk like this
Then run the testMediaPlayer.qml file again, do the monitor off/on and let me know if the decoding usage also increases |
Yes, it does. After playing 4K 23.976fps video, it rises from 6% to 10-13%. |
|
If I try to drag the window or resize it, yes.
Nope. I need to reboot my PC. |
Thanks, will file a Qt bug report when I have the time. |
By the way, it also happens if I switch SDR/HDR mode. |
The situation has become worse than before, if I turn off my monitor and turn it on again, I can see the glitches on whole desktop environment. |
@luisbocanegra Hi, if I disable VRR on the monitor side, there seem to be no such issue. |
Which issue is gone without VRR, the HW acceleration, the flickering or both?
You mention that the There are two more things you can try:
Let me know if any of these worked (just make sure you try only one at a time) |
If I turn off my monitor and turn it on again, the hardware acceleration stops working.
The desktop become super laggy when I right click on my desktop.
Is it possible to use MPV as backend?
By the way, you need gstreamer-vaapi in ArchLinux.
The text was updated successfully, but these errors were encountered: