maintainer-feedback requested: [Bug 236933] graphics/libdrm: drmGetNodeTypeFromFd always fails

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
Bugzilla Automation <[email protected]> has asked freebsd-x11 mailing list
<[email protected]> for maintainer-feedback:
Bug 236933: graphics/libdrm: drmGetNodeTypeFromFd always fails
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236933



--- Description ---
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
_______________________________________________
[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.