Skip to content

run_pytest.sh: "RuntimeError: DRM_IOCTL_AMDXDNA_CREATE_BO IOCTL failed (err=22): Invalid argument" with manually compiled xdna #68

Closed Answered by LakshyAAAgrawal
LakshyAAAgrawal asked this question in Q&A
Discussion options

You must be logged in to vote

Since I had deviated from the official guide, and instead manually compiled the xdna-driver, I believe there was a version mismatch between the module version on the host machine and the docker container. I modified the "setup_riallto_linux.sh" script to use my manually built xdna and xrt deb files, and was able to resolve the above issue. Hence, I am closing this discussion thread.

However, the issue reported earlier, of the npu modules not being installed properly (or rather, the size of the module being zero), still persists which I had to solve by compiling manually, instead of using the setup_riallto_linux.sh script. Hence, I will leave the thread at #67 open for now.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LakshyAAAgrawal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant