Project

General

Profile

Actions

Emulator Issues #882

closed

DSP-HLE hangs occasionally when DSP-LLE on thread is not checked

Added by Autoran1 about 15 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Almost all my WII games and even WII menu hangs before the yellow info
words are gone, the source of the problem is in Core\Core\Src\HW
\SystemTimers.cpp


Related issues 1 (0 open1 closed)

Blocks Emulator - Emulator Issues #2043: Release bug trackerFixednakeee

Actions
Actions #1

Updated by GCNWIIUploader about 15 years ago

what exactly is wrong in there?

Actions #2

Updated by marcus about 15 years ago

Yeah, something wierd is happening...occasionally, it will randomly hang in any game
(wii or gcn), and then the entire PC will hang (except the cursor), and the all the
windows will only update every ~5 seconds. Then, after you have managed to close
Dolphin, if you start another game, it boots, but the same crash immediately occurs.
The only way to fix it is to restart the computer...It's really getting annoying.

Actually, games run for a few frames at ~0.1 fps, so it's not really a "crash", more
like a major slowdown. I let it go for about 10 minutes, and this error popped up:


Microsoft Visual C++ Runtime Library [X]
___
/ \ Runtime Error!
___/ Program: ...inary\Win32
abnormal program termination
[OK]

And once I got a BSOD that said something about a hardware driver getting stuck in
an infinite loop...

Actions #3

Updated by marcus about 15 years ago

  • Relates to usability set to Yes
  • Issue type set to Bug
  • Priority set to High
  • Category set to unknown
  • Operating system N/A added
Actions #4

Updated by lpfaint99 about 15 years ago

  • Category deleted (unknown)
  • Operating system N/A added
  • Operating system deleted (N/A)

any specific games? wiisports, wiiplay, ssbb all launch ok for me

Actions #5

Updated by marcus about 15 years ago

Talking to me or Autoran?

Actions #6

Updated by lpfaint99 about 15 years ago

either one, or both

Actions #7

Updated by Autoran1 about 15 years ago

Latest revs works fine but only with SystemTimers.cpp downgraded to 2936, i don't
know the code specific so it's up to you devs

Actions #8

Updated by lpfaint99 about 15 years ago

with systemtimers from 2937, are you running with dsp-lle on thread?

Actions #9

Updated by marcus about 15 years ago

well, for me, it can happen on any game.

Actions #10

Updated by lpfaint99 about 15 years ago

: can you check to make sure dsp-lle is not on thread in your config
window, that could cause this

Actions #11

Updated by marcus about 15 years ago

Yep, it's on. Thanks for fix :)

But I thought threads got killed when the application exits...

Actions #12

Updated by marcus about 15 years ago

  • Status changed from New to Questionable
  • Relates to usability changed from Yes to No
  • Priority changed from High to Normal

Back to the original issue report...What's the problem with SystemTimers?

Actions #13

Updated by lpfaint99 about 15 years ago

the system timers change was adding the lle on thread which is why I wanted Autor...
to test with that as well

Actions #14

Updated by Autoran1 about 15 years ago

Look's like game really hangs with LLE on thread OFF, with on loads fine

Actions #15

Updated by Valentin.Meriel about 15 years ago

Hi,

I did some research on the problem to see where they come. And I discovered that the
problem occurs when the DSP LLE Theard is on off and used the plug-in HLE, but in
other cases its working properly.

And the bug has been introduced with the R2937

Actions #16

Updated by marcus about 15 years ago

"when the DSP LLE Theard is on off"

Is that on or off?

Actions #17

Updated by lpfaint99 about 15 years ago

HLE plugin requires that DSPLLE on thread is on

Actions #18

Updated by Valentin.Meriel about 15 years ago

when the option is check game work porperly and when the option is uncheck game bug

Actions #21

Updated by XTra.KrazzY about 15 years ago

  • Status changed from Questionable to Accepted

Yes this checkbox is weird and it's ector's fault :P

Actions #22

Updated by nakeee about 15 years ago

ok we should either fix it or make it not affect hle...
I'm tired of poeple complaining about it not working...

Actions #23

Updated by hrydgard about 15 years ago

yeah yeah I'll fix it soon .. Just need to figure out why it affects HLE in the first
place, it shouldn't :p

Actions #24

Updated by nakeee almost 15 years ago

Any news on that one?

Actions #25

Updated by marcus almost 15 years ago

It still crashes for me...

Actions #26

Updated by death2droid almost 15 years ago

I think he was talking about hrygard :P

Actions #27

Updated by marcus almost 15 years ago

oh...

oops :)

Actions #28

Updated by ayuanx over 14 years ago

I don't think "DSP-LLE on thread" option has anything to do with DSP-HLE, should we
close this now?

Actions #29

Updated by nakeee over 14 years ago

Is this bug still relevant?

Actions #30

Updated by skidau over 14 years ago

  • Status changed from Accepted to Work started

I think I know what the problem is - it is the TODO inside SystemTimers.cpp

Will do some testing tonight.

Actions #31

Updated by LM1234 over 14 years ago

As far as i see this option has no influence on DSPHLE.
It's only important for DSPLLE and it should be "off" for DSPLLE to work correctly.

Actions #32

Updated by lpfaint99 over 14 years ago

wasnt the original issue fixed by r4380?

Actions #33

Updated by skidau over 14 years ago

LM1234, would you please confirm and hardcode the DSP_PERIOD to the off position,
removing the if statement?

Actions #34

Updated by skidau over 14 years ago

  • Status changed from Work started to Fixed

I was reviewing an old version of the code. Closing this issue as it has since been
fixed.

Actions

Also available in: Atom PDF