Fredrum / chiaki

Raspberry Pi fork of the Free and Open Source PS4 and PS5 Remote Play client Chiaki.

Home Page:https://github.com/Fredrum/chiaki/wiki/rpi02---branch-for-Bullseye,-64bit,-h265-and-kmsdrm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Black screen rpi01 raspberry pi 400

rennard opened this issue · comments

Hi, I've been following the rpi01 setup for my Pi 400 and I've got the end of the process twice now with a black screen and only audio working. I tried the rpi02 tutorial but got loads of errors so have now given up on that route, but I feel like I must be close to getting this working on rpi01 so any help would be appreciated.

Output after connecting to my ps4:
`gui/chiaki
Xlib: sequence lost (0x10152 > 0x154) in reply type 0x0!
[I] Discovery Service detected new host with id 709E293B9605
[I] Logging to file /home/olly/.local/share/Chiaki/Chiaki/log/chiaki_session_2022-04-23_15-33-04-108108.log
[I] Chiaki Version 2.1.1
Attempted mapfile load: example_mappingfile.txt
[I] Starting session request for PS4
[I] Trying to request session from 192.168.0.55:9295
[I] Connected to 192.168.0.55:9295
[I] Sending session request
[I] Session request successful
Xlib: sequence lost (0x101e8 > 0x1ea) in reply type 0x0!
Xlib: sequence lost (0x101ed > 0x1ef) in reply type 0x0!
Xlib: sequence lost (0x101f2 > 0x1f4) in reply type 0x0!
[I] Starting ctrl
[I] OpenGL initialized with version "2.1 Mesa 20.3.5"
[I] Ctrl connected to 192.168.0.55:9295
[I] Sending ctrl request
[I] Ctrl received http header as response
[I] Ctrl received ctrl request http response
[I] Ctrl got Server Type: 0
[I] Ctrl connected
[E] Failed to Compile Shader:
0:2(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.00 ES, and 3.00 ES

[E] Failed to Compile Shader:
0:2(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.00 ES, and 3.00 ES

[I] Ctrl received Login message: success
[W] Received Ctrl Message with unknown type 0x6
[W] offset 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
[W] 0 00 01 ..
Xlib: sequence lost (0x1022a > 0x22c) in reply type 0x0!
Xlib: sequence lost (0x1022f > 0x231) in reply type 0x0!
Xlib: sequence lost (0x10234 > 0x236) in reply type 0x0!
Xlib: sequence lost (0x10255 > 0x257) in reply type 0x0!
Xlib: sequence lost (0x1025a > 0x25c) in reply type 0x0!
Xlib: sequence lost (0x1025f > 0x261) in reply type 0x0!
[I] Ctrl received valid Session Id: 1650724384PSGWYL2MODRXDM7KQ63DCVSOCRYQ6MAJMU4KBAPHYUTT4JHMWGQOGYDFHV5LMNVN
[I] Starting Senkusha
[I] Takion connecting (version 7)
[I] Takion enabled Don't Fragment Bit
[I] Takion sent init
[W] Received Ctrl Message with unknown type 0x16
[I] Takion received init ack with remote tag 0x2983a912, outbound streams: 0x64, inbound streams: 0x64
[W] offset 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
[W] 0 01 01 ..
[I] Takion sent cookie
[I] Takion received cookie ack
[I] Takion connected
[I] Senkusha sending big
[I] Senkusha successfully received bang
[I] Senkusha Ping Test with count 10 starting
[I] Senkusha enabled echo
[I] Senkusha sending Ping 0 of test index 0
[I] Senkusha received Pong, RTT = 5.508 ms
[I] Senkusha sending Ping 1 of test index 0
[I] Senkusha received Pong, RTT = 52.760 ms
[I] Senkusha sending Ping 2 of test index 0
[I] Senkusha received Pong, RTT = 4.646 ms
[I] Senkusha sending Ping 3 of test index 0
[I] Senkusha received Pong, RTT = 3.653 ms
[I] Senkusha sending Ping 4 of test index 0
[I] Senkusha received Pong, RTT = 4.587 ms
[I] Senkusha sending Ping 5 of test index 0
[I] Senkusha received Pong, RTT = 4.851 ms
[I] Senkusha sending Ping 6 of test index 0
[I] Senkusha received Pong, RTT = 3.166 ms
[I] Senkusha sending Ping 7 of test index 0
[I] Senkusha received Pong, RTT = 6.681 ms
[I] Senkusha sending Ping 8 of test index 0
[I] Senkusha received Pong, RTT = 9.428 ms
[I] Senkusha sending Ping 9 of test index 0
[I] Senkusha received Pong, RTT = 3.589 ms
[I] Senkusha disabled echo
[I] Senkusha determined average RTT = 9.886 ms
[I] Senkusha starting MTU in test with min 576, max 1454, retries 3, timeout 49 ms
[I] Senkusha MTU request 1454 (min 576, max 1454), id 1, attempt 0
[I] Senkusha MTU 1454 success
[I] Senkusha determined inbound MTU 1454
[I] Senkusha starting MTU out test with min 576, max 1454, retries 3, timeout 49 ms
[I] Senkusha sent initial client MTU command
[I] Senkusha received expected Client MTU Command
[I] Senkusha MTU 1454 out ping attempt 0
[I] Senkusha MTU ping 1454 success
[I] Senkusha determined outbound MTU 1454
[I] Senkusha sending final Client MTU Command
[I] Senkusha is disconnecting
[I] Senkusha closed takion
[I] Senkusha completed successfully
[I] Takion connecting (version 9)
[I] Takion sent init
[I] Takion received init ack with remote tag 0x1b148ce2, outbound streams: 0x64, inbound streams: 0x64
[I] Takion sent cookie
[I] Takion received cookie ack
[I] Takion connected
[I] StreamConnection sending big
[I] BANG received
[I] StreamConnection successfully received bang
[I] Crypt has become available. Re-checking MACs of 0 packets
[D] StreamConnection received audio header:
[D] offset 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
[D] 0 02 10 00 00 bb 80 00 00 01 e0 00 00 00 01 ..............
[I] Audio Header:
[I] channels = 2
[I] bits = 16
[I] rate = 48000
[I] frame size = 480
[I] unknown = 1
[I] ChiakiOpusDecoder initialized
[I] Audio Device alsa_output.platform-bcm2835_audio.digital-stereo opened with 2 channels @ 48000 Hz, buffer size 16312
[I] Video Profiles:
[I] 0: 1280x720
[I] StreamConnection successfully received streaminfo
[I] Switched to profile 0, resolution: 1280x720
[h264 @ 0x55bb61a940] no frame!
[E] Failed to push frame: Invalid data found when processing input
[I] Frame Processor received 16+0 / 20+1 units, attempting FEC
[E] FEC failed
[W] Missing unit 0x6
[W] Missing unit 0x7
[W] Missing unit 0x8
[W] Missing unit 0x9
[h264 @ 0x55bb61a940] concealing 64 DC, 64 AC, 64 MV errors in P frame
[W] Detected missing or corrupt frame(s) from 2 to 3
[D] StreamConnection reporting corrupt frame(s) from 2 to 2
[W] Video Receiver received old frame packet
[I] Frame Processor received 1+1 / 2+1 units, attempting FEC
[I] FEC successful
[W] Video Receiver received old frame packet
[E] AVCodec internal buffer is full removing frames before pushing
[E] AVCodec internal buffer is full removing frames before pushing
[I] Frame Processor received 1+1 / 2+3 units, attempting FEC
[I] FEC successful
[W] Video Receiver received old frame packet
[W] Received duplicate unit
[E] AVCodec internal buffer is full removing frames before pushing
[E] AVCodec internal buffer is full removing frames before pushing
[I] Frame Processor received 0+1 / 1+2 units, attempting FEC
[I] FEC successful
[E] AVCodec internal buffer is full removing frames before pushing
[E] AVCodec internal buffer is full removing frames before pushing
[W] Video Receiver received old frame packet
[E] AVCodec internal buffer is full removing frames before pushing
[E] AVCodec internal buffer is full removing frames before pushing
[E] AVCodec internal buffer is full removing frames before pushing
[E] AVCodec internal buffer is full removing frames before pushing
[E] AVCodec internal buffer is full removing frames before pushing
[E] AVCodec internal buffer is full removing frames before pushing
[I] Frame Processor received 0+1 / 1+3 units, attempting FEC
[I] FEC successful
[W] Received duplicate unit
[I] Frame Processor received 0+1 / 1+2 units, attempting FEC
[I] FEC successful
[E] AVCodec internal buffer is full removing frames before pushing
[E] AVCodec internal buffer is full removing frames before pushing
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Received duplicate unit
[I] Frame Processor received 0+1 / 1+2 units, attempting FEC
[I] FEC successful
[W] Video Receiver received old frame packet
[W] Received duplicate unit
[E] AVCodec internal buffer is full removing frames before pushing
[E] AVCodec internal buffer is full removing frames before pushing
[I] Frame Processor received 0+1 / 1+1 units, attempting FEC
[I] FEC successful
[W] Received duplicate unit
[W] Detected missing or corrupt frame(s) from 196 to 197
[D] StreamConnection reporting corrupt frame(s) from 196 to 196
[W] Detected missing or corrupt frame(s) from 198 to 199
[D] StreamConnection reporting corrupt frame(s) from 198 to 198
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Detected missing or corrupt frame(s) from 205 to 206
[D] StreamConnection reporting corrupt frame(s) from 205 to 205
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[I] Frame Processor received 5+1 / 6+2 units, attempting FEC
[I] FEC successful
[W] Received duplicate unit
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Detected missing or corrupt frame(s) from 212 to 214
[D] StreamConnection reporting corrupt frame(s) from 212 to 213
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[I] Takion Send Buffer re-sending packet with seqnum 0x682afcbc, tries: 0
[I] Frame Processor received 7+1 / 8+3 units, attempting FEC
[I] FEC successful
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[I] Takion Send Buffer re-sending packet with seqnum 0x682afcbd, tries: 0
[I] Frame Processor received 6+2 / 8+3 units, attempting FEC
[I] FEC successful
[W] Received duplicate unit
[W] Received duplicate unit
[I] Takion Send Buffer re-sending packet with seqnum 0x682afcbd, tries: 1
[I] Frame Processor received 3+1 / 7+3 units, attempting FEC
[E] FEC failed
[W] Missing unit 0x3
[W] Missing unit 0x4
[W] Missing unit 0x5
[W] Missing unit 0x6
[h264 @ 0x55bb61a940] concealing 2176 DC, 2176 AC, 2176 MV errors in P frame
[W] Detected missing or corrupt frame(s) from 223 to 224
[D] StreamConnection reporting corrupt frame(s) from 223 to 223
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[I] Frame Processor received 5+2 / 7+3 units, attempting FEC
[I] FEC successful
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[I] Takion Send Buffer re-sending packet with seqnum 0x682afcbd, tries: 2
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[I] Takion Send Buffer re-sending packet with seqnum 0x682afcbe, tries: 0
[I] Takion Send Buffer re-sending packet with seqnum 0x682afcbd, tries: 3
[I] Frame Processor received 6+2 / 8+3 units, attempting FEC
[I] FEC successful
[W] Video Receiver received old frame packet
[W] Video Receiver received old frame packet
[I] Takion Send Buffer re-sending packet with seqnum 0x682afcbe, tries: 1
[I] Frame Processor received 2+1 / 3+1 units, attempting FEC
[I] FEC successful
[E] AVCodec internal buffer is full removing frames before pushing
[E] AVCodec internal buffer is full removing frames before pushing
[W] Video Receiver received old frame packet
[E] AVCodec internal buffer is full removing frames before pushing
[E] AVCodec internal buffer is full removing frames before pushing
[E] AVCodec internal buffer is full removing frames before pushing
[E] AVCodec internal buffer is full removing frames before pushing
[I] Takion Send Buffer re-sending packet with seqnum 0x682afcbe, tries: 2
[I] Takion Send Buffer re-sending packet with seqnum 0x682afcbf, tries: 0
[I] StreamConnection is disconnecting
[I] StreamConnection sending Disconnect
[I] StreamConnection was requested to stop
[I] StreamConnection closed takion
[I] StreamConnection completed successfully
[I] Ctrl requested to stop
[I] Ctrl stopped
[I] Session has quit
[I] Discovery Service: Host with id 709E293B9605 is no longer available
`

I just tried the trick in here #9 to no avail, the only difference I have now is it's telling me GLSL 3.00 is not supported

I've now got past that error (forgot to add the se on the end of line), but I'm now getting this

0:2(19): preprocessor error: syntax error, unexpected IDENTIFIER, expecting NEWLINE

[E] Failed to Compile Shader:
0:2(19): preprocessor error: syntax error, unexpected IDENTIFIER, expecting NEWLINE

My bad, I followed the instructions in #9 incorrectly. Thank you for your brilliant work!