microsoft / microsoft/OpenCLOn12

MESA clon12compiler.dll or openclon12.dll (not sure which) crashes on Windows

Open
#44 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
130
Forks
19
Avg merge
11d 23h
Merged PRs (30d)
2

Description

https://github.com/pal1000/mesa-dist-win/issues/88#issuecomment-1364741781

Versions:

Windows 10 Professional x64 2004 (OS Build 19041.1415)

MESA for Windows 22.3.3 (https://github.com/pal1000/mesa-dist-win)

Vulkan 1.3.236.0 (https://vulkan.lunarg.com/sdk/home#windows)

Luxmark 3.1 (http://wiki.luxcorerender.org/LuxMark_v3#Binaries)

LuxMark 4.0 Alpha 0 (http://wiki.luxcorerender.org/LuxMark_v4#Binaries)

x64dbg 12-12-2022 (https://sourceforge.net/projects/x64dbg/files/snapshots/)

Trying to run software based OpenCL GPU driver on non GPU machine. MESA should allow this (I've always thought this was the main point of MESA).

It doesn't work on Windows. Rather than post tons of logs for different applications, I'm just going to use Luxmark 3.1, a simple OpenCL benchmarking application.

Luxmark crashes. It crashes on Luxmark.exe. Windows logs only show Luxmark.exe, so that isn't very helpful.

I'm not sure if the problem is with openclon12.dll, or clon12compiler.dll, or both.

I have x64dbg logs, if that's more helpful, for both MSVC and MingW versions of MESA. Tried LuxMark 3.1 and also the newer 4.0 Alpha.

Vulkan files are in C:\Windows\System32. openclon12.dll is specified in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors.

Luxmark 3.1 - Windows - MESA 22.3.3 MSVC
https://pastebin.com/rYayP84Y

Luxmark 3.1 - Windows - MESA 22.3.3 MinGW
https://pastebin.com/1isNxq1N

Luxmark 4.0 - Windows - MESA 22.3.3 MSVC
https://pastebin.com/93M1eT88

Luxmark 4.0 - Windows - MESA 22.3.3 MinGW
https://pastebin.com/QfiLd3Jn

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the LuxMark 3.1 crash on Windows with the listed MESA 22.3.3 MSVC and MinGW builds, then inspect the supplied x64dbg logs for openclon12.dll and clon12compiler.dll. Done means identifying which component crashes and documenting or fixing the cause, with LuxMark 3.1 and 4.0 no longer crashing.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.