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

Street Racing Syndicate crash #76

Open
sashaaaaaaaaa opened this issue Feb 27, 2023 · 9 comments
Open

Street Racing Syndicate crash #76

sashaaaaaaaaa opened this issue Feb 27, 2023 · 9 comments

Comments

@sashaaaaaaaaa
Copy link

Game crashes before you get to the main menu. DSOAL log attached.
dsoallog.txt

@sashaaaaaaaaa
Copy link
Author

game never even starts with dsound backend on openal soft

@kcat
Copy link
Owner

kcat commented Feb 28, 2023

This looks really odd. It creates a device and seems to play/stream something, then closes the device. Then it starts doing things on another device it never seemed to open. I do notice some of the logs are getting chopped off and mixed up from different threads, so maybe some of the traces for that got swallowed up. Though either way, it seems to be setting the listener position/velocity/orientation deferred all the time followed by committing deferred settings. It does this a bunch of times just fine, but then starts throwing an error saying there's no context, for no apparent reason.

I'll need to figure out a way to stop the trace lines from getting overwritten so I can get a better view of what's going on.

@Hiradur
Copy link
Contributor

Hiradur commented Sep 14, 2024

Running the game in Wine on Linux, I have no problems with recent DSOAL (c++-rewrite branch) and OpenAL Soft builds. EAX works as well. @sashaaaaaaaaa Could you retest with newer builds?

@ThreeDeeJay
Copy link

game never even starts with dsound backend on openal soft

btw I think using dsound backend in DSOAL does that because it gets into an infinite loop since DSOAL would try to wrap itself or something. So on Windows it's better to just use the default (wasapi). Not sure if there's a better backend in Wine if that's what you're using though

@mirh
Copy link

mirh commented Sep 15, 2024

There is no reason it should perform any different than in windows configured the same.

@ThreeDeeJay
Copy link

image
https://github.com/ThreeDeeJay/dsoal/releases/tag/latest-c%2B%2B-rewrite

Also if you wanna verify dsound output, try running this executable (it will likely crash), then edit alsoft.ini and set drivers=wasapi or just drivers= (on Windows it'll still use WASAPI but maybe OpenAL Soft detects a better system backend on wine?
DSOAL_dsound_test.zip

@sashaaaaaaaaa
Copy link
Author

Running the game in Wine on Linux, I have no problems with recent DSOAL (c++-rewrite branch) and OpenAL Soft builds. EAX works as well. @sashaaaaaaaaa Could you retest with newer builds?

sorry for the delay but on latest-c++-rewrite as of today (DSOAL r557@14a8ca5) I get a crash after the Namco logo. On DSOAL r556@afe57915 it doesn't crash but I don't get EAX.

@kcat
Copy link
Owner

kcat commented Oct 21, 2024

sorry for the delay but on latest-c++-rewrite as of today (DSOAL r557@14a8ca5) I get a crash after the Namco logo. On DSOAL r556@afe57915 it doesn't crash but I don't get EAX.

That's odd. From commit afe5791 to commit 14a8ca5 is just one commit, which just adds setting AL_METERS_PER_UNIT for the distance factor.

@Hiradur
Copy link
Contributor

Hiradur commented Oct 28, 2024

I experience no issues running the game in Wine with DSOAL 14a8ca5 and OpenAL Soft ebd2f0f1543186c4b33403c390171d01ee15542e. Voice count is set to 64 and EAX is enabled.

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

No branches or pull requests

5 participants