Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
To: Demi Marie Obenour <demiobenour@gmail.com>
Cc: "Roger Pau Monné" <roger.pau@citrix.com>,
	xen-devel <xen-devel@lists.xenproject.org>,
	intel-xe@lists.freedesktop.org
Subject: Re: Graphical glitches (not refreshing?) with Linux's xe driver + Xen 4.19
Date: Tue, 24 Feb 2026 16:31:10 +0100	[thread overview]
Message-ID: <aZ3EPnJD_KunoQh-@mail-itl> (raw)
In-Reply-To: <a41a15ca-b26e-482a-9084-fc61645fb24e@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2051 bytes --]

On Fri, Feb 13, 2026 at 12:31:47AM -0500, Demi Marie Obenour wrote:
> On 2/12/26 20:23, Marek Marczykowski-Górecki wrote:
> > On Thu, Feb 12, 2026 at 04:11:50PM +0100, Roger Pau Monné wrote:
> >> On Tue, Feb 10, 2026 at 07:06:20PM +0100, Marek Marczykowski-Górecki wrote:
> >>> Hi,
> >>>
> >>> 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.
> >>
> >> Not sure it's going to help a lot, but does using a PVH dom0 make any
> >> difference?
> > 
> > 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.
> > 
> > So, if the above test is representative, it's only about PV dom0.
> 
> This reminds me of a problem that I helped debug a while back,
> and which also affected Qubes OS.  That one was due to some part
> of Linux core MM clobbering the high bit of the PAT part of PTEs.
> As a result, a PTE that should have referenced entry X in the PAT
> wound up referencing entry (X & 3).
> 
> On native Linux, the bug was mostly harmless, which is why nobody
> found it earlier.  However, on Xen PV, the different PAT caused memory
> to be cached that should not be.  The resulting symptoms were very
> similar to what Marek described, though a bit less dramatic.
> 
> Can you try removing the Qubes downstream patch that changes the PAT?

I'd assume removing such patch would make things only worse (it either
shouldn't matter, or if the driver assumes Linux version, changing it
would actually break stuff).
Anyway, removing the patch didn't change anything.

-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2026-02-24 15:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-10 18:06 Graphical glitches (not refreshing?) with Linux's xe driver + Xen 4.19 Marek Marczykowski-Górecki
2026-02-12 14:33 ` Rodrigo Vivi
2026-02-12 15:11 ` Roger Pau Monné
2026-02-12 15:32   ` Marek Marczykowski-Górecki
2026-02-12 16:16     ` Roger Pau Monné
2026-02-12 16:22       ` Marek Marczykowski-Górecki
2026-02-12 16:35         ` Roger Pau Monné
2026-02-13  1:23   ` Marek Marczykowski-Górecki
     [not found]     ` <a41a15ca-b26e-482a-9084-fc61645fb24e@gmail.com>
2026-02-24 15:31       ` Marek Marczykowski-Górecki [this message]
2026-02-24 15:58     ` Marek Marczykowski-Górecki
2026-03-02 11:19       ` Marek Marczykowski-Górecki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aZ3EPnJD_KunoQh-@mail-itl \
    --to=marmarek@invisiblethingslab.com \
    --cc=demiobenour@gmail.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=roger.pau@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox