LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-17-2005, 07:36 AM   #1
cor67393
Member
 
Registered: May 2005
Distribution: Slackware 12.1
Posts: 50

Rep: Reputation: 15
libGL is out of sync with DRI - no direct rendering ATI m9


Hi all

I'm trying to get direct rendering on my laptop to work. It uses an ATI M9 card. In my Xorg.0.log everything looks fine:
Code:
(II) RADEON(0): Direct rendering enabled
However, glxinfo reports:
Code:
direct rendering: No
I'm following the DRI troubleshooting at freedesktop.org:
dri.freedesktop.org/wiki/DriTroubleshooting
I found, per their instructions, that:
Code:
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed (/usr/X11R6/lib/modules/dri/r200_dri.so: undefined symbol: _glapi_get_dispatch)
libGL error: unable to find driver: r200_dri.so
The advice is that I install my drivers and libgl from sources. How do I go about this? Or is there an update available for Slackware (using packages from current instead of 10.1)?

- Any help appreciated, thanks in advance

Last edited by cor67393; 08-17-2005 at 07:38 AM.
 
Old 08-18-2005, 04:15 PM   #2
shashir
Member
 
Registered: Jul 2004
Posts: 70

Rep: Reputation: 15
I think it is part if Mesa... compile Mesa
 
Old 08-19-2005, 11:51 AM   #3
LiNuCe
Member
 
Registered: Apr 2004
Location: France
Distribution: Slackware Linux 10.2
Posts: 119

Rep: Reputation: 15
Re: libGL is out of sync with DRI - no direct rendering ATI m9

Did you try the official DRI snapshot for the R200 ? You need to download the latest common-*.tar.bz2 and r200-*.tar.bz2 archives, then you should extract each archive and run its install.sh script. In case of trouble, you could restore overwritten X.Org's files by reinstalling x/*.tgz packages.

-- LiNuCe
 
Old 08-20-2005, 08:06 AM   #4
cor67393
Member
 
Registered: May 2005
Distribution: Slackware 12.1
Posts: 50

Original Poster
Rep: Reputation: 15
Just some update on the 'progress'

shashir's advice was to compile MESA, but this didn't make a difference. To top this off, I followed http://dri.freedesktop.org/wiki/Building to build X from CVS. This pretty much made
starting X impossible, but I can't remember the specifics...I reinstalled slackware's own X again real fast.


I followed LiNuCe's suggestion and installed the two archives. Now, the driver correctly finds my external monitor so I have a lovely mergedfb, which I was also trying to get to work. However, the dri has become worse. Loading the dri module form xorg.conf now causes X not to start at all...

Code:
Symbol noXFree86DRIExtension from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!

   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

Fatal server error:
Caught signal 11.  Server aborting
Commenting out the DRI parts makes the server start, but no direct rendering of course. There are no errors being reported, and only warnings when the driver is looking for the vrefreshrange of the monitor.

Disabling the mergedfb to only load one monitor doesn't solve anything.

I also installed the archive http://dri.freedesktop.org/snapshots...x.i386.tar.bz2 but this didn't
make a difference.

I'm taking a small break from this all, as I'm already happy that mergedfb works nicely and I have exams coming up. When I get around to it, I'll try all this again, because I might have messed up a few things installing all the packages.

Thanks for the advice so far!
 
Old 08-21-2005, 08:47 AM   #5
NoeticRapture
LQ Newbie
 
Registered: Mar 2005
Location: NY
Distribution: Slackware
Posts: 25

Rep: Reputation: 15
I had problem after problem getting direct rendering going for my notebook's Radeon IGP320, and initially you made a comment about glxinfo telling you it was disabled, but the Xorg log saying it had been enabled -- there's a beautiful page that helped me on the DRI site, but at some point I had the silliest problem of direct rendering only being available for root. Have you tried putting at the end of your xorg config file:
Section "DRI"
Mode 0666
EndSection
Just a quick suggestion; may be useless, may fix it all up for you. Been awhile, but I'm pretty sure I get similar symptoms without that in my xorg.conf
 
Old 08-21-2005, 12:13 PM   #6
cor67393
Member
 
Registered: May 2005
Distribution: Slackware 12.1
Posts: 50

Original Poster
Rep: Reputation: 15
Yes, I tried that.

I've installed gentoo on the laptop, thinking that if I get used to compiling from source to get all the little tricks and treats to work, that will help out, and I guess it did because it works like a charm now. Pity about losing Slackware though, guess I'm just too lazy to really look into it...
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Direct Rendering Infrastructure DRI on VIA\S3 Savage /bin/bash Linux - Hardware 145 09-04-2006 09:37 AM
Direct Rendering (ATI Radeon) xbuzz Linux - Newbie 8 06-03-2005 05:38 PM
How do i get direct rendering ATI 8500? glenn69 Linux - Newbie 0 10-07-2004 10:25 PM
XFree86 DRI : glxinfo -> Direct rendering : No Muzzy Linux - Hardware 20 05-24-2004 07:03 AM
ATI Radeon Direct Rendering chodviolin Linux - Hardware 0 03-27-2004 02:23 PM


All times are GMT -5. The time now is 05:25 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