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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 388 389 390 391 392 ... 1180 Next »

System-wide Lag after Second Dolphin Launch
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
System-wide Lag after Second Dolphin Launch
05-28-2016, 11:45 AM
#1
VoceDeiMorti
Unregistered
 
Exclamation 
The first time I launch the program after a fresh boot, Everything runs beautifully. I can even play multiple games in a single session without any issues. However, if I close Dolphin, the second time I launch it my entire system lags. All dialogue boxes appear see-through for about 10 seconds, and windows seems incredibly slow and bogged down even after closing dolphin again. Resource monitor shows nothing strange. Please help. I am forced to restart my system every time I run dolphin to prevent this, which is annoying.
Reply
05-28-2016, 04:49 PM
#2
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,534
Threads: 29
Joined: Feb 2013
It could be some kind of libUSB issue on your system. Maybe that thread is getting messed up? Try disabling Native GameCube Controller support or using a build prior to it being added.
Find
Reply
05-28-2016, 11:15 PM
#3
VoceDeiMorti
Unregistered
 
I've tried using 4.0.2, but then I get occasional crashes on the first launch. Should I try going back even further? Is there a version you'd suggest? Also, I use a dolphinbar. Would eliminating libusb prevent that?
Reply
06-02-2016, 03:41 AM
#4
VoceDeiMorti
Unregistered
 
For every problem, there is a solution!!!

I may re-post this with a more appropriate title later on, but for those who stumbled upon this thread, the lag I experienced was a soft-crash of "Explorer.exe" on the second launch of Dolphin. After verifying that the lag was not system-wide and that restarting the process resolved the issue, I created a text Document containing:

TASKKILL /IM EXPLORER.EXE /F
start Dolphin.exe
start explorer.exe


save this as "DolphinLauncher.bat" and use it to open dolphin instead of "Dolphin.exe". This restarts "Explorer.exe" automatically on each launch, completely resolving the issue.



Credit to shideravan who posted a very similar script resolving a different issue way back in 2010.
Reply
06-02-2016, 04:30 AM
#5
Helios Offline
Stellaaaaaaa
**********
Developers (Some Administrators and Super Moderators)
Posts: 4,395
Threads: 15
Joined: May 2012
ugly hack to work around the issue.

I like it.
Find
Reply
06-02-2016, 06:18 AM
#6
VoceDeiMorti
Unregistered
 
It gets Uglier...

So this is all on my HTPC which boots into Steam Big Picture. The aforementioned script had to be amended because steam was responding to the cmd terminal instead of Dolphin, and therefore reclaiming focus. Since there was no explorer process to quickly navigate back to Dolphin, I had to add a "/wait" command to keep the terminal open. In addition, Steam was not allowing the taskbar to return without the full location of explorer.exe. After all of that, the taskbar would reappear, but was stuck in the foreground of all my fullscreen applications. I COULD hide the taskbar, but at this point... F*** Steam.

The script now reads:

TASKKILL /IM EXPLORER.EXE /F
TASKKILL /IM STEAM.EXE /F
start /max /wait Dolphin.exe
start C:\Windows\Explorer.exe
start steam://open/bigpicture


I'd love to see a more elegant solution if anyone has one, but for the time-being I am content.

Interestingly, I got about a 10% FPS bump in Dolphin. Not a bad day.
Reply
« Next Oldest | Next Newest »


  • 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