Wayland: tiny mouse cursor with 125% fractional scaling #105895

Open
opened 2023-03-19 04:31:06 +01:00 by Archer Allstars · 4 comments

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

Blender Version
Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-03-17 21:08, hash: 3eff28a158ca
Worked: -

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

  1. Open Blender.
  2. Mouse cursor will be tiny regardless of any Interface > Display > Resolution Scale setting in Blender.
**System Information** 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 **Blender Version** Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-03-17 21:08, hash: `3eff28a158ca` Worked: - **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** 1. Open Blender. 2. Mouse cursor will be tiny regardless of any Interface > Display > Resolution Scale setting in Blender.
Archer Allstars added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-03-19 04:31:07 +01:00
Pratik Borhade added the
Platform
Linux
label 2023-03-19 11:33:15 +01:00

@ideasman42 , can you check?

@ideasman42 , can you check?
Campbell Barton changed title from Tiny mouse cursor in Wayland session to Wayland: tiny mouse cursor with 125% fractional scaling 2023-03-19 23:37:00 +01:00
Campbell Barton added the
Interest: Wayland
label 2023-03-21 10:20:12 +01:00

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: experimental-features=['scale-monitor-framebuffer'].
  • 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-v1 as 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

Closing.

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: `experimental-features=['scale-monitor-framebuffer']`. - 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-v1`` as 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 Closing.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-03-22 02:54:18 +01:00

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.

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.
Blender Bot added
Status
Needs Triage
and removed
Status
Archived
labels 2023-03-29 07:40:10 +02:00
Blender Bot added
Status
Resolved
and removed
Status
Needs Triage
labels 2023-03-29 08:49:29 +02:00

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.

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](https://projects.blender.org/blender/blender/commit/37eabb171a71). The issue is still presenting.
Blender Bot added
Status
Needs Triage
and removed
Status
Resolved
labels 2023-06-28 07:51:20 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest: Wayland
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#105895
There is no content yet.