You are not logged in.

#26 2006-02-18 04:06:54

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

Re: ATI drivers config - help

This is what my modules section looks like:

Section "Module"
    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "freetype"
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a
EndSection

it was generated by the late, great, fglrxconfig, which does no longer exist.  Works fine here. smile

Offline

#27 2006-02-19 11:17:08

vilwarin
Member
Registered: 2005-10-20
Posts: 28

Re: ATI drivers config - help

Heya!

I so much would love to get my ati-drivers running properly, too smile

I have xorg 6.8, the latest 2.6.15.4 Kernel and a stupid ATI Radeon 9500 graphics card.

Here's what I did:

* I removed the old ati-driver and synched the ati-driver-arch.

* I moved & symlinked the xorg modules, like you and the how-to described:

$ cp /usr/X11R6/lib/modules/* /usr/lib/xorg/modules -r
$ rm -r /usr/X11R6/lib/modules
$ ln -s /usr/lib/xorg/modules /usr/X11R6/lib/modules

* I run this new ati-config binary with example 1

1. Setting up fglrx for the first time.
       Single head :    aticonfig --initial --input=/etc/X11/xorg.conf

* Because I had no results (glxgears and cube wink ) still reporting low fps, resp. unplayable, I tried install the ati-driver sh skript from ati.com and run fglrxconfig afterwards.

* I also checked my xorg.conf with yours. The only difference is the Identifier Tag:

Section "Device"

# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
    # vendor=1002, device=4e45
        Identifier  "ATI Graphics Adapter"
        Driver      "fglrx"
        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
        Option      "DesktopSetup" "(null)"
        Option      "ScreenOverlap" "0"
        Option      "GammaCorrectionI" "0x00000000"
        Option      "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
        Option      "Capabilities" "0x00000000"
        Option      "CapabilitiesEx" "0x00000000"
# === Video Overlay for the Xv extension ===
        Option      "VideoOverlay" "on"
# === OpenGL Overlay ===
        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" "no"
        Option      "ForceGenericCPU" "no"
        Option      "KernelModuleParm" "agplock=0" # AGP locked user pages: disabled
        BusID       "PCI:3:0:0"
EndSection

* right last but not least, /var/log/Xorg.0.log is reporting for duty.
...
(II) fglrx(0): Kernel Module version matches driver.
...
(II) fglrx(0): Acceleration enabled
...

However at some points I get AGP errors, which result in no 3D acceleration possible:

drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmGetBusid returned ''
(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:3:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xf8e24000
(II) fglrx(0): [drm] mapped SAREA 0xf8e24000 to 0xb79f0000
(II) fglrx(0): [drm] framebuffer handle = 0xd8000000
(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.22.5
(II) fglrx(0):     Date: Feb  7 2006
(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.15.4
(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 = 0xea000000
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xf8e24000 at 0xb79f0000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *
(II) fglrx(0): FBADPhys: 0xd8000000 FBMappedSize: 0x08000000
(II) fglrx(0): FBMM initialized for area (0,0)-(1280,8191)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1280,1024) (front color buffer - assumption)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(==) fglrx(0): Using hardware cursor (scanline 1024)
(II) fglrx(0): Largest offscreen area available: 1280 x 7163
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        Solid Horizontal and Vertical Lines
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                32 256x256 slots
                16 512x512 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): Direct rendering disabled
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT
(==) RandR enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM

Offline

#28 2006-02-19 14:38:39

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

Re: ATI drivers config - help

vilwarin wrote:

* I moved & symlinked the xorg modules, like you and the how-to described

This is only necessary with Xorg 7 - you should not be moving these files around if you're still using Xorg 6.8!

(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"
(EE) fglrx(0): cannot init AGP

That's your problem.  What do you get when you issue the command

lsmod | grep fglrx

Offline

#29 2006-02-19 15:55:46

vilwarin
Member
Registered: 2005-10-20
Posts: 28

Re: ATI drivers config - help

I moved the files back,
lsmod gives me:

$ lsmod | grep fglrx
fglrx                 446412  0 
agpgart                28104  1 fglrx

Offline

#30 2006-02-19 16:36:42

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

Re: ATI drivers config - help

vilwarin: You're missing an agp module.  Run:

hwdetect --show-agp

you should get an output similar to this:

AGP    : agpgart via-agp

So, for me, I need to make sure agpgart and via-agp are loaded before running X.  You'll need to load some other module, like via-agp.  Then it should work.

Offline

#31 2006-02-19 17:24:28

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: ATI drivers config - help

My xorg.conf looks like (I have Radeon 9000 r250, agp):

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/encodings"
    FontPath     "/usr/share/fonts/artwiz-fonts"
    FontPath     "/usr/share/fonts/TTF"   
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
EndSection

Section "Module"
  Load         "freetype"
  Load         "type1"
  Load         "bitmap"
  Load         "dbe"
  Load         "glx"
  Load         "extmod"
  Load         "dri"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xorg"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Device" "/dev/input/mice"
  Option       "Emulate3Buttons" "on"
  Option       "Name" "PS/2"
  Option       "Protocol" "PS/2"
  Option       "Vendor" "PS/2-Mouse"
EndSection


Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  300 230
  HorizSync    30-97
  Identifier   "Monitor[0]"
  ModelName    "VIEWSONIC P75F+"
  Option       "DPMS"
  VendorName   "VSC"
  VertRefresh  43-160
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1024x768" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1024x768" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1024x768" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1024x768" "800x600" "768x576" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1024x768" "800x600" "768x576" "640x480"
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "RV250 If"
  BusID        "1:0:0"
  Driver       "fglrx"
  Identifier   "Device[0]"
  Option       "FSAADisableGamma" "no"
  Option       "TVHPosAdj" "0"
  Option       "Stereo" "off"
  Option       "FSAAMSPosX3" "0.000000"
  Option       "CenterMode" "off"
  Option       "FSAAMSPosY0" "0.000000"
  Option       "ScreenOverlap" "0"
  Option       "mtrr" "off"
  Option       "FSAAMSPosX4" "0.000000"
  Option       "FSAAMSPosY1" "0.000000"
  Option       "IgnoreEDID" "off"
  Option       "ForceGenericCPU" "no"
  Option       "NoTV" "yes"
  Option       "FSAAScale" "1"
  Option       "FSAAMSPosX5" "0.000000"
  Option       "FSAAMSPosY2" "0.000000"
  Option       "FSAAMSPosY3" "0.000000"
  Option       "GammaCorrectionI" "0x00000000"
  Option       "no_accel" "no"
  Option       "FSAAMSPosY4" "0.000000"
  Option       "FSAACustomizeMSPos" "no"
  Option       "UseFastTLS" "0"
  Option       "FSAAMSPosY5" "0.000000"
  Option       "TVVSizeAdj" "0"
  Option       "BlockSignalsOnLock" "on"
  Option       "FSAAEnable" "no"
  Option       "GammaCorrectionII" "0x00000000"
  Option       "TVHSizeAdj" "0"
  Option       "VideoOverlay" "on"
  Option       "TVVPosAdj" "0"
  Option       "no_dri" "no"
  Option       "TVColorAdj" "0"
  Option       "StereoSyncEnable" "1"
  Option       "UseInternalAGPGART" "no"
  Option       "FSAAMSPosX0" "0.000000"
  Option       "UseInternalAGPGART" "no"
  Option       "TVHStartAdj" "0"
  Option       "PseudoColorVisuals" "off"
  Option       "Capabilities" "0x00000000"
  Option       "FSAAMSPosX1" "0.000000"
  Option       "TVStandard" "NTSC-M"
  Option       "FSAAMSPosX2" "0.000000"
  Option       "OpenGLOverlay" "off"
  Screen       0
  VendorName   "ATI"
EndSection


Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
EndSection

Offline

#32 2006-02-19 17:57:16

vilwarin
Member
Registered: 2005-10-20
Posts: 28

Re: ATI drivers config - help

*hugs Cerebral*

I did not know that I also need an agp module, that was the key. Thank you big_smile

Since the beginning of time, ok more like since 2.6.9 it's the first time, I got graphic acceleration under Linux again.
*jumps in the air* yayay

P.S.
My module is strangely enough "nvidia_agp" for my ATI card ^_^.

Offline

#33 2006-02-19 18:26:57

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

Re: ATI drivers config - help

Awesome, glad to hear you've gotten it working!

vilwarin wrote:

My module is strangely enough "nvidia_agp" for my ATI card ^_^.

That would mean that your motherboard is an nforce, made by nvidia. smile

Offline

Board footer

Powered by FluxBB