Open programmeddeath1 opened 4 months ago
The program is using llvmpipe (no gpu acceleration). Is this program being run from docker or from the desktop environment?
Yes This one currently is running from a docker. I have setup my environment in (ubuntu20.04) docker for the latest ubuntu 22.04 os from the v1.33 release. ROS 1 currently only supports ubuntu 20.04.
I have setup a similar environment in the official ubuntu 20.04 version 1.18 release by them in Feb. It also gives the same error with rockchip driver during the RVIZ load.(I havent seen the verbose error i can check and add in sometime) But this i suppose is because they havent added hardware acceleration altogether in their official versions.
That is the problem, running the software in docker.
The system requires multiple user space hacks to support hardware acceleration, you would need to modify and hack the docker image. This won't be an easy task, especially when trying to use Ubuntu 20.04.
I do not know much about ROS, but I would try to run your software outside of docker.
I had used an ubuntu 20 image of yours like a year or so back. but they do not seem to be available on your recent github releases anymore. Would this work on any of your older ubuntu 20.04 releases you had before?
If that option isn't possible, I do need to get this to work in my docker if possible, I see that its trying to search for those directories for the driver libraries, would loading the host directories of /etc/ and other needed directories be enough or are there any deeper inter linkings that I might need to do?
If you have a guide or reference of the steps needed to get this to work I'm willing to dig deep and try to get it done
I tried it on the older orangepi ubuntu 20.04 os v1.6 . It gives the same error of unable to find gpu drivers.
https://github.com/programmeddeath1/webhost/blob/master/libgl_error_rviz.txt
I feel like the RVIZ application is looking for gpu drivers to be available in a specific location, and maybe giving it the path to the default driver locations would help or will installing panfrost mali gpu drivers in the ubuntu from opi help fix this?
@Joshua-Riek could you help us in anyway ?
I'm sorry but I have no interest in this, it's too much time and effort on my part.
Hmm, interesting! Indeed, it seems the issue lies with Docker's inability to access the GPU in RK3588. Creating something akin to the NVIDIA Container Toolkit (https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) for future Docker support could be a promising solution. Thanks for bringing this up!
Hiii Thank you so much for this awesome work, it has helped way more than any support the opi software provides!
I am trying to run a pyqt application which uses RVIZ which is a ROS(Robotic Operating System) 3D visualizer.
When starting the app which loads the 3D model on start it gives the following warnings -
The app does load properly, the pyqt application itself does run smoothly, but when i run certain motions on the simulator, it seems to be lagging a lot. I ran
LIBGL_DEBUG=verbose python3 main.py
and it gives the following detailed error - fileThe code where the warning shows up is as below -
What do i need to enable the gpu driver usage or improve the rendering, any help would be appreciated.
Thanks in advance!