[Feature] AMD GPU support
Raze version
No response
Which game are you running with Raze?
Duke Nukem 3D
What Operating System are you using?
Linux x86_64
If Other OS, please describe
No response
Is your feature request related to a problem? Please describe.
Would be great to see AMD GPU support
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Add any other context or screenshots about the feature request here.
No response
Unfortunately, I don't have an AMD GPU to test with at the moment. If you launch with DLSS-SR/RR upscaling turned off, does it still fail? Here is how you can launch directly from command line with DLSS upscaling off and denoising turned back on:
launch-duke-rt.cmd +set vid_preferbackend 4 +set nri_api d3d12 +set nri_upscaler 0 +set nri_postsharpen 0 +set nri_denoise true +set nri_nrddenoiser 0
If you want vulkan instead of d3d12, user +set nri_api vulkan instead and you should be fine! Alternatively, if you want to edit launch-duke-rt.cmd to permanently launch that way, edit the second last line from:
"%RAZE_EXE%" -gamegrp "%DUKE_RT_GRP%" -file "%OVERLAY_DIR%" %GAME_ARGS%
to:
"%RAZE_EXE%" -gamegrp "%DUKE_RT_GRP%" -file "%OVERLAY_DIR%" +set vid_preferbackend 4 +set nri_api d3d12 +set nri_upscaler 0 +set nri_postsharpen 0 +set nri_denoise true +set nri_nrddenoiser 0 %GAME_ARGS%
It works (kinda) on Windows11 on my RX9070XT
But the denoiser doesnt work fine. Many artifacts.
I played through Level 1 yesterday but now as I saved in Level2 I cant start the game anymore.
The log says something about
PT scene texture cap im Log: cap=512 scene_set=514 stage_textures=528
This happens with VULKAN and D3D12 as well
The 512 CAP is a real problem
@postmemetic Any Update ?
Oh just seeing this - thanks for testing on AMD! I'll take a look at your log and see if the texture number is actually the issue. If that's the main issue, it should be possible to tackle,
@postmemetic As said it ran for the first level fine but then I saved and since then it won't start anymore. Log says the hard limit is the issue during startup.
Oh just seeing this - thanks for testing on AMD! I'll take a look at your log and see if the texture number is actually the issue. If that's the main issue, it should be possible to tackle,
Any update yet ?
I'm not actually sure if the issue is explicitly due to texture count or if it's somewhere else in the pipeline, and I don't have an AMD GPU to test with so I can't effectively gather more information. If the issue is really around texture count, the possible solutions would likely take a very large effort (rolling my own texture atlasing), but I can't even be sure that would actually fix it.
Oh just seeing this - thanks for testing on AMD! I'll take a look at your log and see if the texture number is actually the issue. If that's the main issue, it should be possible to tackle,
Any update yet ?
Okay, so I may have actually addressed the issue! I was doing something wrong with buffer descriptors that may have been tripping validation. Please try things out with the latest build - https://github.com/postmemetic/Duke-RT/releases/tag/0.3.4