intel / intel-graphics-compiler

Other
594 stars 155 forks source link

Getting Error while running GeekBench with debug Build of the IGC #299

Open aabhinavg opened 1 year ago

aabhinavg commented 1 year ago

Flag used for cmake configuration $ cmake -DIGC_OPTION__ENABLE_OCLOC_LIT_TESTS=ON -DCMAKE_BUILD_TYPE=Debug -DSPIRV_SKIP_EXECUTABLES=OFF ../igc

Geekbench 6.1.0 : https://www.geekbench.com/

Geekbench 6 requires an active internet connection and automatically uploads benchmark results to the Geekbench Browser.

Upgrade to Geekbench 6 Pro to enable offline use and unlock other features:

https://store.primatelabs.com/v6

Enter your Geekbench 6 Pro license using the following command line:

Geekbench-6.1.0-Linux/geekbench_x86_64 --unlock

System Information Operating System Ubuntu 20.04.6 LTS Kernel Linux 5.15.0-79-generic x86_64 Model Dell Inc. Latitude 3420 Motherboard Dell Inc. 08KVFY BIOS Dell Inc. 1.30.0

CPU Information Name Intel Core i7-1165G7 Topology 1 Processor, 4 Cores, 8 Threads Identifier GenuineIntel Family 6 Model 140 Stepping 1 Base Frequency 4.70 GHz L1 Instruction Cache 32.0 KB x 4 L1 Data Cache 48.0 KB x 4 L2 Cache 1.25 MB x 4 L3 Cache 12.0 MB

Memory Information Size 15.4 GB

OpenCL Information Platform Vendor Intel(R) Corporation Platform Name Intel(R) OpenCL HD Graphics Device Vendor Intel(R) Corporation Device Name Intel(R) Iris(R) Xe Graphics [0x9a49] Device Driver Version 22.39 .24347 Maximum Frequency 1300 MHz Compute Units 96 Device Memory 12.3 GB

OpenCL Running Background Blur [0822/115439:ERROR:consolemain.cpp(831)] Geekbench encountered an internal error and cannot continue. Please contact support@primatelabs.com for assistance.

Internal error message: clBuildProgram() failed: .

Initially same error i was getting with the release build i fix it by installing the package from wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.12149.1/intel-igc-core_1.0.12149.1_amd64.deb wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.12149.1/intel-igc-opencl_1.0.12149.1_amd64.deb wget https://github.com/intel/compute-runtime/releases/download/22.39.24347/intel-level-zero-gpu-dbgsym_1.3.24347_amd64.ddeb wget https://github.com/intel/compute-runtime/releases/download/22.39.24347/intel-level-zero-gpu_1.3.24347_amd64.deb wget https://github.com/intel/compute-runtime/releases/download/22.39.24347/intel-opencl-icd-dbgsym_22.39.24347_amd64.ddeb wget https://github.com/intel/compute-runtime/releases/download/22.39.24347/intel-opencl-icd_22.39.24347_amd64.deb wget https://github.com/intel/compute-runtime/releases/download/22.39.24347/libigdgmm12_22.2.0_amd64.deb

but again getting the error with the debug build any idea how can i fix it,

pszymich commented 4 months ago

Hi @aabhinavg, Can you rerun the compilation using debug IGC build with IGC_ShaderDumpEnableAll=1 environment flag set and upload resulting shader dumps from the /tmp/IntelIGC/* directory?