Dolphin, the GameCube and Wii emulator - Forums

Full Version: OpenGL = Screen Tearing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9
I have the same problem with v-sync and I also have an Nvidia mobile GPU, that uses optimus. Before exclusive fullscreen feature v-sync also didn't work for me, but this was logical since I had Aero disabled. Obviously, exclusive fullscreen should have solved the lack of v-sync... but it didn't (thought I must say, as users above sad, v-sync activates in D3D backend).

There is the same problem with OpenGL and v-sync in PPSSPP emulator. Here's the topic http://forums.ppsspp.org/showthread.php?tid=12590
The title shouldn't mislead you: it also happens on win 7 64x. The person with a problem also has an optimus based mobile Nvidia GPU. He also found the revision that had broken v-sync in OGL, and the commit looked like this: "Merge: 69d5c75 1ca3d39Merge pull request #5717 from thedax/win32NVidiaVSyncWin32/NVidia: go fullscreen later than previous builds, to avoid v-sync being ignored" Obviously, v-sync stopped working for me in PPSSPP too. Strangely, the older revisions of PPSSPP that had supposedly a functional v-sync exhibited a certain amount of tearing, usually at the top of the screen. Why am I writing about PPSSPP? Because I think the problems are similar, and in both cases people with the issue have Nvidia optimus GPU, and desktop PC's are unaffected.

BTW, after enabling v-sync in recent Dolphin builds (in OGL), the amount of tearing somewhat reduces: instead of going all over the screen, it shrinks to a line that slowly moves from the top to the bottom of the screen. When the tearing reaches the bottom, it disappears for a brief moment, only to appear again at the top. And then the process repeats.

That's why I also think that it has something to do with the videodriver. Recently I had tearing problems in DX10 based PC games, that were solved by upgrading the driver.

Oh, and I have some stuttering during emulation too, and they do not stem from shader generation, that's for sure: for example, in Resident Evil 4 GC PAL the 2D main menu moves to the left or to the right and it occasionally stutters. The same goes for ingame experience: if I slowly move the stick while aiming, the stuttering again manifests itself. As of note: the game runs at fullspeed. Stuttering occurs in other titles too.
I also have a laptop with Nvidia Optimus. I'm a Direct3D user so I never noticed this bug, but I figured I'd add my contribution.

i7-4700MQ
Nvidia GT 755M, all Nvidia Control Panel settings default.
Dolphin 4.0-3551, OpenGL, VSync On in fullscreen, playing Burnout 2.

There is indeed screen tearing, but it's very subtle. The slight microstutter from out-of-sync frames is much more noticeable than the tearing.
I really think we should just send a report to Nvidia... has anyone done that, or should I go ahead and do it myself?
(10-10-2014, 12:51 PM)Kurausukun Wrote: [ -> ]I really think we should just send a report to Nvidia... has anyone done that, or should I go ahead and do it myself?

I have but I haven't gotten any sort of response. Please do send it, if more people report it, then it's more likely it will be bumped up and taken a serious look at.
Please try this PR: https://github.com/dolphin-emu/dolphin/pull/1231

Build here: https://dl.dolphin-emu.org/prs/pr-1231-dolphin-latest-x64.7z

Go into advanced and enable borderless fullscreen in OpenGL. This should bring you the old behavior.
Wow, that totally works. No tearing at all. Also, it says increased input latency, but I didn't notice any... Also, there is the slight issue of a few frames dropping now and again which was always present before exclusive mode was available, but it basically works perfectly in and of itself. Hopefully it gets merged soon.
Merged with Master Smile
So should we still be sending the report to Nvidia, or can exclusive fullscreen in OGL be fixed Dolphin-side now?
Exclusive Fullscreen not working on Optimus Cards is still a bug. We just restored the old behavior.
I can confirm the default no exclusive full-screen has solved my issue as well, so I guess now I just have to wait on Nvidia. In the meantime though, Dolphin mentions exclusive full-screen has a speedup, does anyone know how significant that is, or is it very minor?
It is very minor afaik
Pages: 1 2 3 4 5 6 7 8 9