Dolphin, the GameCube and Wii emulator - Forums

Full Version: Lag in games - solved
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hi everyone,

I have a new pc and a problem that never occured onmy old one.
I can run all games at 4x native 60 fps but I encounter a problem in games:
every minutes or so, I have a lag in the game (the game make a kind of stop and restart immediately, like you do a quick save on a pc game). It is as the emulator had to think for a second on what to do next. I encounter that in most of games  and tried everything possible in the configuration (with/without double core, min quality/resolution, native resolution, without vertical synchro, all audios possible, play with keyboard), I've tried
to update drivers but without success. I tried on a friend's computer with same config and no problem. I don't know what to do next.  
Is there a way to see what emulator is doing on each activity?
As anyone ever had the same problem?

Thanks and regards,
Does this also happen in the latest dev build from here: https://dolphin-emu.org/download/ (latest is 4.0-5152 as of writing)
(01-20-2015, 07:34 AM)KHg8m3r Wrote: [ -> ]Does this also happen in the latest dev build from here: https://dolphin-emu.org/download/ (latest is 4.0-5152 as of writing)

Hi KHg8m3r,

I've just tried and yes, same problem...
I see 3 possibilities:
- problem between dolphin and cpu
- problem between dolphin and graphic card
- software who interfers....

Is there a console to see the activity of the emulator task by task?

Thanks and regards,
It's probably shader compilation; every time you load a new area/model/etc. the GameCube/Wii can change how their GPU does stuff, and it's very expensive to change on our modern GPUs, meaning that you get a stutter while it compiles new shaders to emulate the changes.
You could boot Dolphin into debug mode, but I doubt any of that will be useful to you.

Run through an area twice (like play the same level twice) and see if you get the lag on the second time.
(01-20-2015, 07:58 AM)JMC47 Wrote: [ -> ]It's probably shader compilation; every time you load a new area/model/etc. the GameCube/Wii can change how their GPU does stuff, and it's very expensive to change on our modern GPUs, meaning that you get a stutter while it compiles new shaders to emulate the changes.

Hi JMC47,

I just tried Resident Evil Rebirth. In this game, it does that lag even while changing from room with the door animation. I forgot to say that even in titles screens or in videos, it can occurs...

For your remark about shader compilation, is there something to do about it? Seems to be something like that...


Thanks and regards,
Hi,


it seems that I'm suffering from micro stuttering. I've played at Nightfire pal 50fps and the lag was no present for about 5 minutes then came back often...
Hi,

Something interresting. I just played Baldur's gate on Romstation. Same version of the game and the game doesn't lag.
I've picked up the same revision, put the same settings and the game lags on my computer...

Very strange...
Does this happen in 4.0-5323 from here: https://dolphin-emu.org/download/
(01-20-2015, 08:04 AM)doohan Wrote: [ -> ]For your remark about shader compilation, is there something to do about it? Seems to be something like that...


Thanks and regards,

Yes you could use this build with Async shader compilation:
https://forums.dolphin-emu.org/Thread-unofficial-ishiiruka-dolphin-custom-version
Pages: 1 2 3