Emulator Issues #7908
closedOpenGL garbage since 3D Stereoscopic 3D support on OS X with ATI Radeon HD 4670
0%
Description
Game Name?
Any Game (Wii & Gamecube)
Game ID?
Any Game
What's the problem? Describe what went wrong in few words.
Since Stereoscopic 3D support (Oct 29 / github pull#1439) the game window displays garbage on my iMac 21" with ATI Radeon HD 4670 & OS X 10.10.1.
All previous commits (before and 0e3d20c (JIT:clear FIFO write addresses) works fine on this iMac 21".
However it seems more a GPU specific ATI Radeon HD 4670 problem, since the version with Stereoscopic 3D works also on my Mac Mini with NVIDIA GeForce 320M.
What did you expect to happen instead?
The game window displaying correctly the selected game
What steps will reproduce the problem?
- Launch Dolphin 4.0-4350 on OS X 10.10.1 and iMac 21" ATI Radeon HD 4670
- Launch a game
- The game window will display lot of garbage even when changing Graphics specific settings
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?
Dolphin 4.0-4350
Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
Dolphin 4.0-4283 (so just before the Stereoscopic 3D support)
What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
iMac 21 Mid 2010 / processor: 3,06GHz Intel Core i3 / RAM: 4GB / GPU: ATI Radeon HD 4670 256MB
on Mac OS X Yosemite 10.10.1
Is there any other relevant information? (e.g. logs, screenshots, configuration files)
It seems to be specific with the ATI Radeon HD 4670, since it works on my Mac Mini with NVIDIA GeForce 320M.
Also I deleted all the Config files and also the Cache file from the Library/Application Support/Dolphin, even recompiled the whole code...but it's always the same problem.
Updated by degasus about 10 years ago
Do you have any kind of antialiasing enabled? If so, then this bug is likely the same as on windows.
Updated by Armada about 10 years ago
Can you give us a screenshot of the game window filled with garbage?
Updated by celgilles about 10 years ago
Ok can I upload a small screenshot on this page ?
Updated by celgilles about 10 years ago
Here are 2 screenshots of Dolphin-4350 (which enables Stereoscopic 3D) on my iMac 21" with ATI Radeon 4670. Note that the application "OpenGL Extensions Viewer" OpenGL tests all works properly (with Anisotropy ON) up to OpenGL 3.3
Updated by celgilles about 10 years ago
The latest build Dolphin 4.0-4473 has also the same issue as Dolphin 4.0-4350, even with every "Enhancements" or "Hacks" turned OFF or ON :-(
Updated by Armada about 10 years ago
Are you sure Anti-Aliasing is disabled? (Set to 1x)
Do you have this problem with every game you play or just a few?
Updated by celgilles about 10 years ago
Yeah right same issue on every game (Wii or Gamecube) since Stereoscopic 3D support...also with or without Anti-Aliasing set to "NONE". I tried everything possible in the Graphics Config dialog.
Updated by Armada about 10 years ago
Ok, then this is most likely just a general incompatibility with layered textures.
Please try this build: http://dl.dolphin-emu.org/prs/pr-1651-dolphin-latest.dmg
Updated by ZephyrSurfer about 10 years ago
@Jules how did you provide a OSX build if it failed in github?
Updated by celgilles about 10 years ago
Yes! Thanks Jules.B!! it works with Anti-Aliasing set to NONE, however with Anti-Aliasing to "2" or higher I get a garbaged game window. Setting it back to "NONE" while the game is running the game window switches from garbage to normal...
Thanks for your effort.
Updated by Armada about 10 years ago
- Status changed from New to Fix pending
@patrickferry
Because the build did not fail, only lint failed on a small cosmetic error unrelated tot the PR.
@celgilles
Ok, that shows that your GPU is at least compatible with layered textures, but not with layered framebuffers. We've indeed also found a problem with Anti-Aliasing where blitting from a non-layered framebuffer to a layered texture outputs garbage on some GPUs.
I'll finish up the PR and have it ready for merge later today.
Updated by celgilles about 10 years ago
Ok thanks for the description of the issue...Ok I'm waiting and will let you know
Updated by Armada about 10 years ago
Please test the latest build: http://dl.dolphin-emu.org/prs/pr-1651-dolphin-latest.dmg
The PR is ready to merge. If everything went well, this build should behave the same as the previous one.
Updated by Armada about 10 years ago
I just made another change to the that build, Anti-Aliasing should also work correctly. It was unrelated to blitting after all.
Updated by Armada about 10 years ago
Can you try it again? I think you downloaded a build that still has an error.
Updated by celgilles about 10 years ago
I just tried again..it seems to be the same build, the DMG is from time 21:03...still has garbage
http://dl.dolphin-emu.org/prs/pr-1651-dolphin-latest.dmg
Updated by Armada about 10 years ago
Ok, but it still works as long as Anti-Aliasing is off right?
Updated by celgilles about 10 years ago
No still garbage, even with AA to "NONE"...the one who works with AA to "NONE" is the build from comment #8
Updated by Armada about 10 years ago
This is very strange, as there should be no functional difference between the two. Please try the latest build: http://dl.dolphin-emu.org/prs/pr-1651-dolphin-latest.dmg
Updated by celgilles about 10 years ago
Sounds crazy and strange, but your latest dolphin build from comment #20 has still garbage at any AA settjngs...
Updated by Armada about 10 years ago
Please try the latest build: http://dl.dolphin-emu.org/prs/pr-1651-dolphin-latest.dmg
Updated by celgilles about 10 years ago
YEAH! Ok the build from #22 works! But only with AA set to "NONE"...all other AA settings gives garbage...
Updated by Armada about 10 years ago
One more build: http://dl.dolphin-emu.org/prs/pr-1651-dolphin-latest.dmg
I'll move to merge that one and I'll try to fix AA on your GPU in a later PR. It's probably the framebuffer blit after all.
Updated by celgilles about 10 years ago
Tried the build of #24: works, but only for AA set to "NONE", all other AA settings renders garbage!
Thanks again for your effort.
Updated by JMC4789 about 10 years ago
I think the best option is to not support AA on graphics cards that don't have their shit together :P
Updated by celgilles about 10 years ago
I set AA mostly to NONE to get the best performance ;-)
Updated by Armada about 10 years ago
The problem will probably be fixed by supporting MSAA with stereoscopic 3D, it'll be a two birds with one stone situation.
Updated by JMC4789 about 10 years ago
Oh, that's excellent! That works for everyone, then.
Updated by Armada about 10 years ago
Try this build, it has been merged and may fix AA for you: https://dolphin-emu.org/download/dev/a381d25d7680f393dd9d34fc2df80ffc42cc4597/
Updated by JMC4789 about 10 years ago
- Status changed from Fix pending to Fixed
Assuming fixed by 4.0-4476 -> https://dolphin-emu.org/download/dev/a381d25d7680f393dd9d34fc2df80ffc42cc4597/
Updated by celgilles about 10 years ago
Thanks all! I just tested again and it the games works again, but ONLY with Anti-Aliasing set to "NONE"...all other AA settings renders garbage. But I don't mind, since most of the time I'm not using AA ;-)
Thanks all!
Updated by JMC4789 about 10 years ago
Yeah, the AA will probably get fixed by something else; I wouldn't worry about it too much!