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

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

 



On Fri, Mar 11, 2016 at 5:07 AM, Timo Aaltonen <tjaalton@xxxxxxxxxx> 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@xxxxxxxxxx>
>
> 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..

BR,
-R

> ie. no fallback in that case
>
> # with X run as root (wrapper or not), same thing different cause
> [   145.943] (EE) modeset(0): drmSetMaster failed: Invalid argument
> [   145.943] (EE)
> Fatal server error:
> [   145.943] (EE) AddScreen/ScreenInit failed for driver 0
>
>
> but it does work with startx run by a user. Tests done on Debian with
> 1.18.1 and intel ddx git.
>
> --
> t
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux