You are viewing tirdc

26 August 2010 @ 11:35 am
Gallium R300 as drop-in replacement  
Dave Airlie made a small commit changing the name of the R300 gallium driver from radeong to r300.

And what does that mean? It basically means that the classic r300 driver and the gallium based one share the same filename. So you can switch between the two drivers by simply replacing the one with the other.

This is really helpful for developers. And it might also be the first sign that the gallium based driver might become the default driver for r300.


From an anonymous comment:

It also means that you cannot easily package both drivers in rpm packages.
( 8 comments — Leave a comment )
(Anonymous) on August 26th, 2010 12:24 pm (UTC)
It also means that you cannot easily package both drivers in rpm packages.
(Anonymous) on August 26th, 2010 02:08 pm (UTC)
Sure you can. You just package them in two different RPMs which have a Conflicts tag.
corey.burger [] on August 26th, 2010 09:42 pm (UTC)
And switching between the drivers to test now requires you to install/remove a package. I fail to see how this is a good thing.
(Anonymous) on August 26th, 2010 10:05 pm (UTC)
bad for whom?
Supporting one driver instead of two is a bad thing?
(Anonymous) on August 26th, 2010 10:18 pm (UTC)
Re: bad for whom?
If the new one isn't at least as functional, yes. Ubuntu has a method to switch at load-time between two conflicting drivers, including between versions of the nVidia blob, which is much better than a package-level problem stopping both from even being installed.
(Anonymous) on August 29th, 2010 01:28 pm (UTC)
Re: bad for whom?
Thankfully, r300g is far better than r300c in terms of performance now, and definitely more featureful and less buggy.

So this is a Good Thing.

~ C.
(Anonymous) on August 27th, 2010 01:33 pm (UTC)
Not if you build both from single .spec.
msameermsameer on August 28th, 2010 03:03 pm (UTC)
Sure you can.

Just use different paths with symlinks (aka Debian alternatives system)
( 8 comments — Leave a comment )