conformance-hip.yml: Add symlink to Mesa driver during set up#491
Closed
daniellegillai wants to merge 2 commits into
Closed
conformance-hip.yml: Add symlink to Mesa driver during set up#491daniellegillai wants to merge 2 commits into
daniellegillai wants to merge 2 commits into
Conversation
kiritigowda
previously approved these changes
Jul 17, 2026
kiritigowda
reviewed
Jul 17, 2026
| libprotobuf-dev libprotoc-dev protobuf-compiler libturbojpeg0-dev liblmdb-dev libjpeg-dev \ | ||
| pkg-config ffmpeg libavcodec-dev libavformat-dev libavutil-dev libswscale-dev | ||
| ln -s /usr/lib/x86_64-linux-gnu/libgallium-*.so \ | ||
| /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so |
Collaborator
There was a problem hiding this comment.
These libraries have to come from rocm/libs -- All these in
lib/rocm_sysdeps/lib/radeonsi_drv_video.so
ldd lib/rocm_sysdeps/lib/radeonsi_drv_video.so
linux-vdso.so.1 (0x00007a1ecc759000)
librocm_sysdeps_drm.so.2 => /home/kiriti/rocm-0710/lib/rocm_sysdeps/lib/librocm_sysdeps_drm.so.2 (0x00007a1ecc73c000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007a1ecc71f000)
librocm_sysdeps_drm_amdgpu.so.1 => /home/kiriti/rocm-0710/lib/rocm_sysdeps/lib/librocm_sysdeps_drm_amdgpu.so.1 (0x00007a1ecc3eb000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007a1ecc000000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007a1ecc302000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007a1ecc2d4000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007a1ecc718000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007a1ecbc00000)
/lib64/ld-linux-x86-64.so.2 (0x00007a1ecc75b000)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
PR #482 fails the CI rocJPEG ctests (
basic_test_rocjpeg_rgbandbasic_test_rocjpeg_gray) because VA-API is unable to find the mesa driver at/usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so.Technical Details
Creates a symlink so that
/usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.sopoints to the driver at/usr/lib/x86_64-linux-gnu/libgallium-*.so.Original ctest error message:
Creating the symlink eliminates this error.
Test Result
The rocJPEG ctests now pass when this is run on my own system.