Wayland: High GPU usage #103019
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
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#103019
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: Arch Linux, Kernel 6.0, KDE Plasma 5.26.4 (Wayland session)
Graphics card: AMD RX 6700 XT, AMDGPU driver (Mesa 22.2.3)
Blender Version
Broken: 3.4.0
Worked: 3.3.1
Short description of error
When using Blender 3.4.0 in the Wayland session, very high GPU usage is observed when doing simple tasks such as just moving the viewport camera; even in an empty scene.
On my desktop, this doesn't affect performance in the scenes I have on hand.
On my laptop equipped with a Ryzen 5 5600H (RX Vega integrated graphics), Blender 3.3.1 under xwayland works for simple modeling tasks just fine, with no perceived hitches.
When using 3.4.0 on that laptop (i.e. Wayland mode), Blender is very stuttery even when moving the viewport in an empty scene.
Exact steps for others to reproduce the error
Move the viewport or objects in the scene and observe the GPU utilization on your machine.
Video
https://youtu.be/wWTcBW0PnJI
In this video I demonstrate the performance on both my desktop computer and laptop, in that order. On each machine, I show off Blender 3.4.0 (Wayland) first, then 3.3.1 (Xwayland).
Desktop:
00:00 - Blender 3.4.0
00:18 - Blender 3.3.1
Laptop:
00:30 - Blender 3.4.0
00:40 - Blender 3.3.1
Added subscriber: @ridge
Added subscriber: @ideasman42
Changed status from 'Needs Triage' to: 'Needs User Info'
Note that I'm running a fairly similar system and can't redo this:
Could you please test the following:
Xwayland
by settingWAYLAND_DISPLAY
to an empty string:Added subscriber: @ThomasDinges
@ridge Any update here? Otherwise I have to close this report.
@ThomasDinges @ideasman42 - so sorry this went completely under my radar until now, that's on me.
I'll have to give it a shot with a different compositor later (putting it on my planner to have it done by the weekend), but I did try it with forced Xwayland and find that GPU usage is drastically lower on 3.4, than it is in native Wayland mode (basically, it remains the same as initially reported).
However, and not sure if this is because of running on Plasma 5.27 beta + Mesa 22.3.3, it's at least not laggy anymore when moving a cube around in an empty scene on the laptop.
Nevertheless, I'll make a bootable media and try this with Gnome sometime this weekend. Thank you for your patience.
@ridge thanks for looking into this, please try this with a recent daily build as well, since there have been some fixes relating to Wayland and CPU/GPU usage that could relate to this report.
%%%Hi there, I've yet to get Blender working properly in a GNOME session, but I'm still working on it; none of the live sessions I tried over the weekend with GNOME as the compositor would start Blender in Wayland (they all just used xwayland no matter what), so I think I just have to bite the bullet and dual-boot temporarily (would rather avoid having to install a second DE on my primary installations), but I did go ahead and try 3.4.1 (official 20th of December release), 3.4.1 v34.ef9ca44dee7f and 3.5.0 master.68625431d5d0, and could reproduce the issue on all three of them, in the same Plasma environment as before.
I'll see if I have time to get GNOME (or any another compositor) to cooperate tomorrow.%%%
@ridge it's likely they're using Xwayland because libdecor is not found. This is only the case for GNOME (KDE or other compositors don't have this requirement).
Thanks @ideasman42!
I managed to try out the aforementioned versions in GNOME and can still reproduce the issue, I ran them in a Fedora live environment with radeontop for monitoring, and found that when wiggling the default cube around in an empty scene, the GPU utilisation was:
X11: 24-30%
Wayland 62-75%
If there's anything else I can test to help out, I'd be very happy to do so.
High GPU usage in Wayland modeto Wayland: High GPU usage