LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   DRI for Slackware 10.2 (https://www.linuxquestions.org/questions/linux-software-2/dri-for-slackware-10-2-a-404909/)

ken.mr47 01-18-2006 08:47 AM

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

nx5000 01-18-2006 09:26 AM

Can you post the contents of xorg.conf:

Section "Device"

Section "DRI"

And post the result of
Code:

lsmod

ken.mr47 01-18-2006 09:29 AM

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
# Section "DRI"
# Mode 0666
# EndSection

nx5000 01-18-2006 09:32 AM

What about lsmod?
Does it show i915 or i830 or i810?

ken.mr47 01-18-2006 09:34 AM

lsmod not found -_-

nx5000 01-18-2006 09:36 AM

:eek:

try /sbin/lsmod as user

or try as root

ken.mr47 01-18-2006 09:38 AM

i915 66728 1

LOL i tot u meant look in the xorg.conf file for lsmod :X

nx5000 01-18-2006 09:48 AM

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

scuzzman 01-18-2006 09:58 AM

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?

ken.mr47 01-18-2006 09:59 AM

hmm my x windows won't start it just hangs there

nx5000 01-18-2006 10:00 AM

Code:

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

and check the result of lspci as I said before

ken.mr47 01-18-2006 10:02 AM

(==) 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

nx5000 01-18-2006 10:05 AM

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"

nx5000 01-18-2006 10:11 AM

I hope you didn't let the (*)
;)

ken.mr47 01-18-2006 10:15 AM

nope . still no dri -_-


All times are GMT -5. The time now is 02:09 AM.