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?
  Reply
#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, 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
(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.
  Reply
#4
it occurs on all video. from any default player. mkv x264, youtube, mp4. I have mentioned it on IRC, but will wait...
  Reply
#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, SM961 128GB NVMe for rootfs, HDMI video & sound, Bluetooth keyboard & mouse
Started Bionic minimal - now Cosmic, Openbox desktop for general purpose daily PC.
  Reply
#6
removing pulseaudio fixed the video playback speed. Now to get the sound working...
  Reply
#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
[email protected]:~$ cat .asoundrc
pcm.!default {
    type hw
    card 2
}

ctl.!default {
    type hw           
    card 2
}
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
#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
[email protected]:~$ 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.
  Reply
#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
[email protected]:~$ 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:
[email protected]:~$ cat .asoundrc
pcm.!default {
    type hw
    card 2
}

ctl.!default {
    type hw
    card 2
}
[email protected]:~$ 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
  Reply
#10
It seems the issue is that we don't have any drivers install with alsa for the hdmi. where are the rkhdmidpsound drivers?
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Big Grin Feature Complete Debian Desktop Release Mrfixit2001 152 16,826 10-09-2019, 05:42 PM
Last Post: bcnaz
  Release 0.9.14 Ubuntu Mate desktop, LXDE, OMV, Docker CE (container) Luke 0 265 08-30-2019, 09:29 AM
Last Post: Luke
Exclamation eMMC boot issue jwillmer 0 107 07-19-2019, 03:16 PM
Last Post: jwillmer
  computelibrary build issue with latest ubuntu 18 image rahulsharma 0 51 07-08-2019, 09:25 AM
Last Post: rahulsharma
  issue with kodi freezing randomly Slam 3 161 05-24-2019, 03:53 PM
Last Post: mknawabi
  Desktop battlenut 8 759 11-18-2018, 06:13 PM
Last Post: evilbunny
  Ubuntu Bionic LXDE Desktop /w Firefox and TightVNC stability HenryBenry 4 525 10-11-2018, 04:33 AM
Last Post: HenryBenry
  Issue with hwmon - Fan Stop after logout-Login tuxd3v 1 130 09-22-2018, 08:49 AM
Last Post: tuxd3v
  RockPro Wireless+Bluetooth Issue - Linux (ayufan 0.7.8 and previous) JeffD 23 3,852 09-16-2018, 12:08 AM
Last Post: romtorwator
  w(1), who(1) and uptime(1) don't count the desktop user lucho 5 293 08-15-2018, 04:54 AM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)