From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0C82BF3C9A8 for ; Tue, 24 Feb 2026 15:58:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B928610E5C8; Tue, 24 Feb 2026 15:58:30 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=invisiblethingslab.com header.i=@invisiblethingslab.com header.b="SpYM58I3"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="burfKRW5"; dkim-atps=neutral Received: from fhigh-b7-smtp.messagingengine.com (fhigh-b7-smtp.messagingengine.com [202.12.124.158]) by gabe.freedesktop.org (Postfix) with ESMTPS id 71A1B10E5C8 for ; Tue, 24 Feb 2026 15:58:29 +0000 (UTC) Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.stl.internal (Postfix) with ESMTP id CF26B7A0113; Tue, 24 Feb 2026 10:58:28 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Tue, 24 Feb 2026 10:58:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= invisiblethingslab.com; h=cc:cc:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1771948708; x=1772035108; bh=Bna20Bj12AiheVoYQJIu6dwrne7lv6IBmdPM2U/hwhQ=; b= SpYM58I3T8gObDAgO+m3GFt57tBIq6J0puEA+Us0k0mJ59+7j+rrtoswZhnXVwnt UvbpXaKwhD5HNbvjAlL1UiCF7gPQgKGXwHtWtrpvoKDFPra9Y+wfKhtL1d1E0IIq yxxXQ2WvnTd85Ua/cHfnJIIKCFqAxAwBHxDx7IaFYGyBttaLIAStMoN4VF0HCiZx T2xOeBOpoT+3/1GaSD/f00KDbfMYlTkjzzhqJTyeGUHlaLkGTK8bKlZ7Z9WvX1gA yyWAyb1ag3ImN493MBM79OX7vvSTDmev4bTSwXqyR5ZxGe4SeqV8m2NSHTUHTX42 lh2ml349RMuNYBBExxHGyA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1771948708; x=1772035108; bh=Bna20Bj12AiheVoYQJIu6dwrne7lv6IBmdP M2U/hwhQ=; b=burfKRW5ZaM1YXiFZ8wd9dTe1d6cVRm8QFlhcpycNOfy0qQ2a1c X7naXtkQNgYOEIlvqIsj4Psb+a1OJCX9UEDUC2ByHX92v8jaiYlrbJbAmlTDAqpW l0bttOQmOYVTXED4pdAwW/cbcA6UgRyJFZSVIKVjrq71Xyq9nqP8W8TzvVHdJfz3 8iixgB97qArRaJyyH6IiqVz2SqO74yvDMPcv0JbLHkr2e6PbZAs/wAM0J1Mqu2WW 1WzitX5ehvw7wqK2Fpd9l/WT/UuTBNVK4kDt5hJEMpZUMNVXOB/w4hOB3DgFpFX3 7h8F0PjwkcnSzQezyzAfAI+Sezc3V72mO0g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvgedtheekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkfhggtggujgesghdtreertddtjeenucfhrhhomhepofgrrhgvkhcu ofgrrhgtiiihkhhofihskhhiqdfikphrvggtkhhiuceomhgrrhhmrghrvghksehinhhvih hsihgslhgvthhhihhnghhslhgrsgdrtghomheqnecuggftrfgrthhtvghrnheptdehvedt ffeggeffgeetieevfeelvdfhjeekvdfhgfffvedvuedviedugefguedvnecuffhomhgrih hnpehgihhthhhusgdrtghomhdpqhhusggvshdqohhsrdhorhhgnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrrhhmrghrvghksehinhhvih hsihgslhgvthhhihhnghhslhgrsgdrtghomhdpnhgspghrtghpthhtohepfedpmhhouggv pehsmhhtphhouhhtpdhrtghpthhtoheprhhoghgvrhdrphgruhestghithhrihigrdgtoh hmpdhrtghpthhtohepgigvnhdquggvvhgvlheslhhishhtshdrgigvnhhprhhojhgvtght rdhorhhgpdhrtghpthhtohepihhnthgvlhdqgigvsehlihhsthhsrdhfrhgvvgguvghskh htohhprdhorhhg X-ME-Proxy: Feedback-ID: i1568416f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 24 Feb 2026 10:58:27 -0500 (EST) Date: Tue, 24 Feb 2026 16:58:25 +0100 From: Marek =?utf-8?Q?Marczykowski-G=C3=B3recki?= To: Roger Pau =?utf-8?B?TW9ubsOp?= Cc: xen-devel , intel-xe@lists.freedesktop.org Subject: Re: Graphical glitches (not refreshing?) with Linux's xe driver + Xen 4.19 Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="z+Qs3uEx07rIKHpf" Content-Disposition: inline In-Reply-To: X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" --z+Qs3uEx07rIKHpf Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Date: Tue, 24 Feb 2026 16:58:25 +0100 From: Marek =?utf-8?Q?Marczykowski-G=C3=B3recki?= To: Roger Pau =?utf-8?B?TW9ubsOp?= Cc: xen-devel , intel-xe@lists.freedesktop.org Subject: Re: Graphical glitches (not refreshing?) with Linux's xe driver + Xen 4.19 On Fri, Feb 13, 2026 at 02:23:06AM +0100, Marek Marczykowski-G=C3=B3recki w= rote: > On Thu, Feb 12, 2026 at 04:11:50PM +0100, Roger Pau Monn=C3=A9 wrote: > > On Tue, Feb 10, 2026 at 07:06:20PM +0100, Marek Marczykowski-G=C3=B3rec= ki wrote: > > > Hi, > > >=20 > > > Recently I started testing compatibility with Intel Lunar Lake. This = is > > > the first one that uses "xe" instead of "i915" Linux driver for iGPU. > > > I test it with Qubes OS 4.3, which uses Xen 4.19.4 and PV dom0 running > > > Linux 6.17.9 in this test. > >=20 > > Not sure it's going to help a lot, but does using a PVH dom0 make any > > difference? >=20 > Ok, now with the correct Xen version, it's better with PVH dom0. At > least on the login screen and few applications (from both dom0 and domU) > I don't see the glitches anymore. I can't do a full test, because PCI > passthrough doesn't seem to work with PVH dom0 on Xen 4.19 - and I need > it to start most VMs. >=20 > So, if the above test is representative, it's only about PV dom0. Some further observations: 1. My initial impression that Xen 4.17.6 is not affected is false. Apparently I got lucky and didn't waited long enough for glitches to appear. Unfortunately this means I have no way to bisect this... 1a. Updated test procedure - either: - start Qubes OS in full (including default system domUs) and try to open an app in one of them (for example file manager or pdf viewer) - start Linux up to lightdm login page, log in, log out, click on a few lightdm menus (session type selector, poewroff menu etc) The second version works even if toolstack version in dom0 doesn't match Xen version. If no glitches are observed after doing either of those procedures, assume it's good. 2. Xen staging is affected too. As well as Xen staging-4.19 without any qubes patches. 3. After enabling CONFIG_DEBUG in Xen, the xe.ko fails to load firmware: xe 0000:00:02.0: [drm] Tile0: GT0: Using GuC firmware from xe/lnl_guc_7= 0.bin version 70.53.0 xe 0000:00:02.0: [drm] *ERROR* Tile0: GT0: load failed: status =3D 0x40= 000056, time =3D 0ms, freq =3D 1850MHz (req 1850MHz), done =3D -1 xe 0000:00:02.0: [drm] *ERROR* Tile0: GT0: load failed: status: Reset = =3D 0, BootROM =3D 0x2B, UKernel =3D 0x00, MIA =3D 0x00, Auth =3D 0x01 xe 0000:00:02.0: [drm] *ERROR* Tile0: GT0: firmware production part che= ck failure xe 0000:00:02.0: [drm] *ERROR* Tile0: GT0: Failed to initialize uC (-EP= ROTO) xe 0000:00:02.0: probe with driver xe failed with error -71 CONFIG_DEBUG is the only change between "xe.ko loads fine but there are glitches later on" and "xe.ko fails to load at all". Full console logs: https://gist.github.com/marmarek/47b5e62a2cdbae6678c2aecc5283cd3f, there are 3 files: - CONFIG_DEBUG=3Dn - CONFIG_DEBUG=3Dy - CONFIG_DEBUG=3Dy + iommu=3Ddebug 4. Updating to Linux 7.0-rc1 doesn't help, for example: https://openqa.qubes-os.org/tests/168119#step/desktop_linux_manager_create_= qube/11 Generally, it does feel like a bug in xe.ko, but I can't exclude some issue on Xen side too (especially given point 3 above). --=20 Best Regards, Marek Marczykowski-G=C3=B3recki Invisible Things Lab --z+Qs3uEx07rIKHpf Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmmdyqEACgkQ24/THMrX 1yz3NAf/Ss4zXqST+hrVe6//Y8nAtTjAfSKUnpUzjknj9A02rhVJMq7H4VTiQV91 ZM2lHu3JR+ye6J51t+fBtc27eJ1kBWWkPguco5pEaLm3UzlIAzDDTBntLg2M3qTe XSLl2lc3L9cYmXpS2It1jTj+QnoATccFG1Y90SiypjL/yZQwL8lRFZVgdmHHbN9k +Ts7gnNfSLXV22Wj/HKJPpn9v+rZLPFoXYT2ECMoOU4L8GcihAQ07kfyG9Zk0scE Fay2icmTVi3NjBlYSn/UZvfIKDXTT/KuRuL43TVuqKA7OuVoAM+WVWxhf7FfZMf+ fOIDtJsnT+0Q2tPqAbT8100EC1ndGg== =gWO7 -----END PGP SIGNATURE----- --z+Qs3uEx07rIKHpf--