I have a question about `bazzite arch`
Steam in
bazzite-arch
does not properly load or detect vulkan GPUs running on bluefin or Bazzite desktop.63 Replies
Steam doesn't seem to see my NVIDIA card, but
nvidia-smi
does. Will Steam still use the card correctly and/or is this expected behavior? TIAI need to update the usage instructions, give me a sec and I'll send you something that should fix it
cool, thanks!
Workaround for a distrobox bug fixed in git
I'm happy to help document stuff too
That's much appreciated
Also, just for context, yes it's a
bluefin-nvidia
install 🙂 and the bazzite-arch
install was also the nvidia version.
further context, this system doesn't have switchable graphics, but I do have one that does on which I can also do testingWhat's happening on your end is multifaceted
Distrobox has a Nvidia driver layer/export option but in the currently released build it's broken
Files which are symlinks are not added to the box resulting in a broken Vulkan setup
I did see some messages about that
Additionally, no 32bit libraries are copied
So there's a temp workaround you can do
And a permanent fix in git, but that version has a bug preventing sudo from working
preventing sudo from working in the box, right?
guest, not host
Yeah
Bazzite uses assemble to get it running
That volume line will fix Vulkan for 64-bit applications
so, excuse my ignorance, is this the one that breaks sudo or the temp workaround?
Workaround, no issues with sudo
okay thank you
so looking at this commit, I see where the files in the repo were changed, can I make this change directly on my already created bazzite container, or will I need to recreate it?
you'll have to recreate it, good news is unless you installed new applications yourself it'll be like nothing happened
steam will start up already logged in once it's remade, all your existing shortcuts will work, etc
Okay, so follow-up questions, and updates.
I mainly use(ed) github for documentation, but if I'm understading things correctly, the commit has already been pushed now?
Would I have had to clone the repo and build the container from local? Again sorry, still getting my bearings with how all of this is set up.
I got to thinking though, and decided to give Bazzite as the host OS a shot, since I would want to be able to game on the machine anyway, and Bazzite works as a full desktop. However, the same issue with vulkan/nvidia happens in the bazzite-arch containter there as well.
What am I doing wrong? haha
Up until the commit I just pushed bazzite was using distrobox-git which had it's own problems, we're working on a stable release of that
as far as the nvidia volume line, did you delete the box and start over?
Yes I did
can you show me what you're seeing in steam regarding vulkan?
Let me remove the box and re-add it, and I'll get you screenshots!
much appreciated
Okay so, I ran
just update
again, and this time it moved me from distrobox-git
to distrobox
I just pushed that up because of the aforementioned issues with git
nvidia-smi
still works fine and shows the correct version for the driver (535)
I'm going to still remove and re-add the box to see what happenssounds good
the box installed fine, this is what I got when I first ran
steam
odd, it's trying to use nouveau
I can blacklist it
what's in /etc/vulkan/icd.d ?
oh yea hold on
have you done the kargs and what not needed for nvidia?
GitHub
GitHub - ublue-os/nvidia: Fedora variants with built-in Nvidia drivers
Fedora variants with built-in Nvidia drivers. Contribute to ublue-os/nvidia development by creating an account on GitHub.
this and step 3
I will do that right now
I do that in the host Terminal yes?
Yes
okay, rebooting
so, still getting the
failed, uanble to init and enumerate GPUs with Vulkan
nuked and paved the box again too
let me make sure it rebasedwhat's in /etc/vulkan/icd.d
inside the box
there is no vulkan directory in the box' /etc/
that's new and likely your issue
on your host what do you have in there?
I have that path, but there's nothing in the icd.d directory
uh... huh
you should for-sure have nvidia files in there
you'd like to think so! lol
does vulkan work on the host?
also
nvidia-smi
works fine on the host too
what's the fastest way to check, install the steam rpm and run a game?rpm-ostree install vukan-tools followed by vulkaninfo
can do the same in the arch distrobox, just with sudo pacman -S
okay that's running
rebooting and then I'll check vulkaninfo
okay I've got a buttload of output, anything in particular you want?
whole thing if you can, you can do uhh
vulkaninfo | fpaste
to make it easyvulkan is definitely working there, that's good at least
how about this same command on arch?
running the pacman install command, then I'll let you know 🙂
you might also want fpaste there
paru -S fpaste
so I'm getting:
I stopped the box and re-entered it, do I need to do more first?
you shouldn't, no
that's odd, we fixed that previously
can you do
cat /usr/share/ublue-os/distrobox/bazzite-arch-nvidia | fpaste
on your hostsure one second
https://paste.centos.org/view/e6397fed
😦
I'll have to get a nvidia GPU to test with on my end, that's very annoying
it is! especially because I have three NVIDIA machines and wanted to dog-food this lol
I'm happy to do any tests you want me to on this machine, there's nothing important on it, I can nuke and pave. Or even give you remote access if that's helpful
that would be very helpful
no need to nuke, if nvidia works on your host it should 100% work in distrobox
I just meant if you wanted to try a new OS build or something, but I agree
just let me know what you need from me
Any update on this I can help with? 🙂
Nothing yet I'm afraid, we're waiting for the distro box update to hit stable at this point
Rather than try to work around this bug
Beauty of Nvidia on Linux
Nature of the green eyed beast. 🙂
Update:
Previously I had tried to run Persona 5 Royal, and it did come up with processing vulkan shaders, but I'm not sure if the game was strenuous enough to require the dGPU. Today, I am installing Overwatch 2, and Crysis Remastered to actually do some stress testing and make sure whether it's not using the GPU, or if it just says it's not.
Crysis would not launch with multiple proton versions, indicating the GPU is not seen by the guest.
Latest build has distrobox-git again, upstream issue that kept us from using it is fixed
That should be the end of all known Nvidia issues