Trouble starting Blender on Wayland with dedicated NVIDIA card #112168
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#112168
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: openSUSE Tumbleweed
Graphics card: NVIDIA Corporation GA106M / GeForce RTX 3060
Blender Version
Broken: 3.61,
8bda729ef4
, 2023-07-17When trying to launch Blender, with Wayland using my dedicated graphics card through switcherooctl, I'm getting "EGL_BAD_SURFACE" errors:
This causes Blender to hang, and cannot respond to Wayland events and can't close, so I have to end the process with GNOME system monitor, or with the command:
killall -s 9 blender
.Exact steps for others to reproduce the error
switcherooctl launch -g 1 ~/Downloads/blender-3.6.1-linux-x64/blender
Hi @bgc , could you try starting blender with
./blender --debug-gpu-force-workarounds
and see what happens? Does your computer have dedicated nvidia driver (installed with official download.run
file)?Also, please try using latest 4.0 or 3.6 daily build and see if problem persists.
Does your computer have integrated graphics? Could you use
glxinfo -B
and give us the output?I tried that, and the same issue occurs with version 3.6.2, and with 4.6.0. I notice with version 4, that the main window responds to quitting in the GNOME shell, along with extra output in the console:
I am using the official YUM repository for NVIDIA drivers on OpenSUSE: https://download.nvidia.com/opensuse/tumbleweed
I have AMD Ryzen 5600H which includes Radeon graphics, and my dedicated RTX 3060, according to the output of
glxinfo -B
:Hi!
From the log it looks like you are using the AMD graphics for your system. It seems that you are using a laptop? Maybe you need to
sudo prime-select nvidia
to force nvidia card. And if possible, disable integrated graphics card from your bios.I'm having the same logs on NixOS and Gnome - where the freezing starts ONLY when I used
nvidia-offload
It also happened with the command used by @bgc.
(CATS is an addon)
Same with @bgc, it won't launch a window. It does show Blender is running with a dock icon, where I can quit from there. Ctrl+C wouldn't work in the terminal either.
Note - I've launched the Nixpkgs build for 3.6.2, but it also happens with Blender on Steam.
I haven't been able to nail down this issue on the NixOS side, but I did find this issue thread with the same issue happening on Gnome, but with a different operating system. I have no idea if it's the same problem or not.
After I click "quit" in the right click menu for the dock icon (I tried ctrl+c before quitting) -
Then I tried
switcherooctl launch -g 1 ./result/bin/blender --debug-gpu-force-workarounds
and after quitting -
With the integrated graphics, it runs fine -
Also it's specifically a wayland problem, if I open it via x11 -
I think this may be a duplicate of #103999
Update - Maybe. I don't know how to determine it, but that is the closest bug report to this. NixOS 23.05 provides
egl-wayland
on version1.1.11
, which supposedly fixes that issue.Closing as duplicate of #103999 (see comments there), issues with NVIDIA will likely be resolved as their drivers are improved to support Wayland.