Joshua-Riek / ubuntu-rockchip

Ubuntu for Rockchip RK35XX Devices
https://joshua-riek.github.io/ubuntu-rockchip-download/
GNU General Public License v3.0
2.13k stars 231 forks source link

Bug Report: widevine not supported #962

Closed nrpetonr closed 1 week ago

nrpetonr commented 1 month ago

What happened?

websites that require widevine are not working (amazon music, disney+, etc.) .i tried browser spoofing, did not work anymore.

Kernel version

6.1.0-1021-rockchip

SBC model

Orange PI 5+

What operating system are you seeing this problem on?

Ubuntu 24.04 LTS (Noble Nombat)

Relevant logs

ubuntu@ubuntu:~$` chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS aarch64 15236.80.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36"
[2710:2710:0731/182806.714110:ERROR:chrome_browser_cloud_management_controller.cc(162)] Cloud management controller initialization aborted as CBCM is not enabled.
[2753:2753:0731/182807.085219:ERROR:gl_display.cc(520)] EGL Driver message (Error) eglQueryDeviceAttribEXT: eglQueryDeviceAttribEXT
[2753:2753:0731/182807.085531:ERROR:gl_angle_util_vulkan.cc(189)] Failed to retrieve vkGetInstanceProcAddr
[2753:2753:0731/182807.085713:ERROR:vulkan_instance.cc(91)] Failed to get vkGetInstanceProcAddr pointer from ANGLE.
Failed to query video capabilities: Inappropriate ioctl for device
libv4l2: error PLUGIN: dlsym failed: /lib/libv4l-mplane.so: undefined symbol: libv4l2_plugin
Failed to query video capabilities: Inappropriate ioctl for device
libv4l2: error PLUGIN: dlsym failed: /lib/libv4l-mplane.so: undefined symbol: libv4l2_plugin
[2753:2753:0731/182811.203094:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[2753:2753:0731/182832.414965:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[2753:2753:0731/182835.025261:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 `times!
Joshua-Riek commented 1 month ago

Widevine has never worked on Ubuntu 24.04. Only on Ubuntu 22.04.

nrpetonr commented 1 month ago

Widevine has never worked on Ubuntu 24.04. Only on Ubuntu 22.04.

was not aware, thx. i just installed latest Ubuntu 22.04 release 2.3.0 just to test it is still working. ufnortunately even here it is hit and miss experience: amazon music - quits playing with errors after few seconds amazon video - working fine netflix - not working disney - working fine h

Joshua-Riek commented 1 month ago

It's not supposed to work on Ubuntu 24.04. But it should work on Ubuntu 22.04.

Also, there is no need to re-install your system when there is a new release. All updates and changes are available through apt.

nrpetonr commented 1 month ago

It's not supposed to work on Ubuntu 24.04. But it should work on Ubuntu 22.04.

Also, there is no need to re-install your system when there is a new release. All updates and changes are available through apt.

i was on 24.04 ;-) actually just testing from sd card, not yet fully reinstalling any special instructions to make it work on 22.04 or it should work out of the box?

Joshua-Riek commented 1 month ago

You will need to spoof the browser on 22.04 iirc.

nrpetonr commented 1 week ago

use this script followed by browser spoofing, to fix the problem with drm sources. enjoy...