Project

General

Profile

Actions

Emulator Issues #7671

closed

Screen Tearing in OpenGL Fullscreen (All Games, only affects certain computers for unknown reasons)

Added by Anonymous over 9 years ago.

Status:
Fixed
Priority:
Low
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

Game Name?
All

Game ID?
All

What's the problem? Describe what went wrong in few words.
Regardless of whether Vsync is checked or not in settings, the screen suffers horrible vertical tearing using the OpenGL backend (and an Nvidia card, not sure if that's relevant).

What did you expect to happen instead?
I expected that checking the Vsync option in settings would eliminate vertical tearing.

What steps will reproduce the problem?

  1. Start Dolphin
  2. Switch Graphics Backend to OpenGL if it is not already set to that
  3. Make sure fullscreen is on
  4. Start Game and cry tears of sadness

Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?
4.0-3186

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?

I haven't tested this, but I feel confident that any version before the whole "exclusive fullscreen" thing that happened in July would work, as I am pretty sure that is the issue here, considering it doesn't happen in windowed mode.
What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
[Upload big files to a hosting service and post links here!]

[Do not attach files to this issue. Upload them to another site and
link here. Use imgur.com for images and pastie.org for logs. Monitor the
email address that was used to create this issue.]

Actions #1

Updated by Anonymous over 9 years ago

Sorry, forgot some information here--Operating system is Windows 7 Home Premium SP1 x64, CPU is i7-4700MQ (IIRC), and GPU is Nvidia GeForce GT 750M.

Actions #2

Updated by JMC4789 over 9 years ago

I'm unable to reproduce. Have you tried checking "Render Window on Top" and making sure Render to Main Window is unchecked?

Actions #3

Updated by Anonymous over 9 years ago

It tears even when Render to Main Window is unchecked, but even so, I get tons more framerate stutters when I don't render to the main window. I'm looking for a fix, not a workaround. Also, Render Window on Top does nothing.

Actions #4

Updated by JMC4789 over 9 years ago

I have a NVIDIA card, and I'm not having the issue on a dual monitor setup where exclusive fullscreen may have problems. We need to figure out what's wrong before we can find a fix, and these "suggestions" were to try and figure out what could be causing it.

Actions #5

Updated by Anonymous over 9 years ago

I don't know what problems a dual monitor setup would introduce/fix. I'm on a laptop. Are there any other relevant settings?

Actions #6

Updated by JMC4789 over 9 years ago

Can you try turning off Windows Aero (select a basic profile?) and then using vsync in full screen.

Actions #7

Updated by Anonymous over 9 years ago

Tried enabling a basic theme (no Aero), tearing still happened. And for some reason I started dropping frames like crazy even though performance was at 100%, but that's probably unrelated.

Actions #8

Updated by JMC4789 over 9 years ago

  • Status changed from New to Questionable
  • Priority set to Low

I really have no idea what's going on. I don't want to accept this issue when multiple developers on multiple PCs can't reproduce it, but at the same time I've seen a lot of people confirm it as well!

As such, I'll go the easy way out.

Actions #9

Updated by Armada over 9 years ago

I think his deduction about this issue being uncovered by the exclusive fullscreen support is correct. It grants OpenGL full control over the screen, therefore V-Sync is the responsibility of OpenGL. (So make absolutely sure V-Sync is enabled)

When you're not in exclusive fullscreen Aero will handle V-Sync. If you disable Aero you should notice tearing both in fullscreen and windowed mode. Could you confirm that?

If that is the case it means OpenGL is not handling V-Sync correctly, either something on your PC is overriding V-Sync or it is inherently broken in the OpenGL backend. I'll try to reproduce it when I have time.

Actions #10

Updated by gamerk316 over 9 years ago

Just a thought: Its possible the NVIDIA driver could be overriding Dolphin setting. Check the NVIDIA Control Panel and make sure the Vsync setting is set to either "On" or "Application Controlled".

Also, I remember there's an issue with Windows Vista and later where Vsync doesn't quite work right depending on your desktop environment if not in exclusive fullscreen mode. I think this occurs if you don't have an aero theme. But that's another test you could try, forcing Dolphin to go into fullscreen (Not Maximized; it must be fullscreen).

Hope these ideas help.

Actions #11

Updated by JMC4789 over 9 years ago

  • Status changed from Questionable to Accepted
Actions #12

Updated by a41pizza over 9 years ago

I did some testing last night and today with my GTX 770M and HD 4600. The 770M does have screen tearing, disabling Aero doesn't help, and neither does changing the Vsync option in the Nvidia control panel. I tried fully uninstalling my drivers, downgrading to old drivers (332.21 and everything in-between), but nothing works.

However, using the Intel HD 4600, there is no issue with screen tearing under OpenGL. At all.

-KHg8m3r (I really need to change my email header to show that)

Actions #13

Updated by Armada over 9 years ago

Turning off Aero shouldn't help, instead it should show tearing even in Windowed mode which would prove that issue isn't just limited to fullscreen.

Actions #14

Updated by JMC4789 over 9 years ago

  • Status changed from Accepted to Fixed

Turned out to be an optimus thing, we think. Readded Borderless Fullscreen to OpenGL in 4.0-3587 -> https://dolphin-emu.org/download/dev/a373cc065478b814412c3e9975a9602ee5b0dd59/

Actions

Also available in: Atom PDF