LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 01-05-2006, 04:35 AM   #1
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
DRM problem - slow rendering


One of my graphical programs, freelook,
reports the following error:
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering

Furthermore, when I call "dmesg", I get a bunch of these errors:
[drm:r128_freelist_get] *ERROR* returning NULL!

So, it seems that my Red Hat 8 box (old box, no recent updates) can't seem to use this DRM properly.

Can anyone please help me figure out what exactly is going wrong?
I'm a newbie when it comes to video hardware and it's configuration.
 
Old 01-06-2006, 09:36 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Original Poster
Rep: Reputation: 61
Actually, my graphical program only issues the error when I login via ssh -X.
When I work on the machine locally, the libGL error is gone.

Can this be caused by an incompatibility between Xorg and Xfree?
The machine that has freelook installed is a Fedora Core 3 machine with Xorg installed.
My machine is an old Red Hat 8 box with XFree.

So, the problem occurs when I do the following on the RH8 machine:
ssh -X my_user@other_machine
launch freelook
"-X" option of ssh should forward the X window info to my local system, no?

When I simply launch freelook locally on the FC3 machine, it works like a charm.

The RH8 box is also giving me the errors in dmesg described in my previous post.
 
Old 01-06-2006, 04:58 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
I think it's a software problem, not a hardware one, so I'm not moving this tread.

Are you sure both of the machines are configured for acceleration? It may be that Fedora has it installed, but RedHat not.
 
Old 01-09-2006, 03:33 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Original Poster
Rep: Reputation: 61
How can I check this?
And if it's the case, how can I fix it?
 
Old 01-09-2006, 08:07 AM   #5
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Original Poster
Rep: Reputation: 61
I've looked around the forum and Google for some clues. They mention the commands "lspci" for looking up my video cards and "glxinfo" for having some info on their configuration.

I've tried them and found that:
RH8:
lspci says: "ATI Rage 128 Pro Ultra"
glxinfo says:
direct rendering: Yes
OpenGL renderer string: Mesa DRI Rage128 20010405 AGP 1x x86/MMX/SSE

On FC3 box:
lspci says="nVidia NV34 Geforce FX 5200"
glxinfo:
direct rendering: no
renderer string: Mesa GLX Indirect

Does this give you any idea about what's going on?
 
Old 01-09-2006, 09:40 AM   #6
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 30
Are you sure you've got those last two boxes the right way round? The classic way of checking whether 3D acceleration is working on Linux is
Code:
$ glxinfo | grep rendering
- in other words, your RH8 box has 3D acceleration but your FC box doesn't.

In any case, those strings don't point to what's wrong, rather they tell you if acceleration is working or not. If it's not working, it's generally a case of getting hold of the latest drivers for your video card and following the instructions with them; both NVidia and ATI have Linux drivers available (with the former generally considered the better). It can be a 5 minute job or a bit of a royal pain depending how nicely your hardware wants to play, so keep that google tab handy!

HTH,
Andrzej
 
Old 01-09-2006, 05:09 PM   #7
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
You said that the program does not work when you run it on RH8 but is okay on FC3. You also said that RH8 does not have rendering and FC3 does. As Dtsazza asked, are you sure that you got that right?

It seems to me that when you run freelook you need rendering on the machine that runs it. That would be the FC3 machine. Anyway, try to install the OpenGL drivers for the RH8 graphic hardware, or whichever machine doesn't have the OpenGL drivers, and see if that fixes the problem.

Last edited by stress_junkie; 01-09-2006 at 05:17 PM.
 
Old 01-10-2006, 03:02 AM   #8
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Original Poster
Rep: Reputation: 61
All of you, thanks for your help.

I just double checked my results.
Code:
glxinfo|grep rendering
says that my RH8 box has direct rendering and
my FC3 box hasn't.

stress_junkie, just to get the facts straight:
-RH8 has direct rendering, FC3 hasn't.
-FC3 has "freelook" installed, RH8 hasn't.
-When running "freelook" on the FC3 machine using ssh -X to it from the RH8 box, it gives the
DRM error. When I run it directly on the FC3 machine, it runs fine.
I suppose that running it via SSH causes a warning message that it's not using the direct
rendering that's installed on RH8. Running it directly on FC3 doesn't give that message simply
because there is no direct rendering available on FC3. Sounds logical, no?
-"dmesg" on the RH8 box gives the "drm:r128_freelist_get" errors. dmesg on the FC3 box is just
fine.

I'll try installing the nVidia drivers on my FC3 machine to see if that helps.
It would be nice to have some hardware video acceleration.

Last edited by timmeke; 01-10-2006 at 03:13 AM.
 
  


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
libgl opengl rendering problem Astro Slackware 5 05-15-2005 07:34 PM
Reverting to (slow) indirect rendering IGP 340M xslider Linux - Software 7 12-21-2004 08:08 AM
problem with Direct Rendering Paxmaster Linux - Software 5 10-27-2004 05:29 PM
kernel 2.6.2 install, then drm problem spiderworm Fedora 4 09-10-2004 05:25 PM
quake 3 rendering problem zero79 Linux - Games 1 05-01-2004 08:24 PM


All times are GMT -5. The time now is 10:28 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration