• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 192 193 194 195 196 368 Next »

F**K MY LIFE
View New Posts | View Today's Posts

Pages (7): « Previous 1 2 3 4 5 6 7 Next »
Jump to page 
Thread Closed 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
F**K MY LIFE
07-08-2012, 01:16 PM
#31
Squall Leonhart Offline
Friend of local jackass
*******
Posts: 1,177
Threads: 27
Joined: Apr 2009
starscream isn't a dev
[Image: squall_sig2.gif]
[Image: squall4rinoa.png]
VBA-M
Website Find
07-08-2012, 01:19 PM
#32
tysonrss Offline
Incubator
Posts: 141
Threads: 13
Joined: Feb 2012
But delroth is.
Find
07-08-2012, 01:21 PM (This post was last modified: 07-08-2012, 01:23 PM by Squall Leonhart.)
#33
Squall Leonhart Offline
Friend of local jackass
*******
Posts: 1,177
Threads: 27
Joined: Apr 2009
delroth didn't back the claim that idle processes running in the background will make the emulator any more unstable.

processes that are chewing an inconsistent amount of cpu and io, triggering DPC and ISR issues maybe, but none of the applications in the ops tray are of this sort and won't affect dolphin stability.
[Image: squall_sig2.gif]
[Image: squall4rinoa.png]
VBA-M
Website Find
07-08-2012, 01:25 PM
#34
tysonrss Offline
Incubator
Posts: 141
Threads: 13
Joined: Feb 2012
(07-07-2012, 01:00 PM)neobrain Wrote: More stuttering => more irregular timing => more instability. You see, Dolphin's synchronization code is highly sensitive for these kind of issues.

My apologies. I meant Neobrain.
Find
07-08-2012, 01:34 PM
#35
Squall Leonhart Offline
Friend of local jackass
*******
Posts: 1,177
Threads: 27
Joined: Apr 2009
neobrain isn't infallible :p
[Image: squall_sig2.gif]
[Image: squall4rinoa.png]
VBA-M
Website Find
07-08-2012, 02:53 PM
#36
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
(07-08-2012, 01:25 PM)tysonrss Wrote:
(07-07-2012, 01:00 PM)neobrain Wrote: More stuttering => more irregular timing => more instability. You see, Dolphin's synchronization code is highly sensitive for these kind of issues.

My apologies. I meant Neobrain.

But so much things can actually cause irregular timing, I don't even think 5-10 background programs would actually be relevant. We're doing disc IO synchronously in the CPU thread FFS, which means blocking system calls in the CPU thread, which means context switching + wait for an interrupt if the data isn't in cache. Same with GL/DX calls done in the GPU thread synchronously: this inserts random latency due to several factors (driver implem, data transfer, shaders execution, ...).

Obviously there are probably still some race conditions in Dolphin's code (we know that for sure -- EFB CPU access is prone to crashes because of this for example), but compared to all the blocking stuff that always for sure interrupts CPU/GPU threads it's completely negligible. Maybe one day Dolphin will manage to extract all blocking system calls from the timing-critical paths (trying to do that with async-dvd...) but until it's done background programs are the least likely cause of bugs. And even then, if you've got more than 4 cores you could get away with increasing the Dolphin process priority and (almost) not be preempted anymore.
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
07-08-2012, 03:14 PM
#37
tysonrss Offline
Incubator
Posts: 141
Threads: 13
Joined: Feb 2012
What about if you have dual cores? Would setting the priorty to high do anything?
Find
07-08-2012, 06:55 PM
#38
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,208
Threads: 50
Joined: Jun 2009
(07-08-2012, 02:53 PM)delroth Wrote: Obviously there are probably still some race conditions in Dolphin's code (we know that for sure -- EFB CPU access is prone to crashes because of this for example)
Uhm, afaict EFB access code doesn't suffer from any race conditions, does it? oO
My blog
Me on Twitter
My wishlist on Amazon.de
Find
07-08-2012, 07:41 PM (This post was last modified: 07-08-2012, 08:24 PM by delroth.)
#39
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
(07-08-2012, 06:55 PM)neobrain Wrote:
(07-08-2012, 02:53 PM)delroth Wrote: Obviously there are probably still some race conditions in Dolphin's code (we know that for sure -- EFB CPU access is prone to crashes because of this for example)
Uhm, afaict EFB access code doesn't suffer from any race conditions, does it? oO

Depends on how much your graphics drivers are reentrant. I've managed to get Dolphin to crash in glReadPixels because it's executed in the CPU thread when accessing EFB from CPU. Only on windows, not on Linux though.

EDIT: Disregard that, I can't read code.
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
07-08-2012, 08:32 PM
#40
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,208
Threads: 50
Joined: Jun 2009
Big Grin
My blog
Me on Twitter
My wishlist on Amazon.de
Find
« Next Oldest | Next Newest »
Pages (7): « Previous 1 2 3 4 5 6 7 Next »
Jump to page 
Thread Closed 


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode