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

MPV fails with gpu/vdpau options (ADM gpu with mesa drivers) #3288

Closed
ghost opened this issue Mar 21, 2020 · 4 comments
Closed

MPV fails with gpu/vdpau options (ADM gpu with mesa drivers) #3288

ghost opened this issue Mar 21, 2020 · 4 comments

Comments

@ghost
Copy link

ghost commented Mar 21, 2020

Hi!

Here is the options I use:

hwdec=vdpau-copy
vo=gpu
profile=gpu-hq
gpu-api=vulkan
gpu-context=x11vk

firejail mpv "my_video.mp4" output:

[vo/gpu/vulkan/libplacebo] Failed creating instance: VK_ERROR_EXTENSION_NOT_PRESENT
[vo/gpu/vulkan/libplacebo] Failed initializing vulkan instance
[vo/gpu] Failed initializing any suitable GPU context!
Error opening/initializing the selected video_out (--vo) device.

mpv "my_video.mp4" runs fine.

Notes:

  • Removing the options makes mpv run fine within firejail too.
  • Using openGL instead of vulkan does not work either, mpv runs indefinitly.

Thanks for your help!

EDIT: Vulkan gpu API works with @rusty-snake fix.
Still stuck without vulkan: see my other comment

@rusty-snake
Copy link
Collaborator

Duplicate of #3107? Try this fix: 08061fb

@ghost ghost changed the title MPV fails with gpu/vdpau/vulkan options (ADM gpu with mesa drivers) MPV fails with gpu/vdpau options (ADM gpu with mesa drivers) Mar 21, 2020
@ghost
Copy link
Author

ghost commented Mar 21, 2020

Thanks @rusty-snake;

So that solves the vulkan run. However, when using these options:

hwdec=vdpau-copy
vo=gpu
profile=gpu-hq

mpv runs indefinitly without video nor sound. I tried to strace without firejail to find the accessed files and did some adjustements but no luck so far.

@ghost
Copy link
Author

ghost commented Mar 21, 2020

Alright, another quick research and test and I have to ignore seccomp, then mpv launches.

Thanks!

@ghost ghost closed this as completed Mar 21, 2020
@rusty-snake
Copy link
Collaborator

mesa, amd, seccomp? #3219, #3267.

Try seccomp !kcmp

This issue was closed.
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

1 participant