Re: suspend-resume and dri driver

From: Oleksandr Kryvulia <shuriku_at_shurik.kiev.ua>
Date: Fri, 07 Apr 2023 11:34:36 UTC
07.04.23 13:34, Jan Beich пише:
> Oleksandr Kryvulia <shuriku@shurik.kiev.ua> writes:
>
>> Hi
>> After suspend-resume on my Thinkpad T490 dri driver fallbacks to swrast.
>>
>> On system boot:
>> % xdriinfo
>> Screen 0: iris
>>
>> After suspend-esume:
>> % xdriinfo
>> libGL error: failed to authenticate magic 1
>> libGL error: failed to load driver: iris
>> Screen 0: swrast
> Maybe caused by https://github.com/freebsd/drm-kmod/issues/175
> Neither Xwayland (X11) nor wlroots (Wayland) are affected.
>
> Note, FreeBSD (unlike Linux and OpenBSD) runs Xorg (unlike anything
> Wayland-related) as root (via setuid) which may affect how DRM
> authentication works.
>
Yes, I have exactly the same behavior.