[Bug 236933] graphics/libdrm: drmGetNodeTypeFromFd always fails

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 1 14:38:22 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236933

            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 at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
             Flags: maintainer-feedback?(x11 at FreeBSD.org)
          Assignee: x11 at FreeBSD.org

Created attachment 203295
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=203295&action=edit
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() ==
DRM_NODE_RENDER appears to be the correct way but it doesn't work on FreeBSD.

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

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


More information about the freebsd-x11 mailing list