openDsh / dash

Join us on Slack! https://join.slack.com/t/opendsh/shared_invite/zt-la398uly-a6eMH5ttEQhbtE6asVKx4Q
GNU General Public License v3.0
238 stars 69 forks source link

Another Whitescreen #124

Open icecube45 opened 2 years ago

icecube45 commented 2 years ago

Out of the blue I got a new whitescreen popping up - seemingly related to a google play services update(?) addition of capssetter (capssetter caps="video/x-h264,colorimetry=bt709") appears to have worked for now, before I (potentially) dig into this more - don't have my usual tools on me right now.

If someone else hits this new whitescreen and can confirm workaround with addition of capssetter in pipeline, I'll just add it to the whitescreen workaround code and call this good.

image

marpol1992 commented 2 years ago

Where add capssetter caps="video/x-h264,colorimetry=bt709 ?

robert5974 commented 2 years ago

Should be : https://github.com/openDsh/openauto/blob/develop/openauto/Projection/GSTVideoOutput.cpp#L63

robert5974 commented 2 years ago

@icecube45 is that right?

icecube45 commented 2 years ago

You'll want to throw it into the end of this line https://github.com/openDsh/openauto/blob/develop/openauto/Projection/GSTVideoOutput.cpp#L53=

But @marpol1992, are you hitting this white screen?

marpol1992 commented 2 years ago

I just have a white screen problem and I am looking for anything to solve it. Android auto on my phone starts correctly after connecting the phone to rpi and I have a white screen on the rpi screen. I noticed that I also get the error "channel error: Aasdk error code: 10, native code: 1". I have 7' 1024x600px sreen. Should I set something extra? Crankshaft work perfect but when install open auto and start autoapp or openDash on tab android auto show white screen

icecube45 commented 2 years ago

First, try turning off rtaudio in the openauto settings and see if that fixes your whitescreen, otherwise you can try the capssetter change as above.

marpol1992 commented 2 years ago

the first thing I did was change rtAudio. If I change capssetter do I need to recompile openauto?

robert5974 commented 2 years ago

Yes you'll have to recompile after making a change.

marpol1992 commented 2 years ago

like this? : const char* vidLaunchStr = "appsrc name=mysrc is-live=true block=false max-latency=100 do-timestamp=true stream-type=stream ! queue ! h264parse ! " capssetter caps="video/x-h264,colorimetry=bt709" OR ->

const char* vidLaunchStr = "appsrc name=mysrc is-live=true block=false max-latency=100 do-timestamp=true stream-type=stream ! queue ! h264parse ! " "capssetter caps="video/x-h264,colorimetry=bt709" ! " ?

icecube45 commented 2 years ago

You're close with the latter - you need to escape the quotes though. const char* vidLaunchStr = "appsrc name=mysrc is-live=true block=false max-latency=100 do-timestamp=true stream-type=stream ! queue ! h264parse ! capssetter caps=\"video/x-h264,colorimetry=bt709\" ! "

Let me know if this solves your problem, and I'll work on a proper PR for it

marpol1992 commented 2 years ago

Recompile and still white screen :( I don't understand what the problem is if I do what everyone and it doesn't work. I have RPI3B +, installed Raspberry Pi OS desktop, then full update and then dash.sh installation so what's the problem ....

IMG_20220519_093730

Romkq320 commented 2 years ago

Hello, maybe you found white sceeen issue, because i have the same error and white screen?

marpol1992 commented 2 years ago

Unfortunately, I did not find it, interesting ... I installed everything in the same way on rpi4 and it works well. Very interesting...

robert5974 commented 2 years ago

I have AA version 7.6 but no white screen. Using One Plus 8T. Maybe try updating if you don't have the latest?

rsjudka commented 1 year ago

this fixed now right?