Hi,
I successfully created my first flatpak and it works well but how can I tell to flatpak to add libraries into my sandbox?
I need the following libraries:
libayatana-appindicator
gstreamer
nvidia or amd driver
How can I do this? I see no real documentation on how to do it, I read something on the internet but I’m still not able to do it effectively.
Thanks to everyone who would like to help
Your app should either use a library from a runtime or a library that you build and bundle yourself.
Some of the libraries you need are pretty common and you can reuse these:
GStreamer search across Flathub manifests
bbhtt
November 22, 2024, 8:27am
3
sblantipodi:
gstreamer
nvidia or amd driver
Graphics drivers are in the runtime, you do not have to do anything.
GStreamer is also in the runtime, unless you need specific/newer versions or specific build options, you don’t have to do anything.
@bbhtt do you know if the bundled GStreamer includes the
NVCODEC plugin?
https://gstreamer.freedesktop.org/documentation/nvcodec/cudadownload.html?gi-language=c
My standard GStreamer pipeline:
pipewiresrc fd={1} path={2} ! videorate ! videoscale ! videoconvert
is working well.
My CUDA one not:
pipewiresrc fd={1} path={2} ! videorate ! cudaupload ! cudascale ! cudaconvert ! cudadownload
bbhtt
November 22, 2024, 11:03am
5
Yes nvcodec is also in the runtime.