hh79 / gzdoomvr

Classic Doom/Heretic/Hexen games in stereo 3D and VR; modified version of gzdoom.
GNU General Public License v3.0
130 stars 10 forks source link

[BUG] Openal32.dll error, missing audio, doesn't properly open in VR, constantly spinning #90

Open gregest opened 9 months ago

gregest commented 9 months ago

GZDoom version

4.11.3

Which game are you running with GZDoom?

Doom 2

What Operating System are you using?

Windows 10

Please describe your specific OS version

Windows 10 22H2

Relevant hardware info

I5 4690, GTX1650, 16GB Ram

Have you checked that no other similar issue already exists?

A clear and concise description of what the bug is.

I downloaded gzdoomvr, extracted it, placed doom2.wad in the folder from a legal doom2 purchased copy. When I try to open it, either PC or inside from my headset I get an error about openal32

gzdoomvr_2023-12-16_19-06-42 (rough translation: openal32 was not designed for windows, or contains errors. Try reinstalling or contacting the author of the software, error code: 0xc000012f.

I'm also having an issue where there is absolutely no sound, console mentions SoundInit failing, using NoSound. Searching around it should be fixed by a redownload based on a report a few days ago but didn't for me.

VirtualDesktop Android-20231216-185603 This is what I mean by "doesn't properly open in vr", it just gives me the view of my screen rather than being "in" the game, this is in Virtual Desktop using VDXR as the OpenXR runtime.

And constantly spinning is well, constantly spinning.

I tried reinstalling it 4 times now, same results every single time. I tried a purely vanilla save with no extra wads nothing, error. I tried running through ZDL with a few mods, ZDL is just a launcher for doom that makes it easier to use multiple mods at the same time, no openal32 error however all the same issues persist

ZDL_2023-12-16_19-29-03 The mods in question I tried to use

Steps to reproduce the behaviour.

Explain how to reproduce

  1. Install GzdoomVR
  2. Open
  3. Error

Your configuration

I don't seem to have a separate ini file for GZDoomVR, only one for the regular desktop GZDoom which isn't being used by GZDoomVR because all my settings were default when opening GZDoomVR.

Provide a Log

log.txt

hh79 commented 9 months ago

Please download release 4.11.3 again.

ReverquestVR commented 9 months ago

I have an looks like error with sound

Download again but sound error persist

Error: "Could not find patch set My Route//soundfonts/gzdoom.sf2"

Fluidsynth error

And file is in the correct route

¿Solution?

Thanks

hh79 commented 9 months ago

Try maybe to copy from an older version of gzdoomvr libflluidsynth.dll , libflluidsynth64.dll, zmusic.dll. openal32.dll. If that does not help, try to download an official release of gzdoom 4.11.3 and then copy there gzdooomvr.exe. gzdoom.pk3, game_support.pk3.

ReverquestVR commented 9 months ago

Hi

I try both solutions but not work. First same error. Second only play not vr mode

Thanks

Wait other solutions

Thanks

ReverquestVR commented 9 months ago

Hi again

Testing gzdoomvr 4.8.2 works great for me

Testing gzdoomvr 4.9.0 and 4.11.3 dont work. Black screen and hear sound but not enter vr mode or audio issues

Wait you can resolve that

Thanks in advance

hh79 commented 9 months ago

Oh, that's not good. I haven't made any changes to the sound-related code, and version 4.9.0 worked perfectly for me for a year. You might want to consider resetting the settings to default. Starting from version 4.9.0, there's a global gzdoomvr.ini file located in Users/[UserName]/My Games/GzdoomVR directory. Try deleting or moving it from this directory, and then try running it again.

ReverquestVR commented 9 months ago

Hi

Delete .ini and GZDOOMVR 4.9.0 works great but GZDOOMVR 4.11.3 already black screen. Hear sound but not display

¿Solution or fix?

Thanks

ReverquestVR commented 9 months ago

Hi again

GZDOOM VR 4.11.3 work now

Thanks for all your job

gregest commented 9 months ago

unfortunately didn't help for me, I deleted my gzdoom.ini and it made no change, I also redownloaded it yet again with no luck.

I forgot to mention that if I start it directly through steamvr instead of virtual desktop, it does "boot up" but it's entirely black, I can hear the sound in the background and I can click things but it's black 59bf758f139c97890942722236691d40

flabberghastio commented 9 months ago

same here

unfortunately didn't help for me, I deleted my gzdoom.ini and it made no change, I also redownloaded it yet again with no luck.

I forgot to mention that if I start it directly through steamvr instead of virtual desktop, it does "boot up" but it's entirely black, I can hear the sound in the background and I can click things but it's black 59bf758f139c97890942722236691d40

doomgtr commented 9 months ago

I also have no sound in 4.11.3, there are no other errors. All previous versions work fine.

doomgtr commented 9 months ago

When deleting zdoom.ini, I also get a black screen.

Doom2VoxelVRLover commented 8 months ago

BLACK SCREEN ISSUE = probably Vulkan. Edit your INI file line "vid_preferbackend=0" (OpenGL) instead of "vid_preferbackend=1" (which is Vulkan). Worked for me on Win10 and 4080, latest driver 546.65. Default INI file seems to select Vulkan too, which is why you are getting a black screen when you delete the INI.

A different issue I now have with this version is total crash when in game and trying to change weapon models from sprite only to anything else like fat sprite. Was fine on old version 4.9.0. My workaround is to use the HD VR weapons mod, but I kinda prefer the old school look in 3D.

gregest commented 8 months ago

Ah yeah, swapping to opengl instantly fixxed my issues and everything seems to be working. I haven't tested your crash though as I use the voxel model weapon pack mod so I guess I'll leave the issue open. Thanks!