Idein / py-videocore6

Python library for GPGPU programming on Raspberry Pi 4
https://idein.jp
GNU General Public License v2.0
247 stars 28 forks source link

FileNotFoundError: [Errno 2] No existe el fichero o el directorio: '/dev/dri/card0' #59

Open UADER-FCyT-SDR opened 4 months ago

UADER-FCyT-SDR commented 4 months ago

Hi, Just installed py-videocore6 on a RBPi 4 under bookworm and when running python sgemm.py it says /dev/dri/card is missing, and indeed it is as it no show when doing ls /dev/dri/card*

¿Any ideas or hints on that?

Best Regards, Pedro.

notogawa commented 4 months ago

Do you meet the requirements?

To access the device, you need to belong to video group or be root user.

UADER-FCyT-SDR commented 4 months ago

Yes, indeed. I ran sudo usermod --append --groups video pi during installation and also tried with sudo python......