You are not logged in.

#1 2004-01-31 19:00:41

Kin
Member
From: Oberfranken / Europe
Registered: 2004-01-23
Posts: 137

How to install DRI correctly

Hi,

I currently try to install dri for my Radeon VE.
So I compiled my kernel 2.4.24 with Radeon/DRI support. ( no modules )
I installed the "XFree86 binary" from http://dri.sourceforge.net/cgi-bin/moin.cgi/Download ( Snapshots ).
and the "Nightly snapshots of the DRI drivers"
Everything worked fine.
Load glx and Load DRI is in the xf86config file
When I start Tuxracer, it is very slow. glxinfo tells many things but says nothing about if it works or not.

So what did I do wrong ?
Do I have to use the kernel modules from dri.sourceforge ?
Are those compatible to the current kernels ?
What should I do ?

thanks

Kin

Offline

#2 2004-01-31 19:23:31

whatah
Member
Registered: 2003-08-10
Posts: 114

Re: How to install DRI correctly

glxinfo | grep direct

should output something like: "direct rendering: Yes" or "direct rendering: No"

that is how you know if it is working. Make sure you do not have Mesa installed, and you have 666 permissions on /dev/dri/*

Offline

#3 2004-01-31 21:47:03

Kin
Member
From: Oberfranken / Europe
Registered: 2004-01-23
Posts: 137

Re: How to install DRI correctly

Hi,

it says: NO

/dev/dri doesn´t exist-

What should I do ?


Kin

Offline

#4 2004-02-01 13:39:08

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: How to install DRI correctly

what says

more /var/log/XFree86.0.log | grep dri

?

there should be some more info ...

try loading your AGP-module manually the intel-agp before running X ( modprobe intel-agp )


The impossible missions are the only ones which succeed.

Offline

#5 2004-02-01 14:54:57

Kin
Member
From: Oberfranken / Europe
Registered: 2004-01-23
Posts: 137

Re: How to install DRI correctly

Hi,

I´m currently not on that PC.
Of course it says more. GLX seems to run, but no DRI
I tried several things.
Kernel 2.4.24 with its own Radeon DRI modules and compiled into the kernel
Kernel 2.6.1 with its own Radeon DRI modules and compiled into the kern
Both kernels with drivers from dri.sourceforge.net.

AGPGART as module and compileding.
Without Kernel DRI support and with

So, can anyony please tell me how you achieved to get DRI working with arch ?

thanks


Kin

Offline

#6 2004-02-01 19:50:47

Kin
Member
From: Oberfranken / Europe
Registered: 2004-01-23
Posts: 137

Re: How to install DRI correctly

Can someone please give me his/her xf86config and .config for Kernel 2.4.*
for a Radeon graphic card ?

thanks


Kin

Offline

#7 2004-02-01 19:54:34

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: How to install DRI correctly

Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
#       Option "Xinerama" "On"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "speedo"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "imps/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"

        HorizSync    30-86
        VertRefresh  50-160
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "Dac8Bit"                   # [<bool>]
        #Option     "ForcePCIMode"              # [<bool>]
        #Option     "CPPIOMode"                 # [<bool>]
        #Option     "CPusecTimeout"             # <i>
        #Option     "AGPMode"                   # <i>
        #Option     "AGPFastWrite"              # [<bool>]
        #Option     "AGPSize"                   # <i>
        #Option     "RingSize"                  # <i>
        #Option     "BufferSize"                # <i>
        #Option     "EnableDepthMoves"          # [<bool>]
        #Option     "EnablePageFlip"            # [<bool>]
        #Option     "NoBackBuffer"              # [<bool>]
        #Option     "PanelOff"                  # [<bool>]
        #Option     "DDCMode"                   # [<bool>]
        #Option     "CloneDisplay"              # <i>
        #Option     "CloneMode"                 # [<str>]
        #Option     "CloneHSync"                # [<str>]
        #Option     "CloneVRefresh"             # [<str>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "VideoKey"                  # <i>
        Identifier  "Card0"
        Driver      "ati"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon RV200 QW [Radeon 7500]"
        BusID       "PCI:1:0:0"
        Screen 0
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 16
        SubSection "Display"
                Depth     1
                Modes "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#8 2004-02-01 20:07:52

Kin
Member
From: Oberfranken / Europe
Registered: 2004-01-23
Posts: 137

Re: How to install DRI correctly

HI,


thanks for the xf86config. I have quite the same device section and load sections.
Can you please post me your kernel .config ?


Kin

Offline

#9 2004-02-01 20:27:34

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: How to install DRI correctly

I'm using a totally stock 2.4.24, straight from the Archlinux package.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#10 2004-02-01 22:29:54

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: How to install DRI correctly

here an example for radeon-driver ... also using the stock kernels (working with both: 2.4.24 and 2.6.1)

Section "Screen"
  DefaultDepth 24
  Identifier   "Screen[0]"
  Device       "FireGL7800_Int"
  Monitor      "LCD"
  SubSection "Display"
    Depth      24
#    Virtual    3200 1200
    Modes      "1600x1200" "1024x768" "800x600" "640x480" 
  EndSubSection
EndSection

Section "Device"
  Identifier   "FireGL7800_Int"
  BoardName    "Mobility FireGL 7800 (Radeon LX)"
  BusID        "1:0:0"
  Driver       "radeon"
  VendorName   "ATI"
  Option "AGPFastWrite" "true"
  Screen       0
  Option       "NoDDC"
  Option       "DRI""on"
EndSection


Section "DRI"
    Group      "video"
    Mode       0666
EndSection

be sure to run a agp driver (agpgart or intel-agp for radeon) (module if using stock-kernel; compile in if you recompile kernel)


The impossible missions are the only ones which succeed.

Offline

#11 2004-02-02 08:49:47

Kin
Member
From: Oberfranken / Europe
Registered: 2004-01-23
Posts: 137

Re: How to install DRI correctly

Hi,

I read some other forums, and I think I found the reason.

According to them, I need a /dev/dri/card0 device. Well I haven´t one
/proc/dri/0 exists and I can find my radeon there.
So how do I create that device ?
well, mkdir /dev/dri and the something like mknod card0, but I do need the major and minor number. How can I find the out ?


Kin

Offline

#12 2004-02-02 15:37:03

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: How to install DRI correctly

I don't have a /dev/dri and I'm pretty sure my glx works just fine.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#13 2004-02-02 16:22:57

Kin
Member
From: Oberfranken / Europe
Registered: 2004-01-23
Posts: 137

Re: How to install DRI correctly

Hi,

did you compile your kernel with agpgart-module/radeon-module, agpgart-compiledin/radeon-compiledin ?
IN my opinion there´s no difference between those.
Both works, e.e. they load correctly, but no DRI hardware acceleration, so there must be something else. ( I also compiled MTRR into the kernel... )

Kin

Offline

#14 2004-02-02 16:32:55

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: How to install DRI correctly

Are you omitting xfree-dga?

I'm using the stock kernel, so I'm pretty sure both agpgart and radeon are compiled in.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#15 2004-02-03 10:31:49

Kin
Member
From: Oberfranken / Europe
Registered: 2004-01-23
Posts: 137

Re: How to install DRI correctly

Hi,

I didn´t know why, but I now have my /dev/dri/card0
According to Xfree.0.log Direct rendering is enabled succesfully.
But glsinfo says NO.
I tried both normal Xfree86 package from arch and Xfree86-dri from SF.net


Kin

Offline

#16 2004-02-03 17:15:52

Kin
Member
From: Oberfranken / Europe
Registered: 2004-01-23
Posts: 137

Re: How to install DRI correctly

Hi,

I did pacman -S xfree86 and now I have DRI support :-)
Thanks for your help.
The only thing that is annoying is that tuxracer doesn´t start.
"Disabling TCL support Segmentation fault " it says
And I have only 600 FPS with GLXGEARS :-(

Kin

Offline

Board footer

Powered by FluxBB