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
  Reply
#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, SM961 128GB NVMe for rootfs, HDMI video & sound, Bluetooth keyboard & mouse
Started Bionic minimal - now Cosmic, Openbox desktop for general purpose daily PC.
  Reply
#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!
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Lightbulb How-To, non-X11: Get 4K (>2560x1600) framebuffer, DRM, GBM, Kodi on HDMI fosf0r 14 1,465 12-17-2018, 11:57 AM
Last Post: fosf0r
  [SOLVED] No sound from phone-jack via "es8316" on rockpro64 t4_4t 14 2,945 11-28-2018, 04:32 PM
Last Post: dukla2000
  RockPro64 and 802.1q support [Solved] divek 2 310 11-04-2018, 11:15 AM
Last Post: divek

Forum Jump:


Users browsing this thread: 1 Guest(s)