Page 2 of 26 FirstFirst 123412 ... LastLast
Results 11 to 20 of 256

Thread: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

  1. #11
    Join Date
    Nov 2004
    Beans
    62

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    Quote Originally Posted by stateq2
    I have been struggling w/ this for the past two weeks....and I finally got 3d acceleration to work w/ my ati rage mobility. I'm using xorg, but I beleive that it works w/ xfree86 as well. first of all, here's my card according to lspci
    Code:
    0000:01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64)
    it uses the mach64 chipset.

    now here's how I got direct rendering to work:

    1. backup your X11R6 and modules directorys just in case
    Code:
    sudo cp -r /usr/X11R6 /usr/X11R6.old
    
    sudo cp -r /lib/modules/2.6.8.1-3-686 /lib/modules/2.6.8.1-3-686.old
    2. get your kernel headers
    Code:
    sudo apt-get install linux-headers-2.6-686
    3. get the proper mach64 dri software from here...or get it like this:
    Code:
    wget http://freedesktop.org/~fxkuehl/snapshots/mach64-20041123-linux.i386.tar.bz2
    4. kill your X server. if you using the default ubuntu configuration, press ctrl+alt+F1..then;
    Code:
    sudo /etc/init.d/gdm stop
    5. unpack the dri modules. go into the directory where you downloaded the dri stuff, and:
    Code:
    tar xjvf mach64-20041123-linux.i386.tar.bz2
    6. go into the unpacked directory, and run install.sh
    Code:
    cd dripkg
    
    sudo ./install.sh
    7. all of the default options should be ok. once you start X again, check for your direct rendering by typing:
    Code:
    glxinfo | grep "direct"
    if it says "direct rendering: Yes", then congratulations. If not....then restore you X11R6 and modules backup, and good luck to you 8)

    btw, depending on your kernel version, the names in step 1 & 2 may vary

    links:
    http://freedesktop.org/~fxkuehl/snapshots/
    http://www.freedesktop.org/wiki/Software_2fdri
    http://mandrakeusers.org/index.php?showtopic=17864
    Cant get this to work Check this please

    maliks@tuxido:~ $ cd dripkg
    maliks@tuxido:~/dripkg $ sudo ./install.sh
    Password:


    DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

    [ http://dri.sourceforge.net ]

    ================================================== ========================

    Welcome to the DRI Driver Installation Script

    The package you downloaded is for the following driver:

    Driver Name : mach64
    Description : ATI Mach64 Driver
    Architecture :
    Build Date : 20041215
    Kernel Module : mach64

    Optional Information

    Driver Version :
    Special Description :

    Press ENTER to continue or CTRL-C to exit.



    DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

    [ http://dri.sourceforge.net ]

    ================================================== ========================

    The script will need to copy the DRI XFree86 driver modules to
    your XFree86 directory.

    The script will use the following XFree86 directory:

    /usr/X11R6

    If this is correct press ENTER, press C to change or CTRL-C to exit.










    DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

    [ http://dri.sourceforge.net ]

    ================================================== ========================

    The script also needs to copy the DRM kernel modules to your
    kernel module directory.

    This version of the script supports 2.4.x and 2.6.x kernels.

    Kernel Version : 2.6.8.1-3-386
    Module Directory : /lib/modules/2.6.8.1-3-386

    If this is correct press ENTER, press C to change or CTRL-C to exit.









    DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

    [ http://dri.sourceforge.net ]

    ================================================== ========================

    The script will now compile the DRM kernel modules for your machine.

    Press ENTER to continue or CTRL-C to exit.


    Compiling...
    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.

  2. #12
    Join Date
    Jan 2005
    Location
    New Zealand
    Beans
    12

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    Quote Originally Posted by ankitmalik
    Cant get this to work Check this please
    Bumping for ankitmalik because I have the same problem

    EDIT: On closer inspection, upgrading to x.org is mandatory.

    Binary snapshots only work with a recent X.org X server. If you're running a version of XFree86 then you must install an [WWW]X.org server (Xorg.bz2) and [WWW]driver modules (Xorg-modules.tar.bz2).
    I'll give that a go.
    Last edited by allio; January 7th, 2005 at 12:16 AM.

  3. #13
    Join Date
    Jan 2005
    Location
    New Zealand
    Beans
    12

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    Quote Originally Posted by Arbiter
    I finally got it to compile and install, but after checking to see if it worked after doing a 'startx', the glxinfo command still gives me a "no" on DRI. Do I have to modify my XF86Config file or something?
    Ok, how did you get around that error? I hope you didn't have to actually recompile the kernel

  4. #14
    Join Date
    Nov 2004
    Beans
    68
    Distro
    Gutsy Gibbon Testing

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    just updated the howto...I added the common modules, plus the drivers were updated. if you had problems before, you might want to try it again.

  5. #15
    Join Date
    Jan 2005
    Beans
    10

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    Hi there

    I installed Hoary Array 3 (with X.org 6.8.1) yesterday. Enabling DRI for my ATI Rage Pro card (also based on mach64) was not so difficult. I didn't need the common-200xxxxx-linux.i386.tar.bz2 package, only mach64-200xxxxx-linux.i386.tar.bz2.

    I followed these steps (based on the first post):

    1. install the necessary kernel-headers and gcc
    Code:
    sudo apt-get install linux-headers-686 build-essential
    2. Download latest mach64 snapshot from http://dri.freedesktop.org/snapshots and untar.
    Code:
    wget http://dri.freedesktop.org/snapshots/mach64-20041215-linux.i386.tar.bz2
    tar xjvf mach64-20041215-linux.i386.tar.bz2
    3. Logout from gnome and change the runlevel with
    Code:
    sudo init 1
    This stops the X.org server.

    4. Build and install the mach64 drivers
    Code:
    cd /path_to_where_you_untarred_everything/dripkg
    ./install.sh
    What does this script do ?
    It installs a new kernel-module for your graphics card
    /lib/modules/2.6.xxxxx/kernel/drivers/char/drm/mach64.ko

    and installs the necessary driver for X.org:
    /usr/X11R6/lib/modules/dri/mach64_dri.so
    /usr/X11R6/lib/modules/drivers/ati_drv.o
    /usr/X11R6/lib/modules/drivers/atimisc_drv.o


    5. Restart X.org with
    Code:
    init 2
    6. Check for direct rendering under gnome
    Code:
    glxinfo | grep direct
    What to do if it doesn't work?

    1. Check if your mach64 kernel-module is loaded
    Code:
    lsmod | grep mach64
    Output must be similar to
    Code:
    mach64                117568  2
    If it isn't loaded, try to load it with
    Code:
    sudo modprobe -v mach64
    When it is missing after a reboot, add a line with 'mach64' to /etc/modules
    Code:
    sudo echo "mach64" >> /etc/modules
    2. Check /etc/X11/xorg.conf
    This file should contain:
    Code:
    Section "Module"
            ...
            Load    "dri"
            Load    "glx"
            ...
    EndSection
    
    Section "Device"
            ...
            Driver          "ati"
            ...
    EndSection
    
    Section "DRI"
            Mode    0666
    EndSection

  6. #16
    Join Date
    Nov 2004
    Beans
    68
    Distro
    Gutsy Gibbon Testing

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    wow, nice update

  7. #17
    Join Date
    Nov 2004
    Location
    Ottawa, Canada
    Beans
    130
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    Quote Originally Posted by allio
    Ok, how did you get around that error? I hope you didn't have to actually recompile the kernel
    bump!

    Code:
    Compiling...
    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.
    I got the same error while trying to install the common files, too.

  8. #18
    Join Date
    Jan 2005
    Location
    New Zealand
    Beans
    12

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    Quote Originally Posted by kultuur
    1. Check if your mach64 kernel-module is loaded
    Code:
    lsmod | grep mach64
    Output must be similar to
    Code:
    mach64                117568  2
    Code:
    allio@zinger:~ $ lsmod | grep mach64
    mach64                 57888  0
    drm                    72536  1 mach64
    This appears to be wrong.

    I can't actually for the life of me work out if my onboard video is even supported. lspci gives:
    Code:
    0000:01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)
    ...which looks like like it is, but I really can't be sure. Does the fact that the mach64 module succesfully loads on a modprobe mean that it is, or would it load with any video card?

    Oh well, I'll try following your instructions from scratch, but I never seem to get anywhere. Maybe hoary will fix things

  9. #19
    Join Date
    Nov 2004
    Beans
    68
    Distro
    Gutsy Gibbon Testing

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    Quote Originally Posted by mr_ed
    bump!

    Code:
    Compiling...
    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.
    I got the same error while trying to install the common files, too.
    sorry for the delay. you need to get the linux headers for your kernel. if don't have them...
    Code:
    apt-get install linux-headers-686
    ....but if you do already have them, keep reading.

    for some reason, the driver dosn't compile when you use the '386' kernel, complaining about something not being in the kernel. the solution is to get the '686' kernel, along w/ it's headers.
    Code:
    apt-get install linux-686 linux-headers-686
    then boot to the kernel, and run the script again. hope this works for you

  10. #20
    Join Date
    Nov 2004
    Location
    Ottawa, Canada
    Beans
    130
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    Hey, no problem.

    Unfortunately, I have both of them.

    I went in and did a make in the right subfolder, and it appeared to have worked.

    Only thing is that it only seemed to enable DRI when I set my laptop screen size to 1024x768. (This laptop normally only has one setting: 1400x1050)

Page 2 of 26 FirstFirst 123412 ... 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
  •