64 bit ati driver problem under FC3 x86_64 (long)

Thiago Guzella thiago.guzella at gmail.com
Thu Jan 20 21:41:07 UTC 2005


Hi there folks,

After ATI finally got their 64 bit display drivers ready, i installed
it... after running fglrxconfig, and copying the generated xorg.conf
file to /etc/X11, trying to start X will only give me a blank screen,
but no relevant error message logged (BTW, i'm running fc3, kernel
2.6.9.-1.724, on a asus a8v deluxe mobo, ati radeon 9200 se):

snip:
----------------------------------------------------------------------------------------------------------------
X Window System Version 6.8.1
Release Date: 17 September 2004
X Protocol Version 11, Revision 0, Release 6.8.1
Build Operating System: Linux 2.4.21-14.ELsmp x86_64 [ELF] 
Current Operating System: Linux Guzella-A64 2.6.9-1.724_FC3 #1 Sun Jan
2 15:40:13 EST 2005 x86_64
Build Date: 01 December 2004
Build Host: dolly.build.redhat.com

....

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmGetBusid returned ''
(II) fglrx(0): [drm] loaded kernel module for "fglrx" driver
(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xffffff00001c5000
(II) fglrx(0): [drm] mapped SAREA 0xffffff00001c5000 to 0x2a9579c000
(II) fglrx(0): [drm] framebuffer handle = 0xe8000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0):     Name: fglrx
(II) fglrx(0):     Version: 8.8.25
(II) fglrx(0):     Date: Jan 14 2005
(II) fglrx(0):     Desc: ATI FireGL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0):     Build-Kernel UTS_RELEASE:        2.6.9-1.724_FC3
(II) fglrx(0):     Build-Kernel MODVERSIONS:        no
(II) fglrx(0):     Build-Kernel __SMP__:            no
(II) fglrx(0):     Build-Kernel PAGE_SIZE:          0x1000
(II) fglrx(0): [drm] register handle = 0xfbe00000

----------------------------------------------------

As I said, there's no error message logged.... by checking ati's
support page, i have found the following issue, regarding driver
operation under 2.6 kernels:

http://www.ati.com/support/infobase/4755.html: "X Fails to load on
systems with Linux kernel version 2.6.x
Version 2.6 kernels require a second kernel module in addition to
agpgart, which should be named similar to the manufacturer of your
motherboard AGP chipset. This error message should occur if the other
AGP module is not loaded.

This issue can be worked around as follows:

1. First make sure that agpgart is loading properly.

2. To find out which AGP controller your motherboard uses, issue the
following command:

    lspci | grep AGP 

3. To find a list of AGP related kernel modules installed on your
machine, issue the following command and look for a module (*.ko file)
that suits your AGP Controller:

    ls /lib/modules/`uname -r`/kernel/drivers/char/agp 

4. Use the modprobe command (as root) to load the module. For example:
On a motherboard using a VIA® AGP Controller, you would load the
via-agp.ko using modprobe as follows (notice that the trailing .ko is
omitted):

    modprobe via-agp 

Check the modprobe manpage for more information on loading kernel modules.

5. To verify that the AGP module is already loaded, run lsmod as root.
With the XServer running and the connection established, the usage
count of this module must be greater than zero.
"

Well, the problem is that i am not running agpgart, and couldn't find
the via-agp module (my agp controller) in the kernel tree...

ATI also lists this error:

http://www.ati.com/support/infobase/4577.html: "X.org 6.8 driver
installation problems caused by fglrxconfig

 Edit /etc/X11/xorg.conf and change the section that looks like this:
   Section "InputDevice"
     Identifier "Keyboard0"
     Driver "Keyboard"
to this:
   Section "InputDevice"
     Identifier "Keyboard0"
     Driver "kbd" 
"

Also tried that without success...

Has anyone had a similar problem???? BTW, here's ati's xorg.conf,
edited by me to match fc3's original configuration file:

--------------------------------------------------------

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

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" 
    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

EndSection

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"kbd"
    Option "AutoRepeat" "500 30"


     Option "XkbModel" "abnt2"
     Option "XkbLayout" "br"

EndSection


Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver "mouse"
    Option "Protocol"   "ImPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Device" "/dev/input/mice"

    Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
    Identifier  "Monitor0"
    HorizSync 31.5 - 94.0
    VertRefresh  50.0 - 90.0
    Option "dpms"
EndSection

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

    Driver      "vga"
EndSection

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"               "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"
# === 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"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=5964
    Screen 0
EndSection


Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1280x960" "1152x864" "1024x768"
"800x600" "640x480"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection

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 "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection


---------------------------------------------------------

-- 
Thiago dos Santos Guzella
Electrical Enginnering Student - UFMG (www.ufmg.br), Brazil 
Linux User #354160
UIN: 13465286. Jabber: tguzella @ jabber.org

"Thou, nature, art my goddess; to thy laws my services are bound..." 
William Shakespeare




More information about the fedora-list mailing list