vs-shirokii / gzdoom-rt

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

[BUG] Error cannot find 'rt/bin/RTGL1.dll on Linux #10

Open ravachol opened 3 months ago

ravachol commented 3 months ago

GZDoom version

No response

Which game are you running with GZDoom?

Doom 2

What Operating System are you using?

Linux x86_64

Please describe your specific OS version

Manjaro

Relevant hardware info

NVIDIA 3060

Have you checked that no other similar issue already exists?

A clear and concise description of what the bug is.

Can't find 'rt/bin/RTGL1.dll'.

Detailed here:

https://www.reddit.com/r/wine_gaming/comments/1ern45t/unable_to_run_doom_2_ray_traced_on_arch_through/

Steps to reproduce the behaviour.

Explain how to reproduce

  1. Start game on linux

Your configuration

No response

Provide a Log

No response

ravachol commented 3 months ago

Related: https://www.reddit.com/r/linux_gaming/comments/1er5nmp/doom_2_path_tracing_question/li38die/

LunaLeTuna commented 3 months ago

from what I have found, when getting "Can't find 'rt/bin/RTGL1.dll' file", thats the rtgl dll not being able to get vulkan-1.dll

I only get this error when setting winecgf > Libaries > [add vulkan-1] > then set it to "native (windows)" image

now when using anything but "native (windows)", rtgl does get loaded in theory, but vulkan has an issue with my gpu not having extensions image

the issue here is that those are windows specific extensions to vulkan on windows all wine here is doing is passing vulkan commands to linux, but linux dosn't have the win32 extentions

ps: people have been able to get these extensions to work running things under proton 7 https://www.pathofexile.com/forum/view-thread/3376621

ravachol commented 3 months ago

Thanks, I tried what you suggested including proton 7 but it still complains about no vulkan extensions.

SoftwareSchlosser commented 3 months ago

Hi, how did you manage to make it find your Steam installation of Doom? I tried installing steam for windows in the same wine prefix but it complains about having no internet connection...

ravachol commented 3 months ago

I copied the wads from steam to the gzdoom-rt directory.

KingVulpes commented 3 months ago

Hi, would you happen to know where the config file is stored on Linux? On windows it's in Documents/My Games/GZDoom. But on Linux I can't find it

ravachol commented 3 months ago

Don't know.

KingVulpes commented 3 months ago

Don't know.

Dang, I was asking because you can switch it to use DXGI instead of Vulkan

ravachol commented 3 months ago

aha

ravachol commented 3 months ago

/home//.config/gzdoom/gzdoom.ini. But I don't know what to change.

KingVulpes commented 3 months ago

/home//.config/gzdoom/gzdoom.ini. But I don't know what to change.

Change the rt_dxgi to true

ravachol commented 3 months ago

hmm, can't find it, that might be a config for normal gzdoom..

KingVulpes commented 3 months ago

hmm, can't find it, that might be a config for normal gzdoom..

You're right, the Doom 2 RT one is called gzdoom-rt2.ini

KingVulpes commented 3 months ago

hmm, can't find it, that might be a config for normal gzdoom..

Tho maybe it's the same location? If you want I can send the Doom 2 RT one and see if putting it in the directory would work

ravachol commented 3 months ago

Sure.

ravachol commented 3 months ago

the My Documents/My Games/GZDoom/ folder is empty.

KingVulpes commented 3 months ago

Sure.

https://drive.google.com/file/d/1Rn4yfz46NUg3Qo08UEtzTPjFgUgC_eGy/view?usp=sharing

ravachol commented 3 months ago

Thank you, I will try this later.

ravachol commented 3 months ago

It still complains about no_vulkan_extension, unfortunately, but thanks for the help.

KingVulpes commented 3 months ago

It still complains about no_vulkan_extension, unfortunately, but thanks for the help.

Darn :(

KingVulpes commented 3 months ago

Potential solution, put: gzdoom.exe +rt_dxgi 1 into a .bat and launch it. I can't test it since SteamOS won't even load the .exe but your distro seems to be able to load it

ravachol commented 3 months ago

doesn't seem to make a difference.

SoftwareSchlosser commented 3 months ago

I copied the wads from steam to the gzdoom-rt directory.

I still get the error message that DOOM2.WAD couldn't be found. I copied all the wads from the "Ultimate Doom" steam game folder to the folder containing gzdoom.exe. Am I missing something else?

ravachol commented 3 months ago

I used the wads from doom1 + doom 2

SoftwareSchlosser commented 3 months ago

Yes, "Ultimate Doom" is just the name of the game folder in steam, it contins all WADs including those from doom 1 and doom 2 which I copied over to the gzdoom folder. Can't see why it doesn't work...

ravachol commented 3 months ago

No Idea why it doesn't work, that's what I did.

FluffyPuppyKasey commented 3 months ago

Yes, "Ultimate Doom" is just the name of the game folder in steam, it contins all WADs including those from doom 1 and doom 2 which I copied over to the gzdoom folder. Can't see why it doesn't work...

All you need is Doom2.wad which is in base/doom2. Copy that ONE file right next to the EXE

ravachol commented 3 months ago

Maybe it's a character case issue.

DwayneHawkins commented 2 months ago

Maybe it's a character case issue.

I don't think so, the casing seems OK.

SoftwareSchlosser commented 2 months ago

Seems related to (https://github.com/vs-shirokii/gzdoom-rt/issues/1) / (https://github.com/vs-shirokii/gzdoom-rt/issues/21). For some reason, when installing the game in linux, it seems to download a different wad file! After installing the game in windows and copying over the wad file from the windows partition (which is obviously the same as in AKbar30Bill's repository) the selection screen appears but after choosing Doom 2 it get's to the cannot find 'rt/bin/RTGL1.dll error. Tried copying the files over from proton (Proton GE in my case -> ../files/lib64/vkd3d/libvkd3d*) to the gzdoom-rt folder which leads to another error message box with title "Unsupported GPU" and text: "VkDevice extensiond are NOT supported: VK_KHR_external_fence_win32". See: (https://github.com/vs-shirokii/gzdoom-rt/issues/26)