Current-Users archive

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

Re: modesetting vs intel in 10.0



On Tue, Jul 11, 2023 at 09:58:51AM +1000, matthew green wrote:
> > But maybe modesetting is mature enough (and intel bad enough)
> > to warrant being the default for Intel GPUs.
> 
> i'm not familiar with the various intel chipsets, i've only had
> a couple of them over the years and besides porting the kabylake
> bits into the older drm version, i've not really touched it much.
> 
> but, you can adjust the list of drivers used by default here in
> the xorg-server sources:
> 
>    hw/xfree86/common/xf86pciBus.c:xf86VideoPtrToDriverList()
> 
> where it has a "default:" case for intel of "intel", and if you
> can properly figure out how to change this to "modesetting" for
> the newer ones (only?) that would be fine by me.
> 
> (one way to handle this without having to patch this code would
> be to install the intel driver as some other name, and then make
> a copy of the "ati" front end called "intel" that loads either
> the real intel driver or modesetting, depending.)

It does allow having multiple defaults! This is the case,
for example, for nvidia cards, which try nouveau first then
fall back to to nv.

I think detecting the year of manufacture is too much of a hard
problem - there are simply too many new cards and I have no idea
about a "cutoff point" where modesetting starts being OK (if it
even isn't okay for any old cards at all - it should work as long
as DRM/KMS works AFAIK)


Home | Main Index | Thread Index | Old Index