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

NFS MW hangs when police siren heard (After FFMPEG new merge) #4268

Closed
bhavin192 opened this issue Oct 20, 2013 · 24 comments · Fixed by #7643
Closed

NFS MW hangs when police siren heard (After FFMPEG new merge) #4268

bhavin192 opened this issue Oct 20, 2013 · 24 comments · Fixed by #7643

Comments

@bhavin192
Copy link
Contributor

After FFMPEG merge NFS most wanted stops working after some time when playing I am on x64 bit windows

Btw when it stops the sound goes weird first it gains speed then starts cracking

giving same emulation stops with audio and without audio

LOG:-
https://gist.github.com/bhavin192/0ddacb72d075eda48fb9

https://gist.github.com/bhavin192/7044c9857cb5fd119177

@hrydgard
Copy link
Owner

Closed? Doesn't happen anymore? Please state reason when closing.

@bhavin192 bhavin192 reopened this Oct 22, 2013
@bhavin192
Copy link
Contributor Author

I havent checked on my PC that time and it is working on armv6 so temparary I closed

but still same is happening on X64 checked on 2067

@KingPepper
Copy link

I tried this game on my Windows 7 (x86) PC using v0.9.5-104-g508830b and still got same results of a crash in the game, under quick race mode, as soon as a police cars siren is heard that seems to be the reason for the crash.

@raven02
Copy link
Contributor

raven02 commented Jan 10, 2014

When hit police care , it hits stack empty and crash

36:45:570 main E[G3D]: GPUCommon.cpp:768 RET: Stack empty!
36:45:570 main E[G3D]: GPUCommon.cpp:768 RET: Stack empty!
36:45:603 main E[G3D]: GPUCommon.cpp:768 RET: Stack empty!
36:45:603 main E[G3D]: GPUCommon.cpp:768 RET: Stack empty!
36:45:604 main E[G3D]: GPUCommon.cpp:768 RET: Stack empty!
36:45:604 main E[G3D]: GPUCommon.cpp:768 RET: Stack empty!

@unknownbrackets
Copy link
Collaborator

Has this improved? Also, it would help a lot to see a log from when it worked and a log from when it didn't side by side. Then we can see what is happening differently.

-[Unknown]

@bhavin192
Copy link
Contributor Author

@unknownbrackets
can you tell me the exact build number when that new ffmpeg was merged

@vsub
Copy link

vsub commented May 1, 2014

It's not really after FFMPEG...it's crashing on 0.9.1-963 and not on 0.9.1-452(there was some bug with 0.9.1-8??? and the sound with some games)

Tried
0.9.8-561
0.9.6-537
0.9.1-1463
0.9.1-963
0.9.1-542

Edit:Ok the problem seems to be somewhere between 0.9.1-808(ok) and 0.9.1-830(freeze)

@thedax
Copy link
Collaborator

thedax commented May 1, 2014

@vsub: Could you post the -gXXXXXX parts of those version numbers too? The version numbers really don't mean a lot. The gXXXXX stuff tells us exactly what commit it was. The version numbers are more for the end-user than us.

@vsub
Copy link

vsub commented May 1, 2014

Here
v0.9.1-818-g42c5061
v0.9.1-830-gd6e9b0f

@unknownbrackets
Copy link
Collaborator

Is this only on ARM or only on desktop?

42c5061...d6e9b0f

-[Unknown]

@bhavin192
Copy link
Contributor Author

only on desktop not ARM.
On ARM it's working without a bug :D

@unknownbrackets
Copy link
Collaborator

So then possibly cbf1df9.

-[Unknown]

@bhavin192
Copy link
Contributor Author

@unknownbrackets
any chances to be solved before 0.9.9 ?

@unknownbrackets
Copy link
Collaborator

Well, that passes the tests I subjected it too, so I'm not sure what's wrong. Is there any demo that exhibits this problem?

Does this happen on 32 bit?

-[Unknown]

@hrydgard
Copy link
Owner

@bhavin192 , can you compile? If so can you put

DISABLE;

after "case 13:" (see cbf1df9) and try it?

@bhavin192
Copy link
Contributor Author

@hrydgard
sadly I have to set up everything from scratch I will try it because for my CS engg. It will be needed (preparation for future :P )

@hrydgard
Copy link
Owner

All you need to do really to build on Windows is to install VS 2013 , open the sln and build, it's very easy.

@bhavin192
Copy link
Contributor Author

And dxsdk , right ?
Downloading it now will build in ~4 hours

@hrydgard
Copy link
Owner

You don't need DX SDK to build, we have a mini dx sdk as as submodule.

@bhavin192
Copy link
Contributor Author

ok then it will not take much time ;)

@bhavin192
Copy link
Contributor Author

@hrydgard
Built it
this time it worked when police siren is heard first but at second time it happened

It's not related these changes

@vsub
can you please check again ?

@ppmeis
Copy link
Contributor

ppmeis commented Jul 21, 2014

Tested with latest build. Game stops after police siren appears:
nfsmw

@unknownbrackets
Copy link
Collaborator

@daniel229 noted that this can be solved by using the interpreter for vmax, possibly since #6382.

I guess the best way on x86 will be to convert to an integer and compare it that way, I don't expect it to be fast...

-[Unknown]

@daniel229
Copy link
Collaborator

On PC,it's fast enough.

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

Successfully merging a pull request may close this issue.

9 participants