LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 02-14-2007, 03:33 AM   #16
berVi
Member
 
Registered: Dec 2005
Posts: 57

Rep: Reputation: 15

hi, im also struggling with dri (ati x700m), i tell you what i know.

1. kernel

compile MTRR, dri (with the proper driver), agpgart (with the proper driver) as module. agpgart and *_agp modules must be loaded before X starts.

2. xorg

the 6.9 release is outdated, and not suitable for dri. you need 7.1. there are two sets packages i know about:
https://sourceforge.net/project/show...ease_id=457594
http://thoughtbit.com/xorg-build/packages/x/
however, i have tried the first only, i will give the 2nd a go, too.

then rename /usr/X11R6 to /usr/X11R6-old, and make a /usr/X11R6 symlink pointig to /usr/X11R7.

3. xorg.conf

you have to correct modulepath and other things, theres no general answer to this.

4. libdrm, mesa

grab those from git and compile them. i compiled and installed libdrm with /usr/X11R7 prefix and made a pack with checkinstall, its just clean and nice this way. for mesa, you will have to copy modules from lib dir, please RTFM here. if you really in trouble i will check the docs when i arrive at home. i had to create a few symlink coz xorg couldn't find the modules (radeon_dri and r300_dri which are not in the stanard xorg module dir) otherwise.


when i've done all these, finally there were NO errors in xorg.0.log. acceleration enabled, direct rendering enabled etc. however, when i check glxinfo, it says "direct rendering: no", but vga seems to perform properly. flash animations are however a bit crappy, and ET will probably also be, i havent have time to test it.

on ubuntu with the same kernel it worked like a charm (well at least it was better ). i guess theres something wrong with other packages, i think its xorg, ill let you know if i know something more.

and i read somewhere that this direct rendering no msg is not an error with aiglx (Accelerated INDIRECT GLX) - but then why was it "yes" on ubuntu. well it could be another one of ubuntus tricks

Last edited by berVi; 02-14-2007 at 03:37 AM.
 
Old 02-15-2007, 12:17 PM   #17
JKoder
Member
 
Registered: Sep 2005
Distribution: Slackware 11
Posts: 61

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Quote:
Originally Posted by berVi
hi, im also struggling with dri (ati x700m), i tell you what i know.

1. kernel

compile MTRR, dri (with the proper driver), agpgart (with the proper driver) as module. agpgart and *_agp modules must be loaded before X starts.

2. xorg

the 6.9 release is outdated, and not suitable for dri. you need 7.1. there are two sets packages i know about:
https://sourceforge.net/project/show...ease_id=457594
http://thoughtbit.com/xorg-build/packages/x/
however, i have tried the first only, i will give the 2nd a go, too.

then rename /usr/X11R6 to /usr/X11R6-old, and make a /usr/X11R6 symlink pointig to /usr/X11R7.

3. xorg.conf

you have to correct modulepath and other things, theres no general answer to this.

4. libdrm, mesa

grab those from git and compile them. i compiled and installed libdrm with /usr/X11R7 prefix and made a pack with checkinstall, its just clean and nice this way. for mesa, you will have to copy modules from lib dir, please RTFM here. if you really in trouble i will check the docs when i arrive at home. i had to create a few symlink coz xorg couldn't find the modules (radeon_dri and r300_dri which are not in the stanard xorg module dir) otherwise.


when i've done all these, finally there were NO errors in xorg.0.log. acceleration enabled, direct rendering enabled etc. however, when i check glxinfo, it says "direct rendering: no", but vga seems to perform properly. flash animations are however a bit crappy, and ET will probably also be, i havent have time to test it.

on ubuntu with the same kernel it worked like a charm (well at least it was better ). i guess theres something wrong with other packages, i think its xorg, ill let you know if i know something more.

and i read somewhere that this direct rendering no msg is not an error with aiglx (Accelerated INDIRECT GLX) - but then why was it "yes" on ubuntu. well it could be another one of ubuntus tricks
Well thank you allot. !
I will give a try of what you said ... hopefully i get some better result and i am not afraid to RTFM

Big thanks
 
Old 02-15-2007, 06:03 PM   #18
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
maybe I missed this, but I dont see:

Code:
Section "DRI"
  Mode 0666
EndSection
in your xorg.conf. I think you need that to enable DRI. Try adding it and see.

Also, DRI works fine on my 3 machines ( 1-i945 (1600fps) 2-ATI R9000M (1200fps) 3-GeForce 5500) running xorg6.9 or earlier. I have never had to upgrade X to get DRI working - but maybe its needed for your chips?

From your last lsmod it seems like your kernel should be fine, one thing that can bite is if you compile in framebuffer support it screws with your DRM/agp support.

Last edited by bioe007; 02-15-2007 at 06:11 PM.
 
  


Reply



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
DRI on T23 running Gentoo problems notapplicable Linux - Hardware 1 12-23-2006 09:56 PM
X problems again - DRI on Xpert98 bgeddy Slackware 8 10-12-2006 07:43 PM
ATI RagePro and DRI Problems joeyjwc Linux - Hardware 4 07-30-2004 07:07 AM
Problems enabling DRI - card not found jenna_h Linux - Software 2 12-07-2003 11:09 AM
dri driver problems waslit Linux - Software 1 11-03-2003 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:00 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
Open Source Consulting | Domain Registration