Re: Intel clc dependency

2024-04-10 Thread Tapani Pälli



On 11.4.2024 1.15, Brian Paul wrote:

On 4/10/24 13:53, Timo Aaltonen wrote:

Brian Paul kirjoitti 6.4.2024 klo 1.05:
I'm trying to build the Intel Vulkan driver.  First time in a few 
months.  I'm having build problems related to clc.  I'm on Ubuntu 22.04



[...]
[1347/3181] Generating src/intel/vulkan/...om command (wrapped by 
meson to set env)
FAILED: 
src/intel/vulkan/grl/gfx125_bvh_build_BFS_BFS_pass1_indexed_batchable.h
env MESA_SHADER_CACHE_DISABLE=true MESA_SPIRV_LOG_LEVEL=error 
/home/brianp/build3/mesa/build/src/intel/compiler/intel_clc -p dg2 
--prefix gfx125_bvh_build_BFS_BFS_pass1_indexed_batchable -e 
BFS_pass1_indexed_batchable --in 
../src/intel/vulkan/grl/gpu/bvh_build_BFS.cl --in 
/home/brianp/build3/mesa/src/intel/vulkan/grl/gpu/libs/lsc_intrinsics_fallback.cl 
-o 
src/intel/vulkan/grl/gfx125_bvh_build_BFS_BFS_pass1_indexed_batchable.h 
-- -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DMAX_HW_SIMD_WIDTH=16 
-DMAX_WORKGROUP_SIZE=16 
-I/home/brianp/build3/mesa/src/intel/vulkan/grl/gpu 
-I/home/brianp/build3/mesa/src/intel/vulkan/grl/include

ERROR: libclc shader missing. Consider installing the libclc package
Aborted (core dumped)

I've installed every clc-related package I could find.  I've tried 
several options for the 'intel-clc' option without luck.


BTW, the description of intel-clc in meson_options.txt looks suspect:

option(
   'intel-clc',
   type : 'combo',
   deprecated: {'true': 'enabled', 'false': 'disabled'},
   value : 'disabled',
   choices : [
 'enabled', 'disabled', 'system',
   ],
   description : 'Build the intel-clc compiler (enables Vulkan Intel 
' +

 'Ray Tracing on supported hardware).'
)

The default is 'disabled' but that's deprecated?  Choices include 
'enabled' but that's deprecated too?


Any tips for building the ToT Intel Vulkan driver?

-Brian



You need to have libclc-NN-dev installed matching with the llvm 
version, which on stock 22.04 would be libclc-13-dev.


I'm using llvm 15 and have libclc-15-dev installed.  I get the "ERROR: 
libclc shader missing. Consider installing the libclc package" issue I 
quoted above.




You'll need to install libclc-15 too. I think libclc-15-dev package is 
missing dependency to libclc-15 .. did not verify this but I've been 
able to install libclc-15-dev without the library package getting installed.



I have llvm 15 installed because I also want to build the radv Vulkan 
driver.


-Brian




Re: Intel clc dependency

2024-04-10 Thread Brian Paul

On 4/10/24 13:53, Timo Aaltonen wrote:

Brian Paul kirjoitti 6.4.2024 klo 1.05:
I'm trying to build the Intel Vulkan driver.  First time in a few 
months.  I'm having build problems related to clc.  I'm on Ubuntu 22.04



[...]
[1347/3181] Generating src/intel/vulkan/...om command (wrapped by 
meson to set env)
FAILED: 
src/intel/vulkan/grl/gfx125_bvh_build_BFS_BFS_pass1_indexed_batchable.h
env MESA_SHADER_CACHE_DISABLE=true MESA_SPIRV_LOG_LEVEL=error 
/home/brianp/build3/mesa/build/src/intel/compiler/intel_clc -p dg2 
--prefix gfx125_bvh_build_BFS_BFS_pass1_indexed_batchable -e 
BFS_pass1_indexed_batchable --in 
../src/intel/vulkan/grl/gpu/bvh_build_BFS.cl --in 
/home/brianp/build3/mesa/src/intel/vulkan/grl/gpu/libs/lsc_intrinsics_fallback.cl -o src/intel/vulkan/grl/gfx125_bvh_build_BFS_BFS_pass1_indexed_batchable.h -- -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DMAX_HW_SIMD_WIDTH=16 -DMAX_WORKGROUP_SIZE=16 -I/home/brianp/build3/mesa/src/intel/vulkan/grl/gpu -I/home/brianp/build3/mesa/src/intel/vulkan/grl/include

ERROR: libclc shader missing. Consider installing the libclc package
Aborted (core dumped)

I've installed every clc-related package I could find.  I've tried 
several options for the 'intel-clc' option without luck.


BTW, the description of intel-clc in meson_options.txt looks suspect:

option(
   'intel-clc',
   type : 'combo',
   deprecated: {'true': 'enabled', 'false': 'disabled'},
   value : 'disabled',
   choices : [
 'enabled', 'disabled', 'system',
   ],
   description : 'Build the intel-clc compiler (enables Vulkan Intel ' +
 'Ray Tracing on supported hardware).'
)

The default is 'disabled' but that's deprecated?  Choices include 
'enabled' but that's deprecated too?


Any tips for building the ToT Intel Vulkan driver?

-Brian



You need to have libclc-NN-dev installed matching with the llvm version, 
which on stock 22.04 would be libclc-13-dev.


I'm using llvm 15 and have libclc-15-dev installed.  I get the "ERROR: 
libclc shader missing. Consider installing the libclc package" issue I 
quoted above.


I have llvm 15 installed because I also want to build the radv Vulkan 
driver.


-Brian


--
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.


[ANNOUNCE] mesa 24.0.5

2024-04-10 Thread Eric Engestrom
Hello everyone,

The bugfix release 24.0.5 is now available.

If you find any issues, please report them here:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/new

The next bugfix release is due in two weeks, on April 24th.

Cheers,
  Eric

---

Axel Davy (5):
  frontend/nine: Fix ff ps key
  frontend/nine: Fix programmable vs check
  frontend/nine: Fix missing light flag check
  frontend/nine: Fix destruction race
  frontend/nine: Reset should EndScene

Connor Abbott (2):
  freedreno/a7xx: Add CP_CCHE_INVALIDATE
  tu: Implement CCHE invalidation

Dave Airlie (1):
  mesa: reorder st context teardown

David Heidelberg (7):
  r300: add missing licence to the r300_public.h
  r300: add missing copyright header
  docs: we support EGL 1.5 for a long time
  ci/amd: drop old PIGLIT_REPLAY_DESCRIPTION_FILE surpassed by 
PIGLIT_TRACES_FILE
  r600: add license header to r600_formats.h
  r600: add license info to the r600_opcodes.h
  r600: add license information to the sfn_shader_gs.h

David Stern (1):
  vulkan/wsi/x11: Explicitly discard errors from xcb_present_pixmap.

Eric Engestrom (7):
  docs: add sha256sum for 24.0.4
  .pick_status.json: Update to 3d68dd78d07b30cefe90d76af681075f4ed6b33d
  .pick_status.json: Update to fcb568a5d5a52db75fa2f6d04579bb404ca7f597
  .pick_status.json: Update to 078fe5454e97d073feb18bcdcf7ed1874e8b4835
  .pick_status.json: Update to 2c1cb65949933a05eedb2eacc15cd893ecaef8aa
  docs: add release notes for 24.0.5
  VERSION: bump for 24.0.5

Eric R. Smith (2):
  panfrost: mark indirect compute buffer as read
  gallium: handle copy_image of depth textures

Faith Ekstrand (2):
  nvk: Add a _pad field to nvk_cbuf
  nvk: Add a _pad field to nvk_fs_key

Georg Lehmann (2):
  aco: don't combine mul+add_clamp to mad_clamp
  aco/ra: use SDWA for 16bit instructions when the second byte is blocked

Iago Toral Quiroga (2):
  v3d: implement fix for GFXH-1602
  broadcom/compiler: fix workaround for GFXH-1602

Ian Romanick (3):
  intel/brw: Clear write_accumulator flag when changing the destination
  intel/brw: Use enums for DPAS source regioning
  nir: intel/brw: Change the order of sources for nir_dpas_intel

Jesse Natalie (1):
  glsl: Use a stable attr sort for VS in / FS out

Jordan Justen (1):
  intel/dev: Add 0x56be and 0x56bf DG2 PCI IDs

José Roberto de Souza (4):
  anv: Fix calculation of syncs required in Xe KMD
  iris: Wait for drm_xe_exec_queue to be idle before destroying it
  anv: Create protected engine context when i915 supports vm control
  intel: Enable Xe KMD support by default

Juston Li (1):
  Revert "zink: store last pipeline directly for 
zink_gfx_program::last_pipeline"

Karol Herbst (1):
  meson: fix link failure with llvm-18

Kenneth Graunke (2):
  intel/brw: Fix generate_mov_indirect to check has_64bit_int not float
  intel/brw: Fix lower_regioning for BROADCAST, MOV_INDIRECT on Q types

Konstantin Seurer (1):
  nir/serialize: Encode data for temporaries

Lionel Landwerlin (7):
  anv: fix protected memory allocations
  anv: disable protected content around surface state copies
  anv: disable generated draws in protected command buffers
  anv: update protection fault property
  anv: add missing data flush out of L3 for transform feedback writes
  anv: mark descriptors & pipeline dirty after blorp compute
  isl: set NullPageCoherencyEnable for depth/stencil sparse surfaces

Lucas Stach (2):
  etnaviv: fix depth writes without testing
  etnaviv: rs: take src dimensions into account when increasing height 
alignment

Mike Blumenkrantz (12):
  zink: only check that CUBE_COMPATIBLE for images doesn't subtract flags
  zink: don't use set_foreach_remove with dmabuf_exports
  zink: make descriptor pool creation more robust
  zink: fix shaderdb pipeline compile
  zink: don't clobber indirect array reads with missing components
  zink: fix add_derefs case for compact arrays
  llvmpipe: fix DRAW_USE_LLVM=0
  glsl: handle xfb resources for spirv before running varying opts
  mesa: clamp binary pointer in ShaderBinary if length==0
  glsl: set PSIZ bit in outputs_written when injecting a 1.0 psiz write
  nir/lower_clamp_color_outputs: fix use with lowered io
  nir/texcoord_replace: fix scalarized io handling

Nikita Popov (1):
  Pass no-verify-fixpoint option to instcombine in LLVM 18

Patrick Lerda (1):
  r300: fix constants_remap_table memory leak related to the dummy shader 
path

Paul Gofman (3):
  glsl: allow out arrays in #110 with allow_glsl_120_subset_in_110
  driconf: add a workaround for Joe Danger 2
  driconf: add a workaround for Joe Danger

Paulo Zanoni (2):
  anv/xe: don't leak xe_syncs during trtt submission
  anv, iris: add missing CS_STALL bit for GPGPU texture invalidation

Samuel 

Re: Intel clc dependency

2024-04-10 Thread Timo Aaltonen

Brian Paul kirjoitti 6.4.2024 klo 1.05:
I'm trying to build the Intel Vulkan driver.  First time in a few 
months.  I'm having build problems related to clc.  I'm on Ubuntu 22.04



[...]
[1347/3181] Generating src/intel/vulkan/...om command (wrapped by meson 
to set env)
FAILED: 
src/intel/vulkan/grl/gfx125_bvh_build_BFS_BFS_pass1_indexed_batchable.h
env MESA_SHADER_CACHE_DISABLE=true MESA_SPIRV_LOG_LEVEL=error 
/home/brianp/build3/mesa/build/src/intel/compiler/intel_clc -p dg2 
--prefix gfx125_bvh_build_BFS_BFS_pass1_indexed_batchable -e 
BFS_pass1_indexed_batchable --in 
../src/intel/vulkan/grl/gpu/bvh_build_BFS.cl --in 
/home/brianp/build3/mesa/src/intel/vulkan/grl/gpu/libs/lsc_intrinsics_fallback.cl -o src/intel/vulkan/grl/gfx125_bvh_build_BFS_BFS_pass1_indexed_batchable.h -- -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DMAX_HW_SIMD_WIDTH=16 -DMAX_WORKGROUP_SIZE=16 -I/home/brianp/build3/mesa/src/intel/vulkan/grl/gpu -I/home/brianp/build3/mesa/src/intel/vulkan/grl/include

ERROR: libclc shader missing. Consider installing the libclc package
Aborted (core dumped)

I've installed every clc-related package I could find.  I've tried 
several options for the 'intel-clc' option without luck.


BTW, the description of intel-clc in meson_options.txt looks suspect:

option(
   'intel-clc',
   type : 'combo',
   deprecated: {'true': 'enabled', 'false': 'disabled'},
   value : 'disabled',
   choices : [
     'enabled', 'disabled', 'system',
   ],
   description : 'Build the intel-clc compiler (enables Vulkan Intel ' +
     'Ray Tracing on supported hardware).'
)

The default is 'disabled' but that's deprecated?  Choices include 
'enabled' but that's deprecated too?


Any tips for building the ToT Intel Vulkan driver?

-Brian



You need to have libclc-NN-dev installed matching with the llvm version, 
which on stock 22.04 would be libclc-13-dev.


--
t