Thanks, appreciate your continued attention on this. Answers to both
questions:

1. "Failed to create texture 2d due to size/format constraints": no, it
only shows up with screenshots. The journal here goes back to
2026-10-08. In that time the message appears only on 2026-10-13 between
16:53 and 16:54, during the simple-KMS test boot from comment #6, and
all five lines are gnome-shell's "Error capturing screenshot" from when
I pressed the screenshot key. The squeeze itself logs nothing. I wasn't
recording the screen, and gnome-remote-desktop is disabled (RDP
disabled, service inactive). Sorry, comment #4 made it sound like a
separate symptom.

2. "Failed to create offscreen effect framebuffer": there are none in
any boot since 2026-10-08, including the 2026-10-13 boot where the
squeeze reproduced at the greeter and in the session. The ones I
mentioned in comment #6 date from before the 26.04 upgrade, so I don't
think they're related.

Extensions: I ran your test as written. ~/.local/share/gnome-
shell/extensions held Tiling Shell and Astra Monitor; neither was
loaded, since disable-user-extensions is true here. I moved that
directory out of the way and logged in again. My stored monitor config
is one that avoids the bug, so after login I switched to the five-in-a-
row layout: the eDP was still squeezed into the left ~85%. Then "gnome-
extensions disable [email protected]" (desktop icons gone, the ding.js
process exited): still squeezed. At that point the only extensions
loaded were ubuntu-dock, ubuntu-appindicators, tiling-assistant, snapd-
prompting, snapd-search-provider and web-search-provider. The GDM
greeter, which loads no extensions, shows the same squeeze.

I don't think an offscreen is involved at all. In mutter 50.1,
_clutter_stage_maybe_setup_viewport() in clutter/clutter/clutter-stage.c
gives every view a viewport the size of the whole stage times the view's
scale, offset by the view's position:

  viewport_width = roundf (priv->viewport[2] * fb_scale);

For the eDP view (scale 2) with a 9600-wide stage, that is glViewport(0, y, 
19200, 2160). GL silently clamps the viewport width to GL_MAX_VIEWPORT_DIMS, 
which is 16384 here (glxinfo: GL_MAX_VIEWPORT_DIMS = 16384, 16384 on Mesa Intel 
UHD TGL GT1). If that's what happens, it would explain all of the symptoms:
- the eDP's content is drawn into the left 16384/19200 = 85% of the panel (3277 
of 3840 px);
- the right ~560 px are never drawn, and because the stage only clears depth 
(COGL_BUFFER_BIT_DEPTH) they keep stale content;
- input is offset, because the hardware cursor is still placed at the true 
position;
- the scale-1 external views are unaffected (9600 < 16384);
- it goes away whenever stage width x max scale <= 16384, which matches every 
layout I tested (15360 fine, 19200 squeezed; 2x2 at 11520 fine; physical at 
11520 fine).
The screenshot failure would then be a separate effect of the same size, 
hitting GL_MAX_TEXTURE_SIZE (also 16384).

To test this I moved the eDP along the same row of five monitors. With
the viewport clamped to 16384, the drawn width of the panel should be
16384 x (x_eDP + 1920) / 9600 - 2 x x_eDP pixels, so it should shrink as
the eDP moves right:

- eDP at the left end (x=0): predicted 3277 px (85%); observed ~85%.
- eDP in the middle (x=3840): predicted 2150 px (56%); observed about half.
- eDP at the right end (x=7680): predicted 1024 px (27%); observed a narrow 
strip at the left edge, roughly 15% by eye.

In each case only that part of the panel updates, for example when the
overview opens, and the rest stays frozen. In the right-end case a
terminal window I dragged onto the panel showed up inside the strip.
These are by-eye estimates, since screenshots fail in these layouts, but
the dependence on the eDP's position is clear. As far as I can tell, a
texture-size limit alone wouldn't produce that.

-- 
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