Swrast again

maxx@maxx-nano:~ glxinfo | egrep -i '(version|nvidia)' | tee brief_glxinfo.txt libGL: MESA-LOADER: failed to open /usr/lib/aarch64-linux-gnu/dri/swrast_dri.so: /usr/lib/aarch64-linux-gnu/libdrm_amdgpu.so.1: undefined symbol: drmSyncobjTimelineSignal libGL: MESA-LOADER: failed to open \${ORIGIN}/dri/swrast_dri.so: $${ORIGIN}/dri/swrast_dri.so: cannot open shared object file: No such file or directory
libGL: MESA-LOADER: failed to open /usr/lib/dri/swrast_dri.so: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/aarch64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL version string: 1.4 (2.1 Mesa 20.1.0-devel (git-83f5a17a34))
maxx@maxx-nano:~ glxinfo | egrep -i '(version|nvidia)' | tee brief_glxinfo.txt libGL: MESA-LOADER: failed to open /usr/lib/aarch64-linux-gnu/dri/swrast_dri.so: /usr/lib/aarch64-linux-gnu/libdrm_amdgpu.so.1: undefined symbol: drmSyncobjTimelineSignal libGL: MESA-LOADER: failed to open \${ORIGIN}/dri/swrast_dri.so: $${ORIGIN}/dri/swrast_dri.so: cannot open shared object file: No such file or directory
libGL: MESA-LOADER: failed to open /usr/lib/dri/swrast_dri.so: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/aarch64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL version string: 1.4 (2.1 Mesa 20.1.0-devel (git-83f5a17a34))

undefined symbol: drmSyncobjTimelineSignal

How can i solve this error? I have read many posts. But didnt find solution.

Display --> localhost:10.0

Thanks!

I guess you are remotley logged into Jetson.
GL only works with local display.
If you have a monitor connected to your Jetson, you may display on this monitor setting DISPLAY to that screen.

Just to answer possible future stuck developers trying to forward graphics throuhg ssh:

Solution: ln -sf /usr/lib/aarch64-linux-gnu/libdrm.so.2.4.0 /usr/lib/aarch64-linux-gnu/libdrm.so.2

Answer: Somehow libdrm.so.2 is linking to /usr/lib/aarch64…/tegra/libdrm.so which doesn’t seem to have the symbol it is complaining about (drmSyncobjTimelineSignal), it shows as undefined and possible the lib it should define (if not the drm itself, seems not to be correctly linked or somehting in the likes). That symbol is well defined on libdrm.so.2.4.0.
Don’t know why or the possible effects on other applications but this solution enabled the ssh graphic forwarding.

3 Likes