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

Bug#639621: libgl1-mesa-dri: A DRI1-capable r300_dri.so should be provided



On Son, 2011-08-28 at 13:16 -0500, Andrew Deason wrote: 
> 
>  1. Just install the non-Gallium r300_dri.so instead of the Gallium one
>     (I assume you don't want to do this, since the Gallium driver is
>     deliberately chosen, and for all I know is much better on other
>     systems)
> 
>  2. Install the non-Gallium r300_dri.so under another name
>     (r300dri1_dri.so or something?), and get the 'radeon' X driver in
>     xserver-xorg-video-ati to report r300dri1 as the DRI driver name for
>     DRI1. Currently it reports r300_dri.so for both DRI1 and DRI2 (see
>     src/radeon_dri.c and R300_DRIVER_NAME in xserver-xorg-video-ati).
> 
>  3. Allow the user to choose between the Gallium and non-Gallium drivers
>     via the alternatives system, or via installing a package that
>     diverts r300_dri.so, or something along those lines.
> 
>  4. Make the Gallium r300 driver support both DRI1 and DRI2. I assume
>     this is difficult and not a feasible short-term option, or it
>     deliberately does not support DRI1.

None of these options are particularly attractive, but a simpler
solution might be possible: Install the classic r300_dri.so to a
different directory, and add that to the end of the default driver
search path. That way libGL would try r300g first and fall back to the
classic driver.


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



Reply to: