HDMI audio solved
#1
Hi,

If you are unable to hear HDMI audio with your rockpro64 and the latest Linux release, you need to follow the instructions on setting PulseAudio default audio output
https://wiki.archlinux.org/index.php/Pul...put_source

Once you set the default to the HDMI, your audio will be routed to your HDMI monitor / TV

BTW - this also fixed the double playing speed on YouTube. Playing is at normal speed

Good luck

Yoram
#2
Hmm - not sure if I am on the same page. If I run

Code:
$ uname -a
Linux rpro64.dukla.net 4.4.154-1122-rockchip-ayufan-g7859b9b904a9 #1 SMP Mon Oct 1 07:32:42 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

I now have all kinds of sound problems that I never had with 4.4.132. In short
1) If pulseaudio is installed then any ALSA access (e.g. aplay -l) causes a complete hang
2) If pulseaudio is NOT installed then sound through HDMI is fine for 1 use only. Thereafter it does not play and the log collects

Code:
[   82.081872] rockchip-i2s ff8a0000.i2s: fail to clear
[   82.352420] rockchip-i2s ff8a0000.i2s: fail to clear
[   82.609699] rockchip-i2s ff8a0000.i2s: fail to clear
[   82.868824] rockchip-i2s ff8a0000.i2s: fail to clear
[   83.116015] rockchip-i2s ff8a0000.i2s: fail to clear
[   83.336821] rockchip-i2s ff8a0000.i2s: fail to clear
[   83.589797] rockchip-i2s ff8a0000.i2s: fail to clear
[   83.825620] rockchip-i2s ff8a0000.i2s: fail to clear
[   84.099204] rockchip-i2s ff8a0000.i2s: fail to clear
[   84.344286] rockchip-i2s ff8a0000.i2s: fail to clear
[   84.599575] rockchip-i2s ff8a0000.i2s: fail to clear
[   84.833863] rockchip-i2s ff8a0000.i2s: fail to clear
[   85.073684] rockchip-i2s ff8a0000.i2s: fail to clear
[   85.341227] rockchip-i2s ff8a0000.i2s: fail to clear
[   85.600059] rockchip-i2s ff8a0000.i2s: fail to clear
[   85.816456] rockchip-i2s ff8a0000.i2s: fail to clear
[   86.074480] rockchip-i2s ff8a0000.i2s: fail to clear
[   86.379318] rockchip-i2s ff8a0000.i2s: fail to clear
[   86.608908] rockchip-i2s ff8a0000.i2s: fail to clear
[   86.701377] rockchip-i2s ff8a0000.i2s: fail to clear
[   87.092289] rockchip-i2s ff8a0000.i2s: fail to clear
[   87.336053] rockchip-i2s ff8a0000.i2s: fail to clear
[   87.557827] rockchip-i2s ff8a0000.i2s: fail to clear
[   87.813607] rockchip-i2s ff8a0000.i2s: fail to clear
[   88.046203] rockchip-i2s ff8a0000.i2s: fail to clear
[   88.297553] rockchip-i2s ff8a0000.i2s: fail to clear
[   88.534697] rockchip-i2s ff8a0000.i2s: fail to clear
[   88.749587] rockchip-i2s ff8a0000.i2s: fail to clear
[   89.004934] rockchip-i2s ff8a0000.i2s: fail to clear
[   89.251929] rockchip-i2s ff8a0000.i2s: fail to clear
[   89.484743] rockchip-i2s ff8a0000.i2s: fail to clear
[   89.740515] rockchip-i2s ff8a0000.i2s: fail to clear
[   89.995896] rockchip-i2s ff8a0000.i2s: fail to clear
[   90.251861] rockchip-i2s ff8a0000.i2s: fail to clear
[   90.503867] rockchip-i2s ff8a0000.i2s: fail to clear
[   90.759484] rockchip-i2s ff8a0000.i2s: fail to clear
[   90.991677] rockchip-i2s ff8a0000.i2s: fail to clear
[   91.252414] rockchip-i2s ff8a0000.i2s: fail to clear
[   91.448860] rockchip-i2s ff8a0000.i2s: fail to clear
[   91.683505] rockchip-i2s ff8a0000.i2s: fail to clear
[   91.764983] rockchip-i2s ff8a0000.i2s: fail to clear
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
#3
Updating this thread since it is the first google result for "rockpro64 hdmi audio"...

In my case I had to change my kernel to 4.4.138-1100-rockchip-ayufan-g95cecee47f40 to finally make HDMI audio work. Many other kernels were just emitting a high pitch cricketing-like sound and slowing down videos.

To get the image with the good kernel you ca use:


Code:
sudo apt install linux-image-4.4.138-1100-rockchip-ayufan-g95cecee47f40



And then use the change-default-kernel.sh script to select it:


Code:
sudo su
 . /usr/local/sbin/change-default-kernel.sh
reboot



If your /usr/local/sbin don't have the change-default-kernel script, you can update to the pre-release train by uncommenting the line on /etc/apt/sources.list.d/ayufan-rock64.list

then:


Code:
sudo apt-get update -y
sudo apt-get install linux-rock64 -y
sudo apt-get install linux-rockpro64 -y


yay! sound!


Possibly Related Threads…
Thread Author Replies Views Last Post
  A fix for Bluetooth audio stuttering on the RockPro64 raph 2 1,646 01-03-2023, 06:53 PM
Last Post: raph
  SPDIF output audio gaps jssfr 2 1,714 07-24-2022, 06:26 AM
Last Post: jssfr
  RockPro64 - HDMI and higher resolutions PakoSt 0 1,351 11-16-2021, 03:48 PM
Last Post: PakoSt
  No audio output with Manjaro Arm 20.04 Faradn 2 4,420 08-02-2020, 09:48 AM
Last Post: new-rockpro-user
  RockPro64 Linux Manjaro HDMI 4K mkne 12 14,522 05-03-2020, 07:23 AM
Last Post: PakoSt
  RockPro64 getting started - non-booting images [solved] new-rockpro-user 3 6,092 03-06-2020, 06:31 AM
Last Post: new-rockpro-user
  new rockpro64: images won't boot [solved] new-rockpro-user 0 2,429 11-20-2019, 12:42 PM
Last Post: new-rockpro-user
Lightbulb How-To, non-X11: Get 4K (>2560x1600) framebuffer, DRM, GBM, Kodi on HDMI fosf0r 14 17,464 12-17-2018, 11:57 AM
Last Post: fosf0r
  [SOLVED] No sound from phone-jack via "es8316" on rockpro64 t4_4t 14 19,793 11-28-2018, 04:32 PM
Last Post: dukla2000
  RockPro64 and 802.1q support [Solved] divek 2 3,045 11-04-2018, 11:15 AM
Last Post: divek

Forum Jump:


Users browsing this thread: 1 Guest(s)