Announcement

Collapse
No announcement yet.

The Open-Source ATI R500 Driver

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

  • domzanator
    replied
    Originally posted by khakhovich View Post
    Hey guys,
    while i'm waiting for ATI to release something that works with FC7.... i tried the following instructions about avivo from:
    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite


    as all installation goes smooth no errors.... when i do startx... it complain that module avivo is not found.

    have i missed anything?

    thanks
    Hey mate,
    I've got good news for ya the new ATI drivers work on FC7; i got them working ealier today.

    Here's something i posted earlier today

    I've just got it up and running on Fedora 7 after afew alterations:-

    Had to downgrade my x server-

    su - (if your not already root)
    wget http://ftp.cica.es/fedora/linux/core...6.fc7.i386.rpm
    rpm -U --oldpackage xorg-x11-server-Xorg-1.2.0-6.fc7.i386.rpm

    Ran the (8.38.6) ati.run file; installed custom with kernel modules:-

    Then there was a dependency that i was missing; which i grabbed with yum -
    yum install compat-libstdc++-33

    Once that is all done just add fglrx into you xorg file and away you go.

    Good luck mate,
    Dom
    Last edited by domzanator; 26 June 2007, 08:17 AM.

    Leave a comment:


  • crumpet
    replied
    There was some comment in the past that this driver does not work with the apple mactel macbook pro. Is this still the case?

    Leave a comment:


  • khakhovich
    replied
    Hey guys,
    while i'm waiting for ATI to release something that works with FC7.... i tried the following instructions about avivo from:
    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite


    as all installation goes smooth no errors.... when i do startx... it complain that module avivo is not found.

    have i missed anything?

    thanks

    Leave a comment:


  • d2kx
    replied
    I wait until the avivo driver has better 2d acceleration and official R580XT support. I can wait...

    I hope AIGLX support is also coming, never really tried Compiz because of fglrx and not liking XGL.

    Leave a comment:


  • Michael
    replied
    Originally posted by domzanator View Post
    Thanks Michael; that worked a treat. After all the reading i've done you would have thought i would have picked that up. Guess it wasn't my modeline after all. Loving the 1280x800 resolution I hope my posts help anyone out there with an ASUS F3JP with a X1700 ati card.

    The open-source driver seems rather slow when moving a window around it isn't as smooth and is unstable when changing from X to tty1 (shell) and back again; it just locks up. Hopefully i'm guessing these bugs will be addressed and fixed in the near future.

    Thanks again for all your help Michael; keep up the fantastic work with this forum and your site. I really enjoy reading all the Reviews.

    Regards,
    Dom
    Thanks for your nice words. I hope you stick around the forums.

    Regarding the performance, right now the Avivo driver is slower than VESA but its performance will be greatly improved as development progresses so be sure to stay tuned to Phoronix for additional details.

    Leave a comment:


  • domzanator
    replied
    Thanks Michael; that worked a treat. After all the reading i've done you would have thought i would have picked that up. Guess it wasn't my modeline after all. Loving the 1280x800 resolution I hope my posts help anyone out there with an ASUS F3JP with a X1700 ati card.

    The open-source driver seems rather slow when moving a window around it isn't as smooth and is unstable when changing from X to tty1 (shell) and back again; it just locks up. Hopefully i'm guessing these bugs will be addressed and fixed in the near future.

    Thanks again for all your help Michael; keep up the fantastic work with this forum and your site. I really enjoy reading all the Reviews.

    Regards,
    Dom

    Originally posted by Michael View Post
    You do have an error about AIGLX in your log, do you have the following in your xorg.conf?

    Section "ServerFlags"
    Option "AIGLX" "off"
    EndSection

    Section "Extensions"
    Option "Composite" "Disable"
    EndSection

    Leave a comment:


  • Michael
    replied
    You do have an error about AIGLX in your log, do you have the following in your xorg.conf?

    Section "ServerFlags"
    Option "AIGLX" "off"
    EndSection

    Section "Extensions"
    Option "Composite" "Disable"
    EndSection

    Leave a comment:


  • domzanator
    replied
    Thank you for making those modifications for me; i replaced the files and compiled it again. Now the problem is that when i start X with the usual resolution 1024x768 my screen goes all wacky. Could this be an issue with the avivo driver or something in my xorg.conf file?

    This is part of my Xorg.0.log file:-
    (II) Avivo(0): Printing probed modes for output LFP
    (II) Avivo(0): Modeline "1360x768"x59.8 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync (47.7 kHz)
    (II) Avivo(0): Modeline "1360x768"x60.0 72.00 1360 1408 1440 1520 768 771 781 790 +hsync -vsync (47.4 kHz)
    (II) Avivo(0): Modeline "1280x800"x60.0 83.46 1280 1344 1480 1680 800 801 804 828 -hsync +vsync (49.7 kHz)
    (II) Avivo(0): Modeline "1152x864"x60.0 81.62 1152 1216 1336 1520 864 865 868 895 -hsync +vsync (53.7 kHz)
    (II) Avivo(0): Modeline "1280x768"x60.0 80.14 1280 1344 1480 1680 768 769 772 795 -hsync +vsync (47.7 kHz)
    (II) Avivo(0): Modeline "1280x720"x60.0 74.48 1280 1336 1472 1664 720 721 724 746 -hsync +vsync (44.8 kHz)
    (II) Avivo(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz)
    (II) Avivo(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz)
    (II) Avivo(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz)
    (II) Avivo(0): Output DVI-I connected
    (II) Avivo(0): I2C device "DVI-I connector 1:ddc2" registered at address 0xA0.
    (II) Avivo(0): I2C device "DVI-I connector 1:ddc2" removed.
    (II) Avivo(0): EDID for output DVI-I
    (II) Avivo(0): Not using default mode "640x350" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "640x400" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "720x400" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "640x480" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "640x480" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "640x480" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "800x600" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "800x600" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "800x600" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "800x600" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1024x768" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1024x768" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1024x768" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1152x864" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1280x960" (hsync out of range)
    (II) Avivo(0): Not using default mode "1280x960" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1280x1024" (hsync out of range)
    (II) Avivo(0): Not using default mode "1280x1024" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1280x1024" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1600x1200" (hsync out of range)
    (II) Avivo(0): Not using default mode "1600x1200" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1600x1200" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1600x1200" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1600x1200" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1792x1344" (hsync out of range)
    (II) Avivo(0): Not using default mode "1792x1344" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1856x1392" (hsync out of range)
    (II) Avivo(0): Not using default mode "1856x1392" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1920x1440" (hsync out of range)
    (II) Avivo(0): Not using default mode "1920x1440" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "832x624" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1152x768" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1152x864" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1152x864" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1152x864" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1152x864" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1152x864" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1280x720" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1280x720" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1280x720" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1280x800" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1280x800" (vrefresh out of range)
    (II) Avivo(0): Not using default mode "1280x800" (vrefresh out of range)


    (==) Avivo(0): Default visual is TrueColor
    scrninitparam: vx 1360, vy 1360, dw 1408
    (II) Avivo(0): VGA connector associated to crtc(0)
    (II) Avivo(0): LFP connector associated to crtc(0)
    (II) Avivo(0): DVI-I connector associated to crtc(0)
    (II) Avivo(0): VGA connector associated to crtc(0)
    (II) Avivo(0): crtc(0) hdisp 1360, htotal 1776, hss 1432, hse 1568, hsk 0
    (II) Avivo(0): crtc(0) vdisp 768, vtotal 798, vss 771, vse 781, vsc 0
    (II) Avivo(0): crtc(0) Clock: mode 84750, PLL 84750
    (II) Avivo(0): crtc(0) PLL : div 12, pmul 0x71(113), pdiv 3
    (II) Avivo(0): VGA connector associated to crtc(0)
    (II) Avivo(0): LFP connector associated to crtc(0)
    (II) Avivo(0): DVI-I connector associated to crtc(0)
    (II) Avivo(0): VGA connector associated to crtc(0)
    (II) Avivo(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    (II) Avivo(0): [ScreenInit OK]
    (--) RandR disabled
    (II) Setting vga for screen 0.
    (II) Initializing built-in extension MIT-SHM
    (II) Initializing built-in extension XInputExtension
    (II) Initializing built-in extension XTEST
    (II) Initializing built-in extension XKEYBOARD
    (II) Initializing built-in extension XC-APPGROUP
    (II) Initializing built-in extension XAccessControlExtension
    (II) Initializing built-in extension SECURITY
    (II) Initializing built-in extension XINERAMA
    (II) Initializing built-in extension XFIXES
    (II) Initializing built-in extension XFree86-Bigfont
    (II) Initializing built-in extension RENDER
    (II) Initializing built-in extension RANDR
    (II) Initializing built-in extension COMPOSITE
    (II) Initializing built-in extension DAMAGE
    (II) Initializing built-in extension XEVIE
    (EE) AIGLX: Screen 0 is not DRI capable
    (II) Loading local sub module "GLcore"
    (II) LoadModule: "GLcore"
    (II) Loading /usr/lib/xorg/modules/extensions//libGLcore.so
    (II) Module GLcore: vendor="X.Org Foundation"
    compiled for 1.3.0, module version = 1.0.0
    ABI class: X.Org Server Extension, version 0.3
    (II) GLX: Initialized MESA-PROXY GL provider for screen 0
    (II) Avivo(0): Setting screen physical size to 359 x 20


    Thanks,
    Dom

    Leave a comment:


  • Michael
    replied
    Originally posted by domzanator View Post
    Thanks for the quick response... I'm sort of lost...
    Could you please let me know what exactly to do?
    Okay, I just checked out git this morning for avivo and made modifications for your Mobility Radeon X1700. Below are two files, replace them with the ones you already have.

    include/avivo_chipset.h

    Code:
    #ifndef _AVIVO_CHIPSET_H_
    #define _AVIVO_CHIPSET_H_
    
    #include "xf86_OSproc.h"
    #include "xf86Resources.h"
    /* Drivers for PCI hardware need this */
    #include "xf86PciInfo.h"
    /* Drivers that need to access the PCI config space directly need this */
    #include "xf86Pci.h"
    #ifdef PCIACCESS
    #include <pciaccess.h>
    #endif
    
    #define PCI_CHIP_RV515_7142     0x7142
    #define PCI_CHIP_RV530_71C2     0x71C2
    #define PCI_CHIP_RV530_71C5     0x71C5
    #define PCI_CHIP_R580_724B      0x724B
    #define PCI_CHIP_M52_7149       0x7149
    #define PCI_CHIP_RV530_71C6     0x71C6
    #define PCI_CHIP_M66_71D5       0x71D5
    
    enum avivo_chip_type {
        CHIP_FAMILY_RV515,
        CHIP_FAMILY_R520,
        CHIP_FAMILY_RV530,
        CHIP_FAMILY_R580,
        CHIP_FAMILY_LAST,
    };
    
    #ifdef PCIACCESS
    extern const struct pci_id_match *avivo_device_match;
    #endif
    extern SymTabRec avivo_chips[];
    extern PciChipsets avivo_pci_chips[];
    
    #endif

    xorg/avivo_chipset.c

    Code:
    #ifdef HAVE_CONFIG_H
    #include "config.h"
    #endif
    #include "avivo.h"
    
    #ifdef PCIACCESS
    const struct pci_id_match avivo_device_match[] = {
        {
            PCI_VENDOR_ATI, 0x71c2, PCI_MATCH_ANY, PCI_MATCH_ANY,
            0x00030000, 0x00ffffff, 0
        },
        {
            PCI_VENDOR_ATI, 0x71c5, PCI_MATCH_ANY, PCI_MATCH_ANY,
            0x00030000, 0x00ffffff, 0
        },
        {
            PCI_VENDOR_ATI, 0x724b, PCI_MATCH_ANY, PCI_MATCH_ANY,
            0x00030000, 0x00ffffff, 0
        },
        {
            PCI_VENDOR_ATI, 0x7142, PCI_MATCH_ANY, PCI_MATCH_ANY,
            0x00030000, 0x00ffffff, 0      
        },
        {
            PCI_VENDOR_ATI, 0x7149, PCI_MATCH_ANY, PCI_MATCH_ANY,
            0x00030000, 0x00ffffff, 0      
        },
        {
            PCI_VENDOR_ATI, 0x71C6, PCI_MATCH_ANY, PCI_MATCH_ANY,
            0x00030000, 0x00ffffff, 0      
        }, 
        {
            PCI_VENDOR_ATI, 0x71d5, PCI_MATCH_ANY, PCI_MATCH_ANY,
            0x00030000, 0x00ffffff, 0
        },
    
        { 0, 0, 0 },
    };
    #endif
    
    /* Supported chipsets.  I'm really, really glad that these are
     * separate, and the nomenclature is beyond reproach. */
    SymTabRec avivo_chips[] = {
        { PCI_CHIP_RV515_7142, "RV515 (Radeon X1300)" },
        { PCI_CHIP_RV530_71C2, "RV530 (Radeon X1600)" },
        { PCI_CHIP_RV530_71C5, "RV530 (Radeon X1600)" },
        { PCI_CHIP_R580_724B,  "R580 (Radeon X1900 GT)" },
        { PCI_CHIP_RV530_71C6, "RV530 (Radeon X1650 Pro)" },
        { PCI_CHIP_M52_7149,   "M52 (Mobility Radeon X1300)" },
        { PCI_CHIP_M66_71D5,   "M66 (Mobility Radeon X1700)" },
        { -1,                  NULL }
    };
    
    PciChipsets avivo_pci_chips[] = {
      { PCI_CHIP_RV530_71C2, PCI_CHIP_RV530_71C2, RES_SHARED_VGA },
      { PCI_CHIP_RV530_71C5, PCI_CHIP_RV530_71C5, RES_SHARED_VGA },
      { PCI_CHIP_R580_724B,  PCI_CHIP_R580_724B,  RES_SHARED_VGA },
      { PCI_CHIP_RV515_7142, PCI_CHIP_RV515_7142, RES_SHARED_VGA },
      { PCI_CHIP_M52_7149,   PCI_CHIP_M52_7149,   RES_SHARED_VGA },
      { PCI_CHIP_RV530_71C6, PCI_CHIP_RV530_71C6, RES_SHARED_VGA },
      { PCI_CHIP_M66_71D5, PCI_CHIP_M66_71D5, RES_SHARED_VGA },
      { -1,                  -1,                  RES_UNDEFINED }
    };
    
    void
    avivo_get_chipset(struct avivo_info *avivo)
    {
        switch (avivo->pci_info->chipType) {
        case PCI_CHIP_RV530_71C2:
        case PCI_CHIP_RV530_71C6:
        case PCI_CHIP_RV530_71C5:
        case PCI_CHIP_M66_71D5:
            avivo->chipset = CHIP_FAMILY_RV530;
            break;
    
        case PCI_CHIP_R580_724B:
            avivo->chipset = CHIP_FAMILY_R580;    
            break;
    
        case PCI_CHIP_M52_7149:
        case PCI_CHIP_RV515_7142:
            avivo->chipset = CHIP_FAMILY_RV515;    
            break;
    
        default:
            FatalError("Unknown chipset for %x!\n", avivo->pci_info->device);
            break;
        }
    }
    Then after you replace those two files, compile it like usual, and then it should be able to detect your card.

    Leave a comment:


  • domzanator
    replied
    Originally posted by Michael View Post
    Yes, you are getting the no devices detected as the X1700 ID isn't there. It should work with the X1700, but the ID just hasn't been added. See the article for how to add the IDs. In the article it mentions where you just need to add the PCI IDs and such. If you still are having problems, I can try to tell you exactly what to do for your Mobility X1700.
    Thanks for the quick response... I'm sort of lost...
    Could you please let me know what exactly to do?

    Leave a comment:

Working...
X