Page 1 of 13 12311 ... LastLast
Results 1 to 10 of 124

Thread: HOWTO: enabling DRI (for 3d support) SAVAGE cards

  1. #1
    arnieboy Guest

    HOWTO: enabling DRI (for 3d support) SAVAGE cards

    This is for Ubuntu Breezy ONLY. Please do not use this howto on any other subsequent releases (Dapper, Edgy, etc)
    This is how to do it:
    FOR OLDER INTEL AND AMD CHIPSETS (INTEL 386, 486 ETC.)
    Jump straight to "COMMON FOR ALL CHIPSETS"
    FOR INTEL 686 CHIPSETS (WITHOUT HYPERTHREADING)
    Code:
    sudo apt-get install linux-image-2.6.10-5-686
    sudo apt-get install linux-headers-2.6.10-5-686
    sudo apt-get install linux-restricted-modules-2.6.10-5-686
    Then restart the comp and boot into the 686 kernel image from grub (u will get that option).
    Now remove
    linux-image-2.6.10-5-386 and linux-headers-2.6.10-5-386
    from synaptic.
    FOR INTEL CHIPSETS (WITH HYPERTHREADING)
    Code:
    sudo apt-get install linux-image-2.6.10-5-686-smp
    sudo apt-get install linux-headers-2.6.10-5-686-smp
    sudo apt-get install linux-restricted-modules-2.6.10-5-686-smp
    Then restart the comp and boot into the 686-smp kernel image from grub (u will get that option).
    Now remove
    linux-image-2.6.10-5-386 and linux-headers-2.6.10-5-386
    from synaptic.
    FOR AMD CHIPSETS
    Code:
    sudo apt-get install linux-image-2.6.10-5-k7
    sudo apt-get install linux-headers-2.6.10-5-k7
    sudo apt-get install linux-restricted-modules-2.6.10-5-k7
    Then restart the comp and boot into the k7 kernel image from grub (u will get that option).
    Now remove
    linux-image-2.6.10-5-386 and [I][B]linux-headers-2.6.10-5-386
    from synaptic.
    COMMON FOR ALL CHIPSETS
    PHP Code:
    sudo apt-get install build-essential
    wget http
    ://dri.freedesktop.org/snapshots/common-20050707-linux.i386.tar.bz2
    wget http://dri.freedesktop.org/snapshots/savage-20050707-linux.i386.tar.bz2
    tar -xjf common-20050707-linux.i386.tar.bz2
    tar 
    -xjf savage-20050707-linux.i386.tar.bz2 
    cd dripkg
    sudo 
    ./install.sh 
    restart your comp (or just X server).

    enjoy tuxracer!
    Last edited by arnieboy; January 19th, 2007 at 08:00 PM.

  2. #2
    Join Date
    Oct 2004
    Beans
    49

    Re: HOWTO: enabling DRI (for 3d support) SAVAGE cards

    after i type "sudo ./install.sh" i get the following error when ubuntu tries to compile:

    ERROR: Kernel modules did not compile

    The DRI drivers can not be installed without the latest kernel modules.
    Installation will be aborted. See the dri.log file for information on
    what went wrong.

    the dri.log says:

    make DRM_MODULES=savage.o modules
    make[1]: Entering directory `/home/qrazi/dripkg/drm/linux-core'
    make -C /lib/modules/2.6.10-5-386/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
    make[2]: Entering directory `/usr/src/linux-headers-2.6.10-5-386'
    /home/qrazi/dripkg/drm/linux-core/Makefile:279: *** CONFIG_X86_CMPXCHG needs to be enabled in the kernel. Stop.
    make[2]: *** [_module_/home/qrazi/dripkg/drm/linux-core] Error 2
    make[2]: Leaving directory `/usr/src/linux-headers-2.6.10-5-386'
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/home/qrazi/dripkg/drm/linux-core'
    make: *** [savage.o] Error 2


    as far as i know, i'm using X.org (i am running a clean ubuntu 5.04 hoary install).

    the card used: Diamond stealth 540 16mb agp (Savage4 chip)

    OT: would it be wiser to put my old voodoo5 in, performance and installation wise? or has the savage4 better support?

    as you can read, i am a big newbie.... to both ubuntu and linux...

  3. #3
    arnieboy Guest

    Re: HOWTO: enabling DRI (for 3d support) SAVAGE cards

    what is the processor that u use?

    what u would probably do is the following:

    upgrade your kernel to 686 (from 386): how to do that?

    go to synaptic and search for the string "2.6.10-5" . what u will get among other packages is a list of 686 packages which u need to install (DO NOT uninstall the 386 packages yet) . Also at the same go, search for "linux-headers" and remove "linux-headers-2.6.10-5" and install "linux-headers-2.6.10-5-686". Also install the appropriate "dev" packages as well in the same place.
    if u are using grub, reboot your comp and you will see an extra option of booting into the 686 kernel. Boot into the 686 kernel and go to synaptic again and remove the 386 kernel.
    if u are using lilo, do a "sudo lilo" before rebooting and it will backup ur old kernel config and make ur 686 the default.

    now try and run "install.sh" again and tell me how it goes.

  4. #4
    Join Date
    Oct 2004
    Beans
    49

    Re: HOWTO: enabling DRI (for 3d support) SAVAGE cards

    i use a celeron 800@1060MHz. i had the 2.6.10 kernel installed, 386 version. after i replied i did some more google work, and read somewhere that you need to have kernel 2.6.11 installed for it to work. and then i read your tip about the 686 version, so now i am running kernel 2.6.11-686

    glxgears was ~130fps, now ~450fps..... still not a lot, but Cube is very playable now.
    and this isnt my game machine anyway, more of a "getting to know linux pc"

  5. #5
    Join Date
    Jun 2005
    Beans
    1

    Re: HOWTO: enabling DRI (for 3d support) SAVAGE cards

    Does this system work with debian testing and XFree too???

  6. #6
    Join Date
    Nov 2004
    Location
    Portugal
    Beans
    362

    Re: HOWTO: enabling DRI (for 3d support) SAVAGE cards

    Quote Originally Posted by Obi
    Does this system work with debian testing and XFree too???
    I've searched a bit for this, and I've found out that the Savage driver for Xfree86 does not support DRI so we'll have to wait for X.org first.
    Are you into the White-Plastic Life-Style?

  7. #7
    Join Date
    Jul 2005
    Location
    Houston
    Beans
    13
    Distro
    Ubuntu 5.04

    Re: HOWTO: enabling DRI (for 3d support) SAVAGE cards

    I'm having trouble with mine now. I performed the steps exactly as above, however I get this in my dri.log file:

    "Makefile:163: *** Cannot find a kernel config file. Stop."

    Any suggestions? Thanks.

  8. #8
    arnieboy Guest

    Re: HOWTO: enabling DRI (for 3d support) SAVAGE cards

    what is your processor? (Intel/AMD etc)

  9. #9
    Join Date
    Jul 2005
    Location
    Houston
    Beans
    13
    Distro
    Ubuntu 5.04

    Re: HOWTO: enabling DRI (for 3d support) SAVAGE cards

    Quote Originally Posted by arnieboy
    what is your processor? (Intel/AMD etc)
    Quote Originally Posted by cat /proc/cpuinfo
    processor : 0
    vendor_id : AuthenticAMD
    cpu family : 6
    model : 4
    model name : AMD Athlon(tm) Processor
    stepping : 2
    cpu MHz : 1002.416
    cache size : 256 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 1
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr pni syscall mmxext 3dnowext 3dnow
    bogomips : 1982.46
    lspci identifies the card as "S3 Inc. ProSavage KM133". It's an integrated chip. According to the install script that qualifies as the correct driver.

    and uname -a says I have the version 2.6.10-5-386 kernel.

    This is a Compaq Presario 5000 series from circa 2001. A Compaq 5UVM11 to be exact. Any ideas?
    Last edited by brian.reading; July 13th, 2005 at 08:50 PM.

  10. #10
    arnieboy Guest

    Re: HOWTO: enabling DRI (for 3d support) SAVAGE cards

    from synaptic install the following:
    linux-headers-2.6.10-5-k7
    linux-image-2.6.10-5-k7
    linux-restricted-modules-2.6.10-5-k7

    then restart the comp and boot into the k7 kernel image from grub (u will get that option).
    Now remove
    linux-image-2.6.10-5-386
    from synaptic.
    Now try and install the savage 3d drivers again.
    make sure u note ur fps reading on glxgears before and after u install the drivers
    Last edited by arnieboy; July 13th, 2005 at 08:43 PM.

Page 1 of 13 12311 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •