<div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br></div><div>Thanks for your great work on getting chromium browser to support h264 on raspberry pi.<br></div><div><br></div>I am trying to build chromium browser for raspberry pi 3 through yocto using meta-raspberrypi. <br><br></div>The version(chromium-54.0.2810.2) is older than what is used in rasbian(57.0.2987.98-1~deb8u1).<br><br></div>I get it to build and run but i get some error messages:<br><br>raspberrypi3:/usr/bin/<wbr>chromium$ DISPLAY=:0.0 ./chrome                      <wbr>         <br>[691:691:0712/124452:ERROR:gl_<wbr>surface_glx.cc(383)] glxQueryVersion failed<br>[691:691:0712/124452:ERROR:gl_<wbr>initializer_x11.cc(130)] GLSurfaceGLX::InitializeOneOff failed.<br>[691:691:0712/124452:ERROR:<wbr>gpu_child_thread.cc(348)] Exiting GPU process due to errors during initialization<br>[662:681:0712/124453:ERROR:<wbr>browser_gpu_channel_host_<wbr>factory.cc(123)] Failed to launch GPU process.<br>[662:681:0712/124453:ERROR:<wbr>browser_gpu_channel_host_<wbr>factory.cc(123)] Failed to launch GPU process.<br>[662:662:0712/124458:ERROR:<wbr>navigation_entry_screenshot_<wbr>manager.cc(141)] Invalid entry with unique id: 1<br>[1:8:0712/124501:ERROR:<wbr>WaitUntilObserver.cpp(144)] Not implemented reached in void blink::WaitUntilObserver::<wbr>reportError(const blink::ScriptValue&)<br>[662:775:0712/124505:ERROR:<wbr>object_proxy.cc(583)] Failed to call method: org.freedesktop.UPower.<wbr>EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.<wbr>ServiceUnknown: The name org.freedesktop.UPower was not provided<br><br><br></div>And i can't get h264 support in webrtc for encoding and decoding.<br><br></div>I've tried the following two  configurations without luck:<br><br>#PREFERRED_PROVIDER_virtual/<wbr>libgl = "mesa-gl"<br>#PREFERRED_PROVIDER_virtual/<wbr>libgles2 = "userland"<br>#PREFERRED_PROVIDER_virtual/<wbr>egl = "userland"<br>#PREFERRED_PROVIDER_virtual/<wbr>mesa = "mesa-gl"<br><br>PREFERRED_PROVIDER_virtual/<wbr>libgl = "mesa"<br>PREFERRED_PROVIDER_virtual/<wbr>libgles2 = "mesa"<br>PREFERRED_PROVIDER_virtual/egl = "mesa"<br>PREFERRED_PROVIDER_virtual/<wbr>mesa = "mesa"<br><br></div>And the following package configs..<br><br>#PACKAGECONFIG ??= "use-egl build-chromedriver"<br>PACKAGECONFIG ??= "use-egl build-chromedriver proprietary-codecs kiosk-mode"<br><br></div><div>I have downloaded your source-packages for chromium-browser for raspberry pi.<br><br></div><div>I was hoping you could point me in the right direction.<br><br></div><div>1. Is it possible to get h264 support in chromium-54.0.2810.2 on raspberry pi?<br><br></div><div>2. What build parameters do I need?<br><br></div><div>2.1 I see you use the following parameters:<br><br>is_clang=false<br>clang_use_chrome_plugins=false<br>target_extra_ldflags=\"-Wl,--stats\"<br>target_extra_cxxflags=\"-fno-delete-null-pointer-checks\"<br>host_cpu=arm<br>is_debug=false<br>use_gtk3=false<br>use_ozone=false<br>use_gconf=false<br>use_sysroot=false<br>use_vulcanize=false<br>use_gnome_keyring=false<br>rtc_libvpx_build_vp9=false<br>treat_warnings_as_errors=false<br>enable_nacl=false<br>enable_nacl_nonsfi=false<br>enable_google_now=false<br>enable_hangout_services_extension=false<br>enable_iterator_debugging=false<br>gold_path=\"\"<br>linux_use_bundled_binutils=false<br>use_gio=true<br>use_gold=true<br>use_pulseaudio=true<br>link_pulseaudio=true<br>enable_widevine=true<br>proprietary_codecs=true<br>ffmpeg_branding=\"Chrome\"<br>fieldtrial_testing_like_official_build=true<br><br></div><div>--exclude chrome-sandbox<br><br></div><div>2.2 Am I missing any important parameters?<br></div><div><br></div><div>2.3 What are the most important parameters in my case?<br></div><div><br></div><div><br></div><div>3. What providers are necessary for videocore support and for h264 support? <br><br></div><div><br><br><br></div><div>Best regards,<br></div><div>Roy<br></div></div>