LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-06-2005, 10:23 PM   #1
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Red face DRI ATI Radeon 7500


Ok, I know that there are already threads about this, and I have tried following them but I am not getting hardware acceleration with my card. My card is an ATI Radeon 7500, and so ATI does not even provide Linux drivers for it, only windows drivers, and so under xorg I am using the generic Radeon driver. I would like to enable DRI and stuff like that to get things to work a little more smoothly, hopefully with zsnes, since I just compiled and tried to run it, and it runs so very slowly under Linux, but not under windows, for obvious reasons. I am not even sure what other kind of info I should provide, and I don't even know where to start, but any help is greatly appreciated.

Last edited by Jeebizz; 05-08-2005 at 07:11 PM.
 
Old 05-07-2005, 02:57 PM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
do you have the following in /etc/X11/xorg.conf :
<in the modules section>
Load "glx"
Load "dri"

and at the end :

section dri
mode 660
end section

if you have that, and started X, look in /var/log/Xorg.).log
for errors.

egag
 
Old 05-07-2005, 08:25 PM   #3
duxducis
LQ Newbie
 
Registered: May 2005
Posts: 2

Rep: Reputation: 0
dont forget to load tmpfs !!
 
Old 05-07-2005, 09:08 PM   #4
gbhil
Member
 
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
To get mine to work, I had to compile the following directly into the kernel:
agpart
<driver for agp hardware, mines Intel 845>

DRI
ATI Radeon

Building them as modules, then loading them (either automagically or by hand) didn't work. Not sure why. Kernel is 2.6.11-7 btw.


Here's revelant parts of xorgconfig.
Code:
<snip>
Section "Module"
Load  "record"
Load  "extmod"
Load  "dbe"
Load  "dri"
Load  "glx"
Load  "xtrap"
Load  "freetype"
Load  "type1"
Load  "freetype"
EndSection

<snip>

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"            	"False"
#Option     "SWcursor"           	# [<bool>]
#Option     "Dac6Bit"            	# [<bool>]
#Option     "Dac8Bit"            	# [<bool>]
Option     "BusType"            	"AGP"
#Option     "CPPIOMode"          	# [<bool>]
#Option     "CPusecTimeout"      	# <i>
Option     "AGPMode"            	"4"
#Option     "AGPFastWrite"       	# [<bool>]
#Option     "AGPSize"            	# <i>
#Option     "GARTSize"           	# <i>
#Option     "RingSize"           	# <i>
#Option     "BufferSize"         	# <i>
#Option     "EnableDepthMoves"   	# [<bool>]
#Option     "EnablePageFlip"     	# [<bool>]
#Option     "NoBackBuffer"       	# [<bool>]
#Option     "PanelOff"           	# [<bool>]
#Option     "DDCMode"            	# [<bool>]
#Option     "MonitorLayout"      	# [<str>]
#Option     "IgnoreEDID"         	# [<bool>]
#Option     "UseFBDev"           	# [<bool>]
#Option     "VideoKey"           	# <i>
#Option     "MergedFB"           	# [<bool>]
#Option     "CRT2HSync"          	# [<str>]
#Option     "CRT2VRefresh"       	# [<str>]
#Option     "CRT2Position"       	# [<str>]
#Option     "MetaModes"          	# [<str>]
#Option     "MergedDPI"          	# [<str>]
#Option     "NoMergedXinerama"   	# [<bool>]
#Option     "MergedXineramaCRT2IsScreen0" 	# [<bool>]
#Option     "DisplayPriority"    	# [<str>]
#Option     "PanelSize"          	# [<str>]
#Option     "ForceMinDotClock"   	# <freq>
Option     "RenderAccel"        	"True"
#Option     "SubPixelOrder"      	# [<str>]
#Option     "ShowCache"          	# [<bool>]
#Option     "DynamicClocks"      	# [<bool>]
Identifier  "Card0"
Driver      "ati"
VendorName  "ATI Technologies Inc"
BoardName   "Radeon Mobility M7 LW [Radeon Mobility 7500]"
#BusID       "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport   0 0
Depth     1
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     4
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     8
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     15
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection
I get ~1300 fps from glxgears, and very playable performance with opengl games
 
Old 05-08-2005, 12:19 AM   #5
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Original Poster
Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Ok, I uncommented
section dri
mode 660
end section

and I couldn't even get into KDE.. This is the output of the Xorg.0.log

Code:
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/slacker:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: Linux 2.4.26 i686 [ELF] 
Current Operating System: Linux slacker 2.4.26 #6 Mon Jun 14 19:07:27 PDT 2004 i586
Build Date: 05 June 2004
	Before reporting problems, check http://wiki.X.Org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun May  8 00:08:57 2005
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 464 of section ServerLayout in file /etc/X11/xorg.conf
	"section" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found

Please consult the The X.Org Foundation support 
	 at http://wiki.X.Org
 for help. 
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
this is my screen section
Code:
# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "ATI All-in-Wonder"
    Monitor     "GatewayVX700"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection
Graphics device section
Code:
# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier	"Standard VGA"
    VendorName	"Unknown"
    BoardName	"Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset	"generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver     "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam	256

#    Clocks	25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
    Identifier  "ATI All-in-Wonder"
    Driver      "ati"
    #VideoRam    65536
    # Insert Clocks lines here if appropriate
EndSection
and I have load dri and load glx uncommented

edit.. oh, and this is what I have under lsmod

Code:
slackuser@slacker:~$ lsmod
Module                  Size  Used by    Not tainted
radeon                  99936   1
smbfs                  41328   1 (autoclean)
snd-pcm-oss            37736   0 (unused)
snd-mixer-oss          12504   0 [snd-pcm-oss]
keybdev                 2052   0 (unused)
mousedev                4212   1
usb-storage            66176   0 (unused)
hid                    21220   0 (unused)
printer                 7744   0 (unused)
usbmouse                2040   0 (unused)
input                   3200   0 [keybdev mousedev hid usbmouse]
uhci                   24444   0 (unused)
ehci-hcd               17580   0 (unused)
usbcore                59308   1 [usb-storage hid printer usbmouse uhci ehci-hcd]
tulip                  40352   1
crc32                   2880   0 [tulip]
parport_pc             14788   0
parport                23336   0 [parport_pc]
snd-via82xx            13124   3
gameport                1420   0 [snd-via82xx]
snd-pcm                56072   1 [snd-pcm-oss snd-via82xx]
snd-timer              13604   0 [snd-pcm]
snd-ac97-codec         49500   0 [snd-via82xx]
snd-page-alloc          6328   0 [snd-via82xx snd-pcm]
snd-mpu401-uart         3200   0 [snd-via82xx]
snd-rawmidi            12740   0 [snd-mpu401-uart]
snd-seq-device          3888   0 [snd-rawmidi]
snd                    30852   2 [snd-pcm-oss snd-mixer-oss snd-via82xx snd-pcm snd-timer                                    snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3396   3 [snd]
ntfs                   51424   1 (autoclean)
ide-scsi                9328   0
agpgart                43940   1
slackuser@slacker:~$

Last edited by Jeebizz; 05-08-2005 at 12:54 AM.
 
Old 05-08-2005, 01:45 AM   #6
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
"section" is not a valid keyword in this section.

make sure at the botton of your xorg.conf it ends with

EndSection

and not

end section
 
Old 05-08-2005, 02:01 AM   #7
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Original Poster
Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
This is what it ends with
Code:
EndSection

# section "DRI"
#    mode 0666
# EndSection
and this is what I changed, and when I try to startx, it gives me a fatal error, so I have to revert back to the way it was before..

Code:
#EndSection
 section "DRI"
    mode 0666
 EndSection
 
Old 05-08-2005, 02:06 AM   #8
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
change:
Code:
section "DRI"
    mode 0666
 EndSection
to:
Code:
Section "DRI"
    Mode 0666
EndSection
remember everything is case sensitive.

Last edited by __J; 05-08-2005 at 02:08 AM.
 
Old 05-08-2005, 02:21 AM   #9
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Original Poster
Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Did that, and I still get a fatal error, so I commented it out again..
Code:
EndSection

# Section "DRI"
#    Mode 0666
# EndSection
is there some place else I should look at and post? such as syslog or dmesg?
 
Old 05-08-2005, 02:24 AM   #10
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
just the log from Xorg

you are getting a "no screens found" error, check your screen section of xorg.conf and make sure your driver is loaded.

you could backup you xorg.conf file and redo xorgsetup ( or whichever method you use) and see if that helps.
 
Old 05-08-2005, 02:28 AM   #11
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Original Poster
Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
ok i will try that
 
Old 05-08-2005, 02:41 AM   #12
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Original Poster
Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Still no luck! I went back and tried the radeonGeneric instead of the ATI all in wonder... this is what graphics and screens sections looks like now..

Code:
# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier	"Standard VGA"
    VendorName	"Unknown"
    BoardName	"Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset	"generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver     "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam	256

#    Clocks	25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
    Identifier  "RadeonGeneric"
    Driver      "radeon"
    #VideoRam    65536
    # Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "RadeonGeneric"
    Monitor     "GatewayVX700"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection
I don't get it ,because under lsmod it shows radeon, so I am assuming it is loaded
 
Old 05-09-2005, 09:00 AM   #13
aes canis
Member
 
Registered: May 2005
Location: Finland
Distribution: Slackware 13.37, Ubuntu 10.10
Posts: 123

Rep: Reputation: 15
My card seems to work under XFree86, with SuSE 9.2 - I say seems to work, as normally everything works OK, though DVD video playback is a bit jerky.
Here's what SuSE's SaX2 put in the XF86Config file:
Code:
Section "Module"
  Load         "dri"
  Load         "extmod"
  Load         "type1"
  Load         "glx"
  Load         "freetype"
  Load         "dbe"
  Load         "v4l"
EndSection
...
Section "Device"
  Identifier   "Device[0]"
  VendorName   "ATI"
  BoardName    "Radeon 7500"
  BusID        "1:0:0"
  Driver       "radeon"
  Option       "AGPFastWrite"
  Option       "AGPMode" "1"
  Screen       0
  Option       "Rotate" "off"
EndSection
...
Section "DRI"
    Group      "video"
    Mode       0660
EndSection
I also found this:
http://dri.sourceforge.net/doc/DRIuserguide.html
any help?

Last edited by aes canis; 05-09-2005 at 09:15 AM.
 
Old 05-21-2005, 01:45 PM   #14
orjanp
LQ Newbie
 
Registered: Oct 2003
Location: Tromsoe, Norway
Distribution: Slackware 9.1
Posts: 16

Rep: Reputation: 0
Quote:
Originally posted by Jeebizz
This is what it ends with
Code:
EndSection

# section "DRI"
#    mode 0666
# EndSection
and this is what I changed, and when I try to startx, it gives me a fatal error, so I have to revert back to the way it was before..

Code:
#EndSection
 section "DRI"
    mode 0666
 EndSection
That's probably not correct. Remove the # of the above EndSection. Every Section needs an EndSection. By commenting out the EndSection over the Section "DRI", you probably have an unfinished Section.

You should go from
Code:
EndSection

# section "DRI"
#    mode 0666
# EndSection
to

Code:
EndSection

Section "DRI"
    mode 0666
EndSection
 
Old 05-21-2005, 04:41 PM   #15
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Original Poster
Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
ok, I went back and made the changes..

Code:
EndSection

 Section "DRI"
    Mode 0666
 EndSection
and now I can still get into KDE, woohoo, but....am I done? Should I still enable tmpfs like duxducis said to do? And if so, how do I do that?
 
  


Reply



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
ATI Radeon 7500 drivers amclad Linspire/Freespire 1 10-22-2005 09:34 PM
ati radeon 7500 help!! dave22 Linux - Hardware 0 01-29-2005 11:15 AM
Strange DRI Issue with Radeon 7500 mds00 Slackware 0 04-26-2004 01:15 PM
DRI on an ATI Radeon 7500 will not load! elconde Linux - Hardware 3 03-03-2004 01:35 PM
ATI Radeon 7500 Quickdraw Linux - Software 0 12-26-2003 05:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:45 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
Open Source Consulting | Domain Registration