[Mesa-users] Tegra K1: Problems with Mesa and Nouveau

Raschen Josef Josef.Raschen at esolutions.de
Wed Jul 13 08:30:16 UTC 2016


Hi,

I am trying to get the Mesa  and Nouveau DRM running with Wayland (Weston) on the Jetson TK1 (Tegra K1) board. But when I try to run Weston, I get the following Error: 

gbm: failed to open any driver (search paths /usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/tegra_dri.so: cannot open shared object file: No such file or directory
failed to load driver: tegra

There is no "tregra_dri.so" on my system, but a "nouveau_dri.so". I am wondering, why it is not used. The nouveau kernel module is also running, so this should not be a problem:

root at jetsontk1:~# dmesg | grep -i drm
[    3.203979] [drm] Initialized drm 1.1.0 20060810
[    6.785439] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    6.792138] [drm] No driver support for vblank timestamp query.
[    6.926293] drm drm: fb0:  frame buffer device
[    6.960019] [drm] Initialized tegra 0.0.0 20120330 on minor 0
[    9.097065] nouveau 57000000.gpu: DRM: VRAM: 0 MiB
[    9.102244] nouveau 57000000.gpu: DRM: GART: 1048576 MiB
[    9.115576] nouveau 57000000.gpu: DRM: failed to create ce channel, -22
[    9.243417] nouveau 57000000.gpu: DRM: MM: using GRCE for buffer copies

I also cannot find any option to build such tegra_dri.so library. I am using the following options:
--enable-shared-glapi --enable-nls --enable-dri --with-dri-drivers=nouveau --enable-gbm --enable-dri3 --enable-egl --with-egl-platforms=drm,x11,wayland --with-gallium-drivers=nouveau  --disable-gallium-llvm --enable-gles1 --enable-gles2 --with-sha1=libcrypto --enable-glx-tls  --disable-xa --disable-xvmc  

My configuration:
Hardware: Jetson TK1 Board with Tegra K1
Linux: 4.7-rc6
Mesa: 11.1
Weston 1.10.92

Regards,
Josef



More information about the mesa-users mailing list