I've attached a candidate fix as a patch against current mutter main:
two commits, the fix in clutter-stage.c and a test that fails without
it. It gives each view a viewport covering exactly its framebuffer and
moves the stage offset and scale into the projection, building on
clutter_stage_calculate_viewport_and_projection() from upstream MR
!5115. It passes mutter's full test suite in the mutter CI image. A
50.1-0ubuntu2.5 build with it (plus the two !5115 commits) fixes this
machine: the GDM greeter and all three row positions render full width
with input aligned. I also have a 50.1 backport if that's useful.

To be upfront: the patch was written with help from an AI assistant. I
know several GNOME projects don't accept LLM-generated contributions, so
before opening a merge request I'd like your direction. Would you prefer
an MR, or would you rather use the analysis and the test as a pointer
for a fix written on your side?

I'm hoping, at worst, it helps to bring a little more clarity to the
underlying issue.

** Patch added: "lp2169751-viewport-fix-mutter-main.patch"
   
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2169751/+attachment/6021240/+files/lp2169751-viewport-fix-mutter-main.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169751

Title:
  Built-in 4K eDP panel renders horizontally squeezed with stale strip
  and input offset at scale 2.0 in logical layout mode (hybrid
  Intel/NVIDIA)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mutter/+bug/2169751/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to