Crash on startup with LibDecor on Wayland #108308

Open
opened 2023-05-26 12:16:06 +02:00 by Anton Raves · 2 comments

System Information
AlmaLinux 9.2, probably Rocky Linux 9.2 and RHEL 9.2 as well, although I did not try those too. "Bug for bug compatible..."

Blender Version
Broken: Blender 3.6.0 Beta (hash 2533576802 built 2023-05-25 23:31:27)

Short description of error
Blender 3.6.0 does not use Wayland on AlmaLinux 9.2, stating Blender from the commandline produces the following messages:

[antonraves@mail libdecor]$ /opt/blender/blender
GHOST/Wayland: wl_registry@2: error 0: invalid version for global zwp_pointer_gestures_v1 (15): have 1, wanted 3
Plugin "GTK3 plugin" uses conflicting symbol "png_free".
libdecor-cairo-WARNING: Could not get required globals
Failed to load plugin 'libdecor-cairo.so': failed to init
No plugins found, falling back on no decorations
Read prefs: "/home/antonraves/.config/blender/3.6/config/userpref.blend"
Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)

Exact steps for others to reproduce the error
Install Blender into the /opt/blender directory and launch Blender from the command line with:

/opt/blender/blender

And you will see that bit of error messages appear:

[antonraves@mail libdecor]$ /opt/blender/blender
GHOST/Wayland: wl_registry@2: error 0: invalid version for global zwp_pointer_gestures_v1 (15): have 1, wanted 3
Plugin "GTK3 plugin" uses conflicting symbol "png_free".
libdecor-cairo-WARNING: Could not get required globals
Failed to load plugin 'libdecor-cairo.so': failed to init
No plugins found, falling back on no decorations
Read prefs: "/home/antonraves/.config/blender/3.6/config/userpref.blend"
Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)

De-install libdecor from the system and Blender will run on that same system but with X11...

**System Information** AlmaLinux 9.2, probably Rocky Linux 9.2 and RHEL 9.2 as well, although I did not try those too. "Bug for bug compatible..." **Blender Version** Broken: Blender 3.6.0 Beta (hash 2533576802f5 built 2023-05-25 23:31:27) **Short description of error** Blender 3.6.0 does not use Wayland on AlmaLinux 9.2, stating Blender from the commandline produces the following messages: ``` [antonraves@mail libdecor]$ /opt/blender/blender GHOST/Wayland: wl_registry@2: error 0: invalid version for global zwp_pointer_gestures_v1 (15): have 1, wanted 3 Plugin "GTK3 plugin" uses conflicting symbol "png_free". libdecor-cairo-WARNING: Could not get required globals Failed to load plugin 'libdecor-cairo.so': failed to init No plugins found, falling back on no decorations Read prefs: "/home/antonraves/.config/blender/3.6/config/userpref.blend" Writing: /tmp/blender.crash.txt Segmentation fault (core dumped) ``` **Exact steps for others to reproduce the error** Install Blender into the /opt/blender directory and launch Blender from the command line with: `/opt/blender/blender` And you will see that bit of error messages appear: ``` [antonraves@mail libdecor]$ /opt/blender/blender GHOST/Wayland: wl_registry@2: error 0: invalid version for global zwp_pointer_gestures_v1 (15): have 1, wanted 3 Plugin "GTK3 plugin" uses conflicting symbol "png_free". libdecor-cairo-WARNING: Could not get required globals Failed to load plugin 'libdecor-cairo.so': failed to init No plugins found, falling back on no decorations Read prefs: "/home/antonraves/.config/blender/3.6/config/userpref.blend" Writing: /tmp/blender.crash.txt Segmentation fault (core dumped) ``` De-install libdecor from the system and Blender will run on that same system but with X11...
Anton Raves added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-05-26 12:16:06 +02:00
Pratik Borhade added the
Platform
Linux
Interest
Wayland
labels 2023-05-29 05:15:16 +02:00
Member

I think I am unable to set up a system locally that could reproduce this.

@ideasman42 : can you check?

I think I am unable to set up a system locally that could reproduce this. @ideasman42 : can you check?

This looks to be caused by: https://gitlab.freedesktop.org/libdecor/libdecor/-/issues/47

Besides this being resolved by libdecor, the only solutions I'm aware of - is to use a different libdecor plugin, disable libdecor entirely or use X11 instead of Wayland.

See https://docs.blender.org/manual/en/3.6/getting_started/installing/linux_windowing_environment.html for disabling libdecor and forcing X11.

This looks to be caused by: https://gitlab.freedesktop.org/libdecor/libdecor/-/issues/47 Besides this being resolved by libdecor, the only solutions I'm aware of - is to use a different libdecor plugin, disable libdecor entirely or use X11 instead of Wayland. See https://docs.blender.org/manual/en/3.6/getting_started/installing/linux_windowing_environment.html for disabling libdecor and forcing X11.
Campbell Barton changed title from Blender 3.6.0 Beta crashes for Wayland on Almalinux 9.2 to Crash on startup with LibDecor on Wayland 2023-07-21 01:19:58 +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
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
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#108308
No description provided.