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

Re: Splitting packages of video drivers in XF4.2 ?



On Sun, 2002-04-28 at 01:46, Hendrik Sattler wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Am Samstag, 27. April 2002 23:19 schrieben Sie:
> > On Sat, 2002-04-27 at 11:39, Hendrik Sattler wrote:
> > > I have some kind of wish to discuss which would makes life much less hard
> > > for users of non-Debian-files:
> > >
> > > It is fact that not all graphics hardware runs with the drivers supplied
> > > with XF4.x, some examples are:
> > > 	some NVidia cards (if you want any acceleration at all)
> > > 	Matrox cards (if you need the mga_hal, e.g. for DRI)
> > > 	3Dfx-V3 on earlier XFree version (the YUV support)
> > > 	maybe others, too
> > >
> > > The problem is: most of those drivers (best example is Matrox) simply
> > > replace some original files in /usr/X11R6/lib/modules. As those are not
> > > marked and config files (and they are no config files and this is no_
> > > request to make them), they silently get overwritten.
> > > The surprise is then on a non-funtional X on restart :(
> > >
> > > I think the probably best solution would be to split off the video cards
> > > drivers into one extra package, only keeping generic drivers in
> > > xserver-xfree86.
> >
> > You don't have to overwrite package-controlled files in this case; the X
> > server supports several module paths, just put them in /usr/local/X11R6
> > or wherever.
> 
> To the above: Where are those paths defined? There is nothing in /etc/X11 
> that specifies something in /usr/local. Maybe they are compiled in (or even 
> hard-coded)?

The default path is hardcoded, but you can override it with any number
of paths in the files section, man XF86Config-4.

> Anyway, this would not work anyway because the module names are equal and I 
> guess that XFree will prefer /usr/X11R6 to anything else.

It will traverse the paths in the order you specify them (or maybe in
the reverse order? :).


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast


--
To UNSUBSCRIBE, email to debian-x-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: