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•2y 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•2y ago
I need to update the usage instructions, give me a sec and I'll send you something that should fix it
Nathaniel
NathanielOP•2y ago
cool, thanks!
Kyle Gospo
Kyle Gospo•2y ago
Workaround for a distrobox bug fixed in git
Nathaniel
NathanielOP•2y ago
I'm happy to help document stuff too
Kyle Gospo
Kyle Gospo•2y ago
That's much appreciated
Nathaniel
NathanielOP•2y 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•2y 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•2y ago
I did see some messages about that
Kyle Gospo
Kyle Gospo•2y 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•2y ago
preventing sudo from working in the box, right? guest, not host
Kyle Gospo
Kyle Gospo•2y ago
Yeah
Kyle Gospo
Kyle Gospo•2y ago
Bazzite uses assemble to get it running That volume line will fix Vulkan for 64-bit applications
Nathaniel
NathanielOP•2y ago
so, excuse my ignorance, is this the one that breaks sudo or the temp workaround?
Kyle Gospo
Kyle Gospo•2y ago
Workaround, no issues with sudo
Nathaniel
NathanielOP•2y 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•2y 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•2y 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•2y 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•2y ago
Yes I did
Kyle Gospo
Kyle Gospo•2y ago
can you show me what you're seeing in steam regarding vulkan?
Nathaniel
NathanielOP•2y ago
Let me remove the box and re-add it, and I'll get you screenshots!
Kyle Gospo
Kyle Gospo•2y ago
much appreciated
Nathaniel
NathanielOP•2y ago
Okay so, I ran just update again, and this time it moved me from distrobox-git to distrobox
Kyle Gospo
Kyle Gospo•2y ago
I just pushed that up because of the aforementioned issues with git
Nathaniel
NathanielOP•2y 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•2y ago
sounds good
Nathaniel
NathanielOP•2y ago
the box installed fine, this is what I got when I first ran steam
Nathaniel
NathanielOP•2y ago
No description
Kyle Gospo
Kyle Gospo•2y ago
odd, it's trying to use nouveau
Nathaniel
NathanielOP•2y ago
I can blacklist it
Kyle Gospo
Kyle Gospo•2y 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•2y 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•2y ago
this and step 3
Nathaniel
NathanielOP•2y ago
I will do that right now I do that in the host Terminal yes?
Kyle Gospo
Kyle Gospo•2y ago
Yes
Nathaniel
NathanielOP•2y 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•2y ago
what's in /etc/vulkan/icd.d inside the box
Nathaniel
NathanielOP•2y ago
there is no vulkan directory in the box' /etc/
Kyle Gospo
Kyle Gospo•2y ago
that's new and likely your issue on your host what do you have in there?
Nathaniel
NathanielOP•2y ago
I have that path, but there's nothing in the icd.d directory
Kyle Gospo
Kyle Gospo•2y ago
uh... huh you should for-sure have nvidia files in there
Nathaniel
NathanielOP•2y ago
you'd like to think so! lol
Kyle Gospo
Kyle Gospo•2y ago
does vulkan work on the host?
Nathaniel
NathanielOP•2y 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•2y ago
rpm-ostree install vukan-tools followed by vulkaninfo can do the same in the arch distrobox, just with sudo pacman -S
Nathaniel
NathanielOP•2y 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•2y ago
whole thing if you can, you can do uhh vulkaninfo | fpaste to make it easy
Kyle Gospo
Kyle Gospo•2y ago
vulkan is definitely working there, that's good at least how about this same command on arch?
Nathaniel
NathanielOP•2y ago
running the pacman install command, then I'll let you know 🙂
Kyle Gospo
Kyle Gospo•2y ago
you might also want fpaste there paru -S fpaste
Nathaniel
NathanielOP•2y 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•2y 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
Kyle Gospo
Kyle Gospo•2y ago
😦 I'll have to get a nvidia GPU to test with on my end, that's very annoying
Nathaniel
NathanielOP•2y 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•2y ago
that would be very helpful no need to nuke, if nvidia works on your host it should 100% work in distrobox
Nathaniel
NathanielOP•2y 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•2y 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•17mo 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•17mo 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