[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#622299: Corrupt GL rendering with KMS (r300) enabled on IA-64 platform (Itanium)



On Mon, 2011-04-18 at 22:07 +0200, Émeric Maschino wrote: 
> Hello Michel,
> 
> > If you pass --with-dri-drivers=r300 to configure, the classic driver
                                   ^^^^

> > should end up in lib/r300_dri.so, as opposed to r300g in
> > lib/gallium/r300_dri.so . You can override libGL's search path with the
> > LIBGL_DRIVERS_PATH environment variable, and if you also set
> > LIBGL_DEBUG=verbose, it prints on stderr where it loads the driver from.
> 
> So, something isn't working as expected. If I follow the "How to build
> mesa page" (http://pkg-xorg.alioth.debian.org/howto/build-mesa.html),
> there's no r300 classic driver, but classic radeon driver (as can be
> read in the "Preparing mesa sources" section: "For r300 (the options
> are named radeon), you need:").

That either only applies (or rather used to) to the Gallium driver or is
flat out incorrect.


> emeric@longspeak:~/mesa.git$ ./configure \
>               --enable-driglx-direct \
>               --enable-gallium \
>               --enable-gles-overlay \
>               --enable-gles1 \
>               --enable-gles2 \
>               --enable-glx-tls \
>               --with-driver=dri \
>               --with-dri-driverdir=/usr/lib/dri \
>               --with-egl-platforms='drm x11' \
>               --with-state-trackers=egl,glx,dri,vega \
>               --with-dri-drivers=radeon --enable-gallium-radeon
                                   ^^^^^^
radeon != r300 ...


>         DRI drivers:     radeon

This line needs to contain r300.


> emeric@longspeak:~/mesa.git$ mv lib/gallium/* lib/

Beware that this command would overwrite the classic driver with the
Gallium one.


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer



Reply to: