Skip to content
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

MESA: error #183

Open
Greaseball0815 opened this issue Mar 29, 2024 · 7 comments
Open

MESA: error #183

Greaseball0815 opened this issue Mar 29, 2024 · 7 comments

Comments

@Greaseball0815
Copy link

Greaseball0815 commented Mar 29, 2024

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
Copy link
Author

Greaseball0815 commented Mar 30, 2024

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
Copy link
Owner

pal1000 commented Mar 30, 2024

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
Copy link

LeoMarche commented Apr 4, 2024

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
Copy link
Owner

pal1000 commented Apr 4, 2024

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
Copy link
Owner

pal1000 commented Apr 11, 2024

Try 24.0.5.

@ekalosak
Copy link

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.

pal1000 added a commit that referenced this issue May 21, 2024
#183 revealed that debug printf is enabled when building with debug symbols
Let's try controling this better
@LeoMarche
Copy link

Try 24.0.5.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants