From nobody Fri Apr 07 06:17:59 2023 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pt7TY5X9Pz44DGL for ; Fri, 7 Apr 2023 06:18:09 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from mail.flex-it.com.ua (mail.flex-it.com.ua [193.239.74.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pt7TX25KSz3NJZ for ; Fri, 7 Apr 2023 06:18:08 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of shuriku@shurik.kiev.ua designates 193.239.74.7 as permitted sender) smtp.mailfrom=shuriku@shurik.kiev.ua; dmarc=none Received: from 93.183.208.50.ipv4.datagroup.ua ([93.183.208.50] helo=[192.168.200.124]) by mail.flex-it.com.ua with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1pkfQ7-000Cl2-Vd for x11@freebsd.org; Fri, 07 Apr 2023 09:17:59 +0300 Content-Type: multipart/alternative; boundary="------------4ijQjAHNShqxDyYChlUd9Wo5" Message-ID: <972c5100-823f-5af7-e1e7-d6ee59edaeb4@shurik.kiev.ua> Date: Fri, 7 Apr 2023 09:17:59 +0300 List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 From: Oleksandr Kryvulia Subject: suspend-resume and dri driver To: x11@freebsd.org Content-Language: uk-UA X-Spamd-Result: default: False [-3.28 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.997]; NEURAL_HAM_SHORT(-0.99)[-0.987]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:35297, ipnet:193.239.72.0/22, country:UA]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[x11@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[shurik.kiev.ua]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4Pt7TX25KSz3NJZ X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --------------4ijQjAHNShqxDyYChlUd9Wo5 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 Logout from KDE session and login reverts driver to iris. Some information about my system:  - Thinkpad T490 with Intel UHD620 graphics  - FreeBSD 14.0-CURRENT #22 main-n261913-3f0083c4e30a  - drm-515-kmod-5.15.25_1 --------------4ijQjAHNShqxDyYChlUd9Wo5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit 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

Logout from KDE session and login reverts driver to iris.

Some information about my system:
 - Thinkpad T490 with Intel UHD620 graphics
 - FreeBSD 14.0-CURRENT #22 main-n261913-3f0083c4e30a
 -
drm-515-kmod-5.15.25_1
--------------4ijQjAHNShqxDyYChlUd9Wo5--