LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   DRI and Radeon (https://www.linuxquestions.org/questions/linux-software-2/dri-and-radeon-73082/)

minm 07-15-2003 09:00 PM

DRI and Radeon
 
Hey

I installed DRi for Radeon
...

now what do i do?


how do i make xfree use DRI for radeon?

DrOzz 07-15-2003 09:40 PM

in your xf86config file located in /etc/X11 under the device section you will see a part that says:
driver "drivername"
whatever drivername is, replace it will dri

Locura 07-15-2003 09:49 PM

I'm not sure that will work. What I did to the XF86Config to enable DRI was:

1) Uncomment the /sbin/modprobe agpgart line in the /etc/rc.d/rc.modules script. Note: if you don't reboot before starting X again, you'll need to run that modprobe command to insert the agpgart module.

2) Add the line: Load "DRI" to the modules section.

3) Add the following "DRI Section" right after the modules section.
Code:

Section "DRI"
    Mode 0666
EndSection

4) I use the following device entry for my video card:
Code:

Section "Device"
    Identifier  "Radeon"
    Driver      "radeon"
EndSection

Try just adding a new device entry, not touching the current one for your video card. That way you won't lose the original configuration. Give this new device entry a different value for the "Identifier" line, and just change the "Device" line in the Screen section to use this new Identifier. If things don't work out you can always just change that line back to what it was before.

DrOzz 07-15-2003 09:53 PM

arf! thats correct...i read it like dri was the driver kinda like you change nv to nvidia for them gfx cards..my bad, hes right :D

Locura 07-15-2003 10:00 PM

Haha, yeah. ATI cards can be a bitch to configure in Linux.

minm 07-15-2003 10:32 PM

woah woah
i got lost on the first step

i openthe file to uncomment but i don't see anything like that
this is what i see

Quote:

#!/bin/sh
# (c) MandrakeSoft, Chmouel Boudjnah <chmouel@mandrakesoft.com>
# $Id: rc.modules,v 1.1.1.1 2000/07/30 05:07:38 chmouel Exp $
# description: launch modules specified in /etc/modules inspired by a
# Debian idea.

[ -f /etc/modules ] || exit 0

# Loop over every line in /etc/modules.
(cat /etc/modules; echo) | while read module args
do
case "$module" in
\#*|"") continue ;;
esac
initlog -s "Loading module: $module"
modprobe $module $args >/dev/null 2>&1
done

Do you have a messenger service? such as msn, aol? or on IRC?

it'll reallly help me if you do it step by step with live help :)

Msn messenger: markmikati@hotmail.com
aim: mazher591

minm 07-15-2003 10:37 PM

actually i think i installed the wrong thing

which one do i install from here?
http://dri.sourceforge.net/snapshots/


btw i was following the Documentation here:

http://dri.sourceforge.net/doc/DRIbeginner.html


and when i was running the test glxinfo, my direct rendering said No...

So any help?

minm 07-15-2003 10:39 PM

Quote:

name of display: :0.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x22 24 tc 1 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
0x23 24 tc 1 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x24 24 tc 1 24 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x25 24 tc 1 24 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None


That's the exact thing from the glkinfo

DrOzz 07-15-2003 10:44 PM

the steps 2, 3, and 4 that Locura mentioned have to be added to the /etc/X11/XF86Config file
as of the /sbin/modprobe agpgart you can just manually add it to the file he mentioned in step 1.

minm 07-15-2003 11:03 PM

k i did that and Xfree doesn't start up :|

minm 07-15-2003 11:04 PM

should i use ati instead of radeon as stated in the documentation?

DrOzz 07-15-2003 11:14 PM

if thats what the docs say i dont see why that is incorrect.

minm 07-15-2003 11:19 PM

i still use Locura's step right?

DrOzz 07-15-2003 11:21 PM

you will use all the steps he mentioned, except if you are going to use the ati driver then rather then inserting
driver "radeon"
you will have
driver "ati"

minm 07-15-2003 11:24 PM

Note: if you don't reboot before starting X again, you'll need to run that modprobe command to insert the agpgart module.

I'm doing this part in kedit using KDE .. that's ok right?


All times are GMT -5. The time now is 12:21 PM.