thestr4ng3r / chiaki

Moved to https://git.sr.ht/~thestr4ng3r/chiaki - Free and Open Source PS4 Remote Play Client
https://git.sr.ht/~thestr4ng3r/chiaki
2.18k stars 369 forks source link

Opus Crash on Intel N3150 and similar #207

Open ShrkPaine opened 4 years ago

ShrkPaine commented 4 years ago

hello . thank you for this app 1st of all . i have a problem when i start the app it works, it shows thas my ps4 is ready to be used , and play it on my laptop windows 10 . when i click on the ps4 logo it just stops woking , it opens a window full white for minut then is closes with no error msg , i keep executing chiaki as an admin but nothing works . thanks again for your hard work .

Axium1 commented 4 years ago

same issue. here is what it says.

[2020-04-25 18:45:11:995995] [I] Logging to file C:/Users/[NOTSHOWING]/AppData/Roaming/Chiaki/Chiaki/log/chiaki_session_2020-04-25_18-45-11-991991.log
[2020-04-25 18:45:11:995995] [I] Chiaki Version 1.1.3
[2020-04-25 18:45:12:193193] [I] Starting session request
[2020-04-25 18:45:12:278278] [I] OpenGL initialized with version "3.2.0 - Build 26.20.100.6999"
[2020-04-25 18:45:16:719719] [I] Trying to request session from 192.168.15.81:9295
[2020-04-25 18:45:16:722722] [I] Connected to 192.168.15.81:9295
[2020-04-25 18:45:16:722722] [I] Sending session request
[2020-04-25 18:45:16:723723] [V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[2020-04-25 18:45:16:723723] [V]      0 47 45 54 20 2f 73 63 65 2f 72 70 2f 73 65 73 73 GET./sce/rp/sess
[2020-04-25 18:45:16:723723] [V]     10 69 6f 6e 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f ion.HTTP/1.1..Ho
[2020-04-25 18:45:16:723723] [V]     20 73 74 3a 20 31 39 32 2e 31 36 38 2e 31 35 2e 38 st:.192.168.15.8
[2020-04-25 18:45:16:723723] [V]     30 31 3a 39 32 39 35 0d 0a 55 73 65 72 2d 41 67 65 1:9295..User-Age
[2020-04-25 18:45:16:723723] [V]     40 6e 74 3a 20 72 65 6d 6f 74 65 70 6c 61 79 20 57 nt:.remoteplay.W
[2020-04-25 18:45:16:723723] [V]     50 69 6e 64 6f 77 73 0d 0a 43 6f 6e 6e 65 63 74 69 indows..Connecti
[2020-04-25 18:45:16:723723] [V]     60 6f 6e 3a 20 63 6c 6f 73 65 0d 0a 43 6f 6e 74 65 on:.close..Conte
[2020-04-25 18:45:16:723723] [V]     70 6e 74 2d 4c 65 6e 67 74 68 3a 20 30 0d 0a 52 50 nt-Length:.0..RP
[2020-04-25 18:45:16:723723] [V]     80 2d 52 65 67 69 73 74 6b 65 79 3a 20 33 31 33 38 -Registkey:.3138
[2020-04-25 18:45:16:723723] [V]     90 33 34 36 33 33 37 33 31 33 34 36 34 0d 0a 52 70 346337313464..Rp
[2020-04-25 18:45:16:724724] [V]     a0 2d 56 65 72 73 69 6f 6e 3a 20 39 2e 30 0d 0a 0d -Version:.9.0...
[2020-04-25 18:45:16:724724] [V]     b0 0a                                              .               
[2020-04-25 18:45:16:732732] [V] Session Response Header:
[2020-04-25 18:45:16:733733] [V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[2020-04-25 18:45:16:733733] [V]      0 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d HTTP/1.1.200.OK.
[2020-04-25 18:45:16:733733] [V]     10 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 63 6c 6f .Connection:.clo
[2020-04-25 18:45:16:733733] [V]     20 73 65 0d 0a 50 72 61 67 6d 61 3a 20 6e 6f 2d 63 se..Pragma:.no-c
[2020-04-25 18:45:16:733733] [V]     30 61 63 68 65 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 ache..Content-Le
[2020-04-25 18:45:16:733733] [V]     40 6e 67 74 68 3a 20 30 0d 0a 52 50 2d 4e 6f 6e 63 ngth:.0..RP-Nonc
[2020-04-25 18:45:16:733733] [V]     50 65 3a 20 46 75 67 39 6d 52 5a 68 79 4c 37 78 4f e:.Fug9mRZhyL7xO
[2020-04-25 18:45:16:733733] [V]     60 59 6a 55 4c 57 47 62 32 41 3d 3d 0d 0a 52 50 2d YjULWGb2A==..RP-
[2020-04-25 18:45:16:733733] [V]     70 56 65 72 73 69 6f 6e 3a 20 39 2e 30 0d 0a 0d 0a Version:.9.0....
[2020-04-25 18:45:16:734734] [I] Session request successful
[2020-04-25 18:45:16:745745] [I] Starting ctrl
[2020-04-25 18:45:16:748748] [I] Ctrl connected to 192.168.15.81:9295
[2020-04-25 18:45:16:751751] [I] Sending ctrl request
[2020-04-25 18:45:16:757757] [I] Ctrl received http header as response
[2020-04-25 18:45:16:758758] [V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[2020-04-25 18:45:16:758758] [V]      0 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d HTTP/1.1.200.OK.
[2020-04-25 18:45:16:758758] [V]     10 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 6b 65 65 .Connection:.kee
[2020-04-25 18:45:16:758758] [V]     20 70 2d 61 6c 69 76 65 0d 0a 50 72 61 67 6d 61 3a p-alive..Pragma:
[2020-04-25 18:45:16:758758] [V]     30 20 6e 6f 2d 63 61 63 68 65 0d 0a 43 6f 6e 74 65 .no-cache..Conte
[2020-04-25 18:45:16:758758] [V]     40 6e 74 2d 4c 65 6e 67 74 68 3a 20 30 0d 0a 52 50 nt-Length:.0..RP
[2020-04-25 18:45:16:758758] [V]     50 2d 50 72 6f 68 69 62 69 74 3a 20 30 0d 0a 52 50 -Prohibit:.0..RP
[2020-04-25 18:45:16:759759] [V]     60 2d 44 65 76 69 63 65 3a 20 30 0d 0a 52 50 2d 52 -Device:.0..RP-R
[2020-04-25 18:45:16:759759] [V]     70 73 73 69 2d 44 62 6d 3a 20 30 0d 0a 52 50 2d 52 ssi-Dbm:.0..RP-R
[2020-04-25 18:45:16:759759] [V]     80 73 73 69 2d 50 65 72 63 65 6e 74 3a 20 30 0d 0a ssi-Percent:.0..
[2020-04-25 18:45:16:759759] [V]     90 52 50 2d 45 6e 74 65 72 6b 65 79 3a 20 58 0d 0a RP-Enterkey:.X..
[2020-04-25 18:45:16:759759] [V]     a0 52 50 2d 53 65 72 76 65 72 2d 54 79 70 65 3a 20 RP-Server-Type:.
[2020-04-25 18:45:16:759759] [V]     b0 79 56 71 73 72 55 4e 75 35 66 68 4c 56 76 78 51 yVqsrUNu5fhLVvxQ
[2020-04-25 18:45:16:759759] [V]     c0 49 62 39 4c 73 41 3d 3d 0d 0a 0d 0a             Ib9LsA==....    
[2020-04-25 18:45:16:759759] [I] Ctrl received ctrl request http response
[2020-04-25 18:45:16:760760] [I] Ctrl connected
[2020-04-25 18:45:16:801801] [V] Ctrl received message of type 0x5, size 0x1
[2020-04-25 18:45:16:801801] [V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[2020-04-25 18:45:16:801801] [V]      0 00                                              .               
[2020-04-25 18:45:16:801801] [I] Ctrl received Login message: success
[2020-04-25 18:45:16:801801] [V] Ctrl received message of type 0x6, size 0x2
[2020-04-25 18:45:16:802802] [V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[2020-04-25 18:45:16:802802] [V]      0 00 01                                           ..              
[2020-04-25 18:45:16:802802] [W] Received Ctrl Message with unknown type 0x6
[2020-04-25 18:45:16:802802] [W] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[2020-04-25 18:45:16:802802] [W]      0 00 01                                           ..              
[2020-04-25 18:45:17:414414] [V] Ctrl received message of type 0x33, size 0x4b
[2020-04-25 18:45:17:414414] [V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[2020-04-25 18:45:17:414414] [V]      0 4a 31 35 38 37 38 36 35 35 31 37 59 57 32 42 32 J1587865517YW2B2
[2020-04-25 18:45:17:414414] [V]     10 47 42 51 48 44 55 52 51 35 57 4b 4b 49 4f 44 5a GBQHDURQ5WKKIODZ
[2020-04-25 18:45:17:415415] [V]     20 35 45 55 43 4d 33 41 43 51 52 48 4d 54 59 34 49 5EUCM3ACQRHMTY4I
[2020-04-25 18:45:17:415415] [V]     30 46 56 4b 45 37 5a 33 46 4c 45 53 54 55 4e 4e 34 FVKE7Z3FLESTUNN4
[2020-04-25 18:45:17:415415] [V]     40 5a 4a 5a 35 44 33 35 5a 48 34 47                ZJZ5D35ZH4G     
[2020-04-25 18:45:17:415415] [I] Ctrl received valid Session Id: 1587865517YW2B2GBQHDURQ5WKKIODZ5EUCM3ACQRHMTY4IFVKE7Z3FLESTUNN4ZJZ5D35ZH4G
[2020-04-25 18:45:17:415415] [I] Starting Senkusha
[2020-04-25 18:45:17:415415] [I] Takion connecting (version 7)
[2020-04-25 18:45:17:415415] [I] Takion enabled Don't Fragment Bit
[2020-04-25 18:45:17:418418] [I] Takion sent init
[2020-04-25 18:45:17:420420] [I] Takion received init ack with remote tag 0x34d13087, outbound streams: 0x64, inbound streams: 0x64
[2020-04-25 18:45:17:420420] [I] Takion sent cookie
[2020-04-25 18:45:17:421421] [I] Takion received cookie ack
[2020-04-25 18:45:17:421421] [I] Takion connected
[2020-04-25 18:45:17:422422] [I] Senkusha sending big
[2020-04-25 18:45:17:422422] [V] Pushed seq num 0x29 into Takion Send Buffer
[2020-04-25 18:45:17:423423] [V] Takion received data ack with cumulative_seq_num = 0x29, a_rwnd = 0x19000, gap_ack_blocks_count = 0, dup_tsns_count = 0
[2020-04-25 18:45:17:423423] [V] Acked seq num 0x29 from Takion Send Buffer
[2020-04-25 18:45:17:424424] [I] Senkusha successfully received bang
[2020-04-25 18:45:17:424424] [I] Senkusha Ping Test with count 10 starting
[2020-04-25 18:45:17:424424] [V] Pushed seq num 0x2a into Takion Send Buffer
[2020-04-25 18:45:17:425425] [V] Takion received data ack with cumulative_seq_num = 0x2a, a_rwnd = 0x19000, gap_ack_blocks_count = 0, dup_tsns_count = 0
[2020-04-25 18:45:17:425425] [V] Acked seq num 0x2a from Takion Send Buffer
[2020-04-25 18:45:17:425425] [I] Senkusha enabled echo
[2020-04-25 18:45:17:425425] [I] Senkusha sending Ping 0 of test index 0
[2020-04-25 18:45:17:427427] [I] Senkusha received Pong, RTT = 1.390 ms
[2020-04-25 18:45:17:427427] [I] Senkusha sending Ping 1 of test index 0
[2020-04-25 18:45:17:429429] [I] Senkusha received Pong, RTT = 1.288 ms
[2020-04-25 18:45:17:429429] [I] Senkusha sending Ping 2 of test index 0
[2020-04-25 18:45:17:431431] [I] Senkusha received Pong, RTT = 1.231 ms
[2020-04-25 18:45:17:431431] [I] Senkusha sending Ping 3 of test index 0
[2020-04-25 18:45:17:432432] [I] Senkusha received Pong, RTT = 1.225 ms
[2020-04-25 18:45:17:432432] [I] Senkusha sending Ping 4 of test index 0
[2020-04-25 18:45:17:435435] [I] Senkusha received Pong, RTT = 1.896 ms
[2020-04-25 18:45:17:435435] [I] Senkusha sending Ping 5 of test index 0
[2020-04-25 18:45:17:439439] [I] Senkusha received Pong, RTT = 1.816 ms
[2020-04-25 18:45:17:439439] [I] Senkusha sending Ping 6 of test index 0
[2020-04-25 18:45:17:440440] [I] Senkusha received Pong, RTT = 1.244 ms
[2020-04-25 18:45:17:440440] [I] Senkusha sending Ping 7 of test index 0
[2020-04-25 18:45:17:442442] [I] Senkusha received Pong, RTT = 1.462 ms
[2020-04-25 18:45:17:442442] [I] Senkusha sending Ping 8 of test index 0
[2020-04-25 18:45:17:444444] [I] Senkusha received Pong, RTT = 1.131 ms
[2020-04-25 18:45:17:444444] [I] Senkusha sending Ping 9 of test index 0
[2020-04-25 18:45:17:445445] [I] Senkusha received Pong, RTT = 1.158 ms
[2020-04-25 18:45:17:445445] [V] Pushed seq num 0x2b into Takion Send Buffer
[2020-04-25 18:45:17:446446] [V] Takion received data ack with cumulative_seq_num = 0x2b, a_rwnd = 0x19000, gap_ack_blocks_count = 0, dup_tsns_count = 0
[2020-04-25 18:45:17:446446] [V] Acked seq num 0x2b from Takion Send Buffer
[2020-04-25 18:45:17:447447] [I] Senkusha disabled echo
[2020-04-25 18:45:17:447447] [I] Senkusha determined average RTT = 1.384 ms
[2020-04-25 18:45:17:447447] [I] Senkusha starting MTU in test with min 576, max 1454, retries 3, timeout 6 ms
[2020-04-25 18:45:17:447447] [V] Pushed seq num 0x2c into Takion Send Buffer
[2020-04-25 18:45:17:447447] [I] Senkusha MTU request 1454 (min 576, max 1454), id 1, attempt 0
[2020-04-25 18:45:17:448448] [V] Takion received data ack with cumulative_seq_num = 0x2c, a_rwnd = 0x19000, gap_ack_blocks_count = 0, dup_tsns_count = 0
[2020-04-25 18:45:17:448448] [V] Acked seq num 0x2c from Takion Send Buffer
[2020-04-25 18:45:17:448448] [I] Senkusha MTU 1454 success
[2020-04-25 18:45:17:448448] [I] Senkusha determined inbound MTU 1454
[2020-04-25 18:45:17:449449] [I] Senkusha starting MTU out test with min 576, max 1454, retries 3, timeout 6 ms
[2020-04-25 18:45:17:449449] [V] Pushed seq num 0x2d into Takion Send Buffer
[2020-04-25 18:45:17:449449] [I] Senkusha sent initial client MTU command
[2020-04-25 18:45:17:450450] [V] Takion received data ack with cumulative_seq_num = 0x2d, a_rwnd = 0x19000, gap_ack_blocks_count = 0, dup_tsns_count = 0
[2020-04-25 18:45:17:450450] [V] Acked seq num 0x2d from Takion Send Buffer
[2020-04-25 18:45:17:450450] [I] Senkusha received expected Client MTU Command
[2020-04-25 18:45:17:450450] [I] Senkusha MTU 1454 out ping attempt 0
[2020-04-25 18:45:17:452452] [I] Senkusha MTU ping 1454 success
[2020-04-25 18:45:17:452452] [I] Senkusha determined outbound MTU 1454
[2020-04-25 18:45:17:452452] [I] Senkusha sending final Client MTU Command
[2020-04-25 18:45:17:453453] [V] Pushed seq num 0x2e into Takion Send Buffer
[2020-04-25 18:45:17:454454] [V] Takion received data ack with cumulative_seq_num = 0x2e, a_rwnd = 0x19000, gap_ack_blocks_count = 0, dup_tsns_count = 0
[2020-04-25 18:45:17:454454] [V] Acked seq num 0x2e from Takion Send Buffer
[2020-04-25 18:45:17:454454] [I] Senkusha is disconnecting
[2020-04-25 18:45:17:455455] [V] Pushed seq num 0x2f into Takion Send Buffer
[2020-04-25 18:45:17:456456] [I] Senkusha closed takion
[2020-04-25 18:45:17:456456] [V] Ctrl received message of type 0x15, size 0x10
[2020-04-25 18:45:17:456456] [I] Senkusha completed successfully
[2020-04-25 18:45:17:456456] [V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[2020-04-25 18:45:17:456456] [V]      0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[2020-04-25 18:45:17:457457] [W] Received Ctrl Message with unknown type 0x15
[2020-04-25 18:45:17:457457] [W] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[2020-04-25 18:45:17:457457] [W]      0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[2020-04-25 18:45:17:465465] [I] Takion connecting (version 9)
[2020-04-25 18:45:17:467467] [I] Takion sent init
[2020-04-25 18:45:17:469469] [I] Takion received init ack with remote tag 0x10b4b308, outbound streams: 0x64, inbound streams: 0x64
[2020-04-25 18:45:17:469469] [I] Takion sent cookie
[2020-04-25 18:45:17:471471] [I] Takion received cookie ack
[2020-04-25 18:45:17:471471] [I] Takion connected
[2020-04-25 18:45:17:471471] [I] StreamConnection sending big
[2020-04-25 18:45:17:471471] [V] LaunchSpec: {"sessionId":"sessionId4321","streamResolutions":[{"resolution":{"width":640,"height":360},"maxFps":30,"score":10}],"network":{"bwKbpsSent":2000,"bwLoss":0.001000,"mtu":1454,"rtt":1,"ports":[53,2053]},"slotId":1,"appSpecification":{"minFps":30,"minBandwidth":0,"extTitleId":"ps3","version":1,"timeLimit":1,"startTimeout":100,"afkTimeout":100,"afkTimeoutDisconnect":100},"konan":{"ps3AccessToken":"accessToken","ps3RefreshToken":"refreshToken"},"requestGameSpecification":{"model":"bravia_tv","platform":"android","audioChannels":"5.1","language":"sp","acceptButton":"X","connectedControllers":["xinput","ds3","ds4"],"yuvCoefficient":"bt601","videoEncoderProfile":"hw4.1","audioEncoderProfile":"audio1"},"userProfile":{"onlineId":"psnId","npId":"npId","region":"US","languagesUsed":["en","jp"]},"handshakeKey":"+SVv2tbHWgyCS0I0Vbj7Hw=="}
[2020-04-25 18:45:17:472472] [V] Pushed seq num 0x5af1 into Takion Send Buffer
[2020-04-25 18:45:17:473473] [V] Takion received data ack with cumulative_seq_num = 0x5af1, a_rwnd = 0x19000, gap_ack_blocks_count = 0, dup_tsns_count = 0
[2020-04-25 18:45:17:473473] [V] Acked seq num 0x5af1 from Takion Send Buffer
[2020-04-25 18:45:17:480480] [I] BANG received
[2020-04-25 18:45:17:490490] [I] StreamConnection successfully received bang
[2020-04-25 18:45:17:491491] [I] Crypt has become available. Re-checking MACs of 0 packets
[2020-04-25 18:45:17:491491] [V] GKCrypt 2 thread starting
[2020-04-25 18:45:17:491491] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:491491] [V] GKCrypt 3 thread starting
[2020-04-25 18:45:17:491491] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:491491] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x1000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:491491] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x1000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:491491] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x2000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:491491] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x2000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:491491] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x3000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:491491] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x3000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:491491] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x4000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:492492] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x4000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:492492] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x5000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:492492] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x5000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:492492] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x6000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:492492] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x6000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:492492] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x7000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:492492] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x7000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:492492] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x8000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:493493] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x8000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:493493] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x9000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:493493] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x9000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:493493] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0xa000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:493493] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0xa000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:493493] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0xb000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:493493] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0xb000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:493493] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0xc000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:493493] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0xc000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:493493] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0xd000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:493493] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0xd000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:493493] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0xe000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:494494] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0xe000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:494494] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0xf000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:494494] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0xf000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:494494] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x10000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:494494] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x10000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:494494] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x11000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:494494] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x11000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:494494] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x12000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:494494] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x12000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:494494] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x13000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:494494] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x13000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:495495] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x14000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:495495] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x14000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:495495] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x15000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:495495] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x15000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:495495] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x16000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:495495] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x16000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:495495] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x17000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:495495] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x17000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:495495] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x18000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:495495] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x18000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:496496] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x19000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:496496] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x19000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:496496] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x1a000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:496496] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x1a000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:496496] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x1b000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:496496] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x1b000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:496496] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x1c000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:496496] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x1c000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:496496] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x1d000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:497497] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x1e000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:497497] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x1d000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:497497] [V] GKCrypt 3 key buf size 0x20000, start offset: 0, populated: 0x1f000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:497497] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x1e000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:497497] [V] GKCrypt 2 key buf size 0x20000, start offset: 0, populated: 0x1f000, min key pos: 0, last key pos: 0, generating next chunk
[2020-04-25 18:45:17:727727] [D] StreamConnection received audio header:
[2020-04-25 18:45:17:727727] [D] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[2020-04-25 18:45:17:727727] [D]      0 02 10 00 00 bb 80 00 00 01 e0 00 00 00 01       ..............  
[2020-04-25 18:45:17:727727] [I] Audio Header:
[2020-04-25 18:45:17:727727] [I]   channels = 2
[2020-04-25 18:45:17:727727] [I]   bits = 16
[2020-04-25 18:45:17:727727] [I]   rate = 48000
[2020-04-25 18:45:17:727727] [I]   frame size = 480
[2020-04-25 18:45:17:727727] [I]   unknown = 1
[2020-04-25 18:45:17:727727] [I] ChiakiOpusDecoder initialized
[2020-04-25 18:45:19:157157] [I] Audio Device Default Output Device opened with 2 channels @ 48000 Hz, buffer size 9600
[2020-04-25 18:45:19:157157] [I] Video Profiles:
[2020-04-25 18:45:19:157157] [I]   0: 640x360
[2020-04-25 18:45:19:157157] [V] Pushed seq num 0x5af2 into Takion Send Buffer
[2020-04-25 18:45:19:158158] [I] StreamConnection successfully received streaminfo
[2020-04-25 18:45:19:158158] [E] Takion dropping data with seq num 0x10b4b309
[2020-04-25 18:45:19:158158] [E] Takion dropping data with seq num 0x10b4b309
[2020-04-25 18:45:19:158158] [E] Takion dropping data with seq num 0x10b4b309
[2020-04-25 18:45:19:158158] [V] StreamConnection received data
[2020-04-25 18:45:19:158158] [V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[2020-04-25 18:45:19:158158] [V]      0 08 03                                           ..              
[2020-04-25 18:45:19:158158] [E] Takion dropping data with seq num 0x10b4b309
[2020-04-25 18:45:19:158158] [E] Takion dropping data with seq num 0x10b4b30a
[2020-04-25 18:45:19:158158] [E] Takion dropping data with seq num 0x10b4b309
[2020-04-25 18:45:19:158158] [E] Takion dropping data with seq num 0x10b4b30a
[2020-04-25 18:45:19:158158] [E] Takion dropping data with seq num 0x10b4b309
[2020-04-25 18:45:19:159159] [E] Takion dropping data with seq num 0x10b4b30a
[2020-04-25 18:45:19:159159] [E] Takion dropping data with seq num 0x10b4b309
[2020-04-25 18:45:19:160160] [V] Takion received data ack with cumulative_seq_num = 0x5af2, a_rwnd = 0x19000, gap_ack_blocks_count = 0, dup_tsns_count = 0
[2020-04-25 18:45:19:160160] [V] Acked seq num 0x5af2 from Takion Send Buffer
[2020-04-25 18:45:22:095095] [V] Pushed seq num 0x5af3 into Takion Send Buffer
[2020-04-25 18:45:22:095095] [V] Ctrl received message of type 0xfe, size 0
[2020-04-25 18:45:22:095095] [V] StreamConnection sent heartbeat
[2020-04-25 18:45:22:095095] [I] Ctrl received Heartbeat, sending reply
xXSkyWalkerXx1 commented 4 years ago

Sadly I still get a crash too.

1) PS4 automatical detected 2) I click on the PS4 icon 3) Start Stream Session 4) Crash - I get the windows error/crash message

FalconX14 commented 4 years ago

Same for me, on a clean installed Windows 10 PC.

On another Windows 10 machine (laptop) I can hear sound, but screen stays black. The sounds is a bit stuttering. With the Sony PS4 remote software I have fluent connection.

vaapi can't be selected on both machines - an error message appears (avcodec_get_hw_config failed)

hobby-lc commented 4 years ago

Dear all with such crash issue in Windows 10 (i.e. program crash without any error message). I complied a test build here. Would you please run the test build here and let me know if the program run without crash, the video displayed correctly but without sound?

@thestr4ng3r OS/Distribution: Microsoft Windows [Version 10.0.19041.208] Hardware: Intel N3150 4G Ram Exact Version or Commit Hash and Installation Method: Release v1.2.0 and https://github.com/thestr4ng3r/chiaki/commit/6d02714d0e348c1f08b3af18c41351e50016176f

Program crash after a few second of the black screen window popped up.

I debug the latest master https://github.com/thestr4ng3r/chiaki/commit/6d02714d0e348c1f08b3af18c41351e50016176f on my own Windows 10 machine. The debug output

Exception thrown at 0x00007FF70D2E816F in chiaki.exe: 0xC000001D: Illegal Instruction.

at the code below: https://github.com/thestr4ng3r/chiaki/blob/6d02714d0e348c1f08b3af18c41351e50016176f/lib/src/opusdecoder.c#L105

I changed the code as below and the video show without crash.

int r = 0;

For your information and thank you very much.

FalconX14 commented 4 years ago

I have tested the Testbuild, I get the error: Unknown Session request error

xXSkyWalkerXx1 commented 4 years ago

Dear all with such crash issue in Windows 10 (i.e. program crash without any error message). I complied a test build here. Would you please run the test build here and let me know if the program run without crash, the video displayed correctly but without sound?

@thestr4ng3r OS/Distribution: Microsoft Windows [Version 10.0.19041.208] Hardware: Intel N3150 4G Ram Exact Version or Commit Hash and Installation Method: Release v1.2.0 and 6d02714

Program crash after a few second of the black screen window popped up.

I debug the latest master 6d02714 on my own Windows 10 machine. The debug output

Exception thrown at 0x00007FF70D2E816F in chiaki.exe: 0xC000001D: Illegal Instruction.

at the code below: https://github.com/thestr4ng3r/chiaki/blob/6d02714d0e348c1f08b3af18c41351e50016176f/lib/src/opusdecoder.c#L105

I changed the code as below and the video show without crash.

int r = 0;

For your information and thank you very much.

Thanks, it works now without any crash! :) But sadly I can only use Mouse&Keyboard, if I try to connect my controller the session quits. I think this isn't on Chiaki 1.1.3, so could you please fix the error there too? You would be soo helpful for me! :3rd_place_medal:

ps. if chiaki lags, use 30 FPS instead of 60.

vbajs commented 4 years ago

Dear all with such crash issue in Windows 10 (i.e. program crash without any error message). I complied a test build here. Would you please run the test build here and let me know if the program run without crash, the video displayed correctly but without sound?

@thestr4ng3r OS/Distribution: Microsoft Windows [Version 10.0.19041.208] Hardware: Intel N3150 4G Ram Exact Version or Commit Hash and Installation Method: Release v1.2.0 and 6d02714

Program crash after a few second of the black screen window popped up.

I debug the latest master 6d02714 on my own Windows 10 machine. The debug output

Exception thrown at 0x00007FF70D2E816F in chiaki.exe: 0xC000001D: Illegal Instruction.

at the code below: https://github.com/thestr4ng3r/chiaki/blob/6d02714d0e348c1f08b3af18c41351e50016176f/lib/src/opusdecoder.c#L105

I changed the code as below and the video show without crash.

int r = 0;

For your information and thank you very much.

Thank you for the test bulid, chiaki now works without crash but there's an issue of no audio being output, just video output I can confrim that, for me atleast, chiaki works at 720p 60fps without any lag or issues

thestr4ng3r commented 4 years ago

Thank you for the test bulid, chiaki now works without crash but there's an issue of no audio being output, just video output

Well yes that is expected since the suggested change essentially disables audio decoding.

Hardware: Intel N3150 4G Ram

This is actually a very good hint. It might be due to certain x86 extension not being available. Can everybody who experiences these issues please specify which CPU they run on?

vbajs commented 4 years ago

Well yes that is expected since the suggested change essentially disables audio decoding.

Ah, I should have researched the code more carefully. I thought OPUS was responsible for video+audio decoding :-P

Hardware: Intel N3150 4G Ram

This is actually a very good hint. It might be due to certain x86 extension not being available. Can everybody who experiences these issues please specify which CPU they run on?

For me, it's a Intel Core 2 Duo T5800. With a GPU being Nvidia Geforce 9300 GS if issue may be also related with GPU

They are both an ancient specs and that's because I'm using a laptop from 2008. Yet, it works perfectly fine with the official remote play app and chiaki (with OPUS skipped as mentioned earlier)

vbajs commented 4 years ago

So something interesting happens when I try to replicate the issue over Linux with the latest release of 1.2.0

I get both audio and video for a few seconds alongside with graphical glitches then it proceeds to crash. This is as opposed to the behavior over Windows where it crashes instantly without attempting to decode both video and audio output like Linux. I can also in these seconds, control just fine with both video and audio output This was all tested over the latest build of lubuntu, version 20.04 LTS, over live-CD Not sure if the graphical glitches and crashes are caused due to operating over live-CD, but I'll soon try to free some space to temporarily dual boot between lubuntu and windows or make a virtual machine but with another Linux distro with 32-bit support since the CPU I'm using does not have Vt-x support.

Here's logs if it indicates that the issue is isolated to Windows:- chiaki_session_2020-05-23_19-03-36-012012.log

FalconX14 commented 4 years ago

Thank you for the test bulid, chiaki now works without crash but there's an issue of no audio being output, just video output

Well yes that is expected since the suggested change essentially disables audio decoding.

Hardware: Intel N3150 4G Ram

This is actually a very good hint. It might be due to certain x86 extension not being available. Can everybody who experiences these issues please specify which CPU they run on?

I have the same CPU (N3150) in my mini pc and in my laptop it's an i5-4310

thestr4ng3r commented 4 years ago

Thanks for the all the info, this should be enough for now.

xXSkyWalkerXx1 commented 4 years ago

Thanks for the all the info, this should be enough for now.

You should add the option to enable & disable the audio to bypass Opus. Also since Chiaki 1.2.0 I can't use my controller anymore, I'm forced to use my tastatur (also I can't even aim with my mouse).

thestr4ng3r commented 4 years ago

Disabling the feature would probably take more time than fixing it, so that is not an option. Also, this issue is not about controllers or tastaturs.

vbajs commented 4 years ago

So I have now tried chiaki again on linux, this time being dual boot with windows to simulate a linux machine + using nvidia drivers as compared to Xorg.

Turns out, the issue is not being reproduced at all on linux and getting both audio and video output with no graphical glitches and crashes (as opposed testing it on LiveCD)

The only reason I was testing on linux was to see if the issue is a hardware limitation issue and may not be resolved, but now, those results from testing it on linux gives a relief as I have confirmed the issue is isolated to Windows only

I hope a fix gets implemented for windows users!

EDIT: I'm not sure if this issue is related to opus but I experience random audio clipping on linux, nonetheless, pretty solid and stable experience

hobby-lc commented 4 years ago

@thestr4ng3r I compiled CHIAKI https://github.com/thestr4ng3r/chiaki/commit/e116d3fa4c6f9b85652a2e19158ffb60d04f2e96and with updated OPUS source to the latest https://github.com/xiph/opus/commit/4d40636748da8aefd2e17b18c6897199838af77f and it seems that the crash is fixed.

Thank you very much.

Dear all,

Would you please test the build in the link below and see if the crash fixed on your computer and report back? Thank you very much.

https://github.com/hacker-lc/chiaki/releases/download/opus-4d40636-testbuild/Chiaki-OPUS@4d40636.7z

vbajs commented 4 years ago

Dear all,

Would you please test the build in the link below and see if the crash fixed on your computer and report back? Thank you very much.

https://github.com/hacker-lc/chiaki/releases/download/opus-4d40636-testbuild/Chiaki-OPUS@4d40636.7z

Thanks for the test bulid, I booted back to windows to test this and it works without any more crashes and with video and audio output

A note to add for others who want to test, this bulid has only 2 files, chiaki.exe and chiaki.pdp, running them alone will spit out "reinstall program" errors Please download either the previous test bulid from hacker-lc or latest bulid (1.2.0) and then overwrite the chiaki.exe and chiaki.pdp files with the ones from the link above and then you can safely run the chiaki.exe

Moving on, remember when I mentioned that on linux when I tried the lastest bulid (v1.2.0), I experence random audio clipping?

EDIT: I'm not sure if this issue is related to opus but I experience random audio clipping on linux, nonetheless, pretty solid and stable experience

The same is experienced on windows, except it is not random, it is rather constant. Reducing the audio buffer size makes it worse and increasing it just makes it lower volume but it is still there. This was tested with overwriting the 2 files mentioned earlier with the ones on the link provided on latest verison 1.2.0.

Here's logs if it can help chiaki_session_2020-05-28_20-07-31-169169.log

Edit: fixed silly typos

vbajs commented 4 years ago

An update regarding to the comment above

It seems that I was experiencing issue #1 and following the instructions from this comment https://github.com/thestr4ng3r/chiaki/issues/1#issuecomment-585060740 has fixed the issue.

Once again, many thanks to hacker-lc for providing a patch-like fix for this issue!