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:   maintainer-feedback requested: [Bug 236933] graphics/libdrm: drmGetNodeTypeFromFd always fails
Message-ID:  <bug-236933-7141-6PvFsxSYlB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236933-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236933-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 mailing li=
st
<x11@FreeBSD.org> for maintainer-feedback:
Bug 236933: graphics/libdrm: drmGetNodeTypeFromFd always fails
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236933



--- 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() =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



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