[GH-ISSUE #3012] 'noroot' in dolphin.profile breaks mpv vulkan renderer #1885

Closed
opened 2026-05-05 08:33:15 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @Ryujinra on GitHub (Oct 27, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3012

When playing a video with mpv+vulkan from dolphin, the vulkan renderer is unavailable to mpv with the default dolphin.profile. noroot must be commented out for mpv to access vulkan from within the dolphin container.

To replicate, add gpi-api=vulkan to mpv.conf, and use dolphin to select something to play - mpv will quit immediately as long as dolphin is started with noroot. You may need to explicitly set gpu-context in mpv as well, if your wayland/x11 environment isn't properly detected.

Originally created by @Ryujinra on GitHub (Oct 27, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/3012 When playing a video with mpv+vulkan from dolphin, the vulkan renderer is unavailable to mpv with the default dolphin.profile. `noroot` must be commented out for mpv to access vulkan from within the dolphin container. To replicate, add `gpi-api=vulkan` to mpv.conf, and use dolphin to select something to play - mpv will quit immediately as long as dolphin is started with `noroot`. You may need to explicitly set `gpu-context` in mpv as well, if your wayland/x11 environment isn't properly detected.
Author
Owner

@ghost commented on GitHub (Oct 27, 2019):

Thanks for reporting the issue. I've put a comment inside the dolphin.profile to add 'ignore noroot' to dolphin.local in such case. I didn't want to drop 'noroot' from the default options, as this doesn't affect most users IMHO. If you can live with that, please test and comment/close this here.

<!-- gh-comment-id:546659656 --> @ghost commented on GitHub (Oct 27, 2019): Thanks for reporting the issue. I've put a comment inside the [dolphin.profile](https://github.com/netblue30/firejail/blob/master/etc/dolphin.profile#L28) to add 'ignore noroot' to dolphin.local in such case. I didn't want to drop 'noroot' from the default options, as this doesn't affect most users IMHO. If you can live with that, please test and comment/close this here.
Author
Owner

@Ryujinra commented on GitHub (Oct 27, 2019):

Yes, I think this is fine. However, do you have an idea of what noroot is blocking access to in this case? I have it in my mpv.profile and it does not prevent vulkan renderer usage.

<!-- gh-comment-id:546659830 --> @Ryujinra commented on GitHub (Oct 27, 2019): Yes, I think this is fine. However, do you have an idea of what noroot is blocking access to in this case? I have it in my mpv.profile and it does not prevent vulkan renderer usage.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1885
No description provided.