Skip to content
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

couldn't enable hardware acceleration on wallpaper engine using mpv #374

Open
kito30 opened this issue Mar 8, 2024 · 9 comments
Open

couldn't enable hardware acceleration on wallpaper engine using mpv #374

kito30 opened this issue Mar 8, 2024 · 9 comments

Comments

@kito30
Copy link

kito30 commented Mar 8, 2024

Describe the bug

The cpu using 50% to 90% to render sence instead of using gpu to decode

System Information

  • Kde: Plasma 6
  • Qt: [6]
  • OS: [Arch Linux]
  • Installation Source: From AUR plasma6-wallpapers-wallpaper-engine-git

Additional context

Im using intel-media-drivers, hardware acceleration works on mpv but not on wallpaper engine plugin

@nickheyer
Copy link

Surprised you got this working on plasma 6. It totally broke kde/x11 for me.

@zjypls
Copy link

zjypls commented Mar 8, 2024

Do you mean make this plugin work with your discrete graphics card ? I make some environment variable make my system use
NVIDIA discrete graphics card first , then all applications work on it , this plugin work too .
image
image

@kito30
Copy link
Author

kito30 commented Mar 8, 2024

@zjypls I think that the hardware acceleration work with video types, but not for scence type.

@fxzjshm
Copy link
Contributor

fxzjshm commented Mar 8, 2024

This plugin even works on NVK + zink, so probably some setup problem, or bug in the proprietary driver, or relates to some specific scene?

Screenshot_20240308_200141

@kito30
Copy link
Author

kito30 commented Mar 8, 2024

I can confirm that it does not work with scence, only via video then the hardware acceleration start working. I've already install vulkan-intel and intel-media-drivers which are necessary driver which required by wallpaper engine plugin. It also mess up with my power management so I end up uninstalling it.

@fxzjshm
Copy link
Contributor

fxzjshm commented Mar 8, 2024

If you are saying Intel GPUs, on the same machine, using i7-10875H + Mesa 24.0.1, rendering the scene above uses ~2% CPU.

@kito30
Copy link
Author

kito30 commented Mar 8, 2024

I am usimg i7 8550u and when render sence its always above 30% cpu usage. Can you name which driver are you using ?

@fxzjshm
Copy link
Contributor

fxzjshm commented Mar 9, 2024

i915 (Linux 6.7) + iris (Mesa 24.0.1)

@kito30
Copy link
Author

kito30 commented Mar 9, 2024

maybe due to kde 6 patch, or just my because of my scence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants