Wayland: tiny mouse cursor with 125% fractional scaling #105895
Operating system: Linux-6.2.6-1-default-x86_64-with-glibc2.37 64 Bits
Graphics card: Mesa Intel(R) UHD Graphics 620 (KBL GT2) Intel 4.6 (Core Profile) Mesa 23.0.0
Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-03-17 21:08, hash:
Short description of error
Tiny mouse cursor inside blender while running in Wayland session (Windowing Environment: WAYLAND), as shown in the screen recording.
The only way to have a normal size mouse cursor at the moment is to enable zoom mode on my desktop, as shown in the screen recording.
*I use fractional scalling at 125% on my desktop (Wayland session).
Exact steps for others to reproduce the error
- Open Blender.
- Mouse cursor will be tiny regardless of any Interface > Display > Resolution Scale setting in Blender.
It doesn't seem practical to resolve this on Blender's side, some notes:
- Blender already supports fractional scaling on KDE/WLROOT's based compositors (RIVER works for e.g.).
- Gnomes fractional scaling is marked as experimental. Ubuntu chose to enable this. By default, enabling gnome's fractional scaling requires setting the mutter option:
- Fractional scaling under Gnome makes the assumption the application does not support fractional scaling and renders a non-fractional scaled frame-buffer, then scales it down fractionally.
- Wayland now supports
wp-fractional-scale-v1as a way to better access fractional scaling information, although compositors will need to support this so it can be tested to work properly in Blender.
As this is a limitation in an experimental feature, which will be resolved once newer API's are supported by Gnome, I've added this to our user manual as a "Known Limitation" - see: https://docs.blender.org/manual/en/3.6/getting_started/installing/linux_windowing_environment.html#known-limitations
It turns out fractional scaling wasn't working on other non-gnome compositors such as RIVER. It was especially noticeable with a fractional scale of 1.01 for e.g. where the interface was scaled down around 50%.
I didn't realize this impacted RIVER as scales 1.5 and 1.75 worked well enough although they were not exactly correct either.
I think we should reopen this issue again. Starting from version 3.6, the UI scale correctly on my system, but the mouse cursor size is still tiny regardless of the resolution scale value.
I tried the latest 4.0 alpha, 37eabb171a7. The issue is still presenting.
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?