Page 1 of 3 123 LastLast
Results 1 to 10 of 124

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

Hybrid View

  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
    Aug 2005
    Beans
    20

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

    Quote Originally Posted by qrazi
    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"

    Hi once again, as you may see grazi made his Diamond Stealth 3 16mb Savage 4 work with kernel 2.6.11, only diference is i'm running an amd athlon not a celeron, so i have to install the 2.6.11 kernel for k7.. and my video card has 32 mb ram, the model is almost the same and the vendor is exactly the same one... do u have any idea where i can get the restricted modules for 2.6.11-1-k7 kernel? or any other idea?

  8. #8
    arnieboy Guest

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

    Quote Originally Posted by Varox
    Hi once again, as you may see grazi made his Diamond Stealth 3 16mb Savage 4 work with kernel 2.6.11, only diference is i'm running an amd athlon not a celeron, so i have to install the 2.6.11 kernel for k7.. and my video card has 32 mb ram, the model is almost the same and the vendor is exactly the same one... do u have any idea where i can get the restricted modules for 2.6.11-1-k7 kernel? or any other idea?
    u cannot get the restricted-modules for 2.6.11-1 yet because this package can only be released by ubuntu. u already have got the updated kernel from kernel.org possibly but support packages like restricted modules will only be released by ubuntu. so u gotta wait. i can suggest u do try something else.
    but before u do anything, always backup ur /etc/X11/xorg.conf so that it is easy to replace in case things go wrong.
    u can try commenting the line "load glx" and uncomment "load dri" and restart xserver and see how it goes.

  9. #9
    Join Date
    Feb 2005
    Beans
    Hidden!

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

    Quote Originally Posted by arnieboy
    This is how to do it:

    sudo apt-get install linux-headers-2.6.10-5
    OR
    sudo apt-get install linux-headers-2.6.10-5-686

    depending on ur kernel version.

    wget http://dri.freedesktop.org/snapshots...x.i386.tar.bz2
    wget http://dri.freedesktop.org/snapshots...x.i386.tar.bz2
    tar -xjf common-20050504-linux.i386.tar.bz2
    tar -xjf savage-20050504-linux.i386.tar.bz2
    cd dripkg
    sudo ./install.sh

    restart your comp (or just X server).

    enjoy tuxracer!
    Would this work for a SiS integrated Integrated video graphics accelerator ?
    Sylvia: Look at what you've done to him!
    Christof: I have given Truman the chance to lead a normal life. The world, the place you live in, is the sick place.

  10. #10
    Join Date
    Oct 2004
    Location
    Kingston, On
    Beans
    Hidden!

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

    Quote Originally Posted by bored2k
    Would this work for a SiS integrated Integrated video graphics accelerator ?
    No. It is for Savage chipsets.

    For Sis DRI which actually work, check out:
    http://www.winischhofer.net/sis/sis_dri.so_6.8.2.tar.gz

    http://www.ubuntuforums.org/showpost...94&postcount=4

    With Hoary, all you need to do is add

    "MaxXFBMem" "12288"

    To your xorg driver section. You should have at least 32 megs of shared memory for your video card (64 is better) Your's is an onboard card right? (Most Sis video are...)

    And copy the above precompiled driver into

    usr/X11R6/lib/modules/dri/sis_dri.so



    I get pretty crappy acceleration because it is a pretty crappy technology, but it works and I can play tuxracer...

Page 1 of 3 123 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
  •