Re: [RFC/PATCH xf86-video-intel] sna: Let modestting + glamor handle gen9+

Hans de Goede
2016-03-14T07:39:54Z

Hi,

On 13-03-16 20:36, Rob Clark wrote:
> On Fri, Mar 11, 2016 at 5:07 AM, Timo Aaltonen <tjaalton@ubuntu.com> wrote:
>> 29.02.2016, 16:47, Hans de Goede kirjoitti:
>>> sna has no meaningfull accel for gen9+, this causes problems with i.e.
>>> apps using XVideo since the sprite XVideo support does not work well
>>> for many apps.
>>>
>>> Therefor it is better to just let the xserver fall back to modesetting +
>>> glamor. This is implemented by returning FALSE from the probe methods,
>>> just like how nouveau handles falling back to modesetting for newer cards.
>>>
>>> BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1305369
>>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>>
>> I've been trying to make this work, but there are cases where it fails bad:
>>
>> # a config file with a Device section that loads 'intel' makes the
>> server fail
>> [ 10.153] (EE) No devices detected.
>> [ 10.153] (EE)
>> Fatal server error:
>> [ 10.153] (EE) no screens found(EE)
>
> I'd be awfully tempted to call that NOTABUG.. I mean, it would fail in
> same way if you had a .conf that tried to force ati ddx on a system
> without a radeon card..

Ack, as for the modesetting driver only working when using the systemd-logind
integration and not when running the old way, that needs someone to look into
it.

I've put this on my todo list, but I'm not sure when I'll get around to it.

Regards,

Hans