• Just looking around
    ppc_addon
    Posts: 10 from 2009/5/9
    From: Roma Caput Mundi
    @polluks

    as i remember you need to rebuild opt/libdrm with a patch to have DRI enabled on peg2:

    Code:

    nel@pmac:~$ cat /usr/ports/ppc/opt/libdrm/Pkgfile
    # Description: Userspace interface to kernel DRM services
    # URL: http://dri.freedesktop.org/
    # Maintainer: acrux, acrux at linuxmail dot org
    # Depends on: libpthread-stubs
    # PPC!=:

    name=libdrm
    version=2.4.29
    release=1
    source=(http://dri.freedesktop.org/$name/$name-$version.tar.bz2
    pci0001.patch)

    build() {
    cd $name-$version
    # if your videocard is on PCI:0001 bus (e.g. on Pegasos2)
    # patch -p0 -i $SRC/pci0001.patch

    ./configure --prefix=/usr --with-gnu-ld
    --disable-intel --enable-udev
    --enable-nouveau-experimental-api

    make
    make DESTDIR=$PKG install
    }
  • »27.12.11 - 18:54
    Profile Visit Website