No OpenGL for me?

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Post Reply
NFITC1
Rookie
Posts: 36
Joined: Wed Jun 21, 2006 4:58 pm
Location: 127.0.0.1
Contact:

No OpenGL for me?

Post by NFITC1 »

So I compiled the Linux version of ZSNES and I wanted to change resolutions since 512x448 isn't very large looking on my 1280x800 screen. However, every windowed resolution greater than the 512x448 won't work. Every time I try to chance it, the terminal reports:

Code: Select all

Could not set XXXXxYYY-GL video mode.
But when it configured/compiled it recognized my OpenGL support, and I can get other OpenGL programs to run just fine. How can I tell what's wrong and what could I do to fix it?
NFITC1
Rookie
Posts: 36
Joined: Wed Jun 21, 2006 4:58 pm
Location: 127.0.0.1
Contact:

Post by NFITC1 »

OK, so I realized that what I said was not clear at all. I know what the problem is in more detail now. When I attempt a make, it always says "ignoring incompatible libGL.so for -lGL" or something like that.
That just blows. I've got an ATI Mobility 9700 that doesn't have good OpenGL drivers. ATI just doesn't jive with Linux right now.... Anyway, if anyone has any suggestions or links to better drivers I'd greatly appreciate it.
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Use MESA and/or use the open source ATI drivers.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
NFITC1
Rookie
Posts: 36
Joined: Wed Jun 21, 2006 4:58 pm
Location: 127.0.0.1
Contact:

Post by NFITC1 »

I tried installing MESA and I don't think it took. I'll have to try again.
I'm using the ATI drivers that are offered on their website, are those the ones you're talking about?
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

No, these are a separate set of drivers maintained by another group (not ATI).
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Aerdan
Winter Knight
Posts: 467
Joined: Mon Aug 16, 2004 10:16 pm
Contact:

Post by Aerdan »

Did you try installing the -dev package for Mesa?

If not, that's your problem.
NFITC1
Rookie
Posts: 36
Joined: Wed Jun 21, 2006 4:58 pm
Location: 127.0.0.1
Contact:

Post by NFITC1 »

I can't find the dev Mesa package. Where is it or what's it called? Also, where/what's the name of these open source ATI OpenGL drivers that Deathlike2 mentioned?
NFITC1
Rookie
Posts: 36
Joined: Wed Jun 21, 2006 4:58 pm
Location: 127.0.0.1
Contact:

Post by NFITC1 »

The Mesa package I have is called "libgl1-mesa-dev" and is for the x86_64 version of Ubuntu 7.04. How do I tell the config file to use it as the renderer? Or how do I get the x86 version of it so I can use that during compile?
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

NFITC1 wrote:The Mesa package I have is called "libgl1-mesa-dev" and is for the x86_64 version of Ubuntu 7.04. How do I tell the config file to use it as the renderer? Or how do I get the x86 version of it so I can use that during compile?
Just run configure, it should tell you if it finds it and tell you if OpenGL support is enabled.

You probably should get the x86 version for good measure.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
NFITC1
Rookie
Posts: 36
Joined: Wed Jun 21, 2006 4:58 pm
Location: 127.0.0.1
Contact:

Post by NFITC1 »

It tells me that it finds OpenGL, but every time I try to make I get the same error I mentioned earlier.
I'll look around for the x86 package and see what happens.
NFITC1
Rookie
Posts: 36
Joined: Wed Jun 21, 2006 4:58 pm
Location: 127.0.0.1
Contact:

Post by NFITC1 »

So I found the x86 version and it didn't work for me either. I'm getting the same errors. Any other ideas?
What version of what package IS compatible?
NFITC1
Rookie
Posts: 36
Joined: Wed Jun 21, 2006 4:58 pm
Location: 127.0.0.1
Contact:

Post by NFITC1 »

I finally resigned myself with the knowledge that I have an ATI card on my laptop (therefore, can't do anything about it) and just won't get custome OpenGL progs (e.g. zsnes) to work in Linux. :( I tried every mesa package I could find (except mesa-swk since that seems to remove many essential packages). I guess I'll just have to play at 512x448 from now on.
If anyone has any other suggestions please let me know.
Post Reply