nisargjhaveri / WirelessAndroidAutoDongle

Use Wireless Android Auto with a car that supports only wired Android Auto using a Raspberry Pi.
MIT License
658 stars 70 forks source link

Preformance boost #197

Open japuzzo opened 6 days ago

japuzzo commented 6 days ago

Given a new Raspberry Pi Zero 2W Edited /boot/config.txt

# Overclocking Rpi Z-2W slightly. Does not need heat-sink to support these slight improvements 
arm_freq=1085
gpu_freq=530
over_voltage=2
core_freq=515
sdram_freq=533
over_voltage_sdram=1

It did improve touch response times. Did not fix audio stuttering of FLAC files, but did help with MP3.

WARNING! If you do not know what over-clocking is do not attempt, do not modify! If you do not know what you are doing, you will brick your Rasbery Pi, destroy your car's internals leading to your tragic death! Thus DO NOT ATTEMPT anything if you don't understand what you are doing!!! You have been WARNED!!!

japuzzo commented 6 days ago

Did some more tweaking after looking at: https://www.raspberrypi.com/documentation/computers/config_txt.html

Upped the min frequency by the same about as the max. Did not force turbo because it may overheat unit. Removed GPU setting as that is not needed.

# Overclocking Rpi Zero 2W slightly. Does not need heat-sink to support these slight improvements 
arm_freq=1085
arm_freq_min=685
core_freq=515
core_freq_min=365
over_voltage=2
sdram_freq=533
over_voltage_sdram=1

WARNING! If you do not know what you are doing, you will brick your Pi, destroy your car which will cause your tragic death!

wsadzc commented 6 days ago

I'm very happy that this has effectively improved my unstable situation. I've also added passive cooling, otherwise the heat would be quite severe and could lead to damage.