-
Notifications
You must be signed in to change notification settings - Fork 15
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
Still having audio issues under Wine/Proton 8 #44
Comments
Hi, can you run wine and copy the log output in a file? |
On the latest Wine Staging there is no cd audio at all on my system, at least running it through the default system Wine. I am running it through Proton-Custom-GE on Garuda Linux Dr460nized KDE (Arch Linux). I do not find any mention of dsound in the log file. And I am using the AUR version of Proton-Custom-GE although this bug has presented on ALL available Wine/Proton builds I have available, including Proton 9 Beta. Curiously using a wav file instead of mp3 for cdaudio fixes the loop bug but presents another problem with constant microfreezes when loading a new track, which causes a slight delay in audio for the cutscenes. I doubt the bug is directly related to TR2Main, as it presents on the base game as well. I think it is more related to Wine/Proton. |
That's some buffer problem, its hitting the else then the first if, and it lands on that error, you see? |
err:quartz:send_buffer Failed to get a sample This line is the one you're talking about, right? Yeah I'm a bit unsure what to do about that. Suggestions or even better, solutions, would be nice. |
You dont need to do anything, right now. I will write again if I need you to test something. I think it happens when It plays the menu music the buffer gets out of sync when it switches source. when its suppose to repeat what it reads outside at some (Fix point reproducible by a save just before) point and lets the background music hang in a loop. So the end and start of the buffer is not right, so it keeps playing a loop. It could be that files are corrupt (the mp3) or in the game how it handle the buffer. Windows have protections against some buffer problems. I set this up with windows10+code blocks with virualbox. Used windows sdk 2022 and some old directx sdk from 2010, it was called DXSDK_Jun10.exe... and w64devkit to do the compiling. And It ran with proton. |
You can report this to wine, there is multiple problems when it runs on wine. It looks like there is some datarace, buffer problem but just with wine. Im creating a wine build that wont depend on mono, just for fun, I want it. Maybe I finish that this summer. |
Fixed the audio delay by installing quartz_feb2010 and d3dx9_43. Otherwise I am still dealing with the game's audio looping oddly after picking up a secret or otherwise changing the music loop length.
It also crashes after a while on Proton 7 Wine releases.
Originally posted by @Alyxx88 in #43 (comment)
The text was updated successfully, but these errors were encountered: