HGL
correct-apricot

No RT and no DLSS in any game

Hi all, Me and my GF switched to Linux recently (Kubuntu) and neither of us gets RT or DLSS working on any Platform. I tried Steam, Heroic and Lutris. Cyberpunk, Metro Exodus (cant even get past the Intro Cinematic) and for Steam Hitman 3 and Portal with Ray Tracing. Games work just fine, but RT and DLSS allways greyed out. In Hitman i can select DLSS but then the Game glitches and is unplayable untill turned off. Frame Gen is greyed out. Portal seems to work but glitches out after some time. Also it reports Hardware DX 7 and Software DX 9 (cant change that)? I am on a RTX 4070 she is on a 3070Ti, so RT and DLSS should work. We are on Nvidia Driver 530 and our GPUs get detected. I tried Wine, Proton GE and Proton 7,8 and Experimental. Do you guys need any other Infos? I attached the Heroic and the Cyberpunk log. While looking into the CP2077 log i saw something weird. This line: GRAPHICS: GPU0: Device 2786 VRAM: 32MB
14 Replies
metropolitan-bronze
metropolitan-bronze3y ago
make sure your drivers are up to date and that you are not using the open source drivers
continuing-cyan
continuing-cyan3y ago
they said nvidia 530 drivers, which is latest afaik
correct-apricot
correct-apricotOP3y ago
i did, i will output the used driver on bash give me a sec *-display
description: VGA compatible controller product: AD104 [GeForce RTX 4070] vendor: NVIDIA Corporation physical id: 0 bus info: pci@0000:08:00.0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress vga_controller bus_master cap_list rom configuration: driver=nvidia latency=0 resources: irq:70 memory:fb000000-fbffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:f000(size=128) memory:c0000-dffff *-graphics product: EFI VGA physical id: 1 logical name: /dev/fb0 capabilities: fb configuration: depth=32 resolution=1920,1080 also: name of display: :0 display: :0 screen: 0 direct rendering: Yes Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 12282 MB Total available memory: 12282 MB Currently available dedicated video memory: 10453 MB OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: NVIDIA GeForce RTX 4070/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 530.41.03 OpenGL core profile shading language version string: 4.60 NVIDIA OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL version string: 4.6.0 NVIDIA 530.41.03 OpenGL shading language version string: 4.60 NVIDIA OpenGL context flags: (none) OpenGL profile mask: (none) OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 530.41.03 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 seems to be Driver 530.41.03
foreign-sapphire
foreign-sapphire3y ago
You need a bunch of launch arguments to enable NVAPI and to specify that you want to enable certain feature sets
foreign-sapphire
foreign-sapphire3y ago
foreign-sapphire
foreign-sapphire3y ago
This comes with the fun that is Nvidia support on Linux Proton provides NVAPI out of the box, while you will need to manually install it in your Wine-GE prefixes for Heroic
correct-apricot
correct-apricotOP3y ago
Yep, tried the arguments with HITMAN 3 (Steam), does not work tough. How do i install it in my Wine-GE prefix?
foreign-sapphire
foreign-sapphire3y ago
GitHub
GitHub - jp7677/dxvk-nvapi: Alternative NVAPI implementation on top...
Alternative NVAPI implementation on top of DXVK. Contribute to jp7677/dxvk-nvapi development by creating an account on GitHub.
foreign-sapphire
foreign-sapphire3y ago
There are installation instructions Caveat: I never got it working right via Heroic because I didn’t translate any PROTON… environment variables to whatever the appropriate calls were
correct-apricot
correct-apricotOP3y ago
thank you, ill try it. But as i said, i am kinda new to Linux and this seems a little bit advanced. but lets see.
foreign-sapphire
foreign-sapphire3y ago
For Hitman, I’d try
VKD3D_CONFIG=dxr11 VKD3D_FEATURE_LEVEL=12_1 PROTON_HIDE_NVIDIA_GPU=0 PROTON_ENABLE_NVAPI=1 %command%
VKD3D_CONFIG=dxr11 VKD3D_FEATURE_LEVEL=12_1 PROTON_HIDE_NVIDIA_GPU=0 PROTON_ENABLE_NVAPI=1 %command%
For Heroic, it may be easier to wait for dxvk-nvapi to be integrated into Heroic. The idea has been kicked around Or you can use it as a learning experience I ended up getting an AMD GPU instead because of this and other related reasons
correct-apricot
correct-apricotOP3y ago
I'll try the arguments in a few minutes, but until now no arguments could help. If i could i would switch to AMD right now, but too late 😄 Someone on the ubuntu forum says i should not use Kubuntu 22.04 and use 22.04LTS, so maybe it is a problem with my Distro.
foreign-sapphire
foreign-sapphire3y ago
Kubuntu 22.04 and use 22.04LTS
These are the same. the "LTS" designation is so you know that version is intended for Long Term Support the number is year.month in terms of launch args, it needs a series of them. if dxr11 doesn't work try just dxr. it's finicky, but I did pull these off ProtonDB for the game
foreign-sapphire
foreign-sapphire3y ago

Did you find this page helpful?