Project

General

Profile

Actions

Emulator Issues #7908

closed

OpenGL garbage since 3D Stereoscopic 3D support on OS X with ATI Radeon HD 4670

Added by celgilles over 9 years ago.

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

  1. Launch Dolphin 4.0-4350 on OS X 10.10.1 and iMac 21" ATI Radeon HD 4670
  2. Launch a game
  3. 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.

Actions #1

Updated by degasus over 9 years ago

Do you have any kind of antialiasing enabled? If so, then this bug is likely the same as on windows.

Actions #2

Updated by Armada over 9 years ago

Can you give us a screenshot of the game window filled with garbage?

Actions #3

Updated by celgilles over 9 years ago

Ok can I upload a small screenshot on this page ?

Actions #4

Updated by celgilles over 9 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

Actions #5

Updated by celgilles over 9 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 :-(

Actions #6

Updated by Armada over 9 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?

Actions #7

Updated by celgilles over 9 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.

Actions #8

Updated by Armada over 9 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

Actions #9

Updated by ZephyrSurfer over 9 years ago

@Jules how did you provide a OSX build if it failed in github?

Actions #10

Updated by celgilles over 9 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.

Actions #11

Updated by Armada over 9 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.

Actions #12

Updated by celgilles over 9 years ago

Ok thanks for the description of the issue...Ok I'm waiting and will let you know

Actions #13

Updated by Armada over 9 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.

Actions #14

Updated by Armada over 9 years ago

I just made another change to the that build, Anti-Aliasing should also work correctly. It was unrelated to blitting after all.

Actions #15

Updated by celgilles over 9 years ago

Hmm...your latest build (from comment #13) has again garbage !! I tried with differen Anti-Aliasing settings but no go.
But as I reported the build from comment #8 works, but only with Anti-Aliasing to NONE...

Actions #16

Updated by Armada over 9 years ago

Can you try it again? I think you downloaded a build that still has an error.

Actions #17

Updated by celgilles over 9 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

Actions #18

Updated by Armada over 9 years ago

Ok, but it still works as long as Anti-Aliasing is off right?

Actions #19

Updated by celgilles over 9 years ago

No still garbage, even with AA to "NONE"...the one who works with AA to "NONE" is the build from comment #8

Actions #20

Updated by Armada over 9 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

Actions #21

Updated by celgilles over 9 years ago

Sounds crazy and strange, but your latest dolphin build from comment #20 has still garbage at any AA settjngs...

Actions #23

Updated by celgilles over 9 years ago

YEAH! Ok the build from #22 works! But only with AA set to "NONE"...all other AA settings gives garbage...

Actions #24

Updated by Armada over 9 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.

Actions #25

Updated by celgilles over 9 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.

Actions #26

Updated by JMC4789 over 9 years ago

I think the best option is to not support AA on graphics cards that don't have their shit together :P

Actions #27

Updated by celgilles over 9 years ago

I set AA mostly to NONE to get the best performance ;-)

Actions #28

Updated by Armada over 9 years ago

@JMC4789

The problem will probably be fixed by supporting MSAA with stereoscopic 3D, it'll be a two birds with one stone situation.

Actions #29

Updated by JMC4789 over 9 years ago

Oh, that's excellent! That works for everyone, then.

Actions #30

Updated by Armada over 9 years ago

Try this build, it has been merged and may fix AA for you: https://dolphin-emu.org/download/dev/a381d25d7680f393dd9d34fc2df80ffc42cc4597/

Actions #31

Updated by JMC4789 over 9 years ago

  • Status changed from Fix pending to Fixed
Actions #32

Updated by celgilles over 9 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!

Actions #33

Updated by JMC4789 over 9 years ago

Yeah, the AA will probably get fixed by something else; I wouldn't worry about it too much!

Actions

Also available in: Atom PDF