Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chiaki stays black after connecting to a PS5 with a ClockworkPi Uconsole + CM4 #48

Open
Otherbright opened this issue Nov 25, 2023 · 1 comment

Comments

@Otherbright
Copy link

Hi,

The stream window of Chiaki stays black after connecting to a PS5 with a ClockworkPi Uconsole + Pi CM4 4GB Wifi.

This is using a HD (720p) DSI-1 display, it might be too specific for this software, I'm not sure why it isn't working.

Config:

Linux uconsole 5.10.17-v8+ #5 SMP PREEMPT Thu Jun 29 13:36:01 CST 2023 aarch64 GNU/Linux

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

chiaki-rpi Logs:

cpi@uconsole:~ $ ~/chiaki-rpi/build/rpi/chiaki-rpi
Linux base Path:  /home/cpi/chiaki-rpi/build/rpi/chiaki-rpi�Ԝ
WARNING:  h265 Decoder Not Detected
SDL version linked: 2.0.22
Running in Desktop mode:  1
Disp Mode: 1280x720 @ 60hz 
AUDIO DEVICE COUNT:  1
INFO: Audio device 0: Built-in Audio Analog Stereo
SDL_VIDEO_DRIVER selected: x11
SDL_RENDER_DRIVER selected: opengles2
Rpi IO created
END HostInit
Gamepads currently attached: 1
Controller is:  (null)
Will try to read rpi settings file: /home/cpi/.config/Chiaki/Chiaki_rpi.conf
Found settings for 1 host(s)
Discovery Service started
GL_VERSION  : OpenGL ES 3.1 Mesa 20.3.5
GL_RENDERER : V3D 4.2
Gui init done
Gamepad added
Controller is:  (null)
Discovered Host State:  ready
Is PS5:  1
Discovery ID match
INFO: Audio device 0: Built-in Audio Analog Stereo
Found matching audio device
Refreshing:  audio : Built-in Audio Analog Stereo
Wrote yaml file /home/cpi/.config/Chiaki/Chiaki_rpi.conf
Host Click
Starting Play session!
SDL drm_fd:  85
[h264_v4l2m2m @ 0x55a08caa60] Using device /dev/video10
[h264_v4l2m2m @ 0x55a08caa60] driver 'bcm2835-codec' on card 'bcm2835-codec-decode' in mplane mode
[h264_v4l2m2m @ 0x55a08caa60] requesting formats: output=H264 capture=YU12
Actual Fmt: 181
Finish InitFFmpeg
Requesting codec: h264
END chiaki session start
Init Audio CB
Session Audio Out:  Built-in Audio Analog Stereo
ConnectionEventCB() CHIAKI_EVENT_CONNECTED
Starting Play Thread
AVERROR(EAGAIN)
AVERROR(EAGAIN)
AVERROR(EAGAIN)
AVERROR(EAGAIN)
AVERROR(EAGAIN)
AVERROR(EAGAIN)
AVERROR(EAGAIN)
AVERROR(EAGAIN)
AVERROR(EAGAIN)
AVERROR(EAGAIN)
AVERROR(EAGAIN)
AVERROR(EAGAIN)
AVERROR(EAGAIN)
AVERROR(EAGAIN)
AVERROR(EAGAIN)
AVERROR(EAGAIN)
[h264_v4l2m2m @ 0x55a08caa60] V4L2 capture poll unexpected timeout: events=0x106
[h264_v4l2m2m @ 0x55a08caa60] Poll thinks src Q has space; none found
[h264_v4l2m2m @ 0x55a08caa60] V4L2 capture poll unexpected timeout: events=0x106
[h264_v4l2m2m @ 0x55a08caa60] Poll thinks src Q has space; none found
AVERROR(EAGAIN)
[h264_v4l2m2m @ 0x55a08caa60] V4L2 capture poll unexpected timeout: events=0x106
[h264_v4l2m2m @ 0x55a08caa60] Poll thinks src Q has space; none found
[h264_v4l2m2m @ 0x55a08caa60] V4L2 capture poll unexpected timeout: events=0x106
[h264_v4l2m2m @ 0x55a08caa60] Poll thinks src Q has space; none found
AVERROR(EAGAIN)
Error return in send_packet
[h264_v4l2m2m @ 0x55a08caa60] V4L2 capture poll unexpected timeout: events=0x106
[h264_v4l2m2m @ 0x55a08caa60] Poll thinks src Q has space; none found
AVERROR(EAGAIN)
Error return in send_packet
[h264_v4l2m2m @ 0x55a08caa60] V4L2 capture poll unexpected timeout: events=0x106
[h264_v4l2m2m @ 0x55a08caa60] Poll thinks src Q has space; none found
AVERROR(EAGAIN)
Error return in send_packet
[h264_v4l2m2m @ 0x55a08caa60] V4L2 capture poll unexpected timeout: events=0x106
[h264_v4l2m2m @ 0x55a08caa60] Poll thinks src Q has space; none found
AVERROR(EAGAIN)
Error return in send_packet
[h264_v4l2m2m @ 0x55a08caa60] V4L2 capture poll unexpected timeout: events=0x106
[h264_v4l2m2m @ 0x55a08caa60] Poll thinks src Q has space; none found
AVERROR(EAGAIN)

Et voilà :)

@Fredrum
Copy link
Owner

Fredrum commented Nov 29, 2023

Hiya!
First just a warning that I'm not working on this software any longer as I don't have the time.
So can just give some general advice unfortunately.

I believe you are using straight up Debian? Ie no Raspberry OS?
I have had it working on Debian before. This software relies on a specific ffmpeg that the Raspberry people provide with their OS.

I think I provide a script that can build that version for you. Its been a long time since I tried it though.

See here,
https://github.com/Fredrum/chiaki/wiki/More-rpi02-Instructions-and-tips#debian
and
#27 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants