Dolphin, the GameCube and Wii emulator - Forums

Full Version: OpenGL broken in new builds?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I posted this in the 3.5 announcement thread and wanted to make sure it's just not me experiencing the problem. All of the newest builds work fine with the directx backends but are completely distorted with openGL regardless of which game is played or what settings are used. Here's a shot of SMG2 displaying the problem:
[Image: 8307857998_696f995e4d_z.jpg]

OpenGL in 3.5-2 works just fine. 3.5-33 is the one that broke it and 3.5-104 still has the issue. Can anyone else confirm it?
Tested 3.5-105, SMG2 plays the same as always:

Spoiler:
Post your settings. Your results are pretty trippy :p
Known problem.
Nerrel, I'm sorry, I wasn't able to reproduce this bug, so I can only guess.

So, first one: http://dl.dolphin-emu.org/wips/degasus-d...%2b-x64.7z
Is it fixed here?

Do you have some uncommon settings?
(12-28-2012, 09:26 PM)degasus Wrote: [ -> ]So, first one: http://dl.dolphin-emu.org/wips/degasus-d...%2b-x64.7z
Is it fixed here?
The first time I ran Mario Galaxy 2 it was not, it was distorted the same way. I closed the game and tried lowering the IR to 1x just to see if it made a difference and it worked; everything looked normal again when I reloaded the game. I then raised the IR back up through every interval to 4x while the title screen was running and it still worked fine. I closed the game and reloaded it at 4x and still, worked just fine.

Then I tried DKCR at 4xIR and it broke again... SMG2 broke when loading at 4x again as well, even though it had just loaded at the res without an issue. No settings were changed other than the IR. I tried booting both games at 1x again... It didn't work for either.

Changing the IR while the game was running with a glitched screen fixed the problem and returned the game to normal. I could then change the resolution to whatever I wanted, all the way to 4x, without the glitch returning. It seems like there's some issue with loading a game in OpenGL in builds after 3.5-33 that leads to this distortion no matter what internal resolution is initially chosen. It goes away easily enough if the IR is changed after the game loads; it doesn't have to be lowered to 1x to get rid of the distortion, any change to the IR setting at all fixes the problem.

Another interesting (is it?) thing is that changing the IR to "window size" while the game is windowed causes the glitched appearance, even if the game was working normally beforehand. The glitch then goes away when fullscreen is enabled, and does not return if I exit fullscreen and window the game again.


My settings are mostly at default aside from the resolution enhancements. I'm listing only the boxes I have checked-

Config:
Enable dual core
Enable idle skipping
Framelimit: Auto
JIT recompiler

DSP HLE
Xaudio2
48000hz

Graphics:
OpenGL
Nvidia Geforce GTS 450
Fullscreen res: 1920x1080
Hide mouse cursor

IR: 4x
AA: none
AF: 16x
Post processing effect: off
Scaled EFB copy

EFB to texture
Enable cache (set to fast)
Disable external frame buffer
Disable per-pixel depth
OpenMP texture decoder (doesn't make a difference if it's on or off)

The only thing checked in the advanced tab is "enable hot keys." Would it be worth reinstalling my graphics card driver to see if it fixes the problem?
I get the correct image with exactly the same settings.

In the last build, I always set all pointer, now I always disable VAO/VBO. So lets try this:
http://dl.dolphin-emu.org/wips/degasus-d...%2b-x64.7z

If you want, i'm usually on #dolphin-emu / EFNet. These try and error tests will be faster there

Which driver version do you use? I don't except a fix in reinstall the driver. Updating may help, but I don't think so.

Edit:
If this is working (I don't think so, but hey...) could you please also test newest master?

Thanks
That fixed it! I couldn't get the broken visuals to appear with any game no matter how many times I loaded while using the version you just posted. Thanks a lot for the help.

Unfortunately, openGL in the 3.5-109 master is still broken. I have no clue why this would be a problem on my system and no one else's, as I'm not using any unusual hardware or special settings, but at least you seem to have found a solution. I did try uninstalling my driver (310.70) to do a clean reinstall but it did nothing.
(12-29-2012, 09:25 AM)degasus Wrote: [ -> ]In the last build, I always set all pointer, now I always disable VAO/VBO. So lets try this:
http://dl.dolphin-emu.org/wips/degasus-d...%2b-x64.7z
I'm sorry, I shouldn't commit this to master, it will burn to much performance, but we are on the way :-)

The first try is on master, others are manual builds:
http://dl.dolphin-emu.org/builds/dolphin...112-x64.7z
http://dl.dolphin-emu.org/wips/degasus-d...%2b-x64.7z
http://dl.dolphin-emu.org/wips/degasus-d...%2b-x64.7z
http://dl.dolphin-emu.org/wips/degasus-d...%2b-x64.7z
which of them four are fixed?

Edit:
Soopah reported in irc, that is is fixed in master-112. Is it also fixed for you?
btw: if it is fixed in the first build, there would be no need to try the others.
It appears to be fixed in the 3.5-112 master, no problems loading any games. You mention that it impacts performance... what about the fix causes that to happen?
The first fix was slower. The changes to master should be as fast/slow as usual.

Thanks for reporting and testing :-)