# Failed to load swrast driver

**URL:** <https://forums.developer.nvidia.com/t/failed-to-load-swrast-driver/120198>\
**Category:** Jetson Nano\
**Tags:** opengl\
**Created:** [April 17, 2020, 10:51pm UTC](https://forums.developer.nvidia.com/t/failed-to-load-swrast-driver/120198 "2020-04-17T22:51:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmad.r](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ahmad.r](https://forums.developer.nvidia.com/u/ahmad.r)\
**Post date:** [April 17, 2020, 10:51pm UTC](https://forums.developer.nvidia.com/t/failed-to-load-swrast-driver/120198/1 "2020-04-17T22:51:51Z")

</div>

The general topic is that these two errors appear quite often when I open programs through ssh to jetson nano.

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

to be specific in a use case:  
I tried opening gazebo simulator through ssh , when I opened it with a monitor through HDMI it worked fine . Now it crashes with the same mentioned errors.

Note: The same error appeared when I was tinkering around x server and xrdp , most things done through ssh / xfce desktop / vnc showed the same errors often ( sorry for not being specific on each of those , But I am mentioning them only to enforce that this can’t be posted on gazebo forums as I think it is in the hardware scope)

Note: I tried gazebo headless mode , running gzserver only , but with same errors , and again I think that it is in the nano’s scope because the same error appears quite often

I know that the post seems to be with little info but I am waiting for anyone to request the suitable logs / settings from me as I didn’t know what exactly to post rather than the core errors

Thank’s in advance and apologies for the under informed post

---

<div class="post-metadata">

**Author:** ![linuxdev](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/linuxdev/32/10243_2.png) [@linuxdev](https://forums.developer.nvidia.com/u/linuxdev)\
**Post date:** [April 18, 2020, 7:08pm UTC](https://forums.developer.nvidia.com/t/failed-to-load-swrast-driver/120198/2 "2020-04-18T19:08:07Z")

</div>

See:  
[https://forums.developer.nvidia.com/t/running-graphical-cuda-sample-over-ssh-from-within-l4t-docker-container/113027/3](https://forums.developer.nvidia.com/t/running-graphical-cuda-sample-over-ssh-from-within-l4t-docker-container/113027/3)

If you are offloading the GPU function to another computer with ssh and X forwarding, then it is the other computer which needs matching OpenGL/CUDA/GPU capabilities. The Jetson no longer performs that function. Virtual desktops may be the topic you are really interested in.

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 18, 2021, 5:52pm UTC](https://forums.developer.nvidia.com/t/failed-to-load-swrast-driver/120198/3 "2021-10-18T17:52:37Z")

</div>


