From nobody Fri Apr 07 10:34:36 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 4PtF9W6z7Lz44Sys for ; Fri, 7 Apr 2023 10:34:39 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PtF9W6TBdz3xMD; Fri, 7 Apr 2023 10:34:39 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680863679; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2oyY5Fdsi6/zhoUw6WHAmnOBbfFKBwaGCZnFg046e3c=; b=pW3Ts/Zf06EYJ8hegrgEwa9snN7b8+PHjOi3HH+HIw11FE5KitHslkWkUhfDrxha4lYVnx +vcbY2v3gOC7x6Rmi4SJTammppxRlTwG/5/Rdd8y8aCjL41m0K3XW3kfFvXtI8g/5JdtMB Zt8vWKcfcDn7tGxYMUTWX8NgAegEiu5GIDC5I/DfVPNV8oYraCUy34aP1ieTLqTCb+m1ZH /nZ0YCROWTI6R5H+iaDq7BDU6kO4DISUuWqZLfVS6amQhjEBC3N/UhncYUShr+nyjmAuMA YWF68Rmf45a23TnKiB10VS3lnH604VwIBgAzDEkuJOwWljHleLTVv8rf1s3Ixw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680863679; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2oyY5Fdsi6/zhoUw6WHAmnOBbfFKBwaGCZnFg046e3c=; b=vITnqiYagPVsbgbcrNAOc2JqPcgePLCYxBAHk3mM8/Ochsxsj5wLnAjUJt+wWk9PEUtQdr XoL+pV84X4Bm89bxCCy+W36y3NqX6601iev3ozYoKr/WIrEnrzSpVu1ivNrAMl2j65+Z42 jKukr5E4+FucJNkj/jxu62V7Xf8r+8B6VgmRXsKnoS5CLeK4ZnbquHxk7zlY8tMvI72f7+ uSF7VH8YY5MkkNU7zkkaVBxQeDoWtFNUdX8DswfHLHCVrD1+KHLfZMxGi0+N0iu2/wPooX nOBm31/PhjwEW9/QTeOfvDqlLxh2ImkO/WizOa6InxcnQ7Ym1ojXws+yWqH8pg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680863679; a=rsa-sha256; cv=none; b=ueDa4xGqlAsskrZuCARJ54z/yc+RDnnf/UhZrezLzvkEXFN+gm5YSOshrF2nYSc5rtLCch TJJBbniSnuxZHndu6J3rcnsnUKleLLBTrse4ERxQF1lcyIqDwQe/MEwKDDyIsSdJ9IoMdK myL/ngWfreKvaNateKfKIjwxCsDOKb9sWDleSG1KK87FzLCPJiJMp4mwZPgHUgDIksVgew sVxHP0YGTUvH9szlGRda8JbDF1DJQVMVpAg2L97OZm87uCLL111cmv1jdoMHd5GgruJ15/ 8hNt8SbKzC4Irun44m8Ps53uiV5Bm0B6A4dl/QlxPOBpB2gui5mtaDy6nAE7kA== Received: by freefall.freebsd.org (Postfix, from userid 1354) id B7B9F16326; Fri, 7 Apr 2023 10:34:39 +0000 (UTC) From: Jan Beich To: Oleksandr Kryvulia Cc: x11@freebsd.org Subject: Re: suspend-resume and dri driver In-Reply-To: <972c5100-823f-5af7-e1e7-d6ee59edaeb4@shurik.kiev.ua> (Oleksandr Kryvulia's message of "Fri, 7 Apr 2023 09:17:59 +0300") References: <972c5100-823f-5af7-e1e7-d6ee59edaeb4@shurik.kiev.ua> Date: Fri, 07 Apr 2023 12:34:36 +0200 Message-ID: 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 Content-Type: text/plain X-ThisMailContainsUnwantedMimeParts: N Oleksandr Kryvulia 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.