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
Nathaniel
NathanielOP•16mo ago
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? TIA
Kyle Gospo
Kyle Gospo•16mo ago
I need to update the usage instructions, give me a sec and I'll send you something that should fix it
Nathaniel
NathanielOP•16mo ago
cool, thanks!
Kyle Gospo
Kyle Gospo•16mo ago
Workaround for a distrobox bug fixed in git
Nathaniel
NathanielOP•16mo ago
I'm happy to help document stuff too
Kyle Gospo
Kyle Gospo•16mo ago
That's much appreciated
Nathaniel
NathanielOP•16mo ago
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 testing
Kyle Gospo
Kyle Gospo•16mo ago
What'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
Nathaniel
NathanielOP•16mo ago
I did see some messages about that
Kyle Gospo
Kyle Gospo•16mo ago
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
Nathaniel
NathanielOP•16mo ago
preventing sudo from working in the box, right? guest, not host
Kyle Gospo
Kyle Gospo•16mo ago
Yeah
Kyle Gospo
Kyle Gospo•16mo ago
Bazzite uses assemble to get it running That volume line will fix Vulkan for 64-bit applications
Nathaniel
NathanielOP•16mo ago
so, excuse my ignorance, is this the one that breaks sudo or the temp workaround?
Kyle Gospo
Kyle Gospo•16mo ago
Workaround, no issues with sudo
Nathaniel
NathanielOP•16mo ago
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?
Kyle Gospo
Kyle Gospo•16mo ago
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
Nathaniel
NathanielOP•16mo ago
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
Kyle Gospo
Kyle Gospo•16mo ago
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?
Nathaniel
NathanielOP•16mo ago
Yes I did
Kyle Gospo
Kyle Gospo•16mo ago
can you show me what you're seeing in steam regarding vulkan?
Nathaniel
NathanielOP•16mo ago
Let me remove the box and re-add it, and I'll get you screenshots!
Kyle Gospo
Kyle Gospo•16mo ago
much appreciated
Nathaniel
NathanielOP•16mo ago
Okay so, I ran just update again, and this time it moved me from distrobox-git to distrobox
Kyle Gospo
Kyle Gospo•16mo ago
I just pushed that up because of the aforementioned issues with git
Nathaniel
NathanielOP•16mo ago
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 happens
Kyle Gospo
Kyle Gospo•16mo ago
sounds good
Nathaniel
NathanielOP•16mo ago
the box installed fine, this is what I got when I first ran steam
Nathaniel
NathanielOP•16mo ago
No description
Kyle Gospo
Kyle Gospo•16mo ago
odd, it's trying to use nouveau
Nathaniel
NathanielOP•16mo ago
I can blacklist it
Kyle Gospo
Kyle Gospo•16mo ago
what's in /etc/vulkan/icd.d ? oh yea hold on have you done the kargs and what not needed for nvidia?
Kyle Gospo
Kyle Gospo•16mo ago
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.
Kyle Gospo
Kyle Gospo•16mo ago
this and step 3
Nathaniel
NathanielOP•16mo ago
I will do that right now I do that in the host Terminal yes?
Kyle Gospo
Kyle Gospo•16mo ago
Yes
Nathaniel
NathanielOP•16mo ago
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 rebased
Kyle Gospo
Kyle Gospo•16mo ago
what's in /etc/vulkan/icd.d inside the box
Nathaniel
NathanielOP•16mo ago
there is no vulkan directory in the box' /etc/
Kyle Gospo
Kyle Gospo•16mo ago
that's new and likely your issue on your host what do you have in there?
Nathaniel
NathanielOP•16mo ago
I have that path, but there's nothing in the icd.d directory
Kyle Gospo
Kyle Gospo•16mo ago
uh... huh you should for-sure have nvidia files in there
Nathaniel
NathanielOP•16mo ago
you'd like to think so! lol
Kyle Gospo
Kyle Gospo•16mo ago
does vulkan work on the host?
Nathaniel
NathanielOP•16mo ago
also nvidia-smi works fine on the host too what's the fastest way to check, install the steam rpm and run a game?
Kyle Gospo
Kyle Gospo•16mo ago
rpm-ostree install vukan-tools followed by vulkaninfo can do the same in the arch distrobox, just with sudo pacman -S
Nathaniel
NathanielOP•16mo ago
okay that's running rebooting and then I'll check vulkaninfo okay I've got a buttload of output, anything in particular you want?
Kyle Gospo
Kyle Gospo•16mo ago
whole thing if you can, you can do uhh vulkaninfo | fpaste to make it easy
Kyle Gospo
Kyle Gospo•16mo ago
vulkan is definitely working there, that's good at least how about this same command on arch?
Nathaniel
NathanielOP•16mo ago
running the pacman install command, then I'll let you know 🙂
Kyle Gospo
Kyle Gospo•16mo ago
you might also want fpaste there paru -S fpaste
Nathaniel
NathanielOP•16mo ago
so I'm getting:
[nathaniel@bazzite-arch ~]$ vulkaninfo
ERROR at /usr/src/debug/vulkan-tools/Vulkan-Tools-1.3.255/vulkaninfo/vulkaninfo.h:1560:vkGetPhysicalDeviceSurfaceSupportKHR failed with ERROR_INITIALIZATION_FAILED
[nathaniel@bazzite-arch ~]$ vulkaninfo
ERROR at /usr/src/debug/vulkan-tools/Vulkan-Tools-1.3.255/vulkaninfo/vulkaninfo.h:1560:vkGetPhysicalDeviceSurfaceSupportKHR failed with ERROR_INITIALIZATION_FAILED
I stopped the box and re-entered it, do I need to do more first?
Kyle Gospo
Kyle Gospo•16mo ago
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 host
Nathaniel
NathanielOP•16mo ago
Kyle Gospo
Kyle Gospo•16mo ago
😦 I'll have to get a nvidia GPU to test with on my end, that's very annoying
Nathaniel
NathanielOP•16mo ago
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
Kyle Gospo
Kyle Gospo•16mo ago
that would be very helpful no need to nuke, if nvidia works on your host it should 100% work in distrobox
Nathaniel
NathanielOP•16mo ago
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? 🙂
Kyle Gospo
Kyle Gospo•16mo ago
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
Nathaniel
NathanielOP•16mo ago
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.
Kyle Gospo
Kyle Gospo•16mo ago
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
Want results from more Discord servers?
Add your server