Update CVML playbook to match official SDK documentation#236
Merged
Conversation
anna-amd-com
commented
Apr 24, 2026
Collaborator
- Replace git clone method with AMD Account Portal download
- Add AMD_CVML_SDK_ROOT environment variable setup for both platforms
- Update Linux NPU driver link from /1.6.1/ to /latest/
- Fix Ubuntu 22.04 MESA driver installation sequence
- Add complete Ubuntu 24.04 dependency installation section
- Add OpenCV runtime library paths for Windows and Linux
- Add GPU fallback note when NPU driver is not installed
- Replace git clone method with AMD Account Portal download - Add AMD_CVML_SDK_ROOT environment variable setup for both platforms - Update Linux NPU driver link from /1.6.1/ to /latest/ - Fix Ubuntu 22.04 MESA driver installation sequence - Add complete Ubuntu 24.04 dependency installation section - Add OpenCV runtime library paths for Windows and Linux - Add GPU fallback note when NPU driver is not installed These changes align the playbook with the official CVML SDK documentation and ensure users have all necessary runtime dependencies configured.
Collaborator
|
@adamlam2-amd Can you please review those changes? |
Merged
sreeram-11
approved these changes
May 23, 2026
sreeram-11
reviewed
May 23, 2026
Collaborator
|
@sreeram-11 the CVML tests merged. Anything else needed to add to the tests based on this PR? |
sreeram-11
reviewed
May 26, 2026
sreeram-11
reviewed
May 26, 2026
Collaborator
|
Thanks @anna-amd-com for this PR! Other than the comments I have added, I was able to run CVML on both Windows and Linux (Ubuntu 24.04). |
- Split Additional Dependencies into per-OS blocks; add concrete install links for Windows OpenCV, CMake, and Visual Studio 2022 - Add full Linux OpenCV 4.11 build-from-source steps matching the flags AMD validates in the SDK README - Clarify NPU driver version (32.0.203.280 or newer; both listed versions are compatible) and update CVML Library download URL - Fix Windows OPENCV_INSTALL_ROOT to point to the `build` subfolder; fix PATH / LD_LIBRARY_PATH ordering to prepend for deterministic resolution - Add cd-to-executable-folder step before running the face detection sample
Without CMAKE_PREFIX_PATH, find_package(OpenCV) on Linux picks up the system OpenCV 4.6 from apt instead of the 4.11 install pointed to by OPENCV_INSTALL_ROOT.
Guide users to create an AMD account before downloading the Ryzen AI CVML Library from the AMD Account Portal.
sreeram-11
reviewed
May 26, 2026
sreeram-11
reviewed
May 27, 2026
sreeram-11
requested changes
May 27, 2026
danielholanda
approved these changes
May 28, 2026
danielholanda
left a comment
Collaborator
There was a problem hiding this comment.
@sreeram-11 Now that #307 has been approved, please take a look and help to merge this.
sreeram-11
added a commit
that referenced
this pull request
May 28, 2026
* Updating CI tests to reflect instruction updates in PR #236 * Added missing test and os end block * Adding a temp check to see resource limits for GHA * Updated opencv.md, removed linux-resource test, added CMAKE_PREFIX_PATH * Removing cleanup with trap so that the working dir is not deleted after test. The working dir is deleted before running the next test anyways. * Removing opencv.md --------- Co-authored-by: adamlam2-amd <adamlam2@amd.com>
justichu-amd
approved these changes
May 29, 2026
Co-authored-by: Sreeram <s.sreeram.amd@gmail.com>
sreeram-11
approved these changes
May 29, 2026
- Changed `OPENCV_INSTALL_ROOT` to "C:\Users\user\opencv\build" - Added `CMAKE_PREFIX_PATH` flag - Simplified the OpenCV runtime PATH section of the test
This was referenced Jun 2, 2026
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.