saiarcot895 / chromium-ubuntu-build

Packaging files for building Chromium on Ubuntu
137 stars 32 forks source link

Building chromium with VAAPI #28

Open fatalkill3r opened 6 years ago

fatalkill3r commented 6 years ago

Hello Sai

I am trying to compile chromium 66.0.3359.26 with vaapi patch. Vaapi patch is applied successfully but the built chromium version does not has vaapi support enabled. On starting browser I cannot see vaapi libraries being loaded. I am using your patches. As per my understanding only "enable_vaapi_on_linux_2.diff" is required. Is there something I am missing ? Please help.

saiarcot895 commented 6 years ago

For getting the VAAPI libraries loaded, that should be the only patch needed. There is, however, a bugfix patch (specify-max-resolution.patch) needed for some platforms and hardware for the decoding to correctly work, but if the libraries aren't even getting loaded, then this patch won't change that.

Are you setting use_vaapi=true in the GN build flags?

fatalkill3r commented 6 years ago

Yes I am using this flag. Below is a list of all the flags which I am using. Any other thing which you can point to ? Or should I try any other version ?

is_debug = false is_component_build = true symbol_level = 0 enable_nacl = false remove_webcore_debug_symbols = true proprietary_codecs = true ffmpeg_branding = "Chrome" enable_widevine = true use_vaapi=true treat_warnings_as_errors=false is_desktop_linux=true fatal_linker_warnings=false target_os="linux" current_os="linux"

fatalkill3r commented 6 years ago

Hi I built version Chromium 67.0.3386.1 and having same issue. Vaapi libs are not being loaded. Browser is not even trying to load them. Any help ? Are the flags which I am using correct or I need to change them ?

Thanks.