-
-
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
Enable Hardware Acceleration. #9
Comments
The commandline stuff can be ignored. If there are additional dependencies that are not listed in the main Hardware video acceleration page they should be installed. But for Nvidia proprietary driver + ffmpeg backend (which is the default) only
The video is played by Qt Multimedia, which has a qml plugin that internally uses ffmpeg (or gstreamer if forced with the environment variable). The specific code that plays the video is located in main.qml so as you can see it is not running ffmpeg or gstreamer commands directly.
I just tried booting with only the nvidia card enabled and it works with hw acceleration. All I did was install the proprietary driver + The video playing is in 4K and cpu/gpu load is still somewhat high but as you can see in nvtop Can you please install and run nvtop and show the output you get?
You're welcome! At first just wanted to make it work and send the patches to the old project, but seeing it wasn't really being maintained I decided to continue my own and just kept improving it. |
Yeah I also noticed that, it seems video decoding on Nvidia may need some improvements. But knowing how things go with Nvidia+Linux I am thankful it works at least. Also surprises me AMD is the one having problems with this plugin.
Thanks for the suggestion, I'll add it to the readme.
Thanks for the kind words ❤️. Unfortunately most of the plugins I make are experimental/overkill and susceptible to decreased accessibility/performance. Not to mention the abuse of qml, some of these things should be done in C++ which I know nothing of 🙃. |
The instructions for enabling hardware acceleration are unclear/insufficient. I've gone through the linked Arch Wiki, and I believe I have everything installed. Nvidia 2070 Super. (Also Fuck Nvidia) From my research enabling hardware acceleration isn't just something you do on an OS level like your instructions make it out to be (but i'm also retarded though, so maybe it is). The following instructions to enable hardware acceleration in FFMPEG and Gstreamer seemed to make sense at first, but after digging on how to do that, it appears that you don't just enable hardware acceleration in FFMPEG, but instead specify for the program to use it when you're encoding a video, for example. Honestly i'm not very familiar with FFMPEG and always use a gui wrapper. I was hoping you could make it more clear what specific underlying program is running the video, and what specific changes your end users would need to make to enable it to run on the GPU.
For me specifically i'm running Nvidia proprietary drivers on the latest Endeavour OS. (That's basically Arch, btw)
As it stands my CPU runs around 20% from KDE when video wallpaper is on.
Ps. This reimplimentation of smart video wallpaper is fucking phenomenal. the video start stop on window maximize is instant! infinitely smoother than the original that would sometimes take up to 5 seconds to restart the video. You must have done some serious code optimization. This plugin is better than the original, and smartER video wallpaper. I was very upset when I saw it wasn't ported to plasma 6 when Endeavour updated. So, seriously man... thank you. I like the interface a lot more too, and it seems simpler to use as a whole and more powerful, as well. multi video support is badass!
So again, Thanks. Seriously.
The text was updated successfully, but these errors were encountered: