DEV Community

Discussion on: Howto: Building Chromium on Ozone-GBM for RPi4

Collapse
 
praveents profile image
praveents

I am trying to build the chromium-browser for a custom linux board using DRM/KMS. Below are the arg details used to build chromium.

While running chromium, I am getting DRM check failed.

FATAL:ozone_platform_drm.cc(90)] Check failed: false.

I have drm, kms library on target, and test code (non-ozone) works fine with DRM.

Is there anything that I am missing in build arguments and any thoughts why would ozone drm check failed would be of great help.

target_cpu = "arm"
arm_version = 7
target_os = "linux"
arm_arch = "armv7-a"
arm_float_abi = "hard"
arm_fpu = "neon"
arm_tune = "cortex-a9"
arm_use_neon = true
arm_use_thumb = true
dcheck_always_on = true
enable_nacl = false
has_native_accessibility = false
is_chrome_branded = false
is_debug = false
is_official_build = false
ozone_auto_platforms = false
use_ozone = true
ozone_platform_headless = true
ozone_platform = "drm"
ozone_platform_gbm = true
use_glib = false
use_gtk = false
use_pulseaudio = false
use_xkbcommon = false
use_cups = false
use_gio = false
use_kerberos = false
use_libpci = false
use_udev = false
rtc_use_pipewire = false
v8_enable_lazy_source_positions = false
use_pangocairo = false
enable_basic_printing = true
use_x11 = false
ozone_platform_drm = true

Thanks