Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551734 - x11-misc/primus: Add primus package as alternative to virtualgl for bumblebee
Summary: x11-misc/primus: Add primus package as alternative to virtualgl for bumblebee
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-11 08:14 UTC by Kelvin Ng
Modified: 2016-10-17 02:00 UTC (History)
6 users (show)

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


Attachments
bumblebee-3.2.1-r1.ebuild (bumblebee-3.2.1-r1.ebuild,2.14 KB, text/plain)
2016-04-16 23:26 UTC, Sarah Gardner
Details
files/bumblebee.initd (bumblebee.initd,487 bytes, text/plain)
2016-04-16 23:27 UTC, Sarah Gardner
Details
files/bumblebee.initd.virtualgl (bumblebee.initd.virtualgl,491 bytes, text/plain)
2016-04-16 23:27 UTC, Sarah Gardner
Details

Note You need to log in before you can comment on or make changes to this bug.
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?