[Mesa-dev] [PATCH] loader: Allow a non-udev linux fallback

Emil Velikov emil.l.velikov at gmail.com
Thu Feb 6 17:20:39 PST 2014


On 01/02/14 09:27, Lauri Kasanen wrote:
> On Fri, 31 Jan 2014 10:58:48 -0800
> Kenneth Graunke <kenneth at whitecape.org> wrote:
> 
>> On 01/31/2014 03:14 AM, Lauri Kasanen wrote:
>>> It's important not to break existing uses. There is no need to require
>>> udev for 3d. This is an alternative to Stéphane Marchesin's patch
>>> "loader: Make drmGetVersion logic conditional on non-pci devices".
>>>
>>> Signed-off-by: Lauri Kasanen <cand at gmx.com>
>>
>> I'm still fairly astounded that a Linux user who cares about 3D graphics
>> would not have udev.  Virtually every distribution has shipped it for
>> years.  X input hotplugging has used udev for ages (at least on Linux).
>>  Steam also uses udev.  It's a really common system dependency.
>>
>> As far as I can tell, the "udev is part of systemd, so I won't touch it"
>> rationale is just FUD.  Yes, the udev sources were put in the systemd
>> git repository a while back, but that in no way means you need systemd.
>>  udev can still be built and used independently, and from what I've
>> heard, that will continue into the foreseeable future.  Gentoo ships
>> udev 208 without systemd, so it definitely can be done.
>>
>> Other than that, the only other reason I've heard is "I don't want to
>> install a library", which IMO is pretty weak...
> 
> The argument is "this setup worked, and was supported, for 10 years
> now". You don't break supported setups without good reason.
> 
FWIW I'm in favour of not breaking existing setups without any serious
reason. Current patch looks good afaics and unless we come up with a
better solution/arguments against the approach I'll be leaning to commit
this in the next the next week or so.

-Emil


> - Lauri
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 



More information about the mesa-dev mailing list