Chrome or Chromium ? this is the problem.

Hello.

I would like to run chromium with widevine enabled so I tried to install it from the packages (I'm running 14.0 p6 and the latest packages),but unfortunately I didn't find it.

Code:
# pkg search chromium
chromium-bsu-0.9.16.1_3        Arcade-style, top-scrolling space shooter

At this point,I've installed the linux-chrome package,but as you can see,it does not work :

Code:
[marietto@marietto ~]==> chrome --enable-features=UseOzonePlatform %U
ld-elf.so.1: /usr/local/share/chromium/chrome: Undefined symbol "_ZN6snappy11RawCompressEPKcmPcPm"

Anyway,I see that chromium can be installed from ports. What's the difference between chrome and chromium actually ? I see some confusion between their names. Between the compilation options of the chromium port I see the option to enable widevine,so I suppose that I should install Chromium instead of linux-chrome,if I want to use it ?
 
Looking at the error, you are not running linux-chrome. To run linux-chrome, you need to invoke google-chrome (assuming that the pkg-plist from freshports is correct).
For the native chrome, on FreeBSD, there is chromium since Google is not providing a build for FreeBSD.
 
The package won't work with widevine; you have to build the port with option "WIDEVINE" enabled, which is off by default.

Also, Chromium and its direct descendants run into build timeout quite regularly, hence they are often missing from packages.
 
That is not true.

www/chromium
Code:
Configuration Options:
    ===> The following configuration options are available for chromium-125.0.6422.112:
         CODECS=on: Compile and enable patented codecs like H.264
         CUPS=on: CUPS printing system support
         DEBUG=off: Build with debugging support
         DRIVER=on: Install chromedriver
         KERBEROS=on: Kerberos support
         LTO=off: Use Link-Time Optimization
         PIPEWIRE=on: Screen capture via PipeWire
         TEST=off: Build and/or run tests
         WIDEVINE=off: Depend on foreign-cdm to enable playback of DRM content

www/ungoogled-chromium
Code:
Configuration Options:
    ===> The following configuration options are available for ungoogled-chromium-125.0.6422.112:
         CODECS=on: Compile and enable patented codecs like H.264
         CUPS=on: CUPS printing system support
         DEBUG=off: Build with debugging support
         DRIVER=on: Install chromedriver
         KERBEROS=on: Kerberos support
         LTO=off: Use Link-Time Optimization
         PIPEWIRE=on: Screen capture via PipeWire
         TEST=off: Build and/or run tests
         WIDEVINE=off: Depend on foreign-cdm to enable playback of DRM content
 
… chromium with widevine …

It's a working combination.

If you have a debug-oriented kernel e.g. GENERIC with FreeBSD-CURRENT, beware of attempting to play Widevine-protected content whilst htop runs; expect a kernel panic.

Whether the conflict is limited to htop, I don't know.
 
Back
Top