[Bug 28994] [r300c] [r300g] skybox in ut2004 is not seamless

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 17 11:32:44 PST 2010


--- Comment #8 from Marek Olšák <maraeo at gmail.com> 2010-12-17 11:32:44 PST ---
(In reply to comment #7)
> You were a bit hasty (less than 4 hours between the question and the bug
> close?). Here it still looks exactly like on the attached screenshot. I also
> checked it with softpipe, and that looks same as well.

I wonder why the skybox renders correctly only on r5xx...

> BTW I found absolutely no docs about how to change the driver to softpipe from
> r300g. After hours of googling the only clue I found was
> 'LIBGL_ALWAYS_SOFTWARE=1' in a comment on a phoronix forum.

Create an empty directory, add a swrast_dri.so symlink there that points to
swrastg_dri.so or whatever driver you need. Set LIBGL_DRIVERS_PATH for it to
contain the path to that directory. Every 3D application will then look for
$LIBGL_DRIVERS_PATH/r300_dri.so, which wouldn't be there. Then it will look for
$LIBGL_DRIVERS_PATH/swrast_dri.so and load it.

To get r300g:
LIBGL_DRIVERS_PATH=/home/..../mesa/lib/gallium glxinfo

To get r300c:
LIBGL_DRIVERS_PATH=/home/..../mesa/lib glxinfo

To get swrast:
ln -s /home/..../mesa/lib/swrast_dri.so /some-path/swrast_dri.so
LIBGL_DRIVERS_PATH=/some-path glxinfo

To get llvmpipe (assumming you build with --enable-gallium-llvm):
ln -s /home/..../mesa/lib/gallium/swrastg_dri.so /some-path/swrast_dri.so
LIBGL_DRIVERS_PATH=/some-path glxinfo

To get softpipe (assumming you build with --enable-gallium-llvm):
ln -s /home/..../mesa/lib/gallium/swrastg_dri.so /some-path/swrast_dri.so
LIBGL_DRIVERS_PATH=/some-path GALLIUM_DRIVER=softpipe glxinfo

Or you may use LIBGL_ALWAYS_SOFTWARE, but I don't use that.

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the dri-devel mailing list