Errors running 14.voice_promt_car.py example program

When I run 14.voice_promt_car.py, it seems to run alright as far as what the PiCAR-X is supposed to do (talks and moves like it should), but I get these error messages:

2026-08-01 11:20:45.663101555 [W:onnxruntime:Default, device_discovery.cc:283 GetGpuDevices] Failed to detect devices under “/sys/class/drm/card1”: device_discovery.cc:93 ReadFileContents Failed to open file: “/sys/class/drm/card1/device/vendor”
2026-08-01 11:20:45.665023214 [W:onnxruntime:Default, device_discovery.cc:283 GetGpuDevices] Failed to detect devices under “/sys/class/drm/card0”: device_discovery.cc:93 ReadFileContents Failed to open file: “/sys/class/drm/card0/device/vendor”

I see those directories (/sys/class/drm/card0/device and/sys/class/drm/card1/device) but there is no file (or directory?) by the name of “vendor” in them. Any idea why these files are missing and what I need to do to get them?

These messages are actually warnings, not errors, from the ONNX Runtime library. During startup, ONNX Runtime scans /sys/class/drm/ to check for available GPU devices. On the Raspberry Pi, some DRM devices do not provide a vendor file, so when the file is not found, these warnings are printed.

We see the same warnings during our testing. As long as the example program 14.voice_prompt_car.py correctly recognises voice commands, speaks, and controls the PiCar‑X, these warnings can be safely ignored – they do not affect functionality.

Thanks for the reply. I thought that was probably the case, but figured that I should check just in case.

Will Windham

If you run into any other questions, feel free to reach out.