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/>
index | next in thread | raw e-mail
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@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=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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236933-7141>
