Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-31-2009, 10:52 PM   #1
LQ Newbie
Registered: Apr 2008
Posts: 3

Rep: Reputation: 1
Question How can I get hardware AND software OpenGL rendering at the same time?

I want to run a game (with no name :) that requires OpenGL 2.0 to work properly. Unfortunately, I'm stuck with an old ATI Radeon r200 card (before you ask, I'm unable to upgrade), which only supports 1.4. The game does work with pure software rendering (but you know how blazingly fast that is ;). Is there any way to force Mesa to use hardware rendering for supported (1.x) OpenGL extensions, and software rendering for the unsupported (2.0+) ones? Is there a magic environment variable for this, or am I just getting my hopes up? Thanks in advance!
Old 04-01-2009, 04:32 PM   #2
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
The only way to do that would be if the driver for your video card actually supports it. For this, the driver would have to comply with opengl 2.0, and resort to software routines when the adequate hardware support can't be found. I have no idea if there's any driver that can do that. I see no way around that. However note that we are talking about major changes from 1.4 to 2.0, so I think it would still be unplayable even if you manage to accelerate the simpler extensions. Though of course it would depends on what extensions does the game use, and how does it use them.
Old 04-01-2009, 10:08 PM   #3
LQ Newbie
Registered: Apr 2008
Posts: 3

Original Poster
Rep: Reputation: 1
I kind of thought that was the case. This was something of a last resort; I just wanted to stay out of the DRI/Xorg video driver source code (I'm really lazy, aren't I?) I guess now I can go and add fake OpenGL 2.0 support and software fallback to the r200 driver (my dusty C skills permitting). If the developers don't get a patch from me in a month, it's because I'm dead. I mean lazy. And this ain't no APRIL FOOLS! joke.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
opengl slower then software rendering Youri Linux - Hardware 3 05-21-2005 05:57 AM
libgl opengl rendering problem Astro Slackware 5 05-15-2005 07:34 PM
OpenGL rendering firenze Fedora 0 11-18-2004 11:04 AM
Low frame rate in OpenGL software rendering. clb Linux - Laptop and Netbook 5 09-07-2004 06:12 PM
mandrake 10.opengl direct rendering etc tjb Linux - Newbie 1 05-21-2004 11:19 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration