Public bug reported:
### Summary
On a dual-monitor mixed-DPI setup (internal HiDPI laptop display + external 27"
1080p monitor) running Ubuntu 26.04 LTS on Wayland with an NVIDIA GeForce RTX
5070 Mobile GPU, Electron-based applications (especially Snaps) exhibit severe
cursor scaling bugs on the 1080p external display, Wayland initialization
crashes, and noticeable UI/scrolling lag in VS Code. None of these issues
occurred on Ubuntu 26.04 LTS on a previous laptop where both internal and
external displays were 1080p (100% uniform scaling).
---
### System Environment
- **OS:** Ubuntu 26.04 LTS (GNOME Wayland session)
- **Device:** Gigabyte AERO X16 (Model EG61H / GIGABYTE-AERO-X16-2WH)
- **CPU:** AMD Ryzen AI 9 HX 370
- **GPU:** NVIDIA Corporation GB206M [GeForce RTX 5070 Max-Q / Mobile] (rev
a1), 8GB VRAM
- **GPU Driver:** Proprietary `nvidia` kernel driver (595.99.02)
- **RAM:** 32 GB DDR5 (5600 MHz)
- **Display Configuration:**
- Internal HiDPI laptop display (scaled)
- External 27-inch 1080p monitor (100% scaling)
- **Affected Applications:**
- Discord (Snap)
- Postman `v11/stable` (`11.71.7`, rev 360, Snap)
- Visual Studio Code
---
### Steps to Reproduce & Observed Issues
#### 1. Tiny mouse cursor in Electron Snap apps on external 1080p monitor
1. Connect an external 1080p monitor alongside the internal HiDPI display in
GNOME Wayland.
2. Install Discord or Postman via Ubuntu App Center (Snap).
3. Move the window to the 1080p external monitor and hover the mouse cursor
over the application window.
- **Actual result:** The mouse cursor shrinks dramatically compared to the rest
of the desktop on the 1080p display.
- **Workaround findings:**
- For **Discord Snap**: Connecting `gtk-common-themes:icon-themes` and
launching with `--ozone-platform-hint=auto` resolves the cursor size issue.
- For **Postman Snap**: The package does not expose the `icon-themes` plug
(`error: snap "postman" has no plug named "icon-themes"`), and passing
`XCURSOR_SIZE=32` / `48` under XWayland (`--ozone-platform=x11`) is ignored;
the cursor remains tiny.
#### 2. Global Wayland hint breaks VS Code cursor and crashes Postman Snap
1. Set `ELECTRON_OZONE_PLATFORM_HINT=auto` globally in
`~/.config/environment.d/electron.conf` to force native Wayland on Electron
apps.
2. Log out and log back in.
- **Actual result:**
- **VS Code** (which previously had normal cursor sizing under XWayland)
starts exhibiting the same tiny cursor bug on the 1080p external monitor.
- **Postman Snap** fails to start completely and crashes with a segmentation
fault due to inability to connect to the Wayland display socket inside the Snap
confinement, alongside `MESA-LOADER` errors.
- Removing `ELECTRON_OZONE_PLATFORM_HINT=auto` and logging out restores VS
Code's cursor, but Postman still fails to launch unless `--ozone-platform=x11`
is explicitly forced.
#### 3. Noticeable UI / scrolling lag in VS Code on long files
1. Open multi-hundred/thousand-line code files in VS Code on the external 1080p
display (with mixed-DPI scaling active on the internal HiDPI display).
2. Scroll and type rapidly.
- **Actual result:** Scrolling and editing feel noticeably sluggish compared to
an older, lower-spec laptop (MSI GF65 Thin 10UE, i5-10500H, RTX 3060) running
the exact same Ubuntu 26.04 LTS OS and external 27" 1080p monitor, where both
displays shared 1080p resolution.
---
### Relevant Logs (Postman Snap crash under Wayland)
```text
MESA-LOADER: failed to open nouveau (search paths
/snap/postman/360/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: nouveau
MESA-LOADER: failed to open kms_swrast (search paths
/snap/postman/360/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths
/snap/postman/360/usr/lib/x86_64-linux-gnu/dri)
failed to load swrast driver
MESA-LOADER: failed to open radeonsi (search paths
/snap/postman/360/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: radeonsi
MESA-LOADER: failed to open kms_swrast (search paths
/snap/postman/360/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths
/snap/postman/360/usr/lib/x86_64-linux-gnu/dri)
failed to load swrast driver
[DuckDBService] Using centralized DB path:
/home/extrerus/snap/postman/360/.config/Postman/duckdb/results.db
[DuckDBService] Created new singleton instance with global guard
The disableGPU setting is set to undefined
Not disabling GPU
Main: Starting cleanup of stale files
[68837:1121/124832.978618:ERROR:wayland_connection.cc(205)] Failed to connect
to Wayland display: No such file or directory (2)
[68837:1121/124832.978651:ERROR:ozone_platform_wayland.cc(264)] Failed to
initialize Wayland platform
[68837:1121/124832.978656:ERROR:env.cc(258)] The platform failed to initialize.
Exiting.
[1121/124832.986993:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not
permitted (1)
Segmentation fault (core dumped) postman
** Affects: mutter (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175489
Title:
Mixed-DPI (HiDPI + 1080p) XWayland/Wayland cursor scaling bugs,
Electron Snap crashes, and VS Code lag on Ubuntu 26.04 LTS with NVIDIA
RTX 5070
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2175489/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs