Disable Renesas R-Car H3 OpenGLES support

Hi,

I am building Renesas Yocto image by using this tutorial: https://elinux.org/R-Car/Boards/Yocto-Gen3/v3.21.0. During building, it automatically installs OpenGL ES 3.1 graphics rendering API. I want to know whether it is possible to disable this graphics so that we don't have OpenGL ES included in the final image?

I would highly appreciate some quick support.

Thanks & Regards,

Asad Javed

Parents
  • Hi Asad,

    "$WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/${TARGET_BOARD}/poky-gcc/mmp/*.conf" is used as default configuration on https://elinux.org/R-Car/Boards/Yocto-Gen3/v3.21.0#Build_using_script.

    Instead of that, you can use "$WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/${TARGET_BOARD}/poky-gcc/bsp/*.conf"

    This configuration doesn't use OpenGL library.

    Then, you can use local.conf (without Wayland/Weston) and local-wayland.conf (with Wayland/Weston by cpu rendering).

    If you want to use local.conf, you need to disable "cp conf/local-wayland.conf conf/local.conf" in build script (https://elinux.org/R-Car/Boards/Yocto-Gen3/v3.21.0#Build_using_script)

    Best regards,

  • Hi,

    Thanks for your quick response.

    Actually, I used "$WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/${TARGET_BOARD}/poky-gcc/bsp/*.conf" file and then I also added 'mesa-demos' in the image to check the graphics rendering API. Then on the renesas, I run 'glxinfo' and it was still showing OpenGL ES. Did I miss anything?

    Our requirement is to use wayland but not OpenGL ES 3.1 library. 

    Can you also tell me the purpose of this option: DISTRO_FEATURES_append = " use_eva_pkg"? How about if we don't add this option to local.conf?


    Thanks & Regards,

    Asad Javed

  • Hi,

    "libGLESv1_CM.so.1" is installed to rootfs by Mesa if "mesa-demos"  is added to IMAGE_INSTALL.
    So, this is occurred by your modification (just my assumption)

    Then, you can skip following steps in this case.

    "use_eva_pkg" is a option to use proprietary libraries of evaluation version.
    But proprietary libraries are NOT required if you use "$WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/${TARGET_BOARD}/poky-gcc/bsp/*.conf".

    sh meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh -f $WORK/../proprietary
    echo 'DISTRO_FEATURES_append = " use_eva_pkg"' >> $WORK/build/conf/local.conf
  • Hi,

    Okay, I can skip those steps. I'll update you. Thanks


    Best Regards,

    Asad

Reply Children
No Data