Jump to content

ATI Radeon X300 PCI Express - Mandrive 2005 config


Guest jamiefoxer
 Share

Recommended Posts

Guest jamiefoxer

Guys,

 

I have an ATI Radeon X300 PCI Express, with 128 MB of RAM. It seems to have TWO monitor outputs, and a TV/OUT (s-vhs). I downloaded the latest propietary driver for Xorg 6.8.2 from ATI's website (an RPM). I ran the RPM, it needed some dependencies, downloaded them, and installed the package.

 

Everytime I go to HardDrake's configuration for the card, I can't seem to install a Radeon-based driver (I tried, Radeon, Radeon 5800, Radeon (fbdev), Radeon (flgrx). They all give me "no device found" errors when I try to "test" the configuration. I'm forced to use the generic VESA driver just to get into X Windows.

 

ATI doesn't seem to have an install guide (NVIDIA does...I had no problems installing their driver on my other NVIDIA powered PC).

 

What am I doing wrong?

Link to comment
Share on other sites

Best way to do this (this is what I found).

 

First, go to remove programs, and remove the fglrx_6_8_0 etc, etc file. Then, make sure you have your kernel-source installed. At the CLI do "uname -r" to find out what kernel your running, and then match the source to it.

 

Then, from a command prompt, type INIT 3. This will exit the GUI and switch to a CLI based screen. Login as normal, then type "su" and enter your root password.

 

cd to the directory you saved the fglrx....rpm file.

 

Type "rpm -ivh --force fglrx_6_8_0....rpm" this will install, and force it to do it.

 

Then type "fglrxconfig" and this will allow you to go through all the options to set up your driver. Then type "reboot" and your system will restart as normal.

 

After reboot, it will be 640x480x24bit, and you can then go into harddrake, configure for the ATI (fglrx) driver, set the screen resolution for your monitor in the same screen, colour depth, etc, and then see how you get on with that.

 

As a quick test of it, open a CLI and type "glxgears" to test the 3D stuff.

Edited by ianw1974
Link to comment
Share on other sites

Guest jamiefoxer

Where is remove programs? Where do I find the etc file? You're gonna have to do it very newbie for me. THanks for trying to help! :)

Link to comment
Share on other sites

OK, assuming your running KDE, click the Star, then System, then Configuration and then Remove Software.

 

Then, after you've done that, run the uname -r from the CLI to find out the kernel version, then go to the same process above, but click Install Software instead of remove to install the kernel source that matches your installed kernel.

 

Then follow the above from the INIT 3 stage after this is complete.

Link to comment
Share on other sites

  • 3 weeks later...

OK, I have the same hardware and the above instructions got me the driver working and much better fps in glxgears. However, glxinfo | grep direct tells me:

 

direct rendering: No

OpenGL renderer string: Mesa GLX Indirect

 

my xorg.conf looks like this:

 

 

# File: xorg.conf
# File generated by fglrxconfig © ATI Research, a substitute for xf86config.

# Note by ATI: the below copyright notice is there for servicing possibly
# pending third party rights on the file format and the instance of this file.
#
# Copyright © 1999 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

# **********************************************************************
# DRI Section
# **********************************************************************

Section "dri"
   # Access to OpenGL ICD is allowed for all users:
   Mode 0666
   # Access to OpenGL ICD is restricted to a specific user group:
   # Group 100    # users
   # Mode 0660
EndSection
# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#

Section "Module"
   # This loads the DBE extension module.
   
   Load "dbe"  	# Double buffer extension
   
   # This loads the Type1 and FreeType font modules
   Load "type1"
   Load "freetype"
   Load "dri"   # libdri.a
   Load "/usr/X11R6/lib/modules/extensions/libglx.a"
   
   # This loads the miscellaneous extensions module, and disables
   # initialisation of the XFree86-DGA extension within that module.
   
   Subsection "extmod"
       Option "omit xfree86-dga"   # don't initialise the DGA extension
   EndSubsection
EndSection
# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"
   # The location of the RGB database.  Note, this is the name of the
   # file minus the extension (like ".txt" or ".db").  There is normally
   # no need to change the default.
   
   RgbPath "/usr/X11R6/lib/X11/rgb"
   
   # Multiple FontPath entries are allowed (which are concatenated together),
   # as well as specifying multiple comma-separated entries in one FontPath
   # command (or a combination of both methods)
   #
   # If you don't have a floating point coprocessor and emacs, Mosaic or other
   # programs take long to start up, try moving the Type1 and Speedo directory
   # to the end of this list (or comment them out).
   #
   
   # FontPath   "/usr/X11R6/lib/X11/fonts/local/"
   FontPath "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
   FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
   FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
   FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
   # The module search path.  The default path is shown here.
   
   # ModulePath "/usr/X11R6/lib/modules"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"
   # Uncomment this to cause a core dump at the spot where a signal is
   # received.  This may leave the console in an unusable state, but may
   # provide a better stack trace in the core dump to aid in debugging
   
   # Option "NoTrapSignals"
   
   # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
   # This allows clients to receive this key event.
   
   # Option "DontZap"
   
   # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
   # sequences.  This allows clients to receive these key events.
   
   # Option "Dont Zoom"
   
   # Uncomment this to disable tuning with the xvidtune client. With
   # it the client can still run and fetch card and monitor attributes,
   # but it will not be allowed to change them. If it tries it will
   # receive a protocol error.
   
   # Option "DisableVidModeExtension"
   
   # Uncomment this to enable the use of a non-local xvidtune client.
   
   # Option "AllowNonLocalXvidtune"
   
   # Uncomment this to disable dynamically modifying the input device
   # (mouse and keyboard) settings.
   
   # Option "DisableModInDev"
   
   # Uncomment this to enable the use of a non-local client to
   # change the keyboard or mouse settings (currently only xset).
   
   # Option "AllowNonLocalModInDev"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"
   Identifier "Keyboard1"
   Driver "kbd"
   Option "XkbModel" "pc101"
   Option "XkbLayout" "us"
   
   # For most OSs the protocol can be omitted (it defaults to "Standard").
   # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
   # uncomment the following line.
   
   # Option "Protocol"   "Xqueue"
   
   Option "AutoRepeat" "500 30"
   
   # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
   # Option "Xleds"      "1 2 3"
   
   # Option "LeftAlt"    "Meta"
   # Option "RightAlt"   "ModeShift"
   
   # To customise the XKB settings to suit your keyboard, modify the
   # lines below (which are the defaults).  For example, for a non-U.S.
   # keyboard, you will probably want to use:
   # Option "XkbModel"   "pc102"
   # If you have a US Microsoft Natural keyboard, you can use:
   # Option "XkbModel"   "microsoft"
   #
   # Then to change the language, change the Layout setting.
   # For example, a german layout can be obtained with:
   # Option "XkbLayout"  "de"
   # or:
   # Option "XkbLayout"  "de"
   # Option "XkbVariant" "nodeadkeys"
   #
   # If you'd like to switch the positions of your capslock and
   # control keys, use:
   # Option "XkbOptions" "ctrl:swapcaps"
   
   # These are the default XKB settings for XFree86
   # Option "XkbRules"   "xfree86"
   # Option "XkbModel"   "pc101"
   # Option "XkbLayout"  "us"
   # Option "XkbVariant" ""
   # Option "XkbOptions" ""
   
   # Option "XkbDisable"
   
   Option "XkbRules" "xfree86"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
   # Identifier and driver
   
   Identifier "Mouse1"
   Driver "mouse"
   Option "Protocol" "ImPS/2"
   Option "Device" "/dev/input/mice"
   # When using XQUEUE, comment out the above two lines, and uncomment
   # the following line.
   
   # Option "Protocol"   "Xqueue"
   
   # Baudrate and SampleRate are only for some Logitech mice. In
   # almost every case these lines should be omitted.
   
   # Option "BaudRate"   "9600"
   # Option "SampleRate" "150"
   
   # Emulate3Buttons is an option for 2-button Microsoft mice
   # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
   
   # Option "Emulate3Buttons"
   # Option "Emulate3Timeout"    "50"
   
   # ChordMiddle is an option for some 3-button Logitech mice
   
   # Option "ChordMiddle"
   Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
   Identifier "monitor1"
   VendorName "Dell"
   ModelName "Dell 1900FP (Analog)"
   HorizSync 30.0-80.0
   VertRefresh 56.0-76.0
EndSection

Section "Monitor"
   Identifier "monitor2"
   VendorName "Dell"
   ModelName "Dell 1900FP (Analog)"
   HorizSync 30.0-80.0
   VertRefresh 56.0-76.0
EndSection

Section "Device"
   Identifier "device1"
   VendorName "ATI"
   BoardName "ATI Radeon (fglrx)"
   Driver "fglrx"
   Screen 0
   BusID "PCI:1:0:0"
   Option "DPMS"
   Option "dri"
   
   # === disable PnP Monitor  ===
   #Option                              "NoDDC"
   # === disable/enable XAA/DRI ===
   Option "no_accel"                   "no"
   Option "no_dri"                     "no"
   # === FireGL DDX driver module specific settings ===
   # === Screen Management ===
   Option "DesktopSetup"               "0x00000000" 
   Option "MonitorLayout"              "AUTO, AUTO"
   Option "IgnoreEDID"                 "off"
   Option "HSync2"                     "unspecified" 
   Option "VRefresh2"                  "unspecified" 
   Option "ScreenOverlap"              "0" 
   # === TV-out Management ===
   Option "NoTV"                       "yes"     
   Option "TVStandard"                 "NTSC-M"     
   Option "TVHSizeAdj"                 "0"     
   Option "TVVSizeAdj"                 "0"     
   Option "TVHPosAdj"                  "0"     
   Option "TVVPosAdj"                  "0"     
   Option "TVHStartAdj"                "0"     
   Option "TVColorAdj"                 "0"     
   Option "GammaCorrectionI"           "0x00000000"
   Option "GammaCorrectionII"          "0x00000000"
   # === OpenGL specific profiles/settings ===
   Option "Capabilities"               "0x00000000"
   # === Video Overlay for the Xv extension ===
   Option "VideoOverlay"               "on"
   # === OpenGL Overlay ===
   # Note: When OpenGL Overlay is enabled, Video Overlay
   #       will be disabled automatically
   Option "OpenGLOverlay"              "off"
   Option "CenterMode"                 "off"
   # === QBS Support ===
   Option "Stereo"                     "off"
   Option "StereoSyncEnable"           "1"
   # === Misc Options ===
   Option "UseFastTLS"                 "0"
   Option "BlockSignalsOnLock"         "on"
   Option "UseInternalAGPGART"         "no"
   Option "ForceGenericCPU"            "no"
   # === FSAA ===
   Option "FSAAScale"                  "1"
   Option "FSAADisableGamma"           "no"
   Option "FSAACustomizeMSPos"         "no"
   Option "FSAAMSPosX0"                "0.000000"
   Option "FSAAMSPosY0"                "0.000000"
   Option "FSAAMSPosX1"                "0.000000"
   Option "FSAAMSPosY1"                "0.000000"
   Option "FSAAMSPosX2"                "0.000000"
   Option "FSAAMSPosY2"                "0.000000"
   Option "FSAAMSPosX3"                "0.000000"
   Option "FSAAMSPosY3"                "0.000000"
   Option "FSAAMSPosX4"                "0.000000"
   Option "FSAAMSPosY4"                "0.000000"
   Option "FSAAMSPosX5"                "0.000000"
   Option "FSAAMSPosY5"                "0.000000"
EndSection

Section "Device"
   Identifier "device2"
   VendorName "ATI"
   BoardName "ATI Radeon (fglrx)"
   Driver "radeon"
   Screen 0
   BusID "PCI:1:0:1"
   Option "DPMS"
EndSection

Section "Screen"
   Identifier "screen1"
   Device "device1"
   Monitor "monitor1"
   DefaultColorDepth 24
   
   Subsection "Display"
       Depth 8
       Virtual 1280 1024
   EndSubsection
   
   Subsection "Display"
       Depth 15
       Virtual 1280 1024
   EndSubsection
   
   Subsection "Display"
       Depth 16
       Virtual 1280 1024
   EndSubsection
   
   Subsection "Display"
       Depth 24
       Virtual 1280 1024
   EndSubsection
EndSection

Section "Screen"
   Identifier "screen2"
   Device "device2"
   Monitor "monitor2"
   DefaultColorDepth 24
   
   Subsection "Display"
       Depth 8
       Virtual 1280 1024
   EndSubsection
   
   Subsection "Display"
       Depth 15
       Virtual 1280 1024
   EndSubsection
   
   Subsection "Display"
       Depth 16
       Virtual 1280 1024
   EndSubsection
   
   Subsection "Display"
       Depth 24
       Virtual 1280 1024
   EndSubsection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"
   # The Identifier line must be present
   Identifier "Server Layout"
   
   # Each InputDevice line specifies an InputDevice section name and
   # optionally some options to specify the way the device is to be
   # used.  Those options include "CorePointer", "CoreKeyboard" and
   # "SendCoreEvents".
   
   InputDevice "Mouse1" "CorePointer"
   InputDevice "Keyboard1" "CoreKeyboard"
   Screen "screen1"
   Screen "screen2" RightOf "screen1"
   #Option "Xinerama"
EndSection

 

What am I doing wrong?

Link to comment
Share on other sites

Your xorg.conf seems to look OK to me, the thing I thought that was missing was the DRI section, but you have that there.

 

ATI recommend enabling posix shared memory? Have you tried doing that?

 

In /etc/fstab file, you might need to add the following line:

 

tmpfs /dev/shm tmpfs defaults 0 0
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...