pal1000 / mesa-dist-win

Pre-built Mesa3D drivers for Windows
MIT License
859 stars 77 forks source link

MESA: error #183

Open Greaseball0815 opened 3 months ago

Greaseball0815 commented 3 months ago

Hello.

On my system: OS: Windows 10 x64 Graphic: Intel HD Graphics ( Intel(R) Core(TM) i5-3570K ) Program: Blender 4.1 x64

I get this errors:

MESA: error: ID3D12DeviceFactory::CreateDevice failed MESA: error: ID3D12DeviceFactory::CreateDevice failed MESA: error: ID3D12DeviceFactory::CreateDevice failed MESA: error: ID3D12DeviceFactory::CreateDevice failed MESA: error: ZINK: vkEnumeratePhysicalDevices failed (VK_ERROR_INITIALIZATION_FAILED) MESA: error: ZINK: failed to choose pdev LLVM ERROR: Instruction Combining did not reach a fixpoint after 1 iterations

Is there a solution to get it to run?

Thanks in advanced

BR Andreas

Greaseball0815 commented 3 months ago

It's me again.

I found a solution myself.

At first I had used the MinGW-w64 Version 24.0.4. It didn't work with this version. But with the MSVC - 24.0.4 Version ( mesa3d-24.0.4-release-msvc.7z ) it works fine for me. The error is still displayed, but Blender 4.1 x64 works fine now.

Great work. Thanks a lot.

BR Andreas.

pal1000 commented 3 months ago

The error comes from Mesa3D d3d12 driver failing to start. Intel HD Graphics ( Intel(R) Core(TM) i5-3570K ) doesn't meet the Direct3D requirements to run Mesa D3D12 driver. You can silence them by setting GALLIUM_DRIVER environment variable to llvmpipe to skip trying to run d3d12.

LeoMarche commented 3 months ago

Hello, I have the MSVC version with GALLIUM_DRIVER set to llvmpipe and get the same error on blender 4.1 and blender 3.6.6 :

"LLVM ERROR: Instruction Combining did not reach a fixpoint after 1 iterations" and blender doesn't start at all.

The issue appeared with version 24.0.4 (works fine with 24.0.3).

I'm on a QEMU/KVM virtual machine based on AMD EPYC Milan CPUs and running Windows 10 x64 Pro.

pal1000 commented 3 months ago

Thanks for reporting llvmpipe problem with LLVM 18. Sounds similar to this. I'll send a backport request for https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28101 Hopefully it gets in time for 24.0.5.

Backprt request sent.

pal1000 commented 2 months ago

Try 24.0.5.

ekalosak commented 1 month ago

On Ubuntu,

> apt show mesa-common-dev 

Gives the following:

Package: mesa-common-dev
Version: 24.0.5-1ubuntu1

And I get MESA: error: ZINK: failed to choose pdev still.

So fwiw my install of 24.0.5 does not solve the issue.

LeoMarche commented 1 month ago

Try 24.0.5.

Hadn't time to try until now but version 24.0.7 works fine ! Thanks 👍