widevine isn't supplied with the chromium deb on linux amd64. you are 
misinterpreting what the flag does. if bundled is not set, then you hit this 
case always and widevine is never checked 
https://source.chromium.org/chromium/chromium/src/+/main:chrome/common/media/cdm_registration.cc;l=207?q=%22Widevine%20enabled%20but%20no%20library%20found%22&ss=chromium
you get this error in log (which is what is happening on arm64 rn): 
`[31833:31833:0216/204151.842227:VERBOSE1:cdm_registration.cc(189)] Widevine 
enabled but no library found`
bundled being set does not actually result in widevine being downloaded from 
google and supplied along with chromium which is what you are assuming it means.

on linux amd64, windows x86/x64/arm64, macos x64/arm64, and cros
arm/arm64/x64 the BUNDLE_WIDEVINE_CDM flag gets set during the build for
chromium and chrome
https://chromium.googlesource.com/chromium/src/+/HEAD/third_party/widevine/cdm/widevine.gni#23

you could add an `|| target_cpu == "arm64"` under the linux case and get the 
same result as my patches I assume but I followed piOS and fedora 
chromium-freeworld's lead with their patches: 
https://github.com/rpmfusion/chromium-freeworld/blob/d2165a468332661df1439208eb930661caaa9f1e/chromium-enable-widevine.patch#L7-L8
https://github.com/RPi-Distro/chromium-browser/blob/ecaf4660a61064c1c2338131d6a4f0807c424123/debian/patches/widevine-other-locations#L19-L20

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/2008433

Title:
  Request to enable WidevineCDM checking on ARM64

Status in chromium-browser package in Ubuntu:
  New

Bug description:
  If possible, could you please include a patch to enable widevinecdm
  checking on ARM64 linux? currently BUNDLE_WIDEVINE_CDM does not get
  set for arm64 linux (but does on amd64 linux) so chromium does not
  even check for widevine even if we have it available and placed in the
  directory manually.

  I am currently using the attached patch of my making when testing
  locally to correct this issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2008433/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to