Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Primus for Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 810
Location: /mnt/Gentoo/

PostPosted: Thu Sep 19, 2013 9:34 am    Post subject: [SOLVED] Primus for Gentoo Reply with quote

I have bought Legend of Grimrock from Steam which did not work (I had only black screen with sword), and as there is no refund policy I have bought a .sh file from developer website and used grimrock form gentoo portage. As I use Nvidia Optimus I was trying to run this game with optirun and had an Stencil Buffer Error.

I have found a solution here:
http://www.grimrock.net/forum/viewtopic.php?f=12&t=4556
which needs a PRIMUS
http://www.webupd8.org/2012/11/primus-better-performance-and-less.html

So my question is, how to to install primus for Gentoo as in the article above is only for Ubuntu.


Last edited by Xywa on Fri Sep 20, 2013 9:04 am; edited 1 time in total
Back to top
View user's profile Send private message
Oerpi
n00b
n00b


Joined: 20 Jun 2008
Posts: 29
Location: Germany

PostPosted: Thu Sep 19, 2013 4:12 pm    Post subject: Reply with quote

Primus is in the bumblebee overlay as a live ebuild.
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 810
Location: /mnt/Gentoo/

PostPosted: Thu Sep 19, 2013 6:29 pm    Post subject: Reply with quote

Oerpi wrote:
Primus is in the bumblebee overlay as a live ebuild.


How to install it?

I did:
Code:
layman -a bumblebee


and still I have no primus :(

Small update:
Quote:
# emerge primus
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
WARNING: One or more repositories have missing repo_name entries:

/usr/local/my/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.


Calculating dependencies... done!
[ebuild N *] x11-misc/primus-9999 ABI_X86="(64) -32 (-x32)"

The following keyword changes are necessary to proceed:
(see "package.accept_keywords" in the portage(5) man page for more details)
# required by primus (argument)
=x11-misc/primus-9999 **

NOTE: The --autounmask-keep-masks option will prevent emerge
from creating package.unmask or ** keyword changes.

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.
Back to top
View user's profile Send private message
Oerpi
n00b
n00b


Joined: 20 Jun 2008
Posts: 29
Location: Germany

PostPosted: Thu Sep 19, 2013 6:55 pm    Post subject: Reply with quote

Xywa wrote:
Oerpi wrote:
Primus is in the bumblebee overlay as a live ebuild.


How to install it?

I did:
Code:
layman -a bumblebee


and still I have no primus :(

Small update:
Quote:
# emerge primus
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
WARNING: One or more repositories have missing repo_name entries:

/usr/local/my/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.


Calculating dependencies... done!
[ebuild N *] x11-misc/primus-9999 ABI_X86="(64) -32 (-x32)"

The following keyword changes are necessary to proceed:
(see "package.accept_keywords" in the portage(5) man page for more details)
# required by primus (argument)
=x11-misc/primus-9999 **

NOTE: The --autounmask-keep-masks option will prevent emerge
from creating package.unmask or ** keyword changes.

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.


It's a live ebuild, to merge you need to add
Code:
=x11-misc/primus-9999 **
to /etc/portage/package.keywords (or package.accept_keywords)
Back to top
View user's profile Send private message
Oerpi
n00b
n00b


Joined: 20 Jun 2008
Posts: 29
Location: Germany

PostPosted: Thu Sep 19, 2013 7:04 pm    Post subject: Reply with quote

Xywa wrote:
!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
WARNING: One or more repositories have missing repo_name entries:

/usr/local/my/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.


Also you should really check those warnings, see https://forums.gentoo.org/viewtopic-t-933406-view-previous.html for the make.conf one.
Back to top
View user's profile Send private message
Oerpi
n00b
n00b


Joined: 20 Jun 2008
Posts: 29
Location: Germany

PostPosted: Thu Sep 19, 2013 7:06 pm    Post subject: Reply with quote

Xywa wrote:
!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
WARNING: One or more repositories have missing repo_name entries:

/usr/local/my/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.


Also you should really check those warnings, see https://forums.gentoo.org/viewtopic-t-933406-view-previous.html for the make.conf one.
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 810
Location: /mnt/Gentoo/

PostPosted: Thu Sep 19, 2013 8:16 pm    Post subject: Reply with quote

Many thx! It is works!

:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum