Project

General

Profile

Actions

Emulator Issues #3479

closed

Polygon edges appear using antialiasing and OpenGL

Added by xamtheone over 13 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
GFX
% 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

What steps will reproduce the problem?
1.Play Metroid Other M (screenshot #1, #2) or Zelda Wind Waker (screenshot #5) with OpenGL plugin and antialiasing activated with an ATI graphic card

What is the expected output? What do you see instead?
Expected same result than without antialiasing (screenshot #3). Instead polygon edges appear in some games (especially Metroid Other M).

Dolphin version with the problem? Other Dolphin version without the
problem?
Bug appeared precisely in r6103 and is in all revisions up to the last one I've tried (r6381). Previous versions don't have the problem.

32-bit or 64-bit and any other build parameters?
32-bit

OS version and versions of tools/libraries used?
Windows XP PRO (fr) 32bits

Please provide any additional information below.
The bug only occurs when antialiasing is activated in OpenGL, at any level (from 2x to 16xCSAA). I've tried changing all other parameters but that's the only cause to the problem it seems. DX9 is not affected.

I have recently changed my graphic card, I used to have a NVIDIA GeForce 8800 GTS 512MB, and now have a ATI Radeon HD5870 2GB. I'm pretty sure the bug appeared when I changed my graphic card, so it's probably a problem with recent ATI cards only and/or drivers...

If per-pixel lighting is enabled, the bug is less visible in some parts of the games. Disabling material lighting (screenshot #4) also seems to hide more or less the lines.

Actions #1

Updated by MofoMan2000 over 13 years ago

I'm not sure what you mean by "polygon edges" but the screenshots look perfectly normal. Judging from your original post, you expected antialiasing to do absolutely nothing so... do you know what antialiasing actually does?

Actions #2

Updated by xamtheone over 13 years ago

Okay, you didn't get my point. Let's take a closer look at pics #2 and #3.

I hope you can see more clearly in this first pic what I mean.

I DO know what antialiasing does, have been using it since my first Geforce 256 SDR back in '99 and hope this won't be too hard to fix :).

I've taken pics in 1920x1200, but things are much more visible in native internal resolution as seen on screenshot #2.

Actions #3

Updated by skidau over 13 years ago

Is this issue reproducible on a nvidia card?

Actions #4

Updated by xamtheone over 13 years ago

@skidau No idea. Like I said, didn't see this when I was using a nvidia card. It's really visible with per pixel lighting turned off. Somehow, like on Anthony's face in previous screenshot for example, enabling per pixel lighting corrects the bug in some places.

By the way this is the first level of Other M after training, but I played it through chapter 2 in theater mode.

Actions #5

Updated by skidau over 13 years ago

The Wind Waker problem is unrelated to the Other M problem. That problem is issue 3423.

It would be great if anyone could confirm the Other M problem on a nvidia card.

Actions #6

Updated by xamtheone over 13 years ago

I tried both games on r6102 and r6103, the problem clearly appeared in r6103. Just to clarify. Super mario galaxy is affected to, if anyone wants to try that (probably most games are concerned, but at different degrees).

Actions #7

Updated by xamtheone about 13 years ago

A little update:
I'm still experiencing the bug but it affects also some other games running on OpenGL. I've noticed the same problem in Minecraft, without antialiasing this time although it's more visible with.

I also found someone with the same problem when rendering a model with OpenGL:
http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=252197

And someone indicates the possible cause of the problem to be this:
http://www.opengl.org/pipeline/article/vol003_6/

If that is of any help...

Actions #8

Updated by Billiard26 over 11 years ago

  • Status changed from New to Questionable
  • Issue type set to Bug
  • Category set to gfx
Actions #9

Updated by NeoBrainX about 11 years ago

  • Status changed from Questionable to Fixed

Fixed by revision 7514b4196614.

Actions

Also available in: Atom PDF