08-03-2018, 10:55 AM
(07-31-2018, 03:40 PM)boudiicca Wrote:(07-31-2018, 07:48 AM)dukla2000 Wrote:(07-31-2018, 06:31 AM)steamiestoyster Wrote: removing pulseaudio fixed the video playback speed. Now to get the sound working...
First check which card the HDMI is (on RP64 its card 2), then set ~/.asoundrc accordingly. Mine are below.
Code:$ aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: rockchipes8316c [rockchip,es8316-codec], device 0: ff890000.i2s-ES8316 HiFi ES8316 HiFi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: ROCKCHIPSPDIF [ROCKCHIP,SPDIF], device 0: ff870000.spdif-dit-hifi dit-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: rkhdmidpsound [rk-hdmi-dp-sound], device 0: HDMI-DP multicodec-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
chris@rockpro64:~$ cat .asoundrc
pcm.!default {
type hw
card 2
}
ctl.!default {
type hw
card 2
}
Yep...removing pulseaudio and setting the .asoundrc as per.....sorted....cheers!
heads up.....a fix is coming in the next kernel...should sort it permanently.
Followed the instruction, video now play at the correct speed, but still no sound
Code:
sudo apt-get remove --purge pulseaudio
Code:
rock64@rockpro64:~$ cat .asoundrc
pcm.!default {
type hw
card 2
}
ctl.!default {
type hw
card 2
}
rock64@rockpro64:~$ aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: rockchipes8316c [rockchip,es8316-codec], device 0: ff890000.i2s-ES8316 HiFi ES8316 HiFi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: ROCKCHIPSPDIF [ROCKCHIP,SPDIF], device 0: ff870000.spdif-dit-hifi dit-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: rkhdmidpsound [rk-hdmi-dp-sound], device 0: HDMI-DP multicodec-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0