Nvidia distrobox integration not working...
GitHub
Nvidia distrobox integration not working · Issue #61 · ublue-os/baz...
Distrobox with the --nvidia flag is supposed to copy the host's Nvidia drivers into the container. It seems this may be incomplete, as currently this results in a broken installation. This is a...
32 Replies
so... I'm starting to test things related to this and adding to the ticket
do you have any suggested packages to install for fedora/ubuntu for simple testing of vulkan/opengl?
glx-utils
seems like it would work for gl on fedora
and mesa-utils for ubuntuSeems like the issue is only vulkan than since everything worked but vkcube, right?
@javvyy
didnt test specific engines but things like steam etc worked fine from earlier testing
could go test that again rq
steam utilizes my gpu just fine
any other tests i could do with games directly off the fedora repos or we
This is so weird... I wonder if it's some weird disparity between generations of cards or something
I updated the issue with my (failed) vulkan test results
of course, now i want to test on my hybrid laptop
and i did,... same results on laptop with 3050 as on desktop with 1660
these are my specs dont have any other hybrid laptop or desktop to test on atm tho
@bsherman is your display' s laptop wired to the dgpu or igpu
that could make a difference
suppose the next question is are you missing any of the files from the upstream issue
and does adding them resolve the issue?
I have same behavior on desktop and laptop...
desktop is wired to nvidia (only gpu)
laptop is wired to intel (nvidia is "prime" mode or whatever)
i can document more specifics in ticket, but the
/etc/vulkan
dir is empty on my host, so mapping it as a volume changes nothing in the distrobox instance...
adding that volume mount for /usr/lib64/libnvidia-vulkan-producer.so
did change the error... and i'm going to test that again in fedora-nvidia
as i think the error could have been library relatedhow do i see the renderer of gl/vk?
if adding the missing stuff works I can work around this with a post-init script 🙂
aaa
this might be of interest
oh, it works
[bsherman@fedora-nvidia ~]$ vkcube
Selected GPU 0: NVIDIA GeForce GTX 1660 Ti, type: DiscreteGpu
[bsherman@fedora-nvidia2 ~]$ vkcube
Selected GPU 0: NVIDIA GeForce GTX 1660 Ti, type: DiscreteGpu
so vulkan works for me when using fedora distrobox, but didn't on bazzite
what did i do that made me think vulkan wasn't working before?
and this works on my laptop too, from fedora distrobox
$ vkcube
Selected GPU 1: NVIDIA GeForce RTX 3050 Ti Laptop GPU, type: DiscreteGpu
and now it works on laptop from bazzite-arch
but not vkgears, this was what i saw earlier and thought it failed
Does nvidia-smi work ok?
yes
Odd
here's my documentation
https://github.com/ublue-os/bazzite/issues/61
I'll have a look. Thank you
works on both ubuntu and fedora for me
What about vulkaninfo
any specific thing i need to grep
I'm just curious if it actually outputs and doesn't display an error like it does for me
You can see the GPU fine there too?
yeah
discord wont let me send it lol
Nice
Strange
anyway gtg I see @bsherman made some progress in the issue, can't find any errors on my end
I'll create a new container here in a minute and see what's up
HA IT WORKS!!!
(with bshermans fix)
what's my fix?
in the end i needed nothing except NOT using the
vkgears
in the bazzite-arch imagehah!