Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Apr 2019 14:38:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 236933] graphics/libdrm: drmGetNodeTypeFromFd always fails
Message-ID:  <bug-236933-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236933

            Bug ID: 236933
           Summary: graphics/libdrm: drmGetNodeTypeFromFd always fails
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org

Created attachment 203295
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203295&action=
=3Dedit
test case

For libva DRM backend to reliably support headless transcoding I need a way=
 to
check if the opened device is a render node. drmGetNodeTypeFromFd() =3D=3D
DRM_NODE_RENDER appears to be the correct way but it doesn't work on FreeBS=
D.

$ pkg install libdrm pkgconf
$ cc test.c -o test $(pkg-config --cflags --libs libdrm)
$ ./test
unknown (-1) node

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236933-7141>