Blender keeps freezing in Ubuntu 24.04 LTS / Linux Mint 22 #128569
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#128569
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.8.0-45-generic-x86_64-with-glibc2.39 64 Bits, X11 UI
Graphics card: NVIDIA RTX A4000/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 550.107.02
Blender Version
Broken: version: 4.2.2 LTS, branch: blender-v4.2-release, commit date: 2024-09-23 12:18, hash:
c03d7d98a413
Worked: (newest version of Blender that worked as expected)
Short description of error
I have been having this issue since last one month or so originally in Linux Mint 22 which is based on Ubuntu 24.04. So I though I should change the OS and I switched onto Ubuntu 24.04 LTS and performed a fresh install couple of days ago. I installed Snap version and still having the same issue.
I have tried all sort of remedies like changing Nvidia drivers, changing OS and what not, but the issue still remains there.
I have been using Blender in Linux since 2014, rather I switched onto Blender after using Autodesk 3DS Max for more than a decade since I wanted to work in the open source world and got fed up of Windows issue. It was a long learning curve but it rewarded me in better results in my 3D projects.
But now this is turning out very frustrating since I am in mid of few big projects which are getting delayed due to the freezing issue. Irony is I prefer LTS versions of both OS and the Application and still having the issue.
My request to the devs is to kindly keep Linux also as full time active OS on atelast few of your machines where you develop and test Blender. And also please get bit slower on releasing the updates.
Exact steps for others to reproduce the error
Although I face this issue many times in a day while working in my blender projects but can not figure out how to reproduce because it happens suddenly leaving Blender unresponsive. And I think there is no log file created since this any app can not generate log in frozen state.
Hi @SmartArtCreations , could you try starting blender with arguments
--factory-startup --debug-gpu --debug-gpu-force-workarounds
? Then you should be able to see more logs. When you say freeze, does it recover back or you have to force a system reboot? How long is the freeze? what kind of operations are you doing?You may want to try nvidia proprietary driver vs the community driver. It sometimes will make a difference.
I have always use prosperity drivers only because CUDA/OPTIX rendering never worked with community drivers in Blender for me. I even tried downgrading the driver versions and also tried drivers downlaoded from Nvidia website but no help.
I tried Blender with the above argument and tried some random task in my recent project files including rendering on GPU but the issue did not occur in the short period of time. Working full time with this argument is not possible since I use lot of addons.
I just force close Blender and restart it and it works for the duration it likes. The freezes are random, I have faced them during rendering, or while editing meshes, or while Blender window is inactive and I am working in some other program but when I return back to Blender, I find it frozen. The freezes are random, there is no pattern or fix time. Freezes occurred in heavy to light files.
Earlier I used to use the sandbox versions of Blender and when faced lot of freezes with 4.2 in Linux Mint, I switched onto Ubuntu 24.04 LTS and started using snap version but still faced the freezes.
For a clue, I am facing problems with my other program Davinci Resolve Studio 19.x which refuses to install in Ubuntu 24.04 LTS or other latest distros based on it whereas it used to install and run fine on older versions. To install and run it on latest OS versions we have to follow these steps: LINK. (temporary workaround solution is in the last reply in the thread if link does not direct to that). There is also very nice video with some explanations in the link if that helps.
To me it looks like the most programs still want to use old version of some o the shared libraries whereas the new versions of Linux distros are having more advanced or different versions of them. But since most app developers these days don't seem to be actively using Linux OS might be the reason behind ignoring some latest developments in the Linux OS world. Just my guess.
Though I am not sure if Blender freezing issue is also related to something like this or with Nvidia drivers or what, but it should to be addressed with priority because I never faced as much issues since Blender version 1.6x related to stability and reliability as much I faced with recent version of Blender after 3.6 LTS or so. Things are getting worsen with 4.X.
As a full time professional Blender user its my humble request to the Blender devs team to slow down a bit on version release cycles and focus more on stability and reliability, atleast for the LTS versions. Blender has grown into a huge creation package in the past few years with a huge library addons supporting it where lot of massive sized project are being worked in it.
Hi @SmartArtCreations have you tried those steps yet?
--factory-startup --debug-gpu --debug-gpu-force-workarounds
and upload logsAlso if you can still use blender, try upload system info here (Help > Save System Info)
Yes, as I mentioned in my above reply, I tried those steps.
Only Blender freezes and I have no other choice than closing it after waiting for long with no activity in CPU graph in system monitor.
When I was typing the previous reply, one instance of Blender was open without any file opened in it. When I returned back after closing the browser, I found it frozen. Now I don't think there will be any log for this frozen Blender. Its still in frozen state.
Attaching the system info:
I observed one pattern in last 24 hours. If I leave Blender open and work in any other application or even in internet browser for 15-20 minutes or more and then I come back to Blender, its frozen. In this scenario, I have not other choice than force kill Blender. This has happened so many time that now I am scared that it will most probably freeze if I return to Blender from any other application. Though it does not happen if I return back quickly.
Funny enough yesterday I seem to also have a similar problem where blender would start to hang but after switching to browser and back, it become fluent again. Probably still different from what you are experiencing, but I'm suspecting desktop compositor. Are you able to switch to a different desktop environment (Gnome/KDE/XFCE/LXDE kind of things) and see whether the situation improves?
I also see Blender getting alive after sometime when coming from other apps, but that time if you check the system monitor, you will see some activity in CPU core so you know its going to come back alive. But when its fully frozen then there is no CPU activity and wait is endless. Probably you would like to leave Blender in background for longer duration to face the permanent freeze.
About changing desktop environment, Linux Mint Cinnamon had been my long term favorite due to it's rock solid reliability since I started using Linux. But when I faced this freezing issue in the Mint Cinnamon, I switched onto Ubuntu 24.04 LTS which has GNOME. But the same issue is there. So I think its not related to desktop environment, instead problem maybe somewhere in the Kernel used in Ubuntu 24.04 LTS which is same in current version of Linux Mint. Or maybe its somewhere in the recent Nvidia driver. Current Ubuntu OS and Blender both are freshly setup on my main work computer.
But overall I am facing this issue after 4.2 LTS. Because I did not face such issue in Blender 4.1 on same Linux Mint despite having many other broken things in 4.1.
So more incidents of more freezes. Most common symptom is whenever Blender is left idle for 15-20 minutes or so, it freezes permanently.
After digging a bit, I found a discussion about similar problem on Ubuntu forum but one difference here is that his one CPU core is busy whereas in my case if the CPU core is busy then there is chance of revival but if the CPU core activity settles down then this means its surely a permanent freeze, no mater how much you wait.
Another difference is here its Blender 4.1 but on older version of Ubuntu, so most probably something seems to be going off track in Blender 4.X.
here is the discussion:
https://ubuntuforums.org/showthread.php?t=2496485
Now I am not sure who needs to fix the bug, Ubuntu dev team or Blender dev team or they both need to work together?
The only apparent hang that I've encountered with a 4070 + ubuntu 22.04 is during shader compilation. It might be possible that some shaders failed to compile on your card due to some reason and the process hangs, but from your log I don't really see any errors during shader compilation... I'm running out of ideas, will poke graphics developers again to see if they have any insights.
Updated Blender to 4.2.3 and the issue still persists.
Irony is there is no way to extract the log for frozen app.