LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-05-2003, 01:39 PM   #1
cyberia_2ooo
Member
 
Registered: Apr 2003
Posts: 53

Rep: Reputation: 15
radeon unable to load dri


i installed the new fglrx official modules from ati....

now x fails to load dri.

here is the XFree86.0.log relevant section:

(II) fglrx(0): [drm] register handle = 0xe0020000
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENOMEM"
(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 0xd4a65000 at 0x40026000
(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): ********************************************* *

and dmesg ineresting part is (when using agp driver supplied with the fglrx module):
[fglrx] Maximum main memory to use for locked dma buffers: 198 MBytes.
[fglrx] module loaded - fglrx 3.2.5 [Aug 6 2003] on minor 0
Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected a Via Apollo KT400 chipset in AGP v2 mode. (VIA flag)
agpgart: AGP aperture is 128M @ 0xd0000000
Power management callback for AGP chipset installed
[fglrx] AGP detected, AgpState = 0x00000000 (hardware caps of chipset)
[fglrx:firegl_unlock] *ERROR* Process 515 using kernel context 0

and when using the kernel(2.4.21) agpgart module with agp_try_unsupported=1 set (using via KT400 chipset which is not reckognized by the kernel module):
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Trying generic Via routines for device id: 3189
agpgart: AGP aperture is 128M @ 0xd0000000
[fglrx] Maximum main memory to use for locked dma buffers: 198 MBytes.
[fglrx] module loaded - fglrx 3.2.5 [Aug 6 2003] on minor 0
Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected a Via Apollo KT400 chipset in AGP v2 mode. (VIA flag)
agpgart: AGP aperture is 128M @ 0xd0000000
Power management callback for AGP chipset installed
[fglrx] AGP detected, AgpState = 0x00000000 (hardware caps of chipset)
[fglrx:firegl_unlock] *ERROR* Process 1070 using kernel context 0



might I add... that when i used an older, unofficial version of fglrx the dri loaded and there was an acceleration (which wasn't perfect, that's why i installed the new drivers)
 
Old 11-06-2003, 06:19 AM   #2
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
here are some relavant parts of my working configuration for a ATI Radeon 9000, with the latest drivers. You could compare it with your configuration, for example, with "vimdiff" I haven't enabled the TV-out yet, and I think your screen needs to run in 24bpp.

There are some changes in the newest ATI drivers:
* the fglrx file is no longer stored in /lib/modules/fglrx/fglrx-version.o, but in the /lib/modules/kernel-version/.../dri/ folder.
* older versions used an internal AGP driver. The latest fglrx module lets you choose what you want.. I've enabled to use the external agpgart module, so make sure you've loaded it before you start X.


hope this helps

Code:
Section "Module"

    # display
    Load      "dbe"     # Double buffer extension

    SubSection  "extmod"
#      Option  "omit xfree86-dga"  # Load misc-extmod, but disable the dga.
    EndSubSection

    # fonts
    Load      "type1"
    Load      "freetype"
    Load      "speedo"
    Load      "xtt"

    # graphics accelerator
    Load      "glx"
    Load      "dri"
EndSection



Section "Device"
    Identifier          "Sapphire_Graphics_Adapter"
    vendorname          "Sapphire Tech"
    boardname           "ATI Radeon 9000"

    Driver              "fglrx"

    #Option             "NoDDC"  # disable PnP monitor
    Option "no_accel"   "no"     # disable XAA
    Option "no_dri"     "no"     # disable DRI


# *** FireGL DDX driver module specific settings ***


# === Screen Management ===
    Option "DesktopSetup"         "0x00000100"
    Option "MonitorLayout"        "CRT, STV"
    Option "IgnoreEDID"           "off"
    Option "HSync2"               "31.5 - 68.7"
    Option "VRefresh2"            "60 - 100"
    Option "ScreenOverlap"        "0"

# === TV-out Management ===
    Option "NoTV"                 "no"
    Option "TVStandard"           "PAL-B"
    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 ===
    Option "OpenGLOverlay"        "off"   # if on, video-overlay will be disabled
    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"

    BusID "PCI:1:0:0"    # vendor=1002, device=496e
    Screen 0
EndSection

Last edited by yapp; 11-06-2003 at 06:33 AM.
 
  


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 9800/Pro + SuSE 9.0 (freezes after successfull DRI load) Euphorix Linux - Hardware 4 10-02-2006 10:32 AM
ipw2200 - Unable to load ucode, unable to load firmware blizinsk Linux - Wireless Networking 2 10-10-2004 08:28 AM
DRI on an ATI Radeon 7500 will not load! elconde Linux - Hardware 3 03-03-2004 01:35 PM
DRI and Radeon minm Linux - Software 19 07-17-2003 02:19 AM
DRI for radeon AzrielMacKay Linux - General 14 07-10-2001 02:45 PM

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

All times are GMT -5. The time now is 01:52 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