LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-12-2003, 05:19 PM   #1
unholy
Member
 
Registered: Sep 2003
Location: Eire
Distribution: Ubuntu 7.10
Posts: 344

Rep: Reputation: 30
OpenGL?


I have read every GL related post on this site. Any of the OpenGL screensavers are very 'stuttery'. You can practically see each frame refreshing. How do I configure OpenGL? I have googled, but the articles & questions usually start at specifics of getting it to work with Nvidia.

My kernel is 2.4.20-8
RedHat 9
Video card: ATI mobility 128.

From what I've read, I know that GL is on my machine in some shape of form.

I ran glxinfo and got a lot of output. If its asked for I'll post it. The only interesting thing it think was

direct rendering: no

But anyway, thanks in advance. I'd like to play tuxracer especially
 
Old 10-12-2003, 05:27 PM   #2
unholy
Member
 
Registered: Sep 2003
Location: Eire
Distribution: Ubuntu 7.10
Posts: 344

Original Poster
Rep: Reputation: 30
In case it helps, the console output when I run tuxracer (also very klunky) is..

Xlib: extension "XFree86-DRI" missing on display ":0.0".

I have the correct driver for my card installed (r128), but the "enable hardware acceleration" box is greyed out. The DPI is "unknown".

Last edited by unholy; 10-12-2003 at 05:59 PM.
 
Old 10-12-2003, 05:59 PM   #3
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
A few questions:

What resolution do you have set?

Is the ATI mobility 128 card actually a 128MB card?

Do you have the latest ATI drivers from their site?
 
Old 10-12-2003, 06:00 PM   #4
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
also what fps [frames per sec] does
glxgears
produce?
 
Old 10-12-2003, 06:09 PM   #5
unholy
Member
 
Registered: Sep 2003
Location: Eire
Distribution: Ubuntu 7.10
Posts: 344

Original Poster
Rep: Reputation: 30
1400 x 1050 is the resolution.
Its actually only an 8 meg card.
According to a website I visited http://www.tldp.org/HOWTO/Hardware-HOWTO/video.html
my driver is up to date. I'll check the website also, but I think it's up to date.

glxgears (when running in the small default window) gives me...
Xlib: extension "XFree86-DRI" missing on display ":0.0".
635 frames in 5.0 seconds = 127.000 FPS (this is the average of the outputs +/- 50FPS).
 
Old 10-12-2003, 06:09 PM   #6
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
I'd say try this........in your /etc/X11/XF86Config file
in the Section "Devices" put this under the Driver line-
Code:
Option "IgnoreEDID" "1"
 
Old 10-12-2003, 06:15 PM   #7
unholy
Member
 
Registered: Sep 2003
Location: Eire
Distribution: Ubuntu 7.10
Posts: 344

Original Poster
Rep: Reputation: 30
Mossy, the website says:

I should also mention that this is a laptop display. I've just been looking at the xfreeconfig, and the display is a generic laptop display panel. The driver seems to be bang on, but the display info is vague?

The display driver supplied with a given notebook has been customized for:

* the built-in flat panel display
* any other graphics or video options installed in that specific computer.

As a result of these customizations, ATI Customer Care is unable to offer drivers for notebooks.
We recommend that you:

* use the driver supplied with your notebook computer, or,
* obtain a driver update from the manufacturer of your notebook computer.




320mb, I'll try that when my download is finished and reboot.

Thanks both of you.

Last edited by unholy; 10-12-2003 at 06:17 PM.
 
Old 10-12-2003, 06:40 PM   #8
unholy
Member
 
Registered: Sep 2003
Location: Eire
Distribution: Ubuntu 7.10
Posts: 344

Original Poster
Rep: Reputation: 30
320mb, I tried that, but It made no difference. (As far as tuxracer is concerned anyway).
I changed my display config from the generic one to "Dell 1400 X 1050 Laptop Display", and everything works the same. No better, no worse.
 
Old 10-12-2003, 06:53 PM   #9
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
I think the resolution may be set too high for your card to run 3d apps. I would set it on 1024x768 - this will allow it to divert more attention to the applications.
 
Old 10-12-2003, 06:54 PM   #10
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
hmm. Is the frame rate any better after res change?
 
Old 10-13-2003, 09:08 AM   #11
unholy
Member
 
Registered: Sep 2003
Location: Eire
Distribution: Ubuntu 7.10
Posts: 344

Original Poster
Rep: Reputation: 30
No, theres no real improvement after changing the display. Would changing my desktop to 1024 x 768 be the same as running the app in a window of that size?

You see, I was able to play castle wolfenstein and halflife with no problems on a "previous non linux OS", so I know my hardware is up to it ( with the correct software support").
 
Old 10-13-2003, 09:58 AM   #12
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
Right but I think they default to 800x600 ~ what res are you trying to play the game?

It may not be the res but - however I don't know how to config Open GL if that's what's necessary.

Are you able to get anything 3D to work without lagging?
 
Old 10-13-2003, 10:55 AM   #13
unholy
Member
 
Registered: Sep 2003
Location: Eire
Distribution: Ubuntu 7.10
Posts: 344

Original Poster
Rep: Reputation: 30
I tried to find the res of the game, but couldnt get any verbose output. No config files for tuxracer to be found either. The game is in a little screen just over half the size of my display so I'd estimate around 800 x 600.

And no, I don't get any 3d working without lagging. Maybe it is a GL config thing then.
 
Old 10-13-2003, 02:04 PM   #14
EyesOnly
Member
 
Registered: Aug 2003
Location: The Netherlands
Distribution: SlackWare
Posts: 202

Rep: Reputation: 30
you say you dont have DRI. that means you don't have 3D acceleration, so any graphical software will run quite slow.
I have an ATI radeon 9000, and without DRI tuxracer gave me a framerate of about 1fps. really not playable. after i got the driver for my videocard working, i did have DRI, and all graphicall software is running MUCH faster.

So i don't think you should search for the solution in the openGL stuff. It's your videodriver which isn't working right. Does your XFREE log say anything about DRI?
 
Old 10-13-2003, 02:53 PM   #15
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
What is the brand name and model of the laptop?

We may be able to dig up a better driver or somthing as referred to in the link.

Last edited by mossy; 10-13-2003 at 06:51 PM.
 
  


Reply


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
what does OpenGL do? servnov General 7 11-17-2004 01:53 PM
Overwrite Mesa OpenGL with ATI OpenGL Carl-Fredrik Slackware 12 10-01-2004 03:33 PM
Changing from MESA OpenGL to ATI OpenGL tillyoubreakit Linux - Hardware 19 10-07-2003 07:32 PM
OpenGL is needed by plib-1.7.0- but i have opengl ! qwijibow Linux - Newbie 0 08-05-2003 07:12 AM
Where is OpenGL SherylGlas Linux - Newbie 2 03-21-2003 04:04 PM


All times are GMT -5. The time now is 08:43 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration