Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow building appimages on system with libnvidia* libraries #136

Closed
sjdrc opened this issue Mar 8, 2021 · 5 comments
Closed

Allow building appimages on system with libnvidia* libraries #136

sjdrc opened this issue Mar 8, 2021 · 5 comments
Labels
question Further information is requested

Comments

@sjdrc
Copy link

sjdrc commented Mar 8, 2021

Hi there,

I'm building on the Nvidia Jetson Nano platform. Using the continuous release images I get an error saying:

System (most likely libGL) uses libnvidia*, please build on another system that does not use NVIDIA drivers, exiting

After doing a custom build removing the call to handleNvidia(), I get a working appimage. It seems that this works due to the aarch64 platform doing things differently to x86_64 with Nvidia drivers. Would it be possible for you to add a flag in to bypass the nvidia driver check, or don't do this check on aarch64?

@probonopd
Copy link
Owner

Hi @sjdrc

If you ever want your AppImages to run not just on NVIDIA Jetson but also on other ARM devices, the you should better not try to bundle any NVIDIA specific libraries inside the AppImage.

If you are really sure that your AppImage shall never run anywhere else but on NVIDIA Jetson target systems, then you can try to comment out the os.Exit(1) here:

I am not interesting to remove the check for the official version though, because I don't want to encourage people to build AppImages that run only on NVIDIA systems.

@probonopd probonopd added the question Further information is requested label Mar 8, 2021
@sjdrc
Copy link
Author

sjdrc commented Mar 8, 2021

No worries, understand your reasons. We're using AppImages to deploy our application in house on custom devices, so we'll maintain a custom build then. Thanks for your help.

@probonopd
Copy link
Owner

Thanks for your understanding. Actually I am considering to use NVIDIA Jetson for another project of mine, would you say the Jetson Nano is more capable as a general desktop machine (incuding watching YouTube video in the browser fullscreen) compared to the Raspberry Pi 4?

@sjdrc
Copy link
Author

sjdrc commented Mar 8, 2021

We use the devices headless to pull images off devices and encode video, so I couldn't speak to the desktop performance, but the GPU is far more capable than that of a Raspberry Pi. I wouldn't imagine there would be any problems using a lightweight WM at 1080p.

@probonopd
Copy link
Owner

encode video

Yes, I imagine one could even do light video editing on those devices using Shotcut or similar software that supports NVENC...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants