LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 01-18-2006, 08:47 AM   #1
ken.mr47
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware 10.2
Posts: 14

Rep: Reputation: 0
DRI for Slackware 10.2


I have problems enabling DRI rendering in Slackware 10.2 which is running a default kernel . I make reference to this thread "A Guide: Enabling 3D Acceleration in X11." Can't post link due to insufficient post count >_<

I did not recompile the kernel though due to lack of sufficient knowledge in this field. However i have edited the xorg.conf accordingly to match my system specifications and yet DRI is still not enabled. Is the default Slackware 10.2 kernel DRI enabled and if so how to i enable DRI ? I would appreciate some help regarding this matter.

System Specs :
Intel 2.66ghz Celeron @ 533 FSB
Intel 915g MOBO with integrated graphics
256mb Ddr2 533 ram
 
Old 01-18-2006, 09:26 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
Can you post the contents of xorg.conf:

Section "Device"

Section "DRI"

And post the result of
Code:
lsmod
 
Old 01-18-2006, 09:29 AM   #3
ken.mr47
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware 10.2
Posts: 14

Original Poster
Rep: Reputation: 0
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
# Section "DRI"
# Mode 0666
# EndSection
 
Old 01-18-2006, 09:32 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
What about lsmod?
Does it show i915 or i830 or i810?
 
Old 01-18-2006, 09:34 AM   #5
ken.mr47
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware 10.2
Posts: 14

Original Poster
Rep: Reputation: 0
lsmod not found -_-
 
Old 01-18-2006, 09:36 AM   #6
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53


try /sbin/lsmod as user

or try as root
 
Old 01-18-2006, 09:38 AM   #7
ken.mr47
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware 10.2
Posts: 14

Original Poster
Rep: Reputation: 0
i915 66728 1

LOL i tot u meant look in the xorg.conf file for lsmod :X
 
Old 01-18-2006, 09:48 AM   #8
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
Good you have the kernel module loaded
do you have drm listed as module? <-- I mean does it show in lsmod

-----------
then

Your xorg.conf should contain at least this (let the other lines!) :

Code:
Section "Module"
...
        Load    "glx"
...
EndSection

Section "Device"
        Identifier "Standard VGA"
        Driver          "i810"        (*)
        BusID           "PCI:00:02:0" (**)
        Videoram        64000         (*)
EndSection

Section "DRI"
        Mode    0666
EndSection
(*) this can be tweaked later
(**) this should be the result of:
Code:
lspci | grep -i graphic
gives this on my lappy
Code:
0000:00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
After modifying xorg.conf, restart xorg by pressing ctrl alt backspace.
then try glxinfo and look the line Direct Rendering
you can also look for abnormal errors in /var/log/Xorg.0.log
Code:
egrep "(\(WW\)|\(EE\))" /var/log/Xorg.0.log

Last edited by nx5000; 01-18-2006 at 09:58 AM.
 
Old 01-18-2006, 09:58 AM   #9
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Quote:
Originally Posted by ken.mr47
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
# Section "DRI"
# Mode 0666
# EndSection
This is just an idea, but in this code segment the "DRI" section is commented out. Have you tried removing the hash marks (#) from those lines and checking it?
 
Old 01-18-2006, 09:59 AM   #10
ken.mr47
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware 10.2
Posts: 14

Original Poster
Rep: Reputation: 0
hmm my x windows won't start it just hangs there
 
Old 01-18-2006, 10:00 AM   #11
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
Code:
egrep "(\(WW\)|\(EE\))" /var/log/Xorg.0.log
or read the whole log

and check the result of lspci as I said before

Last edited by nx5000; 01-18-2006 at 10:01 AM.
 
Old 01-18-2006, 10:02 AM   #12
ken.mr47
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware 10.2
Posts: 14

Original Poster
Rep: Reputation: 0
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan 18 23:57:58 2006
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 378 of section Device in file /etc/X11/xorg.conf
This section must have an Identifier line.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found



hmm my guess is that i need to assign an identifier other then Generic Blahblahblah
 
Old 01-18-2006, 10:05 AM   #13
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
Are you sure you did not add an error? xorg is very picky about the names
Line 378 seems problematic

Check
Section "Screen"
Identifier "Default Screen" <-- this has to the same as (*)
Device "CARD" <-- and this the same as (**)


Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" (*)

Section "Device"
Identifier "CARD" (**)
Driver "i810"



remove thes also, I dunno if it doesn't create problems
VendorName "Unknown"
BoardName "Unknown"

Last edited by nx5000; 01-18-2006 at 10:09 AM.
 
Old 01-18-2006, 10:11 AM   #14
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
I hope you didn't let the (*)
 
Old 01-18-2006, 10:15 AM   #15
ken.mr47
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware 10.2
Posts: 14

Original Poster
Rep: Reputation: 0
nope . still no dri -_-
 
  


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
dri on mach64, slackware 10.1, laptop Brotherswing Linux - Hardware 7 02-23-2005 03:14 PM
DRI Module freezes X on Slackware 9.1 njbrain Linux - Hardware 4 01-23-2004 08:01 PM
Radeon 9600 Pro + GLX + DRI Slackware 9 wh1t3d3m0n Linux - Hardware 0 09-01-2003 02:09 PM
DRI, with r128 and slackware 9 boney Slackware 0 05-23-2003 12:39 PM
DRI that comes with slackware 9 wr3ck3d Slackware 0 03-30-2003 08:10 PM


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