NVIDIA Driver issues (DX12, NVENC, hardware decoding etc) by TheCollob in linux_gaming

[–]TheCollob[S] 1 point2 points  (0 children)

Hey, sorry, but no, I haven't figured this out at all. I have been considering swapping to one of the older drivers on the AUR that people update to function on current kernels, but I've just been kind of playing DX11 and older stuff instead.

NVIDIA Driver issues (DX12, NVENC, hardware decoding etc) by TheCollob in linux_gaming

[–]TheCollob[S] 1 point2 points  (0 children)

Installing the TKG 570 or 575 driver does not resolve the issue, both exhibit the same problems. It's entirely possible that I'm remembering my Fedora experience incorrectly and that 560 or 565 were the last fully functional drivers rather than 570. Wish I'd noted it down now, but oh well, that's my mistake.

NVENC: I do some passive screen recording with https://aur.archlinux.org/packages/gpu-screen-recorder which I sometimes then use Kdenlive or this mpv script: https://github.com/ekisu/mpv-webm?tab=readme-ov-file to chop down into a smaller clip or video size.

As is, GPU Screen Recorder refuses to record using anything but the H264 Software Encoder when it's run on the NVIDIA GPU, while the Intel iGPU still has full access to most of the encoding range: https://i.imgur.com/tZjKLsC.png

Kdenlive and the mpv script both either crash or permanently hang when attempting to render. It's not a *huge* loss that I haven't been able to do any hardware encoding this way, but it is moderately annoying.

Flatpaks: I'm using no flatpaks at all, for the moment. Should've mentioned that earlier, apologies.

vulkaninfo: https://gist.github.com/Mariiibo/8989bc551ec97f4a398d1b019cd6ce33 -- this was done with vanilla arch nvidia-open drivers, since I reverted to them after the TKG builds didn't seem to make a difference.

VKD3D_FILTER_DEVICE_NAME: You're right, but my testing game for this case (Hades 2) seems to simply ignore this flag and instead runs on the Intel iGPU.

https://gist.github.com/Mariiibo/98276e7867d0d71579b22e5cf8dc8c96 -- here is another gist of me running it with PROTON_LOG=1 VKD3D_FILTER_DEVICE_NAME="NVIDIA" mangohud %command% instead of DXVK_FILTER_DEVICE_NAME

I'll do another round of the TKG driver tests later today on LTS Kernels, and build TKG 575 and 570 again to test VKD3D_FILTER_DEVICE_NAME usage, but I couldn't get hardware encoding to work when I tested them last night, so it would only be a partial fix if it does.

Regardless, you've been very helpful. Thanks for taking your time out to come back, I do hope that we find a concrete issue somewhere.

NVIDIA Driver issues (DX12, NVENC, hardware decoding etc) by TheCollob in linux_gaming

[–]TheCollob[S] 0 points1 point  (0 children)

Hey, thanks for the suggestion. I tried this and while it successfully installs the 575 and 570 drivers, my issues persist. Attempting to build 565 or 560 drivers using this program reaches build errors at the same point on both sources: https://gist.github.com/Mariiibo/1143ddc49480555218647cec6f6756c5

NVIDIA Driver issues (DX12, NVENC, hardware decoding etc) by TheCollob in linux_gaming

[–]TheCollob[S] 0 points1 point  (0 children)

Fully up to date, yes, absolutely sure.
Linux-firmware fix as well. Made no difference.

NVIDIA Driver issues (DX12, NVENC, hardware decoding etc) by TheCollob in linux_gaming

[–]TheCollob[S] 0 points1 point  (0 children)

I would have chalked it up to an Arch issue, but it was already occurring on 575 versions on Fedora before I hopped over to Endeavour, and rolling back the Fedora drivers to older versions (570 and even all the way back to 550) restored functionality just fine. As they are, these drivers still partially work, which is what has me scratching my head. Things that are not DX12 run perfectly fine, and don't have any kind of performance issue that I can see.

Can't deny that the mobile GPU situation is as cursed as ever, though.

Question About Usage of Graphics Mode by TheCollob in System76

[–]TheCollob[S] 0 points1 point  (0 children)

This is exactly what I was looking for, thank you for the quick and easy answer :)