[Pkg-fglrx-devel] managing xorg.conf (or xorg.conf.d/foo.conf) via alternatives

Patrick Matthäi pmatthaei at debian.org
Wed Oct 5 19:50:39 UTC 2011


On 05.10.2011 21:44, Andreas Beckmann wrote:
> [moved discussion from bug to mailing list]
> 
> On 2011-10-05 21:05, Patrick Matthäi wrote:
>> @Andreas:
>> What do you think of writing a similar script, which returns the status
>> and also switches between mesa/fglrx (about alternatives)?
> 
> Before we can do this, we need to find a solution how to handle
> xorg.conf or an xorg.conf.d/ file (which mainly provides a Driver line
> for the proprietary driver) via update-alternatives, so that it can be
> enabled/disabled automatically whenever the glx alternative gets changed.

This is handled by the fglrx internals for this case (only works with
this discrete amd/intel graphic foo)

I can't test it, but we have got users :-)

From e.g.: ./arch/x86_64/usr/lib64/fglrx/switchlib{GL,glx} it just
renames the files and links. ati/amdconfig does the rest in
/etc/ati/<config> to enable it.

> 
> Not to forget all the tools that want to manipulate /etc/X11/xorg.conf
> directly ...

Also amdconfig just manipulates /e/X11/xorg.conf :/


-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: pmatthaei at debian.org
        patrick at linux-dev.org
*/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fglrx-devel/attachments/20111005/c69eef58/attachment.pgp>


More information about the Pkg-fglrx-devel mailing list