[GH-ISSUE #2959] Firejail sandbox can't access vulkan #1850

Closed
opened 2026-05-05 08:31:12 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @ghost on GitHub (Sep 12, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2959

I used 0.9.60:

firejail --private=~/apps/Steam bash and then ran vulkaninfo:

/build/vulkan-tools/src/Vulkan-Tools-1.1.121/vulkaninfo/vulkaninfo.c:1556: failed with VK_ERROR_INITIALIZATION_FAILED
Originally created by @ghost on GitHub (Sep 12, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/2959 I used 0.9.60: `firejail --private=~/apps/Steam bash` and then ran `vulkaninfo`: ``` /build/vulkan-tools/src/Vulkan-Tools-1.1.121/vulkaninfo/vulkaninfo.c:1556: failed with VK_ERROR_INITIALIZATION_FAILED ```
Author
Owner

@rusty-snake commented on GitHub (Sep 13, 2019):

I cannot reproduce this.

firejail vulkaninfo works, even with --private and bash which shouldn't make any difference.

But with firejail --no3d vulkaninfo it doesnot work (as expected). So where do you set no3d?

<!-- gh-comment-id:531211641 --> @rusty-snake commented on GitHub (Sep 13, 2019): I cannot reproduce this. `firejail vulkaninfo` works, even with `--private` and `bash` which shouldn't make any difference. But with `firejail --no3d vulkaninfo` it doesnot work (as expected). So where do you set `no3d`?
Author
Owner

@ghost commented on GitHub (Sep 13, 2019):

@rusty-snake I'm on manjaro, I don't have any global setting and it doesn't work for me with firejail vulkaninfo either.

<!-- gh-comment-id:531340395 --> @ghost commented on GitHub (Sep 13, 2019): @rusty-snake I'm on manjaro, I don't have any global setting and it doesn't work for me with `firejail vulkaninfo` either.
Author
Owner

@rusty-snake commented on GitHub (Sep 14, 2019):

Does it work with firejail --noprofile vulkaninfo?

<!-- gh-comment-id:531471859 --> @rusty-snake commented on GitHub (Sep 14, 2019): Does it work with `firejail --noprofile vulkaninfo`?
Author
Owner

@ghost commented on GitHub (Sep 14, 2019):

It works with --noprofile, probably default.profile was the issue. Thanks!

<!-- gh-comment-id:531502889 --> @ghost commented on GitHub (Sep 14, 2019): It works with --noprofile, probably default.profile was the issue. Thanks!
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#1850
No description provided.