PINE64

Full Version: super fast desktop experience, but youtube issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,

Been playing with the bionic-lxde-rockpro64-0.7.8-1061-arm64 image, the desktop experience is very good, really usable. There is one problem tho, YouTube and BBC iPlayer run a 4 time the normal speed. Any idea how to fix?
I am not normally a video user. But youtube inside Firefox seems fine to me.

Then again I have no video optimisations for my linux either. As per sig running minimal bionic 0.7.9, augmented to openbox desktop.
(07-29-2018, 02:17 PM)frewind Wrote: [ -> ]Hi,

Been playing with the bionic-lxde-rockpro64-0.7.8-1061-arm64 image, the desktop experience is very good, really usable. There is one problem tho, YouTube and BBC iPlayer run a 4 time the normal speed. Any idea how to fix?

I have the same issue. I first tried bionic minimal and I was having desktop issues. Switched to lxde to see if that was any better out of the box and ran into the same youtube issue. Haven't had time to troubleshoot. Trying to play a youtube video was literally the first thing I did to test the system. Tried in both chromium and firefox.
it occurs on all video. from any default player. mkv x264, youtube, mp4. I have mentioned it on IRC, but will wait...
I have a hunch this is to do with pulseaudio.

I started with minimal, DO NOT have pulseaudio installed, and have no problems with vlc, mpv(/rkmpv) or youtube.com inside firefox. Think I have all the correct video bits loaded (CPU usage seem pretty low with rkmpv), libmali-rk..., libdrm-rockchip1, xserver-xorg-video-armsoc etc.

Want to add pulseaudio and see if I get the problem but out of time for today
removing pulseaudio fixed the video playback speed. Now to get the sound working...
(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
}
(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.
(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 Sad

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
It seems the issue is that we don't have any drivers install with alsa for the hdmi. where are the rkhdmidpsound drivers?
Pages: 1 2