Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 551734

Summary: x11-misc/primus: Add primus package as alternative to virtualgl for bumblebee
Product: Gentoo Linux Reporter: Kelvin Ng <kelvin9302104>
Component: Current packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED FIXED    
Severity: enhancement CC: kelvin9302104, np-hardass, pacho, rei4dan, silvio.gerli, sven.koehler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: bumblebee-3.2.1-r1.ebuild
files/bumblebee.initd
files/bumblebee.initd.virtualgl

Description Kelvin Ng 2015-06-11 08:14:24 UTC
Primus is a replacement of virtualgl with lower overhead, lower power comsumption and higher efficiency. bumblebee should add optional dependency that let users use primus instead of virtualgl.

Primus: https://github.com/amonakov/primus
Comment 1 Sven 2016-01-11 01:16:06 UTC
Valve recommends primus. At least Dota only runs with primusrun, not with optirun.
Comment 2 Sarah Gardner 2016-04-16 23:26:16 UTC
Created attachment 430866 [details]
bumblebee-3.2.1-r1.ebuild
Comment 3 Sarah Gardner 2016-04-16 23:27:19 UTC
Created attachment 430868 [details]
files/bumblebee.initd
Comment 4 Sarah Gardner 2016-04-16 23:27:42 UTC
Created attachment 430870 [details]
files/bumblebee.initd.virtualgl
Comment 5 Sarah Gardner 2016-04-16 23:29:58 UTC
Quick hack to the existing ebuild, adds two new USE flags primus and virtualgl one of which must be selected. One of the two init.d files is pulled in as appropriate as when using primus there are no service dependencies like with virtualgl.
Comment 6 Adam Feldman gentoo-dev 2016-04-16 23:36:51 UTC
I'd like to make sure we aren't re-inventing the wheel here. https://github.com/Bumblebee-Project/bumblebee-gentoo
This isn't meant to squelch an effort to get the bumblebee related packages into the main repo, but I'd rather not subvert that effort.
Comment 7 Adam Feldman gentoo-dev 2016-04-16 23:55:34 UTC
Moreover, it looks like Primus hasn't made a release since 2012.  Which means any ebuild you make will have to be a snapshot ebuild.
Comment 8 Sven 2016-04-17 09:57:59 UTC
Why subvert the effort? Is glvnd making bumblebee/primus obsolete?