Wayland and Xwayland mouse pointer stuttering #113684
Labels
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
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
Overlay
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
Interest
Workbench
Interest: X11
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#113684
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-6.5.6-100.fc37.x86_64-x86_64-with-glibc2.36 64 Bits, X11 UI
Graphics card: AMD Radeon RX 580 Series (polaris10, LLVM 15.0.7, DRM 3.54, 6.5.6-100.fc37.x86_64) AMD 4.6 (Core Profile) Mesa 23.0.3
DE: GNOME 43.9
Blender Version
Broken: ( Wayland ) version: 3.6.4, branch: blender-v3.6-release, commit date: 2023-09-25 13:24, hash:
21bfc5e7fe
Broken: ( Xwayland ) version: 3.6.4, branch: blender-v3.6-release, commit date: 2023-09-25 13:24, hash:
21bfc5e7fe
Broken: ( Wayland ) version: version: 3.6.5 Release Candidate, branch: blender-v3.6-release, commit date: 2023-10-12 12:38, hash:
521a68323c
Broken: ( Xwayland ) version: version: 3.6.5 Release Candidate, branch: blender-v3.6-release, commit date: 2023-10-12 12:38, hash:
521a68323c
Broken: ( Wayland ) version: 4.0.0 Beta, branch: blender-v4.0-release, commit date: 2023-10-12 18:54, hash:
1c4b2ad17f
Broken: ( xWayland ) version: 4.0.0 Beta, branch: blender-v4.0-release, commit date: 2023-10-12 18:54, hash:
1c4b2ad17f
,Worked: X11 /X.Org version: 3.6.4, branch: blender-v3.6-release, commit date: 2023-09-25 13:24, hash:
21bfc5e7fe
Short description of error
Mouse pointer stutters a lot on high GPU usage in Wayland and Xwayland ( WAYLAND_DISPLAY="" )
I recorder a video ( posted the gif ) of the Xwayland ( in the about panel you see X11 using Xwayland in a Wayland session) running Blender with WAYLAND_DISPLAY="" showing also "RadeonTop" ( same problem with Wayland ).
I tried also Blender in Full Screen, same problem.
No problem with X11.
Exact steps for others to reproduce the error
With similar system ( AMDGPU - Mesa - GNOME ) try to test any demo file with EEVEE and high GPU load.
During high GPU load, try to test and check the mouse pointer speed.
To underline the problem in the video i duplicated the demo assets and pressed "Play" to stress the GPU, then i tried to rotate the scene.
With Distro and Desktop environment switching to Wayland it could be a problem for a smooth pointer input experience in Blender ( even with Xwayland ).
Edit: maybe related to this issue:
https://gitlab.gnome.org/GNOME/mutter/-/issues/1833
It seems likely this issue isn't a bug in Blender.
Does this bug happen when the GPU is busy while the cursor is in a non-Blender window? If you play an animation with high FPS for e.g. does the cursor lag in other applications.
Does this happen with other Wayland compositors? (SWAY / RIVER / KDE or Weston).
If i stress the GPU without Blender running, for example opening multiple instances of 0A.D. game and glmark2 ( 100 % GPU usage ) the pointer is not lagging/stuttering.
While if Blender is running and with GPU 100 load, the lag is present on other non-Blender windows ( and all the system ).
In my limited experience in Wayland the bug is present only while Blender is running with 100% GPU load.
i prepared a gif in a Wayland session with 100% GPU load without Blender running ( no stuttering ).
Not tried other compositors for now but i can try to test other Distro, Desktop Environments and Compositors under Wayland as soon as possible.
Thank you.
I tried other tests:
After the GPU 100% load with other applications i tried to run Blender and i discovered that the pointer lag/stuttering is present only during calculations of the Material Preview / EEVEE ( in Wayalnd / Xwayland).
The pointer lag/stuttering is very evident during high load calculations of EEVEE under Wayland ( like in the first gif i posted ).
This stuttering bug is not present in X11 and EEVEE.
Since this happens both in Wayland & XWayland, the chance of this being a bug in Blender seem quite low, most likely this is https://gitlab.gnome.org/GNOME/mutter/-/issues/1833
Hello, just to notice that the problem is not solved even with GNOME/Mutter 5.3 Linux 6.7.4, Mesa 23.3.4.
I experienced this problem only when Blender is running with 100% GPU load under Wayland while i do not experience the same problem with other 3D apps/games running with 100% GPU load under Wayland.
I still can use X.Org for now.
There is a similar issue but in the #119190 case the problem seems related to Wayland only.
I gently ask to consider keep one of the two issues opened as the problem is not solved and it is not clear that it is only a compositor problem.
I experience the stuttering in Blender only and not in other 3D apps during heavy GPU loads.
Thank you.