vs-shirokii / gzdoom-rt

GNU General Public License v3.0
268 stars 6 forks source link

[Feature] AMD Support #14

Open KingVulpes opened 3 months ago

KingVulpes commented 3 months ago

GZDoom version

gzdoom-rt

Which game are you running with GZDoom?

Doom 2

What Operating System are you using?

Windows 11

If Other OS, please describe

No response

Relevant hardware info

RX 7600

Is your feature request related to a problem? Please describe.

Will not launch on AMD hardware at the moment

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

f1am3d commented 3 months ago

+1. I'm surprised it's not supported. I'm playing Quake 2 RTX in 60 fps 4K on my 7900 XTX, so it will easily handle this.

KingVulpes commented 3 months ago

+1. I'm surprised it's not supported. I'm playing Quake 2 RTX in 60 fps 4K on my 7900 XTX, so it will easily handle this.

I'm surprised too, especially since it has a RTX Remix renderer which is compatible with AMD

f1am3d commented 3 months ago

+1. I'm surprised it's not supported. I'm playing Quake 2 RTX in 60 fps 4K on my 7900 XTX, so it will easily handle this.

I'm surprised too, especially since it has a RTX Remix renderer which is compatible with AMD

PRB Doom is working flawlessly with AMD: https://youtu.be/i2Ld9YNUWls

vs-shirokii commented 3 months ago

It's definitely possible.

It's just that.. I'm quite drained with mental resources, it's s hard work. Plus, I would want to debug it locally (to see the corner cases, to polish the frame pacing, stuttering etc), I don't have AMD.

konrad-ha commented 3 months ago

I wonder if someone from AMD could help out here, I think this would be pretty good for PR.

DarkVamp commented 3 months ago

I tried all different kind of drivers already on my 7900XT without any luck

DarkVamp commented 3 months ago

+1. I'm surprised it's not supported. I'm playing Quake 2 RTX in 60 fps 4K on my 7900 XTX, so it will easily handle this.

I'm surprised too, especially since it has a RTX Remix renderer which is compatible with AMD

Actually there are two versions... The RTX one and the normal one. The RTX one is normaly never working (at least not good) with AMD cards.

KingVulpes commented 3 months ago

+1. I'm surprised it's not supported. I'm playing Quake 2 RTX in 60 fps 4K on my 7900 XTX, so it will easily handle this.

I'm surprised too, especially since it has a RTX Remix renderer which is compatible with AMD

Actually there are two versions... The RTX one and the normal one. The RTX one is normaly never working (at least not good) with AMD cards.

I did the Portal RTX AMD and Steam Deck mod, so I doubt this would be any trouble if it actually loaded

f1am3d commented 3 months ago

+1. I'm surprised it's not supported. I'm playing Quake 2 RTX in 60 fps 4K on my 7900 XTX, so it will easily handle this.

I'm surprised too, especially since it has a RTX Remix renderer which is compatible with AMD

Actually there are two versions... The RTX one and the normal one. The RTX one is normaly never working (at least not good) with AMD cards.

Quake 2 RTX works perfectly with AMD cards.

DarkVamp commented 3 months ago

+1. I'm surprised it's not supported. I'm playing Quake 2 RTX in 60 fps 4K on my 7900 XTX, so it will easily handle this.

I'm surprised too, especially since it has a RTX Remix renderer which is compatible with AMD

Actually there are two versions... The RTX one and the normal one. The RTX one is normaly never working (at least not good) with AMD cards.

Quake 2 RTX works perfectly with AMD cards.

I think Quake2 is not done with Remix isnt it ?

KingVulpes commented 3 months ago

+1. I'm surprised it's not supported. I'm playing Quake 2 RTX in 60 fps 4K on my 7900 XTX, so it will easily handle this.

I'm surprised too, especially since it has a RTX Remix renderer which is compatible with AMD

Actually there are two versions... The RTX one and the normal one. The RTX one is normaly never working (at least not good) with AMD cards.

Quake 2 RTX works perfectly with AMD cards.

I think Quake2 is not done with Remix isnt it ?

It is not, Quake 2 RTX came way earlier

Aelussa commented 3 months ago

It seems to be the the fluid simulation that's causing it to crash on AMD cards. If you go to "/Documents/My Games/GZDoom/", edit the gzdoom-rt2.ini file, and change the line "rt_fluid=true" to "rt_fluid=false", that should let you play it, just without the blood splatter. It runs really well on my 6800XT after making that change.

snoopy7548 commented 3 months ago

It seems to be the the fluid simulation that's causing it to crash on AMD cards. If you go to "/Documents/My Games/GZDoom/", edit the gzdoom-rt2.ini file, and change the line "rt_fluid=true" to "rt_fluid=false", that should let you play it, just without the blood splatter. It runs really well on my 6800XT after making that change.

It works!

KingVulpes commented 3 months ago

It seems to be the the fluid simulation that's causing it to crash on AMD cards. If you go to "/Documents/My Games/GZDoom/", edit the gzdoom-rt2.ini file, and change the line "rt_fluid=true" to "rt_fluid=false", that should let you play it, just without the blood splatter. It runs really well on my 6800XT after making that change.

I actually wasn't a fan of the blood splatter so I'll try this out right now

KingVulpes commented 3 months ago

It seems to be the the fluid simulation that's causing it to crash on AMD cards. If you go to "/Documents/My Games/GZDoom/", edit the gzdoom-rt2.ini file, and change the line "rt_fluid=true" to "rt_fluid=false", that should let you play it, just without the blood splatter. It runs really well on my 6800XT after making that change.

alright so for me, I just keep getting driver timeouts now :/

Aelussa commented 3 months ago

alright so for me, I just keep getting driver timeouts now :/

You might also try changing "rt_dxgi=true" to "rt_dxgi=false". It seems like the Vulcan renderer might be more stable on AMD cards for some people. If that doesn't work, I'm out of ideas, sorry.

KingVulpes commented 3 months ago

alright so for me, I just keep getting driver timeouts now :/

You might also try changing "rt_dxgi=true" to "rt_dxgi=false". It seems like the Vulcan renderer might be more stable on AMD cards for some people. If that doesn't work, I'm out of ideas, sorry.

It was already off but I found the solution. My display was set to 4k but setting it to 1080p fixed everything

DarkVamp commented 3 months ago

Runs VERY WELL on my 7900XT in 3440 x 1440 Ultrawide and FSR QUALITY. The raytracing is a little noisy but besides this its awesome! The VOXELS are just changing anything.

KingVulpes commented 3 months ago

Runs VERY WELL on my 7900XT in 3440 x 1440 Ultrawide and FSR QUALITY. The raytracing is a little noisy but besides this its awesome! The VOXELS are just changing anything.

On my 7600 I'm doing 1080p with FSR balanced, FSR really holds up in this game

androidand commented 3 months ago

I have an AMD Radeon RX 6800 XT and GZDoom RT would crash upon start with (Access Violation - tried to read address 0000000000000008).

I didn't have the gzdoom-rt2.ini but I downloaded it from here and put it in the gzdoom-rt-1.0.2 https://gist.githubusercontent.com/callofcthuloo/2a4e373be727cb78a391aba64e7f0e87/raw/5992504988df4c8b315dfc9ef6ab3781be4dd703/gzdoom-rt2.ini

And then set rt_fluid=false

Now it works! I didn't find a clear explanation on how to get it running on AMD GPUs, but this seems to be it!

f1am3d commented 3 months ago

I have an AMD Radeon RX 6800 XT and GZDoom RT would crash upon start with (Access Violation - tried to read address 0000000000000008).

I didn't have the gzdoom-rt2.ini but I downloaded it from here and put it in the gzdoom-rt-1.0.2 https://gist.githubusercontent.com/callofcthuloo/2a4e373be727cb78a391aba64e7f0e87/raw/5992504988df4c8b315dfc9ef6ab3781be4dd703/gzdoom-rt2.ini

And then set rt_fluid=false

Now it works! I didn't find a clear explanation on how to get it running on AMD GPUs, but this seems to be it!

I assume that rt_fluid stands for a cvar for nvidia's [fluid simulation API] which utilizes CUDA, which AMD cards don't have. AMD cards obviously can do any sort of particle simulation without any APIs required, and can do it quite well. https://youtu.be/clAqgNtySow