You are not logged in.

#1 2006-01-28 21:55:30

mtrivs
Member
From: Syracuse, NY
Registered: 2005-12-26
Posts: 183

ATI DRI & Xorg.conf

I am trying to get 3d working with the ATI drivers.  I have installed the kernel and have installed the drivers, ran

 fglrxconfig 

. I have also added the fglrx module to rc.conf and then when i boot i get the following error message:

(ww) Fglrx: no matching device section for instance (BusID PCI:1:5:0) found
(EE) No devices detected

Here is my xorg.conf:

 
# File: xorg.conf
# File generated by fglrxconfig (C) ATI Technologies, a substitute for xf86config.

# **********************************************************************
# 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 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

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a
    
#This loads the synaptics touchpad driver
#   Load        "synaptics"

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"
# 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"
    Option "XkbModel"    "pc101"
    Option "XkbLayout"    "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

  Identifier    "Mouse[1]"
  Driver "mouse"
  Option "Protocol"   "ImPS/2"
  Option "ZAxisMapping"   "4 5"
  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"

EndSection

#Section "InputDevice"
#  Driver        "synaptics"
#   Identifier    "Mouse[1]"
#    Option        "Device"        "/dev/input/mice"
#     Option        "Protocol"      "auto-dev"
#     Option        "LeftEdge"      "1700"
#     Option        "RightEdge"     "5300"
#    Option        "TopEdge"       "1700"
#    Option        "BottomEdge"    "4200"
#    Option        "FingerLow"     "25"
#    Option        "FingerHigh"    "30"
#    Option        "MaxTapTime"    "180"
#    Option        "MaxTapMove"    "220"
#    Option        "VertScrollDelta" "100"
#    Option        "MinSpeed"      "0.06"
#    Option        "MaxSpeed"      "0.12"
#    Option        "AccelFactor" "0.0010"
#    Option        "SHMConfig"     "on"
#    #Option       "Repeater"      "/dev/ps2mouse"
#    EndSection

# **********************************************************************
# Other input device sections 
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the XF86Config man page for a description of the options.
# **********************************************************************
#
Section "InputDevice"
    Identifier  "Serial Mouse"
    Driver      "mouse"
    Option      "Protocol" "Microsoft"
    Option      "Device" "/dev/ttyS0"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option          "ZAxisMapping"          "4 5"
    Option      "Device" "/dev/psaux"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

# Section "InputDevice" 
#    Identifier  "Mouse2"
#    Driver      "mouse"
#    Option      "Protocol"      "MouseMan"
#    Option      "Device"        "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"         "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"         "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"         "/dev/ttyS0"
#    Option     "MinX"           "1412"
#    Option     "MaxX"           "15184"
#    Option     "MinY"           "15372"
#    Option     "MaxY"           "1230"
#    Option     "ScreenNumber"   "0"
#    Option     "ReportingMode"  "Scaled"
#    Option     "ButtonNumber"   "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"         "/dev/ttyS0"
#    Option     "MinX"           "231"
#    Option     "MaxX"           "3868"
#    Option     "MinY"           "3858"
#    Option     "MaxY"           "272"
#    Option     "ScreenNumber"   "0"
#    Option     "ReportingMode"  "Scaled"
#    Option     "ButtonThreshold"    "17"
#    Option     "ButtonNumber"   "1"
#    Option     "SendCoreEvents"
# EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier  "Monitor0"
# === mode lines based on GTF ===
# VGA @ 100Hz
# Modeline "640x480@100" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync
# SVGA @ 100Hz
# Modeline "800x600@100" 68.179 800 848 936 1072 600 601 604 636 +hsync +vsync
# XVGA @ 100Hz
# Modeline "1024x768@100" 113.309 1024 1096 1208 1392 768 769 772 814 +hsync +vsync
# 1152x864 @ 60Hz
# Modeline "1152x864@60" 81.642 1152 1216 1336 1520 864 865 868 895 +hsync +vsync
# 1152x864 @ 85Hz
# Modeline "1152x864@85" 119.651 1152 1224 1352 1552 864 865 868 907 +hsync +vsync
# 1152x864 @ 100Hz
# Modeline "1152x864@100" 143.472 1152 1232 1360 1568 864 865 868 915 +hsync +vsync
# 1280x960 @ 75Hz
# Modeline "1280x960@75" 129.859 1280 1368 1504 1728 960 961 964 1002 +hsync +vsync
# 1280x960 @ 100Hz
# Modeline "1280x960@100" 178.992 1280 1376 1520 1760 960 961 964 1017  +hsync +vsync
# SXGA @ 100Hz
# Modeline "1280x1024@100" 190.960 1280 1376 1520 1760 1024 1025 1028 1085 +hsync +vsync
# SPEA GDM-1950 (60Hz,64kHz,110MHz,-,-): 1280x1024 @ V-freq: 60.00 Hz, H-freq: 63.73 KHz
# Modeline "GDM-1950"  109.62  1280 1336 1472 1720  1024 1024 1026 1062 -hsync -vsync
# 1600x1000 @ 60Hz
# Modeline "1600x1000" 133.142 1600 1704 1872 2144 1000 1001 1004 1035 +hsync +vsync
# 1600x1000 @ 75Hz
# Modeline "1600x1000" 169.128 1600 1704 1880 2160 1000 1001 1004 1044 +hsync +vsync
# 1600x1000 @ 85Hz
# Modeline "1600x1000" 194.202 1600 1712 1888 2176 1000 1001 1004 1050 +hsync +vsync
# 1600x1000 @ 100Hz
# Modeline "1600x1000" 232.133 1600 1720 1896 2192 1000 1001 1004 1059 +hsync +vsync
# 1600x1024 @ 60Hz
# Modeline "1600x1024" 136.385 1600 1704 1872 2144 1024 1027 1030 1060 +hsync +vsync
# 1600x1024 @ 75Hz
# Modeline "1600x1024" 174.416 1600 1712 1888 2176 1024 1025 1028 1069 +hsync +vsync
# 1600x1024 @ 76Hz
# Modeline "1600x1024" 170.450 1600 1632 1792 2096 1024 1027 1030 1070 +hsync +vsync
# 1600x1024 @ 85Hz
# Modeline "1600x1024" 198.832 1600 1712 1888 2176 1024 1027 1030 1075 +hsync +vsync
# 1920x1080 @ 60Hz
# Modeline "1920x1080" 172.798 1920 2040 2248 2576 1080 1081 1084 1118 -hsync -vsync
# 1920x1080 @ 75Hz
# Modeline "1920x1080" 211.436 1920 2056 2264 2608 1080 1081 1084 1126 +hsync +vsync
# 1920x1200 @ 60Hz
# Modeline "1920x1200" 193.156 1920 2048 2256 2592 1200 1201 1203 1242 +hsync +vsync
# 1920x1200 @ 75Hz
# Modeline "1920x1200" 246.590 1920 2064 2272 2624 1200 1201 1203 1253 +hsync +vsync
# 2048x1536 @ 60
# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync
# 2048x1536 @ 60
# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync
# 1400x1050 @ 60Hz M9 Laptop mode 
# ModeLine "1400x1050" 122.000 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync
# 1920x2400 @ 25Hz for IBM T221, VS VP2290 and compatible display devices
# Modeline "1920x2400@25" 124.620 1920 1928 1980 2048 2400 2401 2403 2434 +hsync +vsync
# 1920x2400 @ 30Hz for IBM T221, VS VP2290 and compatible display devices
# Modeline "1920x2400@30" 149.250 1920 1928 1982 2044 2400 2402 2404 2434 +hsync +vsync

EndSection


# **********************************************************************
# 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
# installed.

#    BusID       "PCI:0:10:0"

#    VideoRam    256

#    Clocks      25.2 28.3

EndSection

# === ATI device section ===

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
# === misc DRI settings ===
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
    Option "DesktopSetup"               "(null)" 
    Option "ScreenOverlap"              "0" 
    Option "GammaCorrectionI"           "0x06419064"
    Option "GammaCorrectionII"          "0x06419064"
# === OpenGL specific profiles/settings ===
    Option "Capabilities"               "0x00000000"
    Option "CapabilitiesEx"             "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"
# === Center Mode (Laptops only) ===
    Option "CenterMode"                 "off"
# === Pseudo Color Visuals (8-bit visuals) ===
    Option "PseudoColorVisuals"         "off"
# === QBS Management ===
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
# === FSAA Management ===
    Option "FSAAEnable"                 "no"
    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"
# === Misc Options ===
    Option "UseFastTLS"                 "2"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=5653
    Screen 0
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  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        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 Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.

    Screen "Screen0"

# 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 "Mouse[1]" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

### EOF ###


Thanks in advance!


~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]

Offline

#2 2006-01-28 22:09:46

mtrivs
Member
From: Syracuse, NY
Registered: 2005-12-26
Posts: 183

Re: ATI DRI & Xorg.conf

This may help you guys out:

[mitch@Laptop ~]$ lspci | grep XPRESS
01:05.0 VGA compatible controller: ATI Technologies Inc ATI Radeon XPRESS 200M 5955 (PCIE)

~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]

Offline

#3 2006-01-28 22:10:49

nirvanix
Member
From: Saskatoon
Registered: 2005-01-31
Posts: 193

Re: ATI DRI & Xorg.conf

The error message says the device was found on bus PCI 1:5:0, but your xorg.conf file has BusID PCI 1:0:0, so there is something amiss.

If you do an lspci command from the console, where does the ATI device show up? Here's mine:

01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600]
01:00.1 Display controller: ATI Technologies Inc RV350 AP [Radeon 9600] (Secondary)

Which shows that mine is on PCI 1:0:0 (the first one)

Try changing your xorg.conf file to reflect what lspci shows you.


I've got a lovely bunch of coconuts...

Offline

#4 2006-01-29 05:40:29

mtrivs
Member
From: Syracuse, NY
Registered: 2005-12-26
Posts: 183

Re: ATI DRI & Xorg.conf

$ lspci | grep ATI
01:05.0 VGA compatible controller: ATI Technologies Inc ATI Radeon XPRESS 200M 5955 (PCIE)

~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]

Offline

#5 2006-01-29 06:44:02

mtrivs
Member
From: Syracuse, NY
Registered: 2005-12-26
Posts: 183

Re: ATI DRI & Xorg.conf

Changed the PCI to the output of lspci and it wouldnt even bring me to the console login terminal.....any more ideas?


~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]

Offline

#6 2006-01-29 16:05:02

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: ATI DRI & Xorg.conf

You're saying you changed your BusID to:

BusID "PCI:1:5:0"

and it's still not working?

Offline

#7 2006-01-29 16:08:08

nirvanix
Member
From: Saskatoon
Registered: 2005-01-31
Posts: 193

Re: ATI DRI & Xorg.conf

Did you set BusID "PCI:1:5:0" in your xorg.conf file?


I've got a lovely bunch of coconuts...

Offline

#8 2006-01-29 20:48:20

mtrivs
Member
From: Syracuse, NY
Registered: 2005-12-26
Posts: 183

Re: ATI DRI & Xorg.conf

I changed the xorg.conf to show the output of lscpi.... I changed my xorg.conf to look like this at the end of the ATI section:

# === Misc Options ===
    Option "UseFastTLS"                 "2"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:5:0"    # vendor=1002, device=5653
    Screen 0
EndSection

After changing my busID to "PCI:1:5:0" I was unable to even get to the login prompt (I disabled kdm for the moment)  It would just quickly flash fast the login and then sit at a black screen.


~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]

Offline

#9 2006-01-30 01:54:59

nirvanix
Member
From: Saskatoon
Registered: 2005-01-31
Posts: 193

Re: ATI DRI & Xorg.conf

You know, I've never had any luck getting fglrx to run with the internal AGP - I've always had to use the external one, so try this in your xorg.conf:   

Option "UseInternalAGPGART"         "no"

Of course, you need to have the agpgart and <vendor>_agp modules loaded for the external to work.

Try the external with both of the BusIDs and see what happens.


I've got a lovely bunch of coconuts...

Offline

#10 2006-01-31 11:25:38

mtrivs
Member
From: Syracuse, NY
Registered: 2005-12-26
Posts: 183

Re: ATI DRI & Xorg.conf

OK i have it working, but i have noticed a considerable slowdown in my computer..Apparently the reason for DRI not being enabled was a simplle BIOS setting. However i get very low framerates and have trouble with a lot of KDE apps....... Should i try using the external agpgart or would it produce the same result?  If i wanted to try the external agpgart i would have to add agpgart to the modules list in rc.conf and thats all?


~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]

Offline

#11 2006-01-31 22:39:22

nirvanix
Member
From: Saskatoon
Registered: 2005-01-31
Posts: 193

Re: ATI DRI & Xorg.conf

What sort of BIOS setting - AGP enabled?

Problems in 2D and 3D might be entirely different things. If you run the command glxinfo from the console, does it say in the output that direct rendering is enabled? It sounds like MESA (sofware 3D) is doing the DRI instead of your hardware if your 3D is so slow. Also, do an lsmod command from the console - you should see the module fglrx loaded in the listing.

To use the external agp modules, you should see two modules (agpgart and <vendor>_agp (vendor being amd or nvidia, etc) in the list of loaded modules that you get from the lsmod command. If you're using the Arch default kernel, they are probably loaded already by default.


I've got a lovely bunch of coconuts...

Offline

#12 2006-01-31 23:26:50

mtrivs
Member
From: Syracuse, NY
Registered: 2005-12-26
Posts: 183

Re: ATI DRI & Xorg.conf

no, my graphics card has Hypermemory (where it has dedicated memory, but allows you to add system memory for use as well).  So i was on a forum ( www.notebookanalysis.com ) that deals only with my model of notebook, and saw someone with the same blank screen as mine, so they go it to work by using only shared video memory.  So i changed that and it worked.

When i type glxinfo i get this:

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
    GLX_ATI_render_texture
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON XPRESS 200M Series SW TCL Generic
OpenGL version string: 1.3.5519 (X4.3.0-8.20.8)
OpenGL extensions:
    GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
    GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program,
    GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
    GL_ARB_multisample, GL_ARB_occlusion_query, GL_ARB_point_parameters,
    GL_ARB_point_sprite, GL_ARB_shader_objects, GL_ARB_shading_language_100,
    GL_ARB_shadow, GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
    GL_ARB_texture_compression, GL_ARB_texture_cube_map,
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
    GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix,
    GL_ARB_vertex_blend, GL_ARB_vertex_program, GL_ARB_vertex_shader,
    GL_ARB_window_pos, GL_ARB_draw_buffers, GL_ATI_draw_buffers,
    GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader, GL_ATI_separate_stencil,
    GL_ATI_texture_env_combine3, GL_ATI_texture_float,
    GL_ATI_texture_mirror_once, GL_ATI_vertex_streams,
    GL_ATIX_texture_env_combine3, GL_ATIX_texture_env_route,
    GL_ATIX_vertex_shader_output_point_size, GL_EXT_abgr, GL_EXT_bgra,
    GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_minmax,
    GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,
    GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
    GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
    GL_EXT_texgen_reflection, GL_EXT_texture3D,
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
    GL_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_blend_square,
    GL_NV_occlusion_query, GL_NV_texgen_reflection, GL_SGI_color_matrix,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
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
----------------------------------------------------------------------
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x2e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x2f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x31 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None

which tells me that DRI is enabled.....however after running glxinfo, it gives me the information above, but does not bring me back to a command line, almost as if it is frozen.  There are several other applications that freeze constantly while using them.

output of lsmod:

Module                  Size  Used by
usblp                  10752  0
usbhid                 40064  0
yealink                10752  0
usb_storage            62272  0
eth1394                16776  0
uhci_hcd               26768  0
ehci_hcd               27144  0
ohci_hcd               17028  0
ohci1394               28084  0
ieee1394               77400  2 eth1394,ohci1394
amd64_agp               9668  0
snd_atiixp_modem       12296  1
snd_atiixp             14988  2
snd_ac97_codec         80032  2 snd_atiixp_modem,snd_atiixp
snd_ac97_bus            2688  1 snd_ac97_codec
snd_pcm_oss            41760  0
snd_mixer_oss          15104  1 snd_pcm_oss
snd_pcm                69252  4 snd_atiixp_modem,snd_atiixp,snd_ac97_codec,snd_pcm_oss
snd_timer              19076  1 snd_pcm
snd                    41956  13 snd_atiixp_modem,snd_atiixp,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               7776  1 snd
snd_page_alloc          8200  3 snd_atiixp_modem,snd_atiixp,snd_pcm
yenta_socket           22156  0
rsrc_nonstatic         10624  1 yenta_socket
pcmcia_core            32664  2 yenta_socket,rsrc_nonstatic
fglrx                 417568  19
agpgart                26064  2 amd64_agp,fglrx
fuse                   29712  0
ndiswrapper           150800  0
8139too                22528  0
mii                     4992  1 8139too
usbcore               100484  9 usblp,usbhid,yealink,usb_storage,uhci_hcd,ehci_hcd,ohci_hcd,ndiswrapper
ntfs                  186640  1
evdev                   7552  0
xfs                   436896  0
reiserfs              214768  0
jfs                   152828  0
ext3                  107016  1
jbd                    49044  1 ext3
sata_vsc                6020  0
sata_uli                5252  0
sata_via                6276  0
sata_sx4               11268  0
sata_svw                5892  0
sata_sis                5892  0
sata_sil24              8964  0
sata_qstor              7428  0
sata_promise            8708  0
sata_sil                6916  0
sata_nv                 7044  0
sata_mv                14340  0
mptspi                  6664  0
mptsas                 12300  0
mptfc                   5892  0
mptscsih               27536  3 mptspi,mptsas,mptfc
mptctl                 19968  0
mptbase                39904  5 mptspi,mptsas,mptfc,mptscsih,mptctl
tmscsim                18880  0
sym53c8xx              68372  0
st                     32416  0
sg                     26528  0
sr_mod                 13732  0
scsi_transport_sas     13568  1 mptsas
raid_class              5120  0
qlogicfas408            6536  0
qla6312               115712  0
qla2322               134912  0
qla2300               125056  0
qla2200                87680  0
qla2100                79872  0
qla2xxx               106460  5 qla6312,qla2322,qla2300,qla2200,qla2100
pdc_adma                7300  0
qla1280               115340  0
osst                   45088  0
nsp32                  21908  0
megaraid_sas           22956  0
megaraid_mbox          28816  0
megaraid_mm             9252  1 megaraid_mbox
lpfc                  125884  0
iscsi_tcp              34308  0
scsi_transport_iscsi    18112  1 iscsi_tcp
ipr                    55072  0
imm                    10632  0
parport                28488  1 imm
dmx3191d               12160  0
dc395x                 30480  0
atp870u                27136  0
ata_piix                7556  0
aic7xxx               148788  0
aic79xx               219864  0
ahci                    9988  0
libata                 46348  15 sata_vsc,sata_uli,sata_via,sata_sx4,sata_svw,sata_sis,sata_sil24,sata_qstor,sata_promise,sata_sil,sata_nv,sata_mv,pdc_adma,ata_piix,ahci
aha152x                32080  0
aacraid                47616  0
a100u2w                 9280  0
BusLogic               21556  0
3w_xxxx                23968  0
3w_9xxx                27908  0
sd_mod                 13568  0
ide_floppy             15104  0
ide_cd                 33284  0
cdrom                  31520  2 sr_mod,ide_cd
ide_disk               13568  4
via82cxxx               8196  0 [permanent]
trm290                  4228  0 [permanent]
triflex                 3712  0 [permanent]
slc90e66                4992  0 [permanent]
sis5513                13448  0 [permanent]
siimage                10112  0 [permanent]
serverworks             7816  0 [permanent]
sc1200                  6272  0 [permanent]
rz1000                  2944  0 [permanent]
piix                    8708  0 [permanent]
pdc202xx_old            8960  0 [permanent]
pdc202xx_new            7552  0 [permanent]
ns87415                 4168  0 [permanent]
it821x                  7300  0 [permanent]
hpt366                 16000  0 [permanent]
hpt34x                  4608  0 [permanent]
generic                 4868  0 [permanent]
cy82c693                4356  0 [permanent]
cs5535                  6016  0 [permanent]
cs5530                  4736  0 [permanent]
cmd64x                  9500  0 [permanent]
atiixp                  5264  0 [permanent]
amd74xx                12956  0 [permanent]
alim15x3                9996  0 [permanent]
aec62xx                 6400  0 [permanent]
ide_core              102480  29 usb_storage,ide_floppy,ide_cd,ide_disk,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,pdc202xx_new,ns87415,it821x,hpt366,hpt34x,generic,cy82c693,cs5535,cs5530,cmd64x,atiixp,amd74xx,alim15x3,aec62xx

i see fglrx is loaded along with agpgart and amd64_agp..... does this mean that my modules are looking for external agpgart?

I am using the archck kernel because i thought that was the only way i could use the ati-drivers package from community.....

I have also tried re-running the fglrxconfig, but it hasnt solved anything.

Any help would be appreciated!!

Thanks in advance!


~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]

Offline

#13 2006-02-01 04:00:24

nirvanix
Member
From: Saskatoon
Registered: 2005-01-31
Posts: 193

Re: ATI DRI & Xorg.conf

Hi,

Yes, you've got direct rendering switched on, and the agpgart and amd64_agp modules are loaded so you should be able to run with the external agp if you're not already. I'm not sure what kind of performance difference you'll experience between internal and external agp.

The freezing in the console application and also on shutting down the system is a little bug in the latest ATI drivers. Someone has just created a fix for this , so should be able to get the patched version soon.

What kind of framerates are you getting with glxgears? I get about 2000 with my Radeon 9600 Pro. You should be able to play something like UT2004 at 800x600 with no slowdown at all.


I've got a lovely bunch of coconuts...

Offline

#14 2006-02-01 05:18:41

mtrivs
Member
From: Syracuse, NY
Registered: 2005-12-26
Posts: 183

Re: ATI DRI & Xorg.conf

glxgears:

3014 frames in 5.0 seconds = 602.800 FPS
3479 frames in 5.0 seconds = 695.800 FPS
3565 frames in 5.0 seconds = 713.000 FPS
3504 frames in 5.0 seconds = 700.800 FPS
3330 frames in 5.0 seconds = 666.000 FPS
3040 frames in 5.0 seconds = 608.000 FPS
9426 frames in 5.0 seconds = 1885.200 FPS
10193 frames in 5.0 seconds = 2038.600 FPS
10676 frames in 5.0 seconds = 2135.200 FPS
10124 frames in 5.0 seconds = 2024.800 FPS
10021 frames in 5.0 seconds = 2004.200 FPS
10444 frames in 5.0 seconds = 2088.800 FPS
10329 frames in 5.0 seconds = 2065.800 FPS
10921 frames in 5.0 seconds = 2184.200 FPS
10940 frames in 5.0 seconds = 2188.000 FPS
10493 frames in 5.0 seconds = 2098.600 FPS
9861 frames in 5.0 seconds = 1972.200 FPS

Is there a place where i can find this fix, or is it going to be released with a new archCK kernel or something?


~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]

Offline

#15 2006-02-01 15:11:25

nirvanix
Member
From: Saskatoon
Registered: 2005-01-31
Posts: 193

Re: ATI DRI & Xorg.conf

It's in the arch community package repository (AUR) by the looks of it: ati-drivers 8.21.7

Your glxgears look ok. What games are you trying to play? With that chipset, you're not going to get great framerates for Quake 4 or Doom3.


I've got a lovely bunch of coconuts...

Offline

#16 2006-02-01 17:07:22

mtrivs
Member
From: Syracuse, NY
Registered: 2005-12-26
Posts: 183

Re: ATI DRI & Xorg.conf

well i havent tried to play any games, i will probably just play ut2004....

Also i get this when i run a pacman -Syu:

:: Synchronizing package databases...
 current                  [################] 100%      48K    48.6K/s  00:00:01
:: extra is up to date
:: community is up to date
 shadowhand               [################] 100%       6K     0.8K/s  00:00:07
:: avahi conflicts with nss-mdns. Remove nss-mdns? [Y/n] y

Remove:  nss-mdns

Targets: ati-drivers-8.21.7-1 avahi-0.6.6-2 bittorrent-4.4.0-1
         fontconfig-2.3.2-5 fuse-2.5.1-1 gtk2-2.8.11-1 imagemagick-6.2.6-2
         kernel26archck-2.6.15.archck3-1 transcode-1.0.2-3

Total Package Size:   38.4 MB

Proceed with upgrade? [Y/n] y

:: Retrieving packages from current...
 fontconfig-2.3.2-5       [################] 100%     306K    86.9K/s  00:00:03

checking package integrity... done.
error: this will break the following dependencies:
  nss-mdns: is required by kdelibs

~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]

Offline

#17 2006-02-01 17:56:29

nirvanix
Member
From: Saskatoon
Registered: 2005-01-31
Posts: 193

Re: ATI DRI & Xorg.conf

Hi,

I'm not sure what's up with the whole avahi thing. It seems to be a problem as they are always putting out a new version every couple of days!


I've got a lovely bunch of coconuts...

Offline

#18 2006-02-01 18:58:23

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: ATI DRI & Xorg.conf

mtrivs: Please do not cross-post. I have answered in your thread.

Offline

#19 2006-02-01 19:06:03

mtrivs
Member
From: Syracuse, NY
Registered: 2005-12-26
Posts: 183

Re: ATI DRI & Xorg.conf

sry snowman, ill keep to 1 thread next time!  lol


~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]

Offline

Board footer

Powered by FluxBB