Make sure you are running the latest version before reporting an issue.
Hardware
Device
Connection Method
Screen
Mobile Device
Android Auto Version
Raspberry Pi 4 2GB
USB Cable/wireless
7" Screen
pixel 7
v.1.EXAMPLE
Raspberry Pi 3 1GB
USB Cable
7" Screen
pixel 7 / redmi 9t
v.1.EXAMPLE
x86 laptop
USB Cable
-
pixel 7 / redmi 9t
v.1.EXAMPLE
Installation Method: Install.sh
Description of problem:
White screen is displayed in place of AA when RtAudio is enabled
Expected Result:
AA is displayed
Problem-relevant steps to reproduce:
enable RtAudio in AA page settings
Additional info:
This fix seems to be working consistently for me testing on ubuntu x86 for debugging, pi4 2gb in use as dash and on a spare rpi3 with fresh raspberry pi os installation.
Only pi4 was tested with wireless connection.
Changing this line in openauto/openauto/Projection/RtAudioOutput.cpp (line 36) from LINUX_PULSE to LINUX_ALSA has fixed the white screen problem for me and is working consistently.
With pulse when open() is called it seems to fail at if(dac_->getDeviceCount() > 0) for the first two calls completely skipping them then proceeds with third call with devicecount = 1 for samplerate = 16k.
I also tested calling it before the if satetement and placing the value into a int variable with try catch but same thing happens.
When this happens and the video output section is called it seems nothing is processed (no video stream opened) so a white screen is displayed instead, noticed this when with QTAudio is enabled h264 header replacement code is called but not with RtAudio.
Issue
Make sure you are running the latest version before reporting an issue.
Hardware
Installation Method: Install.sh
Description of problem:
White screen is displayed in place of AA when RtAudio is enabled
Expected Result:
AA is displayed
Problem-relevant steps to reproduce:
enable RtAudio in AA page settings
Additional info:
This fix seems to be working consistently for me testing on ubuntu x86 for debugging, pi4 2gb in use as dash and on a spare rpi3 with fresh raspberry pi os installation. Only pi4 was tested with wireless connection.
Changing this line in openauto/openauto/Projection/RtAudioOutput.cpp (line 36) from LINUX_PULSE to LINUX_ALSA has fixed the white screen problem for me and is working consistently.
to
With pulse when open() is called it seems to fail at if(dac_->getDeviceCount() > 0) for the first two calls completely skipping them then proceeds with third call with devicecount = 1 for samplerate = 16k. I also tested calling it before the if satetement and placing the value into a int variable with try catch but same thing happens. When this happens and the video output section is called it seems nothing is processed (no video stream opened) so a white screen is displayed instead, noticed this when with QTAudio is enabled h264 header replacement code is called but not with RtAudio.