Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] binaries built with "auto-setup-windows.cmd" fail to initialize audio #2780

Open
1 task done
rooScream opened this issue Oct 22, 2024 · 2 comments
Open
1 task done
Labels

Comments

@rooScream
Copy link

GZDoom version

g4.14pre-30-g40546420b

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 Pro

Relevant hardware info

i3-10110U, UHD Graphics, Vulkan 1.3, D3D 12_1 feature level, Intel(R) Display Audio

Have you checked that no other similar issue already exists?

  • I have searched and not found similar issues.

A clear and concise description of what the bug is.

When building gzdoom with the auto-setup-windows.cmd script, the resulting binaries do not detect any sound cards, HDMI audio, or onboard audio. The built ZMusic DLLs contain no version information.

Console output:

S_Init: Setting up sound.
Sound init failed. Using nosound.

Upping the developer/debug level doesn't reveal any further details.

I have also tested the script on two additional Windows 10 Pro computers:

Computer 1:
Board Form factor: ATX
Board: ASUS ROG STRIX X670E-A
CPU: AMD Ryzen 9 7950X3D
Audio: ESS Sabre DSP, Solid State amp
GPU: MSI Suprim GeForce RTX 4090 24GB GDDR6X PCI Express 4.0 (Overclocked)

I tried all Audio output options available, including HDMI and a cheap USB dongle

Console output:

S_Init: Setting up sound.
Sound init failed. Using nosound.

Computer 2:
Lenovo Thinkpad T520
CPU: Core i7 2.9GHz Ivy Bridge (Quad Core)
GPU: Quadro 4200M
Audio: Some Realtek DAC, not sure

I did not test the external DP++ modes.

Console output:

S_Init: Setting up sound.
Sound init failed. Using nosound.

Steps to reproduce the behaviour.

  1. run .\auto-setup-windows.cmd
  2. copy gzdoom and zmusic files to a new folder
  3. run gzdoom

Your configuration

Fresh config.

Provide a Log

No error log generated.

@rooScream rooScream added the bug label Oct 22, 2024
@RicardoLuis0
Copy link
Collaborator

IIRC auto-setup-windows.cmd shouldn't be used, since vcpkg is not required for builds anymore, you can just run cmake-gui directly

@madame-rachelle
Copy link
Collaborator

Regardless of how it's built, try the .dll's from a recent release, instead of the .dll's it builds, they probably will work a lot better in any case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants