View previous topic :: View next topic |
Author |
Message |
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Thu Sep 19, 2013 9:34 am Post subject: [SOLVED] Primus for Gentoo |
|
|
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 |
|
|
Oerpi n00b
Joined: 20 Jun 2008 Posts: 36 Location: Germany
|
Posted: Thu Sep 19, 2013 4:12 pm Post subject: |
|
|
Primus is in the bumblebee overlay as a live ebuild. |
|
Back to top |
|
|
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Thu Sep 19, 2013 6:29 pm Post subject: |
|
|
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 |
|
|
Oerpi n00b
Joined: 20 Jun 2008 Posts: 36 Location: Germany
|
Posted: Thu Sep 19, 2013 6:55 pm Post subject: |
|
|
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 |
|
|
Oerpi n00b
Joined: 20 Jun 2008 Posts: 36 Location: Germany
|
Posted: Thu Sep 19, 2013 7:04 pm Post subject: |
|
|
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 |
|
|
Oerpi n00b
Joined: 20 Jun 2008 Posts: 36 Location: Germany
|
Posted: Thu Sep 19, 2013 7:06 pm Post subject: |
|
|
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 |
|
|
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Thu Sep 19, 2013 8:16 pm Post subject: |
|
|
Many thx! It is works!
|
|
Back to top |
|
|
|