Wayland and Xwayland mouse pointer stuttering #113684
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
Block a user
No description provided.
Delete Branch "%!s()"
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.
Hello, i am testing Wayland again and with other 3D App like Godot 4.3 when the GPU is under 100 load ( multiple Godot instances opened with global illumination scene ), the cursor does not stutter in Wayland, it is super smooth.
As next version of GNOME will be ( for what understand ) without X11, could you reconsider this issue ( still present in latest Fedora 40 Gnome 46 )?
I have this problem only with Blender under Wayland and 100% GPU load.
If it is a Wayland only compositor problem could be please explain why it happen only with Blender ? ( in my experience of course ).
Thank you.
Re-reading the report:
Given the following points, I don't think there is much Blender can do to resolve this - it's especially difficult when others can't redo the bug. So while I see the issue remains for you, I don't think it's practical for it to be treated as a bug in Blender.
Thank you for the answer and re visiting the report.
Only to point that in my use case and perspective the bug is severe because in heavy EEVEE scenes/renders Blender is NOT USABLE with pointer keep stuttering heavily and the system hang heavily ( i am forced to use X11 if i want work with Blender ).
I still do not understand why i see this bug only with Blender under 100% GPU loads and not with other 3D softwate like Godot engine.
I hope to be the only one with this bug but i suspect that when X11 will be deprecated in next main distros we will see more similar bug reports.
But also i doubt that i am only one who experience this bug in Blender as i read feedback in other forum/website but people probably does not report because they can still use X11.
I agree that if the bug is not reproducible is not solvable.
Anyway i will change hardware soon ( with Mesa GPU like AMD and/or Intel ) and i will test it with different Wayland compositors (distros with next DE GNOME 47, KDE, Sway and even Cosmic ).
If i will resolve the bug with different Hardware/DE/Compositor i will report here too.
Thank you
According to the GNOME issue, Mutter 47 (GNOME47) should improve this situation.