run_pytest.sh: "RuntimeError: DRM_IOCTL_AMDXDNA_CREATE_BO IOCTL failed (err=22): Invalid argument" with manually compiled xdna #68
-
Hi, I am trying to setup the Riallto on a Minisforum UM790 Pro using the guide at https://github.com/AMDResearch/Riallto/tree/main/scripts/linux. Following the issues I faced with xdna installation as reported on (#67), I manually built and installed the xdna driver, as per instructions from https://github.com/amd/xdna-driver?tab=readme-ov-file#build. After this, I launch the jupyter notebook using the
Could you please help me understand and solve the issue? I have a debug version of the xdna-driver installed, and can provide the relevant debug information required. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
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.