You are not logged in.

#1 2019-05-03 14:35:55

riccardocagnasso
Member
Registered: 2012-02-22
Posts: 31

Gstreamer 1.16 missing nvdec/nvenc

The news gstreamer 1.16 should include nvdec and nvenc plugins (https://gstreamer.freedesktop.org/releases/1.16/#1.16.0)

But they seems to not be present in the archlinux packages

phas@Hyperion ~> gst-inspect-1.0 nvdec
No such element or plugin 'nvdec'
phas@Hyperion ~> sudo find / -name "*nvdec*"
[sudo] password for phas: 
/usr/lib/firmware/nvidia/gp108/nvdec
/usr/lib/firmware/nvidia/gv100/nvdec
/usr/lib/firmware/nvidia/gp106/nvdec
/usr/lib/firmware/nvidia/gp102/nvdec
/usr/lib/firmware/nvidia/gp107/nvdec
/usr/lib/firmware/nvidia/gp104/nvdec
find: ‘/run/user/1000/gvfs’: Permission denied
phas@Hyperion ~> gst-inspect-1.0 -b
Blacklisted files:
  libgstkate.so
  libgstzbar.so

Total count: 2 blacklisted files

phas@Hyperion ~> pacman -Ss gst | grep installed
extra/clutter-gst 3.0.27-1 [installed]
extra/gnome-video-effects 0.4.3+13+g6867955-1 (gnome) [installed]
extra/gst-libav 1.16.0-1 [installed]
extra/gst-plugins-bad 1.16.0-1 [installed]
extra/gst-plugins-base 1.16.0-2 [installed]
extra/gst-plugins-base-libs 1.16.0-2 [installed]
extra/gst-plugins-good 1.16.0-1 [installed]
extra/gst-plugins-ugly 1.16.0-1 [installed]
extra/gst-python 1.16.0-1 [installed]
extra/gstreamer 1.16.0-1 [installed]
extra/gstreamer-vaapi 1.16.0-1 [installed]
    Submit a list of installed packages to the Arch Linux project
extra/totem 3.32.0-1 (gnome) [installed]
community/gst-editing-services 1.14.4-1 [installed]
community/gst-transcoder 1.14.1-1 [installed]
community/pitivi 0.999-2 [installed]

Afaik it should be in gst-plugins-bad. I remember from 1.15 times that it's a bit tricky to get it compiled, so maybe it wasn't?

Offline

#2 2019-05-03 14:40:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 6,892

Re: Gstreamer 1.16 missing nvdec/nvenc

It wasn't and from the looks deliberately so https://git.archlinux.org/svntogit/pack … a71918#n45 though I don't know the reasoning

Offline

#3 2019-05-04 11:57:02

riccardocagnasso
Member
Registered: 2012-02-22
Posts: 31

Re: Gstreamer 1.16 missing nvdec/nvenc

Probably because it's not simple to get gst-plugins-bad compilation processo to actually detect and use cuda and cudart.

I posted about this on gst-devel mailing list http://gstreamer-devel.966125.n4.nabble.com/

Anyone here that knows how to write a pkg-config file for cuda and cuda-rt?

Offline

#4 2019-06-22 15:36:30

riccardocagnasso
Member
Registered: 2012-02-22
Posts: 31

Re: Gstreamer 1.16 missing nvdec/nvenc

UP. This is still a problem afaik.

After the post on the mailing list, i opened a ticket on the gst-plugins-bad tracker https://gitlab.freedesktop.org/gstreame … issues/966
this was closed but I think that it will be relevant for the next release.

To get nvdec and nvenc compiled for 1.16, I think that we need proper pkg-config files for cuda

Offline

Board footer

Powered by FluxBB