Strange diagonal split in OpenGL mode

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
Davidian
New Member
Posts: 4
Joined: Fri Feb 25, 2005 6:28 am

Strange diagonal split in OpenGL mode

Post by Davidian »

If I run ZSNES in an OpenGL mode the display is split diagonaly from the upper right corner to the lower left. It isn't noticable unless there is some sort of animation going on. The upper left triangular section appears to be running at a much lower frame rate than the lower right section which is running great.

I have disabled all filters and am running at the lowest possible resolution.

My system specs are:

Linux 2.6.10
ATI fglrx driver 8.10.19
X.org 6.8.1

AMD AthlonXP 2400+
ATI Radeon 9800 SE
1 GB RAM
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

Is it only some games or all games that this happens?
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
Davidian
New Member
Posts: 4
Joined: Fri Feb 25, 2005 6:28 am

Post by Davidian »

All games. I can even see it in the GUI if I have one of those effects running.
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

It definitely sounds like a weird interaction between zsnes and your video card. Does the diagonal split affect the GUI bar at the top? Or just the animated part below?

Someone with more experience with the SDL/Linux builds would have to help you more.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
Davidian
New Member
Posts: 4
Joined: Fri Feb 25, 2005 6:28 am

Post by Davidian »

I would guess that it is since it is almost completely in the upper left section. It isn't animated though so I can't really tell for sure.
darkfalz
Rookie
Posts: 15
Joined: Wed Jul 28, 2004 5:38 pm

Post by darkfalz »

I can explain this.

In 2D 3D mode (if that makes sense) then a rectangle is rendered directly as a rectangle.

In true 3D rendering mode however, there's no such thing as a rectangle. A rectangle is rendered as two triangles. The line you are seeing is the join between the triangles.

I know this is true for Direct3D, but I guess OpenGL is similar. This may be dependent on the driver, the API or the code itself, but that's the cause.
Noxious Ninja
Dark Wind
Posts: 1271
Joined: Thu Jul 29, 2004 8:58 pm
Location: Texas
Contact:

Post by Noxious Ninja »

That explains why a triangle effect is possible, but it doesn't explain why it happens.
[u][url=http://bash.org/?577451]#577451[/url][/u]
Reznor007
Lurker
Posts: 118
Joined: Fri Jul 30, 2004 8:11 am
Contact:

Post by Reznor007 »

Driver bug most likely.
pagefault
ZSNES Developer
ZSNES Developer
Posts: 812
Joined: Tue Aug 17, 2004 5:24 am
Location: In your garden

Post by pagefault »

I never saw this bug, What are the exact settings you are using? I have similar hardware specs.
Davidian
New Member
Posts: 4
Joined: Fri Feb 25, 2005 6:28 am

8-Point Interpolation

Post by Davidian »

Turns out the problem was actually in the sound options the whole time! Turning off 8-Point Interpolation did the trick. Also, zsnes hasn't crashed on me since. It was crashing alot with 8-Point turned on.
Post Reply