LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-15-2003, 09:00 PM   #1
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
DRI and Radeon


Hey

I installed DRi for Radeon
...

now what do i do?


how do i make xfree use DRI for radeon?
 
Old 07-15-2003, 09:40 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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
 
Old 07-15-2003, 09:49 PM   #3
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Rep: Reputation: 30
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.

Last edited by Locura; 07-15-2003 at 09:58 PM.
 
Old 07-15-2003, 09:53 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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
 
Old 07-15-2003, 10:00 PM   #5
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Rep: Reputation: 30
Haha, yeah. ATI cards can be a bitch to configure in Linux.
 
Old 07-15-2003, 10:32 PM   #6
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
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
 
Old 07-15-2003, 10:37 PM   #7
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
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?
 
Old 07-15-2003, 10:39 PM   #8
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
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
 
Old 07-15-2003, 10:44 PM   #9
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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.
 
Old 07-15-2003, 11:03 PM   #10
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
k i did that and Xfree doesn't start up :|
 
Old 07-15-2003, 11:04 PM   #11
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
should i use ati instead of radeon as stated in the documentation?
 
Old 07-15-2003, 11:14 PM   #12
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
if thats what the docs say i dont see why that is incorrect.
 
Old 07-15-2003, 11:19 PM   #13
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
i still use Locura's step right?
 
Old 07-15-2003, 11:21 PM   #14
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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"
 
Old 07-15-2003, 11:24 PM   #15
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
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?
 
  


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
radeon m7 dri issues slacka Slackware 1 12-22-2005 03:23 AM
Radeon 7000 no DRI slackwarefan Slackware 23 08-12-2005 02:57 PM
DRI radeon problem.... hulf_slo Linux - Hardware 5 11-17-2003 08:50 PM
Radeon VIVO and DRI Radicalm16 Linux - Hardware 2 06-23-2003 02:35 PM
DRI for radeon AzrielMacKay Linux - General 14 07-10-2001 02:45 PM


All times are GMT -5. The time now is 06:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration