diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-10-01 19:10:07 -0700 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.com> | 2018-10-02 14:14:54 +0100 |
commit | 0b10f248d0f3b9f1acbf07551f24ac99e9b489a7 (patch) | |
tree | 3ba6f9f553f88067b45583ab10ae7fb2040fea06 | |
parent | 4f3a81e1653cbcc87afec8c2ab86593135f75711 (diff) | |
download | meta-raspberrypi-0b10f248d0f3b9f1acbf07551f24ac99e9b489a7.tar.gz |
mesa: Build swrast gallium driver along with vc4
when running -ctestimage target, it fails because of errors it finds in
Xorg logs
| Log:
/mnt/a/yoe/build/tmp/work/raspberrypi3-yoe-linux-gnueabi/core-image-sato/1.0-r0/target_logs/Xorg.0.log
| -----------------------
| Central error: [ 14.760] (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
Therefore we enable swrast gallium drivers to make xorg happy
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | recipes-graphics/mesa/mesa_%.bbappend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend index 52fe757..8152cc3 100644 --- a/recipes-graphics/mesa/mesa_%.bbappend +++ b/recipes-graphics/mesa/mesa_%.bbappend | |||
@@ -3,5 +3,5 @@ | |||
3 | # as default. To state out clearly that Raspi needs dri3 and to avoid surprises | 3 | # as default. To state out clearly that Raspi needs dri3 and to avoid surprises |
4 | # in case oe-core changes this default, we set dri3 explicitly. | 4 | # in case oe-core changes this default, we set dri3 explicitly. |
5 | PACKAGECONFIG_append_rpi = " gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)}" | 5 | PACKAGECONFIG_append_rpi = " gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)}" |
6 | GALLIUMDRIVERS_rpi = "vc4" | 6 | GALLIUMDRIVERS_append_rpi = ",vc4" |
7 | DRIDRIVERS_rpi = "" | 7 | DRIDRIVERS_rpi = "" |