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

AC97: audiodev is deprecated #1625

Open
MasonT8198 opened this issue Mar 28, 2024 · 4 comments
Open

AC97: audiodev is deprecated #1625

MasonT8198 opened this issue Mar 28, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@MasonT8198
Copy link
Contributor

Bug Description

Whenever you launch xemu the first error on the logfile is a AC97 error regarding the fact that audiodev has been deprecated.

Expected Behavior

Using the launch params listed below in vl.c should correct the issue as of QEMU 8.2 when it comes to silencing this warning
 
-audio none

and dropping the audiodev0 arg as well

the log file should not have a warning regarding the AC97 audio subsystem

xemu Version

all of them

System Information

CPU: AMD Ryzen 7 5800X3D 8-Core Processor
OS_Version: 22H2
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: NVIDIA GeForce RTX 3070/PCIe/SSE2
GL_VERSION: 4.0.0 NVIDIA 551.76
GL_SHADING_LANGUAGE_VERSION: 4.00 NVIDIA via Cg compiler

Additional Context

No response

@MasonT8198 MasonT8198 added the bug Something isn't working label Mar 28, 2024
@MasonT8198
Copy link
Contributor Author

Updating to QEMU 8.2 then applying the following patch in vl.c will fix the error, alongside fixing the audiodev0 line as well

#ifdef _WIN32
    // FIXME: Create this dummy device to prevent logspam
    fake_argv[fake_argc++] = strdup("-audio");
    fake_argv[fake_argc++] = strdup("none");
#endif

@MasonT8198
Copy link
Contributor Author

See the -audio portion of the manpage for more details
https://www.qemu.org/docs/master/system/qemu-manpage.html

@MasonT8198
Copy link
Contributor Author

also, currently trying to specify audio none -audio none: Parameter 'model' is missing creates this new warning, and crashes the application... specifying the model as ac97 also crashes the application due to there being no area on the pci bus for the ac97 card

@The-Little-Wolf
Copy link

Clearing the shader folder fixed it for me. The problem start after i played Halo 2 online.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants