ati mach64 dri not working after upgrade to etch - Debian

This is a discussion on ati mach64 dri not working after upgrade to etch - Debian ; Hello all, after upgrade from sarge to etch direct rendering for my ati rage mobility mach64 card is not working anymore. I have self-compiled kernel 2.6.19. I downloaded both : common-20060403-linux.i386.tar.bz2 mach64-20060325-linux.i386.tar.bz2 but I am unable to install the second ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: ati mach64 dri not working after upgrade to etch

  1. ati mach64 dri not working after upgrade to etch

    Hello all,
    after upgrade from sarge to etch direct rendering for my ati rage mobility
    mach64 card is not working anymore. I have self-compiled kernel 2.6.19.
    I downloaded both :
    common-20060403-linux.i386.tar.bz2
    mach64-20060325-linux.i386.tar.bz2
    but I am unable to install the second one, it aborts attempting to build
    mach64 module for the kernel, saying that I need the latest kernel source
    (!):
    This version of the script supports 2.4.x and 2.6.x kernels.

    Kernel Version : 2.6.19.1
    Module Directory : /lib/modules/2.6.19.1
    [...]
    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.

    As a consequence of that, currently the only way for me to watch a video is to
    use mplayer with "x11/xv" which is far from optimum (previously "vidix" was
    working flawlessy).
    Any help will be appreciated.
    --
    On this laptop no Windows system survives and LINUX POWER reigns UNLIMITED.
    Successfully Microsoft free since December 2002.


    --
    To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. Re: ati mach64 dri not working after upgrade to etch

    On Thursday 11 January 2007 19:13, Mauro Darida wrote:
    > Hello all,
    > after upgrade from sarge to etch direct rendering for my ati rage mobility
    > mach64 card is not working anymore. I have self-compiled kernel 2.6.19.
    > I downloaded both :
    > common-20060403-linux.i386.tar.bz2
    > mach64-20060325-linux.i386.tar.bz2
    > but I am unable to install the second one, it aborts attempting to build
    > mach64 module for the kernel, saying that I need the latest kernel source
    > (!):
    > This version of the script supports 2.4.x and 2.6.x kernels.
    >
    > Kernel Version : 2.6.19.1
    > Module Directory : /lib/modules/2.6.19.1
    > [...]
    > 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.
    >
    > As a consequence of that, currently the only way for me to watch a video is
    > to use mplayer with "x11/xv" which is far from optimum (previously "vidix"
    > was working flawlessy).
    > Any help will be appreciated.
    > --

    I forgot to include the content of the dri.log file:
    make DRM_MODULES=mach64.o modules
    make[1]: Entering directory
    `/usr/local/src/mach64-20060325-linux.i386/drm/linux-core'
    make -C /lib/modules/2.6.19.1/source SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
    make[2]: Entering directory `/usr/src/linux-2.6.19.1'
    CC [M] /usr/local/src/mach64-20060325-linux.i386/drm/linux-core/drm_auth.o
    In file included
    from /usr/local/src/mach64-20060325-linux.i386/drm/linux-core/drm_auth.c:36:
    /usr/local/src/mach64-20060325-linux.i386/drm/linux-core/drmP.h:44:26: error:
    linux/config.h: No such file or directory
    make[3]: ***
    [/usr/local/src/mach64-20060325-linux.i386/drm/linux-core/drm_auth.o] Error 1
    make[2]: ***
    [_module_/usr/local/src/mach64-20060325-linux.i386/drm/linux-core] Error 2
    make[2]: Leaving directory `/usr/src/linux-2.6.19.1'
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory
    `/usr/local/src/mach64-20060325-linux.i386/drm/linux-core'
    make: *** [mach64.o] Error 2

    --
    On this laptop no Windows system survives and LINUX POWER reigns UNLIMITED.
    Successfully Microsoft free since December 2002.


    --
    To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  3. Re: ati mach64 dri not working after upgrade to etch

    On 1/21/07, Mauro Darida wrote:
    > On Thursday 11 January 2007 19:13, Mauro Darida wrote:
    > > Hello all,
    > > after upgrade from sarge to etch direct rendering for my ati rage mobility
    > > mach64 card is not working anymore. I have self-compiled kernel 2.6.19.
    > > I downloaded both :
    > > common-20060403-linux.i386.tar.bz2
    > > mach64-20060325-linux.i386.tar.bz2
    > > but I am unable to install the second one, it aborts attempting to build
    > > mach64 module for the kernel, saying that I need the latest kernel source
    > > (!):
    > > This version of the script supports 2.4.x and 2.6.x kernels.
    > >
    > > Kernel Version : 2.6.19.1
    > > Module Directory : /lib/modules/2.6.19.1
    > > [...]
    > > 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.
    > >
    > > As a consequence of that, currently the only way for me to watch a video is
    > > to use mplayer with "x11/xv" which is far from optimum (previously "vidix"
    > > was working flawlessy).
    > > Any help will be appreciated.
    > > --

    > I forgot to include the content of the dri.log file:
    > make DRM_MODULES=mach64.o modules
    > make[1]: Entering directory
    > `/usr/local/src/mach64-20060325-linux.i386/drm/linux-core'
    > make -C /lib/modules/2.6.19.1/source SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
    > make[2]: Entering directory `/usr/src/linux-2.6.19.1'
    > CC [M] /usr/local/src/mach64-20060325-linux.i386/drm/linux-core/drm_auth.o
    > In file included
    > from /usr/local/src/mach64-20060325-linux.i386/drm/linux-core/drm_auth.c:36:
    > /usr/local/src/mach64-20060325-linux.i386/drm/linux-core/drmP.h:44:26: error:
    > linux/config.h: No such file or directory


    I guess you've already cleaned your kernel source. Please do another
    kernel compile, but don't clean. Mach64 need several files from there.

    Second thing, you might need to apply this patch to your Mach64 dri source.

    andika@mungil:~/kernel/mach64-20060403-linux.i386$ diff -urN
    drm/linux-core/drm_compat.h{.lama,}
    --- drm/linux-core/drm_compat.h.lama 2006-04-03 11:24:33.000000000 -0400
    +++ drm/linux-core/drm_compat.h 2007-01-21 00:18:24.000000000 -0500
    @@ -170,7 +170,7 @@
    #endif

    #ifndef __put_page
    -#define __put_page(p) atomic_dec(&(p)->count)
    +#define __put_page(p) atomic_dec(&(p)->_count)
    #endif

    #ifndef REMAP_PAGE_RANGE_5_ARGS


    Regards,
    Andika


    --
    To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  4. Re: ati mach64 dri not working after upgrade to etch

    On Monday 22 January 2007 04:53, Andika Triwidada wrote:
    > I guess you've already cleaned your kernel source. Please do another
    > kernel compile, but don't clean. Mach64 need several files from there.

    No, I did not clean the kernel source. All I did were the following commands:
    # make-kpkg clean
    # make menuconfig
    # make-kpkg --revision=some-test.1.0 kernel_image modules_image

    So as you can see I did clean the source _before_ compilation and not _after_
    it.
    --
    On this laptop no Windows system survives and LINUX POWER reigns UNLIMITED.
    Successfully Microsoft free since December 2002.


    --
    To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

+ Reply to Thread