Blender doesn't startup after graphics driver update #120585

Open
opened 2024-04-12 17:15:05 +02:00 by Erik-Oberschulte · 3 comments

I updated my graphics driver and now blender can't be started on my linux workstations:
Read prefs: "/home/zoeobers/.config/blender/4.0/config/userpref.blend"
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)

Driver Version:
NVIDIA-SMI 535.161.08 Driver Version: 535.161.08 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 Quadro P620 On | 00000000:04:00.0 Off | N/A |
| 34% 41C P8 N/A / N/A | 24MiB / 2048MiB | 0% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
| 1 NVIDIA GeForce RTX 3090 On | 00000000:09:00.0 Off | N/A |
| 0% 49C P8 30W / 350W | 10MiB / 24576MiB | 0% Default |
| | | N/A |

I updated my graphics driver and now blender can't be started on my linux workstations: Read prefs: "/home/zoeobers/.config/blender/4.0/config/userpref.blend" libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) libGL error: failed to load driver: swrast Writing: /tmp/blender.crash.txt Segmentation fault (core dumped) Driver Version: NVIDIA-SMI 535.161.08 Driver Version: 535.161.08 CUDA Version: 12.2 | |-----------------------------------------+----------------------+----------------------+ | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+======================+======================| | 0 Quadro P620 On | 00000000:04:00.0 Off | N/A | | 34% 41C P8 N/A / N/A | 24MiB / 2048MiB | 0% Default | | | | N/A | +-----------------------------------------+----------------------+----------------------+ | 1 NVIDIA GeForce RTX 3090 On | 00000000:09:00.0 Off | N/A | | 0% 49C P8 30W / 350W | 10MiB / 24576MiB | 0% Default | | | | N/A |
Erik-Oberschulte added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2024-04-12 17:15:06 +02:00
Iliya Katushenock added the
Interest
EEVEE & Viewport
label 2024-04-12 17:17:19 +02:00

Hi @Erik-Oberschulte,

Fro the error message, it appears that Blender is unable to find the shared library file "swrast_dri.so".

Have you tried reinstalling the graphics driver?
You can also try updating your system packages and ensuring that all dependencies are installed correctly.
If nothing works, you can rolling back to the previous version.

If the issue persists, please provide more information about your Linux distribution, Blender version, and the steps you took to update the graphics driver. This will help us further investigate the problem and provide you with a more specific solution.

Hi @Erik-Oberschulte, Fro the error message, it appears that Blender is unable to find the shared library file "swrast_dri.so". Have you tried reinstalling the graphics driver? You can also try updating your system packages and ensuring that all dependencies are installed correctly. If nothing works, you can rolling back to the previous version. If the issue persists, please provide more information about your Linux distribution, Blender version, and the steps you took to update the graphics driver. This will help us further investigate the problem and provide you with a more specific solution.
Germano Cavalcante added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-04-12 21:32:51 +02:00

I checked the location of swrast_dri.so file and it is available under "/usr/lib/x86_64-linux-gnu/dri", which contradicts the information in the error message ...

Linux Version: Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-173-generic x86_64)
Blender Version: 4.0.2

# Blender 4.0.2, Commit date: 2023-12-05 07:41, Hash 9be62e85b727

# backtrace
blender() [0xf3a7b0]
blender() [0x8c42ec]
/lib/x86_64-linux-gnu/libc.so.6(+0x43090) [0x7fed51b09090]
blender() [0xf7c36d]
blender() [0xf7c3cd]
blender() [0xf484b4]
blender() [0xf5cf01]
blender() [0xf62414]
blender() [0x725166]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fed51aea083]
blender() [0x8c022e]

# Python backtrace
I checked the location of swrast_dri.so file and it is available under "/usr/lib/x86_64-linux-gnu/dri", which contradicts the information in the error message ... Linux Version: Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-173-generic x86_64) Blender Version: 4.0.2 ``` # Blender 4.0.2, Commit date: 2023-12-05 07:41, Hash 9be62e85b727 # backtrace blender() [0xf3a7b0] blender() [0x8c42ec] /lib/x86_64-linux-gnu/libc.so.6(+0x43090) [0x7fed51b09090] blender() [0xf7c36d] blender() [0xf7c3cd] blender() [0xf484b4] blender() [0xf5cf01] blender() [0xf62414] blender() [0x725166] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fed51aea083] blender() [0x8c022e] # Python backtrace ```

Apparently this is an issue outside the scope of Blender :\

Maybe the /usr/lib/dri/swrast_dri.so file got corrupted after installation?

Or maybe the driver search paths are not working on your system due to a missing environment variable or something? (/usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)

You may want to check if these paths are set up correctly and if the necessary files are present in those directories.

If none of these suggestions work, it might be worth reporting the issue upstream. They may be able to provide further assistance or insights into the problem.

Also, it may be useful to check this page for troubleshooting: https://docs.blender.org/manual/en/dev/troubleshooting/gpu/index.html

Apparently this is an issue outside the scope of Blender :\\ Maybe the `/usr/lib/dri/swrast_dri.so` file got corrupted after installation? Or maybe the driver search paths are not working on your system due to a missing environment variable or something? (`/usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri`, `suffix _dri`) You may want to check if these paths are set up correctly and if the necessary files are present in those directories. If none of these suggestions work, it might be worth reporting the issue upstream. They may be able to provide further assistance or insights into the problem. Also, it may be useful to check this page for troubleshooting: https://docs.blender.org/manual/en/dev/troubleshooting/gpu/index.html
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
2 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#120585
No description provided.