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

Bandwidth requirements for Android Auto? 480Mbps max? #163

Open
Chaos02 opened this issue Apr 16, 2024 · 5 comments
Open

Bandwidth requirements for Android Auto? 480Mbps max? #163

Chaos02 opened this issue Apr 16, 2024 · 5 comments

Comments

@Chaos02
Copy link

Chaos02 commented Apr 16, 2024

Hi, this is more of a discussion post than an issue. I have a question about the Android Auto bandwidth:
Does it benefit from USB 3.0 aka 5Gbps speeds?
I would like the smoothest possible experience and the best info I could find online would be that USB 2.0 is fully saturated but then no more.
Whats the bandwidth for wireless AA? I bet lower since you can see compression artifacts usually

@GreyAsteroid
Copy link

Based off of the leaked integration guide we have the requirement of >50 Mbits/s throughput and a max video bitrate of 8,000 kbits/s for 1080p 60 FPS. Though I haven't measured any actual bandwidth used, if we're going off of those numbers then USB 2.0 is more than enough for AA. Regarding wireless, it's not mentioned in the guide since it predates it but it's almost certainly a lower bandwidth.

@Chaos02
Copy link
Author

Chaos02 commented May 5, 2024

Based off of the leaked integration guide we have the requirement of >50 Mbits/s throughput and a max video bitrate of 8,000 kbits/s for 1080p 60 FPS. Though I haven't measured any actual bandwidth used, if we're going off of those numbers then USB 2.0 is more than enough for AA. Regarding wireless, it's not mentioned in the guide since it predates it but it's almost certainly a lower bandwidth.

thanks for that information!
With your input I can design my hardware to confidence now.
I hope this will be useful to someone else, I might try adding this to the wiki.
Will leave this open for further input tho

@pedrorosasb
Copy link

pedrorosasb commented May 11, 2024

Hi, this is more of a discussion post than an issue. I have a question about the Android Auto bandwidth: Does it benefit from USB 3.0 aka 5Gbps speeds? I would like the smoothest possible experience and the best info I could find online would be that USB 2.0 is fully saturated but then no more. Whats the bandwidth for wireless AA? I bet lower since you can see compression artifacts usually

Bro,
My suggestion for your setup is to use an USB 3.0 hub to avoid any problem. Don't forget to power the USB hub with an extra 5v power supply to avoid problems with Raspi PMIC. Here, my setup is composed by:

  1. RPi 4 4GB;
  2. 7 inch touchscreen display (RPi clone);
  3. SSD 120GB with USB3.0 adapter (connected directly in one of USB3.0 RPi ports);
  4. USB3.0 Hub (connected directly in one of USB3.0 RPi ports);
  5. Behringer UCA222;
  6. RTL-SDR Blog V4 R828D RTL2832U ;
  7. Generic USB Video Capture card with reverse camera;
  8. Generic Bluetooth dongle (Broadcom BT has been disabled).

P.S: Wireless AA only worked flawlessly after using 5.0 GHz WiFi. 2.4 GHz was very unstable.

@Chaos02
Copy link
Author

Chaos02 commented May 19, 2024

P.S: Wireless AA only worked flawlessly after using 5.0 GHz WiFi. 2.4 GHz was very unstable.

if I may ask: how did you configure the rPi hotspot to be 5GHz only during AA transmission?

@pedrorosasb
Copy link

P.S: Wireless AA only worked flawlessly after using 5.0 GHz WiFi. 2.4 GHz was very unstable.

if I may ask: how did you configure the rPi hotspot to be 5GHz only during AA transmission?

Chaos02,

I don't know which distro you are using (i.e Bullseye, Bookworm, etc.) but you can use the wireless manager to set the 5 GHz hotspot as the "preferable" network. Further, you can create a Python or bash script to connect to 5 GHz network before starting Openauto. So, after closing the app, your script will disconnect to 5 GHz hotspot and check if any 2.4 GHz network is available.

Well... there are many ways of doing it but I think it's the easiest way of doing, ok?

Regards, bro.

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

3 participants