batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
1.9k stars 491 forks source link

Very low audio volume on rk3326-rk3326 v37 #9323

Open B4rabbas opened 1 year ago

B4rabbas commented 1 year ago

The volume setup at 100% is very low, need to put my ear on the speaker to distinct sound. Here is any workaround to maximize the audio volume up than 100%.

edit : the audio profile have been set up in options.

B4rabbas commented 1 year ago

I've found a workaround : after switch audio profile, I have switch audio output 3 or 4 times, then I have put audio profile and audio output back to auto -> the sound volume is normal. I don't close the issue yet, because I've encountered it 2 times on my rg351p (on 2 fresh install), if someone wanna try to reproduce it.

B4rabbas commented 1 year ago

Issue come back every time I start the system, definitly not close, any way the workaround still work but don't really fix the issue.

lostboykev commented 1 year ago

Also have low volume to speakers at 100% volume. Tried your workaround on my my Odroid Go Advance and my Anbernic RG351P with no luck. On the latest stable v37 from mid June for both.

MiningMarsh commented 11 months ago

This can be fixed by putting the following command in your custom.sh:

amixer -c 0 sset Playback 100%

For some reason, on boot, the rockchip codecs volume is set to 55%. Even if the alsa system volume is set to 100%, sound will remain quiet until you set the actual codecs playback volume to 100%. The codec is the only playback device, so it should always be guaranteed to be card 0 for alsa.

EDIT: For whatever reason, I also had to set the sound output to Headphones and not Speaker. This still plays through the speakers unless headphones are connected, but the sound is loud again. I'm assuming the control I'm setting there is probably the one for the headphone output. There might be another control you can set just for the "Speaker" sound output, but this works fine for me.

joinski1 commented 10 months ago

I just tested the current v38 butterfly (from yesterday 01.10.23) and issue with low volume (about 50% actual volume, when set to 100%) still persists.

n2qz commented 10 months ago

On rg351m I have audio output set to HEADPHONE, audio profile set to ROCKCHIP.RK817-CODECPRO AUDIO and output from the speaker is acceptable. I'm not sure why setting the output to HEADPHONE gives better results on the speaker, but I've been using this workaround since around v35.

chris-gif commented 2 months ago

On rg351p I have audio output set to HEADPHONE, audio profile set to ROCKCHIP.RK817-CODECPRO AUDIO and output from the speaker is acceptable. but when reboot i must set it again.v39

chippiearnold commented 1 week ago

On rg351p I have audio output set to HEADPHONE, audio profile set to ROCKCHIP.RK817-CODECPRO AUDIO and output from the speaker is acceptable. but when reboot i must set it again.v39

Just done a fresh install of V39 on RG351P, your settings specified above worked for me, however I found that it also survives a reboot, just for info.