[Bug 236933] graphics/libdrm: drmGetNodeTypeFromFd always fails

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
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: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])
          Assignee: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.