Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630546 - x11-wm/xpra - add support for nvenc (--with-nvenc)
Summary: x11-wm/xpra - add support for nvenc (--with-nvenc)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Benda Xu
Depends on:
Reported: 2017-09-10 00:13 UTC by Will Simoneau
Modified: 2022-03-11 23:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Will Simoneau 2017-09-10 00:13:44 UTC
The xpra ebuilds (current newest is xpra-2.1.1) don't seem to provide any way to build with --with-nvenc, which would be really nice to have.

There are some .pc files available on the xpra wiki at which xpra's build system needs. I hacked up a copy of the xpra-2.1.1 ebuild and it seems to build fine, even against media-video/nvidia-video-codec-8.0.14 which is much newer than what the wiki discusses. All I needed to do was adjust the include & lib paths in cuda.pc and nvenc5.pc to match my system. I stuck my files in /usr/share/pkgconfig just for testing, but there's surely a better/cleaner way to get the job done. (I'd post a suggested patch if my method was suitable for general consumption, but it's not)

Could the package maintainer(s) please take a look at making this work "properly"? TIA.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2017-12-08 08:06:54 UTC
Thanks for your suggestion. I'd like to see upstream including this.
I need to fire up my nvidia machine to work on it. -- Give me some time.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2020-01-16 11:46:39 UTC
Still relevant for 3.0.2