Closed PeterNjeim closed 2 years ago
@PeterNjeim, thanks for reporting the issue. Does this generate core dump from Blender? if so, please share with us, thanks!
22.1.2
from January 18th, 2022. In the first post it was 22.1.1
from January 7th, 2022.3.0.0
from snap using sudo snap install blender --classic
. In the first post it was 2.82
.0.51.0
from the msixbundle here: https://github.com/microsoft/WSL/releases/tag/0.51.0. Kernel version is 5.10.81.1
. I can't remember the WSL version from the first post. I also can't know the kernel version for sure, but I believe it was 5.10.60.1
.1.0.30
from the msixbundle linked above. In the first post it was 1.0.26
.I learned how to use core dumps now. I compiled a debug version of the latest nightly blender, here is the result:
@PeterNjeim, I received the reply from AMD on this particular issue, they concluded this is the issue with mesa, particularly tracked by https://gitlab.freedesktop.org/mesa/mesa/-/issues/5483 opened by @jenatali.
Since the issue doesn't seem to be related to me not using the WSL preview driver, I think it would be safe to change the readme to ask AMD users to use the latest Radeon driver, instead of the December 2020 preview driver
Confirmed that I am now able to start blender on AMD GPU with newer mesa build which includes above fix (using https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers PPA). I reproduced the crash right before upgrading mesa.
Thanks for the confirmation, and sorry for taking so long to get around to this one!
Can confirm that it works, however there's a crash that occurs every so often when initiating a render, tested on the default cube with both Eevee and Cycles (nothing else changed from the defaults) on both Blender 3.0 and Blender 3.1 beta.
Blender 3.1 beta (40fce61a6abe79508022d3e0cd3a29e187f18e74):
Environment
Versions
``` Windows build number: 10.0.22000.0 Your Distribution version: Ubuntu 20.04 Your WSLg version: 1.0.26 ```DxDiag
``` ------------------ System Information ------------------ Operating System: Windows 11 Pro 64-bit (10.0, Build 22000) (22000.co_release.210604-1628) Processor: AMD Ryzen 5 PRO 4650G with Radeon Graphics (12 CPUs), ~3.7GHz DirectX Version: DirectX 12 DirectX Database Version: 1.2.2 DxDiag Version: 10.00.22000.0001 64bit Unicode --------------- Display Devices --------------- Card name: AMD Radeon(TM) Graphics Manufacturer: Advanced Micro Devices, Inc. Chip type: AMD Radeon Graphics Processor (0x1636) Device Problem Code: No Problem Driver Problem Code: Unknown Display Memory: 9146 MB Dedicated Memory: 2031 MB Shared Memory: 7114 MB Driver Name: C:\WINDOWS\System32\DriverStore\FileRepository\u0375539.inf_amd64_960c9d1bd877eee2\B375501\aticfx64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\u0375539.inf_amd64_960c9d1bd877eee2\B375501\aticfx64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\u0375539.inf_amd64_960c9d1bd877eee2\B375501\aticfx64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\u0375539.inf_amd64_960c9d1bd877eee2\B375501\amdxc64.dll Driver File Version: 30.00.14023.1009 (English) Driver Version: 30.0.14023.1009 DDI Version: 12 Feature Levels: 12_1,12_0,11_1,11_0,10_1,10_0,9_3,9_2,9_1 Driver Model: WDDM 3.0 Virtualization: Paravirtualization Driver Attributes: Final Retail WHQL Logo'd: Yes D3D Status: Enabled ```/mnt/wslg/versions.txt
``` WSLg ( x86_64 ): 1.0.26+Branch.main.Sha.26ce2c09b86442f3c7f4f6462f770ed2afa76a25 Mariner: VERSION="1.0.20210224" FreeRDP: b05321cd4e6a862aef76163a69db4e1910245736 weston: 46756d0e77e5c01b5995fbbee6f3ab0db9b30612 pulseaudio: 2f0f0b8c3872780f15e275fc12899f4564f01bd5 mesa: ```glxinfo -B
``` name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: Microsoft Corporation (0xffffffff) Device: D3D12 (AMD Radeon(TM) Graphics) (0xffffffff) Version: 21.0.3 Accelerated: yes Video memory: 9146MB Unified memory: yes Preferred profile: core (0x1) Max core profile version: 3.3 Max compat profile version: 3.1 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.0 OpenGL vendor string: Microsoft Corporation OpenGL renderer string: D3D12 (AMD Radeon(TM) Graphics) OpenGL core profile version string: 3.3 (Core Profile) Mesa 21.0.3 OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL version string: 3.1 Mesa 21.0.3 OpenGL shading language version string: 1.40 OpenGL context flags: (none) OpenGL ES profile version string: OpenGL ES 3.0 Mesa 21.0.3 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00 ```Steps to reproduce
Notes
v22.1.1
. I have never tested the December 2020 WSLg driver as I do not want to regress my performance for the modern games I play (it really does hurt for Warzone). Note that even though this isn't the WSLg driver,glxinfo
doesn't show llvmpipe, but instead shows my own GPU correctly. I understand that this may work on the December 2020 driver, but I want to know if this issue should occur even if glxinfo isn't showing llvmpipe.Override software rendering list
flag enabled (WebGL does work, and I can play games on the web browser fine, tested with tetr.io).glxgears
gets me around 190fps, with Task Manager showing around 43% GPU 3D engine usage, and 20% CPU usage (mostly on the first two cores, but it also affects the other cores to a lesser extent, and the SMT threads to a significantly lesser extent).Logs
blender
``` Warning: property 'release_confirm' not found in keymap item 'OperatorProperties' Writing: /tmp/blender.crash.txt [1] 8571 segmentation fault blender ```/tmp/blender.crash.txt
``` # Blender 2.82 (sub 7), Unknown revision # backtrace blender(BLI_system_backtrace+0x37) [0x556b02b1b897] blender(+0x13f23ea) [0x556b0042d3ea] /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7f36f98b5210] /usr/lib/wsl/drivers/u0375539.inf_amd64_960c9d1bd877eee2/B375501/amdxc64.so(+0x919617) [0x7f36c05a5617] /usr/lib/wsl/drivers/u0375539.inf_amd64_960c9d1bd877eee2/B375501/amdxc64.so(+0x919c81) [0x7f36c05a5c81] /usr/lib/wsl/drivers/u0375539.inf_amd64_960c9d1bd877eee2/B375501/amdxc64.so(+0x93fde2) [0x7f36c05cbde2] /usr/lib/wsl/drivers/u0375539.inf_amd64_960c9d1bd877eee2/B375501/amdxc64.so(+0x93afab) [0x7f36c05c6fab] /usr/lib/wsl/drivers/u0375539.inf_amd64_960c9d1bd877eee2/B375501/amdxc64.so(+0x91fddc) [0x7f36c05abddc] /usr/lib/wsl/drivers/u0375539.inf_amd64_960c9d1bd877eee2/B375501/amdxc64.so(+0x922123) [0x7f36c05ae123] /usr/lib/wsl/drivers/u0375539.inf_amd64_960c9d1bd877eee2/B375501/amdxc64.so(+0x90ad83) [0x7f36c0596d83] /usr/lib/wsl/drivers/u0375539.inf_amd64_960c9d1bd877eee2/B375501/amdxc64.so(+0x906ca6) [0x7f36c0592ca6] /usr/lib/wsl/drivers/u0375539.inf_amd64_960c9d1bd877eee2/B375501/amdxc64.so(+0x911975) [0x7f36c059d975] /usr/lib/wsl/drivers/u0375539.inf_amd64_960c9d1bd877eee2/B375501/amdxc64.so(+0xc20a9f) [0x7f36c08aca9f] /usr/lib/wsl/drivers/u0375539.inf_amd64_960c9d1bd877eee2/B375501/amdxc64.so(+0xc21118) [0x7f36c08ad118] /usr/lib/wsl/drivers/u0375539.inf_amd64_960c9d1bd877eee2/B375501/amdxc64.so(+0xc20379) [0x7f36c08ac379] /usr/lib/wsl/drivers/u0375539.inf_amd64_960c9d1bd877eee2/B375501/amdxc64.so(+0xc1cae1) [0x7f36c08a8ae1] /usr/lib/wsl/drivers/u0375539.inf_amd64_960c9d1bd877eee2/B375501/amdxc64.so(+0x85a588) [0x7f36c04e6588] /usr/lib/wsl/drivers/u0375539.inf_amd64_960c9d1bd877eee2/B375501/amdxc64.so(+0x85bdb5) [0x7f36c04e7db5] /usr/lib/wsl/drivers/u0375539.inf_amd64_960c9d1bd877eee2/B375501/amdxc64.so(+0x7e86b5) [0x7f36c04746b5] /usr/lib/wsl/lib/libD3D12Core.so(+0x3cd82a) [0x7f36c363682a] /usr/lib/wsl/lib/libD3D12Core.so(+0x3cb9d2) [0x7f36c36349d2] /usr/lib/wsl/lib/libD3D12Core.so(+0x3cb69d) [0x7f36c363469d] /usr/lib/wsl/lib/libD3D12Core.so(+0x34646c) [0x7f36c35af46c] /usr/lib/wsl/lib/libD3D12Core.so(+0x30f365) [0x7f36c3578365] /usr/lib/wsl/lib/libd3d12.so(+0xb7c62) [0x7f36c3852c62] /usr/lib/wsl/lib/libd3d12.so(+0xb79e8) [0x7f36c38529e8] /usr/lib/wsl/lib/libD3D12Core.so(+0x338597) [0x7f36c35a1597] /usr/lib/wsl/lib/libD3D12Core.so(+0x349441) [0x7f36c35b2441] /usr/lib/wsl/lib/libD3D12Core.so(+0x348817) [0x7f36c35b1817] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xca3c2f) [0x7f36c9d8cc2f] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xca4050) [0x7f36c9d8d050] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xc777f8) [0x7f36c9d607f8] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x76394a) [0x7f36c984c94a] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x70e56a) [0x7f36c97f756a] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x294c59) [0x7f36c937dc59] /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x296093) [0x7f36c937f093] blender(+0x16d44fb) [0x556b0070f4fb] blender(+0x16d5d5c) [0x556b00710d5c] blender(workbench_deferred_draw_scene+0x8c) [0x556b0072fc4c] blender(+0x16f1363) [0x556b0072c363] blender(DRW_draw_render_loop_ex+0x294) [0x556b00708a54] blender(view3d_main_region_draw+0x7b) [0x556b00cfd8bb] blender(ED_region_do_draw+0x831) [0x556b00977ac1] blender(wm_draw_update+0x49d) [0x556b0060a28d] blender(WM_main+0x30) [0x556b00608170] blender(main+0x2b6) [0x556b003db3d6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f36f98960b3] blender(_start+0x2e) [0x556b004298ae] ```Expected behavior
Blender doesn't crash on startup
Actual behavior
Blender crashes on startup