Fredrum / chiaki

Raspberry Pi fork of the Free and Open Source PS4 and PS5 Remote Play client Chiaki.
https://github.com/Fredrum/chiaki/wiki/rpi02---branch-for-Bullseye,-64bit,-h265-and-kmsdrm
GNU Affero General Public License v3.0
68 stars 11 forks source link

Display Error #53

Open jdawgen opened 1 month ago

jdawgen commented 1 month ago

Hello Fredrum,

I know you're not working on Chiaki anymore, but when trying to use the current repo on the new rasberry pi 5, the display wouldn't work. In this I get the following error message:

[h264_v4l2m2m @ 0x55564265a9f0] Could not find valid device [h264_v4l2m2m @ 0x55564265a9f0] can't configure decoder Could not open codec Requesting codec: h264

If you could point me in the right direction to solve this problem, I would really appreciate it.

Fredrum commented 1 month ago

As it seems to be a codec issue I would start by looking at your ffmpeg version. Are you using standard RaspiOS ? If not you'll probably need to custom compile a working version. I have a script that worked for this but its been a while since I tested it and it might be outdated now.

Also, see:

  1. If you have an Rpi4b, enable the h265 decoder

(Actually this step is now redundant if you have an up-to-date RPi OS) By adding the following line to your /boot/config.txt dtoverlay=rpivid-v4l2