Can NVK Finally Make Linux a Gaming Powerhouse? Not Yet...
ฝัง
- เผยแพร่เมื่อ 24 ก.ค. 2024
- MY SUPPORTERS THANK YOU!
Florian Stadler Supporter ✨
Nulla Supporter ✨
Whermerson Rodrigues✨
🍦MY SOCIALS🍦
t.co/YCucsNrCmx
LINKS OR COMMANDS FROM TODAY'S VIDEO!
DRIVERS FOR NVK TO WORK, MESA 24.1 OR ABOVE, KERNEL 6.7 OR ABOVE
VULKAN PACKAGES ON ARCH
vulkan-nouveau
lib32-vulkan-nouveau
ADDING THE GSP FIRMWARE TO GRUB AND SYSTEMD
sudo nano /etc/default/grub
nouveau.config=NvGspRm=1 to your GRUB_CMDLINE_LINUX_DEFAULT= like this
you can keep the other parameters that are in those " " just leave a space between each one
GRUB_CMDLINE_LINUX_DEFAULT="nouveau.config=NvGspRm=1"
recreate your grub config
sudo grub-mkconfig -o /boot/grub/grub.cfg
systemd go to /boot/loader/entries/ find the kernel your using and add on the end options with a space
nouveau.config=NvGspRm=1
save it and restart
TO FORCE ZINK USE THIS ON THE GAME YOU WANT TO RUN IN YOUR LAUNCH OPTIONS
MESA_LOADER_DRIVER_OVERRIDE=zink %command%
Content of the video
0:00 - Intro
01:22 - Gaming On NVK
04:44 - Desktop Experience On NVK
05:20 - Encoding On NVK
06:08 - Bugs On NVK
06:31 - How To Use It
10:03 - Conclusion
11:55 - Outro - บันเทิง
Nice vid, can't wait for nvk to mature enough for games.
Here to mention: Linux support for gaming has been great this year.
I will be playing Elden Ring's new DLC on Linux.
My Elden Ring runs worse on Linux than on Windows lol
Same settings, same specs (intel iris xe graphics), with Proton-GE
I have no idea why but the FPS is very low meanwhile I get stable >55FPS on Windows
I've tested it on OpenSUSE, Nobara and CachyOS, same results
@@gabr4ca992 AFAIK, Intel graphics on Linux is fine unless you play games.
@@Lavashyk I can run Apex Legends tho
It even plays better than on Windows
there is a big difference with how games work with different hardware + drivers on linux, every game you run is different and what they call is different that the driver has to handle, intels drivers which would be i915 + anv in mesa are not quite ready for majority of games as they have missing vulkan extensions in mesa so thats why your seeing a worse performance sometimes, its up to intel or contributors to improve it + intels xe kernel driver that is going to be enabled by default soon in the kernel which is supposed to be better for intel hardware as the i915 driver has been around since the early 2000s, so there is a lot of messy code and old implementations that are no longer needed.
if you had amd or nvidia it would be a different story as elden ring runs great on my rx 6700 because of the paid devs at valve and amd devs working hard on getting drivers up to scratch for things like the steamdeck but this also improves the desktop experience aswell or laptops also
i wouldnt worry tho as looking around intel and contributers are working on supporting more vulkan extensions to bring it on par with amd and nvidia cards so you can have the same experience :)
@@linuxnext The devs are awesome. I wish I could help.
I wish Intel would get dx12 working on their arc cards for Linux. Funny coming from the company that was first to push FOSS drivers (even before AMD).
yeah hopefully they get it working, i wouldnt worry tho as looking around intel and contributors are working on supporting more vulkan extensions to bring it on par with amd and nvidia cards so you can have the same experience :)
and that xe kernel driver will be enabled by default soon in the kernel
Theoretically, DX12 games should be playable on ARC through wine/proton plus dxvk, unless they've enabled some anticheat that prevents them from working on Linux.
@@gh0stcassette Tried Amid Evil DX12 and it worked at ARCs launch and now it just freezes before loading. DX12 works fine on Steamdeck so it isn’t anti cheat. Same thing for RDR2 which is surprising since that is a Vulkan title. To be fair I am using mesa git though. Ray tracing also only works in Quake 2 RTX on Linux, wish that would work, but not to bumbed out if it doesn’t work right now.
Thanks for the shout-out!
It seems you haven't tried a dualGPU configuration. That's what I meant when talking about secondary GPU, perhaps I didn't make that clear enough 😅
Your experience (only NVC0 OpenGL works) aligns with my experience, when Nvidia is the only GPU
oh i see, sorry for not understanding haha, alright that makes a lot more sense thank you :)
@@linuxnext Perhaps we could see a follow-up video about dualGPU experience specifically? ^^
@@Kris-od3sj maybe will see :P
For games you could've probably tried `PROTON_USE_WINED3D=1`, but aside from that I think this video is a good representation of the experience on a singleGPU setup
@@linuxnext idk if you're interested in tinkering with Nouveau/NVK again, but I thought I'd let you know:
I noticed that NVK started working even on a single GPU setup, even running Plasma itself on Zink on NVK now works for me.
idk what made it work. Plasma 6.1? Mesa 24.1.2? 🤷 But I uninstalled NV proprietary and RadV, installed NVK, and it just works
I like the positive attitude! 👍
he never fails
Hi LinuxNext
thanks for great videos and hope you keep up the great work.
i see in your gaming part your GPU is 0-ing out, i have the same problem with my GPU's both nVidia and AMD, while Desktop mode and video watching is working fine, even 3D GPU testing, but once i start a game i get an almost instant crash, reboot, black/green screen
can you try these steps, maybe it will work for you:
1) at no point use any web-browser and/or chrome/chromium based product, unplug anything USB device, except mouse and keyboard, but only use USB 2.0 ports
2) power off PC and turn off PSU or just unplug from wall socket
3) now the weird part, on the motherboard, unplug the F_U320G(USB C and 3.x) cable for a couple seconds the replug, make sure it's fully plugged and fix
4) power and turn ON PC, boot in your favorite distro, once you are logged in, in the first 5-15 minutes make sure you start Steam or any game launcher then start a game
5) if GPU still 0-ing, do a system wide(apt, dnf, ujust, whatever you use) update and repeat previous four steps 1 more time
Not sure why, it could be micro vibrations disconnecting it or a sleep mode kicks in and never wakes up, so reboot doesn't help, and only BIOS config i had to make is Disable: Secure boot, iGPU and Gigabyte downloader
if this works for you and find a way to software test for any of these let us know, i'm trying to find out why this is happening and how to look for it
In that video i was showing nvk, a brand new open source driver that doesnt have proper vulkan extensions to get games working correctly thats why your seeing it zero out, but as iv said also in that video that opengl does work but barely because those drivers are so new, i went back to the amdgpu driver with mesa and there is no problems as it has basic functionality for vulkan and more.
also the proprietary drivers work properly also on my nvidia card so there isnt any issues expect the nvk driver which makes sense as the developers have said that lots of dxvk, vkd3d games don't work properly right now with the driver
If you're having the same problem what's your gpu and distro?
@@linuxnext 2080ti. issue persist on win 10/11, mint, debian, nobara and bazzite tested under bios F19 to current F30
doing those steps fixed launching some games, not all for nvidia card, some LEGO games, while on AMD card fixed launching games like Black Desert Online, Witcher 3, No Man's sky
That sounds way more broken than what I experienced when trying out NVK a couple of months ago. I was generally able to run DX11 games correctly (just slowly) and Zink was working as well. DX12 games won't work since the driver is still missing critical features, there is an issue on their tracker showing progress on vkd3d-proton support.
When it comes to video, not sure if it will ever get VAAPI since that's already being replaced by Vulkan Video.
what card did you try it on? and what environment did you use to get zink working, cause i would like to get it working on the card so i can do a followup video on it
4070Ti. I just used my regular CachyOS install and removed the proprietary driver. Zink needed to be forced with an env var, but it sounded like you got that part figured out. If there are issues, I'd use vkcube/glxgears as sanity tests before trying actual games.
I dont think it will get vaapi nor vulkan video support. Amd and intel do that by using proprietary firmware blobs. Since this doesn't use that I dont think it will ever work. The same applies to cuda and possibly opencl.
@@notuxnobux why cant nvk team create one?
It doesn't sound like you got it working after all.
Also, NVK is only tangentially related to video decoding or encoding. It's mostly a historical coincidence that GPU and media codec blocks are lumped together and part of the same hardware.
I did get it working, it showed the correct results and information that i was using nvk and the kernel parameter, if you have any knowledge about games working under nvk with like dxvk and vkd3d id be glad to hear it
@@linuxnext Are you sure the games you're running are picking up the correct driver binaries? Like you could e.g. see what the Minecraft F3 debug screen shows (it should be Zink, but I suspect it'll be old Nouveau instead).
[1/3]
@@linuxnext As for examples, there's a lot of showcase videos by _censored_ over at _censored._
[2/3]
@@linuxnext censored:
cosmic_happines
hardlimit PeerTube
[3/3]
i didn't have any black screen mybe cuz i'm in nv170 (rtx3050 mobile) it works well...but the fps is lower
AMD GPU's are still by far a better experience on Linux.
Nvidia might get their, but I doubt.
But its nice seeing work towards a open sourced Nvidia driver furthering. As it'll make it easier for windows users to switch to linux if the Nvidia driver is just ready to go.
Maybe 2024 will be the year of the linux desktop, but I'm more thinking 2025.
They need to actually finish the AMD drivers. Using them with any work related task isn’t possible. You have to install the official drivers from AMD and they are worse than Nvidia
It's pronounced New Voh. It's french for New.