I switched my display server to x11 to enable automatic1111, but this seems to have simultaneously disabled blender, as whenever I open it it crashes. Are you able to help me getting it working again?
Console:
~ blender -debug ✔
Writing: /tmp/blender.crash.txt
zsh: segmentation fault (core dumped) blender -debug
~
blender.crash.txt: # Blender 4.0.1, Commit date: 2023-11-16 16:40, Hash d0dd92834a08
# backtrace
blender(+0xfd0683) [0x56469b2a3683]
blender(+0x8ba21e) [0x56469ab8d21e]
/usr/lib/libc.so.6(+0x3e710) [0x7f6a9f36f710]
/usr/lib/libLLVM-15.so(+0x17a7a0f) [0x7f6a93fa7a0f]
/usr/lib/libLLVM-15.so(+0x17a7b98) [0x7f6a93fa7b98]
/usr/lib/libLLVM-16.so(_ZN4llvm14FoldingSetBase19FindNodeOrInsertPosERKNS_16FoldingSetNodeIDERPvRKNS0_14FoldingSetInfoE+0xb6) [0x7f6aaab278e6]
/usr/lib/libLLVM-16.so(_ZN4llvm12SelectionDAG19FindNodeOrInsertPosERKNS_16FoldingSetNodeIDERKNS_5SDLocERPv+0x36) [0x7f6aab69b1b6]
/usr/lib/libLLVM-16.so(_ZN4llvm12SelectionDAG11getConstantERKNS_11ConstantIntERKNS_5SDLocENS_3EVTEbb+0x1ab) [0x7f6aab6da55b]
/usr/lib/libLLVM-16.so(_ZN4llvm12SelectionDAG11getConstantEmRKNS_5SDLocENS_3EVTEbb+0xec) [0x7f6aab6db2bc]
/usr/lib/libLLVM-16.so(_ZN4llvm19SelectionDAGBuilder20visitTargetIntrinsicERKNS_8CallInstEj+0x1f0) [0x7f6aab664050]
/usr/lib/libLLVM-16.so(_ZN4llvm19SelectionDAGBuilder18visitIntrinsicCallERKNS_8CallInstEj+0x53d) [0x7f6aab683d4d]
/usr/lib/libLLVM-16.so(_ZN4llvm19SelectionDAGBuilder5visitERKNS_11InstructionE+0x450) [0x7f6aab693ec0]
/usr/lib/libLLVM-16.so(_ZN4llvm16SelectionDAGISel16SelectBasicBlockENS_14ilist_iteratorINS_12ilist_detail12node_optionsINS_11InstructionELb0ELb0EvEELb0ELb1EEES6_Rb+0x94) [0x7f6aab703ef4]
/usr/lib/libLLVM-16.so(_ZN4llvm16SelectionDAGISel20SelectAllBasicBlocksERKNS_8FunctionE+0x18dd) [0x7f6aab70592d]
/usr/lib/libLLVM-16.so(+0x19079b6) [0x7f6aab7079b6]
/usr/lib/libLLVM-16.so(+0x12ea945) [0x7f6aab0ea945]
/usr/lib/libLLVM-16.so(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x459) [0x7f6aaadab989]
/usr/lib/libLLVM-16.so(+0x282aefa) [0x7f6aac62aefa]
/usr/lib/libLLVM-16.so(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x3ec) [0x7f6aaadac6ac]
/usr/lib/dri/radeonsi_dri.so(+0x828b80) [0x7f6a41c28b80]
/usr/lib/dri/radeonsi_dri.so(+0x82953b) [0x7f6a41c2953b]
/usr/lib/dri/radeonsi_dri.so(+0x849b44) [0x7f6a41c49b44]
/usr/lib/dri/radeonsi_dri.so(+0x8567e2) [0x7f6a41c567e2]
/usr/lib/dri/radeonsi_dri.so(+0x862339) [0x7f6a41c62339]
/usr/lib/dri/radeonsi_dri.so(+0xbcf35d) [0x7f6a41fcf35d]
/usr/lib/dri/radeonsi_dri.so(+0xbc83a6) [0x7f6a41fc83a6]
/usr/lib/dri/radeonsi_dri.so(+0xb91873) [0x7f6a41f91873]
/usr/lib/dri/radeonsi_dri.so(+0xba6d99) [0x7f6a41fa6d99]
/usr/lib/dri/radeonsi_dri.so(+0x89c9cc) [0x7f6a41c9c9cc]
/usr/lib/dri/radeonsi_dri.so(+0x8aa4b2) [0x7f6a41caa4b2]
/usr/lib/dri/radeonsi_dri.so(+0x5f9507) [0x7f6a419f9507]
/usr/lib/dri/radeonsi_dri.so(+0x5f9cc9) [0x7f6a419f9cc9]
/usr/lib/dri/radeonsi_dri.so(+0x1350f9a) [0x7f6a42750f9a]
/usr/lib/dri/radeonsi_dri.so(+0x604078) [0x7f6a41a04078]
/usr/lib/dri/radeonsi_dri.so(+0x190d7f) [0x7f6a41590d7f]
/usr/lib/dri/radeonsi_dri.so(+0xb9884) [0x7f6a414b9884]
/usr/lib/libGLX_mesa.so.0(+0x5379f) [0x7f6a5bfc979f]
/usr/lib/libGLX_mesa.so.0(+0x3f50b) [0x7f6a5bfb550b]
blender(+0x294a356) [0x56469cc1d356]
blender(+0x2949928) [0x56469cc1c928]
blender(+0x293f759) [0x56469cc12759]
blender(+0x294968b) [0x56469cc1c68b]
blender(+0x2946028) [0x56469cc19028]
blender(+0x293bca4) [0x56469cc0eca4]
blender(+0x10167d2) [0x56469b2e97d2]
blender(+0x1016a1d) [0x56469b2e9a1d]
blender(+0xfe0454) [0x56469b2b3454]
blender(+0xff62de) [0x56469b2c92de]
blender(+0xffb9f4) [0x56469b2ce9f4]
blender(+0x88d681) [0x56469ab60681]
/usr/lib/libc.so.6(+0x27cd0) [0x7f6a9f358cd0]
/usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f6a9f358d8a]
blender(+0x8b5e05) [0x56469ab88e05]
# Python backtrace
OS: Manjaro DE: Gnome 16GB RAM, 512+512GB SSD NVIDIA 1660 ti
That’s interesting. Because automatic1111 (the local stable diffusion runner, which displays its GUI in a web app, but which is still running on my machine) didn’t work in wayland I thought because of the graphics card drivers. And when I run it on x11 it uses my NVIDIA card at a speed that can only be explained by it using the correct drivers. So maybe blender itself is misconfigured to use the wrong drivers, in which case could you tell me how to fix that please?
Can you maybe test if some other gpu program also crashes?
You could post to !linux@lemmy.ml to get more eyes on your problem
Use some sort of backup for a) personal files and b) for system configuration
If it is setup correctly you could just revert the change that you made.
I am not well versed in linux wizardry but try to google some things in duckduckgo
I have a deja dup backup. But I don’t know which files to revert. And you mean a GPU program aside from blender and stable diffusion? Like maybe, idk, subnautica?