Raspberry Pi Trixie and 1.23.n
Describe the issue
With Piper-tts + onnxruntime==1.22.1 installed on 64 bit trixie desktop, I am able to hear working TTS.
With the same but onnxruntime==1.23.1 I see the following error message:
2025-10-13 19:56:01.173419807 [W:onnxruntime:Default, device_discovery.cc:164 DiscoverDevicesForPlatform] GPU device discovery failed: device_discovery.cc:89 ReadFileContents Failed to open file: "/sys/class/drm/card1/device/vendor"
There is not a file /sys/class/drm/card1/device/vendor on Trixie desktop, Bookworm desktop, or Bookworm Lite on the same Pi hardware.
To reproduce
- Install 64 Bit Raspberry Pi Trixie on a Raspberry Pi 4.
- Ensure you have an working audio output (paplay some.wav works)
- Ensure you have python3-pip installed.
- Setup a virtual env for python with site packages enabled.
- Install piper-tts and sounddevice into that virtual env.
- Run
python -m piper.download_voices en_US-ryan-lowor another voice in that Venv. - Run
python -m piper -m en_US-ryan-low "Hello there."
Urgency
This seems to be non-functional. The only current workaround is to specify the older 1.22.1 package.
Platform
Linux
OS Version
Raspberry PI OS Trixie
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
onnxruntime==1.23.1
ONNX Runtime API
Python
Architecture
ARM64
Execution Provider
Other / Unknown
Execution Provider Library Version
No response
I tested the same process On a Pi5 using Trixie with onnxruntime==1.23.2 and it seems to function successfully with this version but does still print the same warning message:
[W:onnxruntime:Default, device_discovery.cc:164 DiscoverDevicesForPlatform] GPU device discovery failed: device_discovery.cc:89 ReadFileContents Failed to open file: "/sys/class/drm/card1/device/vendor"
Even running the voice download command results in the same warning message being printed.
python -m piper -m en_US-ryan-low -f test.wav "Hello there"
prints the warning message and creates a correct test.wav file containing the proper speech.
I also got this same exact error trying to run rhasspy/wyoming-piper in docker on windows.
Last successful image that runs is the rhasspy/wyoming-piper:1.6.3 from 3months ago. Any newer image will fail to run because of the issue describe by the op.
Can confirm I have the same issue 2025-11-13 17:07:18.495465746 [W:onnxruntime:Default, device_discovery.cc:164 DiscoverDevicesForPlatform] GPU device discovery failed: device_discovery.cc:89 ReadFileContents Failed to open file: "/sys/class/drm/card1/device/vendor"
Same here on a Raspberry Pi 5 with Trixie: 2025-12-09 19:09:49.123873264 [W:onnxruntime:Default, device_discovery.cc:164 DiscoverDevicesForPlatform] GPU device discovery failed: device_discovery.cc:89 ReadFileContents Failed to open file: "/sys/class/drm/card1/device/vendor"
Seems to be cosmetic only as it's using the CPU with no GPU available.