-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blender segfaults on start #75868
Comments
I have the same problem with Firefox and Blender using a Radeon RX 590. I've rolled back my nix channel to the last working version I have: b0bbacb. I will try bisecting to find the culprit commit. |
I've narrowed down the last good commit to 83a5ad1, and earliest building bad commit to 3f4d1a1. The 19 commits in between don't build. It looks like something went wrong in the upgrade to gcc9. |
I figured out the problem. I use home-manager, so I upgrade my system separately from my user packages. I was still using an old build of Firefox and Blender built with gcc8, but they're not compatible with the AMD drivers built with gcc9. Upgrading Firefox and Blender fixes the problem for me. This seems to be related to #31189. |
I'm experiencing similar issue with blender and AMD gpu drivers. I have RX 5700 XT based graphic card.
It seems that blender first fails to find the driver for GPU, fallbacks on software renderer (swrast) and then segfaults.
In my case I'm using nixos-unstable.
|
@jappeace and @turboMaCk, do you have blender installed with nix-env or home-manager? If so do you still have the problem after upgrading blender? |
I'm not using home manager. First I tried to use just |
I've found the same error in |
🤔 for now I just tried it. My system is on version with gcc 9 already, kernel 5.4, using amdgpu
and blender from current master starts without errors. |
Perhaps you should start by trying to gather more logs, e.g. env LIBGL_DEBUG=verbose blender |
There you go:
I'm not sure what it means |
@jappeace For what it's worth: I encountered an issue that looked the same (i.e. missing |
@ryantrinkle unfortunately that didn't work, I'm getting a different error now though:
I understand what's going on, the opengl detection code is failing for some reason. I'm just not really sure how to fix it, should I open up blender to just bypass it or something? I'll probably play with that later. I can do things like glxgears. so it's not like it doesn't exist. |
I decided to spend a day bisecting this issue, using arx-libertatis as a reference. It looks like the problem started with the update glibc 2.27 -> 2.30, between 19.09 and 20.03. Specifically 447edaa. I'm not 100% sure because bisecting a staging merge is tricky, but this is what came up. I don't have an explanation for how a change in glibc could cause this problem, though. |
I marked this as stale due to inactivity. → More info |
is blender missing some dependency? |
@ben0x539 also encountering that issue, setting |
Sorry I think I created a dupe #202907 I have amdgpu Radeon 6750XT. Same issue:
|
The issues is resolved in my case. Potentially by unrelated changes I made in graphics drivers. |
Describe the bug
Blender doesn't start (exits with a segfault)
To Reproduce
Steps to reproduce the behavior:
blender
Expected behavior
It starts.
Additional context
This gets dumped on CLI:
cat /tmp/blender.crash.txt
Video driver
OpenGL renderer string: Radeon RX 570 Series (POLARIS10, DRM 3.27.0, 4.19.81, LLVM 7.1.0)
Metadata
Please run
nix run nixpkgs.nix-info -c nix-info -m
and paste the result.Maintainer information:
I'm working around this at the moment by running it in a docker container (in case google finds this):
The text was updated successfully, but these errors were encountered: