Announcement

Collapse
No announcement yet.

Legacy ATI fglrx Drivers on Fedora Core 6 Zod (DISCUSSION)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Legacy ATI fglrx Drivers on Fedora Core 6 Zod (DISCUSSION)

    This is a discussion thread for the Legacy ATI fglrx Drivers on Fedora Core 6 -- See: http://www.phoronix.net/forums/showthread.php?t=342
    Last edited by Michael; 22 December 2006, 02:32 PM.
    Michael Larabel
    https://www.michaellarabel.com/

  • #2
    Thank you very much for this helpful script. I finally managed to run it, after I found out I needed to do
    Code:
    cd /usr/lib/qt-3.3/
    ln -s libqt-mt.so libqt.so
    in order to make it work. So I got and installed
    Code:
    ATI-fglrx-8.28.8-1.fc6.i386.rpm
    ATI-fglrx-control-panel-8.28.8-1.fc6.i386.rpm
    ATI-fglrx-devel-8.28.8-1.fc6.i386.rpm
    kernel-module-ATI-fglrx-2.6.18-1.2798.fc6-8.28.8-1.fc6.i386.rpm
    and things seem to work, mostly. But if I run
    Code:
    LIBGL_DEBUG=verbose fglrxinfo
    I get
    Code:
    libGL: XF86DRIGetClientDriverName: 8.28.8 atiogl_a (screen 0)
    libGL: OpenDriver: trying /usr/lib/dri/atiogl_a_dri.so
    fglrx: libGL version does not match - OpenGL module is using glapi fallback
    libGL: XF86DRIGetClientDriverName: 8.28.8 atiogl_a (screen 0)
    drmOpenByBusid: busid is PCI:1:0:0
    drmOpenDevice: minor is 0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 4, (OK)
    drmOpenByBusid: drmOpenMinor returns 4
    drmOpenByBusid: drmGetBusid reports PCI:1:0:0
    display: :0.0  screen: 0
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: RADEON 9200 Series DDR Generic
    OpenGL version string: 1.3.1091 (X4.3.0-8.28.8)
    Is this a problem? Also, if I run fgl_glxgears I don't get any gears but a spinning cube and
    Code:
    Using GLX_SGIX_pbuffer
    1451 frames in 5.0 seconds = 290.200 FPS
    1468 frames in 5.0 seconds = 293.600 FPS
    1410 frames in 5.0 seconds = 282.000 FPS
    X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
      Major opcode of failed request:  14 (X_GetGeometry)
      Resource id in failed request:  0x0
      Serial number of failed request:  55
      Current serial number in output stream:  55
    I guess this is not good?

    I am using a Radeon 9250 running Fedora 6 and xorg-x11-server-Xorg-1.1.1-47.fc6.

    Thank you for a valuable forum, even though I kind of regret my buying this card - it has caused me a lot of work...

    Comment


    • #3
      Is Enemy Territory or any OpenGL programs working?
      Michael Larabel
      https://www.michaellarabel.com/

      Comment


      • #4
        Originally posted by Michael View Post
        Is Enemy Territory or any OpenGL programs working?
        Thanks for a fast reply
        I can run torcs, seem to work fine. I don't have Enemy Territory installed - should I?

        Comment


        • #5
          If torcs runs fine you should be set. Enemy Territory is simply a free, easy, and reliable Linux-native game and works well for benchmarking.
          Michael Larabel
          https://www.michaellarabel.com/

          Comment


          • #6
            Originally posted by Michael View Post
            If torcs runs fine you should be set. Enemy Territory is simply a free, easy, and reliable Linux-native game and works well for benchmarking.
            Tried that - and Enemy Territory works very nicely, quite impressive!
            Should I run your script once more in order to get the driver to work with the new kernel version (2.6.18-1.2849)?

            Comment


            • #7
              Yes, to generate the new kernel module for the kernel.
              Michael Larabel
              https://www.michaellarabel.com/

              Comment


              • #8
                getting X to start with legacy drivers

                First, thanks to Michael for his hard work on helping folks with "older" hardware (my machine was brand new 1.5 years ago...) stay current with software and his support of the community.

                Using Michael's script I've been able to, after some exasperation, get the fglrx drivers compiled and installed. I needed to do the config.h hack, symlink libqt-mt to libqt and libGL.so.1 to libGL, and then finally the control panel would compile and I got Zod packages.

                For starters I can run X just fine with the open source drivers but I need TV-out and my chip isn't supported by the Gatos code. So, here I am.

                I've tried aticonfig --initial and it makes a config file (without modes, incidentally), but it fails with 'no screens'. If I put in an "800x600" mode it still fails with 'no screens'.

                Interestingly, if I turn off the monitor X will get further, but it doesn't initialize the display, just black. I've tried this with DPMS on and off.

                I think I have a handle on what's going on but don't know how to proceed. If I start Xorg -configure, I get a crash in fglrx at R200Probe:

                Code:
                Backtrace:
                0: Xorg(xf86SigHandler+0x81) [0x80e53b1]
                1: [0x9f8420]
                2: /lib/libc.so.6(memcpy+0x1c) [0x7e49ec]
                3: Xorg(xf86memcpy+0x2b) [0x80b4efb]
                4: /usr/lib/xorg/modules/drivers/fglrx_drv.so(R200Probe+0x121) [0xd8dfd1]
                5: Xorg(DoConfigure+0x228) [0x80d22c8]
                6: Xorg(InitOutput+0x645) [0x80a1935]
                7: Xorg(main+0x276) [0x806f856]
                8: /lib/libc.so.6(__libc_start_main+0xdc) [0x78cf2c]
                9: Xorg(FontFileCompleteXLFD+0x1e9) [0x806eda1]
                There are a few other clueless users out there that Google knows about with similar crashes, but no posted solutions. I figured someone here is likely to know what might be going on. Any ideas appreciated.

                Comment


                • #9
                  You're very welcome.

                  So you have the drivers built and installed but they aren't working now? What is the specific graphics card that you are using? Had you tried any AGP options or other non-(aticonfig --initial) options in your config file (what does your xorg.conf look like right now)? If you can post some more detailed information I can try to possibly reproduce the problem and hopefully figure out a fix.
                  Michael Larabel
                  https://www.michaellarabel.com/

                  Comment


                  • #10
                    Originally posted by Michael View Post
                    So you have the drivers built and installed but they aren't working now?
                    Correct.

                    Originally posted by Michael View Post
                    What is the specific graphics card that you are using?
                    This is an integrated Radeon 9100 IGP which from what I can gather uses an RS300 chipset with (maybe?) an R200 (mumble)theater chip for TV-Out.

                    Originally posted by Michael View Post
                    Had you tried any AGP options or other non-(aticonfig --initial) options in your config file
                    No, perhaps I should. I looked through the aticonfig help file and it doesn't appear to offer much in the way of AGP options.

                    Originally posted by Michael View Post
                    (what does your xorg.conf look like right now)?
                    To make this I ran system-config-display, set my resolution, then ran aticonfig --initial --input=/etc/X11/xorg.conf and manually removed the Radeon driver's Device and the non-ATI Screen section


                    Code:
                    Section "ServerLayout"
                            Identifier     "single head configuration"
                            Screen      0  "aticonfig-Screen[0]" 0 0
                            InputDevice    "Keyboard0" "CoreKeyboard"
                    EndSection
                    
                    Section "Files"
                    EndSection
                    
                    Section "Module"
                            Load  "dri"
                            Load  "glx"
                    EndSection
                    
                    Section "Extensions"
                            Option "Composite" "Disable"
                    EndSection
                    
                    Section "InputDevice"
                            Identifier  "Keyboard0"
                            Driver      "kbd"
                            Option      "XkbModel" "pc105"
                            Option      "XkbLayout" "us"
                    EndSection
                    
                    Section "Monitor"
                            Identifier   "aticonfig-Monitor[0]"
                            Option      "VendorName" "ATI Proprietary Driver"
                            Option      "ModelName" "Generic Autodetecting Monitor"
                            Option      "DPMS" "true"
                    EndSection
                    
                    Section "Device"
                            Identifier  "aticonfig-Device[0]"
                            Driver      "fglrx"
                    EndSection
                    
                    Section "Screen"
                            Identifier "aticonfig-Screen[0]"
                            Device     "aticonfig-Device[0]"
                            Monitor    "aticonfig-Monitor[0]"
                            DefaultDepth     24
                            SubSection "Display"
                                    Viewport   0 0
                                    Depth     24
                            EndSubSection
                    EndSection
                    Originally posted by Michael View Post
                    If you can post some more detailed information I can try to possibly reproduce the problem and hopefully figure out a fix.
                    Please let me know what would be most helpful. Some bits that might help:

                    lspci -v -v -v

                    Code:
                    01:05.0 VGA compatible controller: ATI Technologies Inc Radeon 9100 IGP (prog-if 00 [VGA])
                            Subsystem: ASUSTeK Computer Inc. Unknown device 8107
                            Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
                            Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
                            Latency: 255 (2000ns min), Cache Line Size: 64 bytes
                            Interrupt: pin A routed to IRQ 177
                            Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M]
                            Region 1: I/O ports at d000 [size=256]
                            Region 2: Memory at fdc00000 (32-bit, non-prefetchable) [size=64K]
                            Expansion ROM at fdb00000 [disabled] [size=128K]
                            Capabilities: [58] AGP version 3.0
                                    Status: RQ=256 Iso- ArqSz=0 Cal=7 SBA+ ITACoh- GART64- HTrans- 64bit+ FW+ AGP3+ Rate=x4,x8
                                    Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
                            Capabilities: [50] Power Management version 2
                                    Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                                    Status: D0 PME-Enable- DSel=0 DScale=0 PME-
                    dmesg:

                    Code:
                    agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
                    agpgart: Putting AGP V3 device at 0000:00:00.0 into 4x mode
                    agpgart: Putting AGP V3 device at 0000:01:05.0 into 4x mode
                    [drm] Setting GART location based on old memory map
                    [drm] Loading R200 Microcode
                    [drm] writeback test succeeded in 1 usecs
                    [drm] Module unloaded
                    fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
                    [fglrx] Maximum main memory to use for locked dma buffers: 865 MBytes.
                    [fglrx] module loaded - fglrx 8.28.8 [Aug 17 2006] on minor 0
                    uname -a : Linux malp.bfc 2.6.18-1.2849.fc6 #1 SMP Fri Nov 10 12:45:28 EST 2006 i686 i686 i386 GNU/Linux

                    Other curious bits:

                    I seem to have to do a depmod -a before I can modprobe fglrx on each reboot.

                    Errors the driver outputs:

                    Code:
                    (EE) fglrx(0): PreInitDAL failed
                    (EE) fglrx(0): R200PreInit failed
                    (EE) Screen(s) found, but none have a usable configuration.
                    Thanks for looking at this.

                    Comment

                    Working...
                    X