super fast desktop experience, but youtube issue
#1
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?
#2
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.
  • 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
(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.
#4
it occurs on all video. from any default player. mkv x264, youtube, mp4. I have mentioned it on IRC, but will wait...
#5
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
  • 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
#6
removing pulseaudio fixed the video playback speed. Now to get the sound working...
#7
(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
}
  • 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
#8
(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.
#9
(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
#10
It seems the issue is that we don't have any drivers install with alsa for the hdmi. where are the rkhdmidpsound drivers?


Possibly Related Threads…
Thread Author Replies Views Last Post
Big Grin Feature Complete Debian Desktop Release Mrfixit2001 158 203,573 05-29-2021, 04:05 AM
Last Post: twilite
  UART4 in Debian Desktop Release of Mrfixit2001 Gienek 1 3,154 05-19-2020, 02:47 AM
Last Post: Gienek
  Release 0.9.14 Ubuntu Mate desktop, LXDE, OMV, Docker CE (container) Luke 1 3,627 12-10-2019, 01:30 PM
Last Post: Helium75
Exclamation eMMC boot issue jwillmer 0 2,261 07-19-2019, 03:16 PM
Last Post: jwillmer
  computelibrary build issue with latest ubuntu 18 image rahulsharma 0 1,914 07-08-2019, 09:25 AM
Last Post: rahulsharma
  issue with kodi freezing randomly Slam 3 4,431 05-24-2019, 03:53 PM
Last Post: mknawabi
  Desktop battlenut 8 10,715 11-18-2018, 06:13 PM
Last Post: evilbunny
  Ubuntu Bionic LXDE Desktop /w Firefox and TightVNC stability HenryBenry 4 5,923 10-11-2018, 04:33 AM
Last Post: HenryBenry
  Issue with hwmon - Fan Stop after logout-Login tuxd3v 1 2,739 09-22-2018, 08:49 AM
Last Post: tuxd3v
  RockPro Wireless+Bluetooth Issue - Linux (ayufan 0.7.8 and previous) JeffD 23 31,621 09-16-2018, 12:08 AM
Last Post: romtorwator

Forum Jump:


Users browsing this thread: 4 Guest(s)