Hello community,
I am trying to compile the chromium-ozone-wayland based on Yocto hardknott (imx-5.10.35-2.0.0.xml) on IMX8MQEVK board, but the compilation fails with the error:
| Package dri was not found in the pkg-config search path.
| Perhaps you should add the directory containing `dri.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'dri' found
|
| See //content/gpu/BUILD.gn:141:18: which caused the file to be included.
| configs += [ "//build/config/linux/dri" ]
| ^-------------------------
| WARNING: exit code 1 from a shell command.
In my previous version (Yocto Warrior) I was able to fix it by adding this dependency:
DEPENDS += " mesa "
but this trick no longer works, has anyone successfully compiled chromium?
I know... There is no support for Chromium, I am just asking.
Solved! Go to Solution.
Just to let you know, I'm trying to buildby using this patch right now:
https://github.com/OSSystems/meta-browser/issues/528
Seach for "0013-Only-DRI-for-x11.txt" and adapt to your code version.
But, it takes a while to build Chromium, I'll post my finding later.
Hopefully DRI isn't needed on iMX8 and Wayland.
Cheers,
Jeroen.
Hi!
Thanks for pointing us out to the document. I've already gone through these steps.
Unfortunately, adding mesa to the depends, and building seperately still produced errors during do_configure().
Kind regards,
Jeroen.
Backporting? Yes, I can evaluate this too, thanks.
here you are my bbappend:
chromium-ozone-wayland_83.0.4103.116.bbappend
it contains only one line:
DEPENDS += " mesa "
Okay, thanks, I'll have a look
Just to let you know, I'm trying to buildby using this patch right now:
https://github.com/OSSystems/meta-browser/issues/528
Seach for "0013-Only-DRI-for-x11.txt" and adapt to your code version.
But, it takes a while to build Chromium, I'll post my finding later.
Hopefully DRI isn't needed on iMX8 and Wayland.
Cheers,
Jeroen.
Yes please, let me know the outcome.
Hi,
Building succeeded, I have chromium (83.0.4103.116) running now on iMX8M Mini, weston-wayland, and using the GPU of the iMX.
I'm using Zeus btw.
Performance looks good.
Still doing some testing, but I think you can take it from here
Jeroen.
Hi Jeroen,
Can you share,
Which BSP you used ?
How did you build (for wayland running on GPU ) ? , basically build step doc or pointers.
Any performance statistics or issues you found ?
Appreciate your guidance.
--
Thanks
Rutvij
Kudos to Jeroen (not the button only).
This is the way to go.
Thank you for helping!
Hi,
I have the same issue (iMX8M Mini, using Zeus 5.4.47) , no solution found yet.
Can you tell me the exact version of Yocto Warrior (or actually the version of Chromium) you've been using previously?
Just wanted to have a look at the differences....