LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-31-2009, 09:52 PM   #1
robjoski
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, 03:32 PM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
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, 09:08 PM   #3
robjoski
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 X.org/DRI 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.
 
  


Reply

Tags
opengl


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 04:57 AM
libgl opengl rendering problem Astro Slackware 5 05-15-2005 06:34 PM
OpenGL rendering firenze Fedora 0 11-18-2004 10:04 AM
Low frame rate in OpenGL software rendering. clb Linux - Laptop and Netbook 5 09-07-2004 05:12 PM
mandrake 10.opengl direct rendering etc tjb Linux - Newbie 1 05-21-2004 10:19 AM


All times are GMT -5. The time now is 08:31 AM.

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