Re: [gentoo-user] Nvidia and optimus

2014-12-18 Thread Fábio Emilio Costa
Need some help (taking the topic that is about this): already build
bumblebee and implemented everything (runned glxgears with optirun and
things gone okay). However, I'm with some problems to play some games, like
Shatter and Anomaly, that has 32-bit only versions (my ARCH=~amd64). I
don't remember the package I need to build so optirun can run correctly
those games. Any help?

2014-12-18 3:28 GMT-02:00 behrouz khosravi bz.khosr...@gmail.com:


 On Dec 16, 2014 2:38 PM, J. Roeleveld jo...@antarean.org wrote:
 
  On Tuesday, December 16, 2014 02:12:06 PM behrouz khosravi wrote:
   Hello everyone.
   I was trying to get native optimus support for my laptop using the
 Nvidia
   driver, but after startx the screen goes black for some several
 seconds and
   xserver exits.
   The output messages are attached.
   I just added a dot to end of xorg.conf and .xinitrc to bypass it for
 now.
   Thanks for your time.
 
  Did you install and configure Bumblebee?
 
  I haven't configured anything special myself and got it working
 following the
  official documentation:
 
  http://bumblebee-project.org/install.html#Gentoo
  
  emerge bumblebee
 
  After installation completes, add yourself to the bumblebee group to
 enable
  use of the optirun command. You will have to re-login for group changes
 to
  take effect.
  
 
  --
  Joost
 

 Not actually, I wanted to get it working without bumblebee, but it seems
 that its not easy! In my Arch box a I couldent manage too set up too.
 I guess I will try that sometime.



-- 

Obrigado!

Fabio Emilio Costa São Bernardo do Campo - SP - Brazil
fabiocosta0...@gmail.comLinux User #416439(counter.li.org)
ICQ #:173799674  Twitter:@HufflepuffBR

Google+: http://plus.google.com/+FabioEmilioCosta
Facebook: http://facebook.com/fabiocosta0305

Blog: hogwartslinux.wordpress.com
Copie. Seja Legal. Não seja trouxa! Use Software Livre!


Re: [gentoo-user] Nvidia and optimus

2014-12-18 Thread J. Roeleveld
On 18 December 2014 19:40:27 CET, Fábio Emilio Costa 
fabiocosta0...@gmail.com wrote:
Need some help (taking the topic that is about this): already build
bumblebee and implemented everything (runned glxgears with optirun and
things gone okay). However, I'm with some problems to play some games,
like
Shatter and Anomaly, that has 32-bit only versions (my ARCH=~amd64).
I
don't remember the package I need to build so optirun can run correctly
those games. Any help?

2014-12-18 3:28 GMT-02:00 behrouz khosravi bz.khosr...@gmail.com:


 On Dec 16, 2014 2:38 PM, J. Roeleveld jo...@antarean.org wrote:
 
  On Tuesday, December 16, 2014 02:12:06 PM behrouz khosravi wrote:
   Hello everyone.
   I was trying to get native optimus support for my laptop using
the
 Nvidia
   driver, but after startx the screen goes black for some several
 seconds and
   xserver exits.
   The output messages are attached.
   I just added a dot to end of xorg.conf and .xinitrc to bypass it
for
 now.
   Thanks for your time.
 
  Did you install and configure Bumblebee?
 
  I haven't configured anything special myself and got it working
 following the
  official documentation:
 
  http://bumblebee-project.org/install.html#Gentoo
  
  emerge bumblebee
 
  After installation completes, add yourself to the bumblebee group
to
 enable
  use of the optirun command. You will have to re-login for group
changes
 to
  take effect.
  
 
  --
  Joost
 

 Not actually, I wanted to get it working without bumblebee, but it
seems
 that its not easy! In my Arch box a I couldent manage too set up too.
 I guess I will try that sometime.


I would start with the packages with 'compat' in the name.

Unless someone knows specifically 
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Nvidia and optimus

2014-12-18 Thread Heiko Baums
Am 18.12.2014 um 20:03 schrieb J. Roeleveld:

 I
 don't remember the package I need to build so optirun can run correctly
 those games. Any help?

 I would start with the packages with 'compat' in the name.
 
 Unless someone knows specifically

For optirun you don't need any particular 32-bit dependencies, but you
need the 32-bit dependencies for the games.

The best way to find the dependencies is to install the game and run ldd
on the binary.

E.g.: ldd /opt/anomaly/anomaly (If that's the name of its binary.)

Then find the packages to which the libraries in the output belong and
install the corresponding app-emulation/emul-linux-x86-* packages resp.
put them into the DEPENDS array of your ebuild.

Heiko



Re: [gentoo-user] Nvidia and optimus

2014-12-18 Thread Sid S
 I'd like to use the internal card most of the time since I don't care
 about 3D acceleration but I do care alot about power saving. When using
 an external monitor I'd like to use the NVidia card. Currently my
 solution is to reboot and change bios settings, being able to switch at
 runtime would be a real enhancement for me.

 Is this possible?

Yes, install xrandr/xinerama.


P.S.

 On top of that, this laptop has only a year or so left before I replace
 it, and I know now to avoid Optimus entirely in the future.

Will probably be impossible in the future if you buy anything with a
discrete card
(even a crap one, for multi-monitor). New laptops are shipping without an HDMI
multiplexer like Christian's has.



Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread behrouz khosravi


 What would you consider better support?
 The way it works currently is how it's working with MS Windows (as
 provided by
 NVidia).


What I mean by better support is easy install and configuration. In the
Windows
I just install the driver and the driver is responsible for offloading or
switching the chips.
I spent a couple of hours to configure it and gave up, because it is not
easy to configure or
even easy to troubleshoot.


 A single GPU makes things simpler, but being able to have the best of both
 options:
 1) Intel = low power = long battery life
 2) Nvidia = good quality 3D, but shorter battery life

 The NVidia chip is actually switched off when not being used. (Or if not, I
 wouldn't notice as the battery life is significantly better after
 installing
 bumblebee and running the bumblebee service.)


Thats right for the current setup, but it is possible to have a laptop with
a powerful Intel GPU, right?


Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread behrouz khosravi


 You need bumblebee. Otherwise it's not possible to use the Nvidia
 Optimus chip.


I think that it is possible, or supposed to be possible!
The gentoo wiki says that Nvidia drivers are now supporting the optimus, so
it is called native optimus support


  I just waned to use optimus without that, but it seem the it is not easy!

 It's not possible, because the Nvidia Optimus chip isn't a full featured
 graphics card, and doesn't write directly to the screen. Joost already
 explained it pretty well.

 Exactly, that is why the Nvidia driver is using the xrandr for offloading
the tasks.


Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread J. Roeleveld
On Wednesday, December 17, 2014 12:53:10 PM behrouz khosravi wrote:
  What would you consider better support?
  The way it works currently is how it's working with MS Windows (as
  provided by
  NVidia).
 
 What I mean by better support is easy install and configuration. In the
 Windows
 I just install the driver and the driver is responsible for offloading or
 switching the chips.
 I spent a couple of hours to configure it and gave up, because it is not
 easy to configure or
 even easy to troubleshoot.

It is still easy:
emerge bumblebee
rc-update add bumblebee default

That's all I did and it works.

With Linux, I just add optirun  in front of the command in the program-menu 
item.
On MS Windows, I need to:
1) Start the program
2) Stop the program
3) Configure the driver to use the NVidia chipset for the program (It doesn't 
show in the list before I start it once)

And for a lot of these, I need to redo it every time I update the drivers.

  A single GPU makes things simpler, but being able to have the best of both
  options:
  1) Intel = low power = long battery life
  2) Nvidia = good quality 3D, but shorter battery life
  
  The NVidia chip is actually switched off when not being used. (Or if not,
  I
  wouldn't notice as the battery life is significantly better after
  installing
  bumblebee and running the bumblebee service.)
 
 Thats right for the current setup, but it is possible to have a laptop with
 a powerful Intel GPU, right?

If there is a powerful Intel GPU. But those don't come close to the specs 
NVidia and ATI put into the real GPUs.

--
Joost



Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread J. Roeleveld
On Wednesday, December 17, 2014 01:09:16 PM behrouz khosravi wrote:
  You need bumblebee. Otherwise it's not possible to use the Nvidia
  Optimus chip.
 
 I think that it is possible, or supposed to be possible!
 The gentoo wiki says that Nvidia drivers are now supporting the optimus, so
 it is called native optimus support
 
   I just waned to use optimus without that, but it seem the it is not
   easy!
  
  It's not possible, because the Nvidia Optimus chip isn't a full featured
  graphics card, and doesn't write directly to the screen. Joost already
  explained it pretty well.
  
  Exactly, that is why the Nvidia driver is using the xrandr for offloading
 
 the tasks.

That convoluted method (xrandr..) is what bumblebee does in the 
background. Along with enabling/disabling the nvidia chip.

--
Joost



Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread Heiko Baums
Am 17.12.2014 um 07:35 schrieb J. Roeleveld:

 What issues did you experience?

Honestly I don't remember anymore. But nouveau never worked well for me,
maybe missing 3D performance or even support or other issues. I just
switched to nvidia-drivers and had no problems.

But it's a while ago that I tried nouveau.

Heiko



Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread Heiko Baums
Am 17.12.2014 um 10:39 schrieb behrouz khosravi:

 I think that it is possible, or supposed to be possible!
 The gentoo wiki says that Nvidia drivers are now supporting the optimus, so
 it is called native optimus support

That's only true for the Windows version of the Nvidia driver, not for
the Linux version.

Heiko



Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread J. Roeleveld
On Wednesday, December 17, 2014 11:49:08 AM Heiko Baums wrote:
 Am 17.12.2014 um 10:39 schrieb behrouz khosravi:
  I think that it is possible, or supposed to be possible!
  The gentoo wiki says that Nvidia drivers are now supporting the optimus,
  so
  it is called native optimus support
 
 That's only true for the Windows version of the Nvidia driver, not for
 the Linux version.
 
 Heiko

Not really, on MS Windows it is also handled by a seperate program. That bit 
just happens to be installed as part of the driver itself.

--
Joost



Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread Erik Mackdanz
J. Roeleveld jo...@antarean.org writes:

 On Tuesday, December 16, 2014 05:46:30 PM Erik Mackdanz wrote:
 Heiko Baums li...@baums-on-web.de writes:
  I don't know if, but I don't think that, it will work with
  x11-drivers/xf86-video-nouveau.
 
 I used bumblebee for quite a while.  It worked okay, but every upgrade I
 would have to fiddle with it again.
 
 I switched to the Nouveau driver and I'm very glad I did.  Conventional
 wisdom says Nouveau quality is lower than Nvidia, but I found it worked
 better on some things (Second Life).
 
 As someone else pointed out, with Nouveau the GPU remains on all the
 time consuming power.  This is the downside.
 
 If ease-of-use and/or open licensing are more important to you than top
 rendering quality and power consumption, consider using Nouveau.

 I've been using bumblebee for over a year now. (First laptop with Optimus) 
 and 
 not had any issues. It always works as advertised.

 What issues did you experience?

I remember more than once changing bumblebee.conf during an upgrade,
when the service failed to start.  This is over two years ago now, so I
don't remember any more than that.

You could tell me that bumblebee is now stable and rock-solid, but I
still wouldn't switch from Nouveau.  I've had a good experience, and
open source matters to me.

On top of that, this laptop has only a year or so left before I replace
it, and I know now to avoid Optimus entirely in the future.

 --
 Joost


-- 
Erik Mackdanz



Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread J. Roeleveld
On Wednesday, December 17, 2014 07:16:54 AM Erik Mackdanz wrote:
 J. Roeleveld jo...@antarean.org writes:
  On Tuesday, December 16, 2014 05:46:30 PM Erik Mackdanz wrote:
  Heiko Baums li...@baums-on-web.de writes:
   I don't know if, but I don't think that, it will work with
   x11-drivers/xf86-video-nouveau.
  
  I used bumblebee for quite a while.  It worked okay, but every upgrade I
  would have to fiddle with it again.
  
  I switched to the Nouveau driver and I'm very glad I did.  Conventional
  wisdom says Nouveau quality is lower than Nvidia, but I found it worked
  better on some things (Second Life).
  
  As someone else pointed out, with Nouveau the GPU remains on all the
  time consuming power.  This is the downside.
  
  If ease-of-use and/or open licensing are more important to you than top
  rendering quality and power consumption, consider using Nouveau.
  
  I've been using bumblebee for over a year now. (First laptop with Optimus)
  and not had any issues. It always works as advertised.
  
  What issues did you experience?
 
 I remember more than once changing bumblebee.conf during an upgrade,
 when the service failed to start.  This is over two years ago now, so I
 don't remember any more than that.

A lot can happen in 2 years. (For instance a fork and complete re-write of the 
codebase)

 You could tell me that bumblebee is now stable and rock-solid, but I
 still wouldn't switch from Nouveau.  I've had a good experience, and
 open source matters to me.

Bumblebee also seems to support Nouveau.

 On top of that, this laptop has only a year or so left before I replace
 it, and I know now to avoid Optimus entirely in the future.

That is your choice, I like the idea behind it and have no issues with the way 
it currently works.

--
Joost



Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread Christian Kruse
Hi,

Heiko Baums writes:

 It's not possible, because the Nvidia Optimus chip isn't a full featured
 graphics card, and doesn't write directly to the screen. Joost already
 explained it pretty well.

I'm using a T530 with Optimus. I can only external monitors only with
the NVidia-Card, not with the integrated one. I tried to get the
following working roughly two years ago, but I failed:

I'd like to use the internal card most of the time since I don't care
about 3D acceleration but I do care alot about power saving. When using
an external monitor I'd like to use the NVidia card. Currently my
solution is to reboot and change bios settings, being able to switch at
runtime would be a real enhancement for me.

Is this possible?

Regards,
-- 
Christian Kruse
http://ck.kennt-wayne.de/


signature.asc
Description: PGP signature


Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread behrouz khosravi

 It is still easy:
 emerge bumblebee
 rc-update add bumblebee default

 That's all I did and it works.


I dont consider bumblebee as a support from nvidia!

With Linux, I just add optirun  in front of the command in the
 program-menu
 item.
 On MS Windows, I need to:
 1) Start the program
 2) Stop the program
 3) Configure the driver to use the NVidia chipset for the program (It
 doesn't
 show in the list before I start it once)

 It seems that I was wrong about the way optimus is working in Windows.
I never have tried to manually select a GPU for program. I thought that the
switching
is automatic in Windows, because my games were smooth in Windows!


 If there is a powerful Intel GPU. But those don't come close to the specs
 NVidia and ATI put into the real GPUs.


Your right but I am not gonna need those specs for a laptop. Powerful cards
are meant for a PC, where the power consumption and
cooling are not that important


Re: [gentoo-user] Nvidia and optimus

2014-12-17 Thread behrouz khosravi
On Dec 16, 2014 2:38 PM, J. Roeleveld jo...@antarean.org wrote:

 On Tuesday, December 16, 2014 02:12:06 PM behrouz khosravi wrote:
  Hello everyone.
  I was trying to get native optimus support for my laptop using the
Nvidia
  driver, but after startx the screen goes black for some several seconds
and
  xserver exits.
  The output messages are attached.
  I just added a dot to end of xorg.conf and .xinitrc to bypass it for
now.
  Thanks for your time.

 Did you install and configure Bumblebee?

 I haven't configured anything special myself and got it working following
the
 official documentation:

 http://bumblebee-project.org/install.html#Gentoo
 
 emerge bumblebee

 After installation completes, add yourself to the bumblebee group to
enable
 use of the optirun command. You will have to re-login for group changes to
 take effect.
 

 --
 Joost


Not actually, I wanted to get it working without bumblebee, but it seems
that its not easy! In my Arch box a I couldent manage too set up too.
I guess I will try that sometime.


Re: [gentoo-user] Nvidia and optimus

2014-12-16 Thread J. Roeleveld
On Tuesday, December 16, 2014 02:12:06 PM behrouz khosravi wrote:
 Hello everyone.
 I was trying to get native optimus support for my laptop using the Nvidia
 driver, but after startx the screen goes black for some several seconds and
 xserver exits.
 The output messages are attached.
 I just added a dot to end of xorg.conf and .xinitrc to bypass it for now.
 Thanks for your time.

Did you install and configure Bumblebee?

I haven't configured anything special myself and got it working following the 
official documentation:

http://bumblebee-project.org/install.html#Gentoo

emerge bumblebee

After installation completes, add yourself to the bumblebee group to enable 
use of the optirun command. You will have to re-login for group changes to 
take effect.


--
Joost



Re: [gentoo-user] Nvidia and optimus

2014-12-16 Thread behrouz khosravi
On Tue, Dec 16, 2014 at 2:38 PM, J. Roeleveld jo...@antarean.org wrote:

 On Tuesday, December 16, 2014 02:12:06 PM behrouz khosravi wrote:
  Hello everyone.
  I was trying to get native optimus support for my laptop using the Nvidia
  driver, but after startx the screen goes black for some several seconds
 and
  xserver exits.
  The output messages are attached.
  I just added a dot to end of xorg.conf and .xinitrc to bypass it for now.
  Thanks for your time.

 Did you install and configure Bumblebee?

 I haven't configured anything special myself and got it working following
 the
 official documentation:

 http://bumblebee-project.org/install.html#Gentoo
 
 emerge bumblebee

 After installation completes, add yourself to the bumblebee group to
 enable
 use of the optirun command. You will have to re-login for group changes to
 take effect.
 

 --
 Joost


I have not tried the bumblebee.
I just waned to use optimus without that, but it seem the it is not easy!
I think I will try that sometime


Re: [gentoo-user] Nvidia and optimus

2014-12-16 Thread J. Roeleveld
On Tuesday, December 16, 2014 03:25:08 PM behrouz khosravi wrote:
 On Tue, Dec 16, 2014 at 2:38 PM, J. Roeleveld jo...@antarean.org wrote:
  On Tuesday, December 16, 2014 02:12:06 PM behrouz khosravi wrote:
   Hello everyone.
   I was trying to get native optimus support for my laptop using the
   Nvidia
   driver, but after startx the screen goes black for some several seconds
  
  and
  
   xserver exits.
   The output messages are attached.
   I just added a dot to end of xorg.conf and .xinitrc to bypass it for
   now.
   Thanks for your time.
  
  Did you install and configure Bumblebee?
  
  I haven't configured anything special myself and got it working following
  the
  official documentation:
  
  http://bumblebee-project.org/install.html#Gentoo
  
  emerge bumblebee
  
  After installation completes, add yourself to the bumblebee group to
  enable
  use of the optirun command. You will have to re-login for group changes to
  take effect.
  
  
  --
  Joost
 
 I have not tried the bumblebee.
 I just waned to use optimus without that, but it seem the it is not easy!
 I think I will try that sometime

The idea of Optimus is to use the lower-spec GPU for the general activities 
and only enable the higher-spec GPU (NVidia) for processes requiring the extra 
processing power (generally 3D games or rendering).

Using bumblebee, you can start an application using optirun application.
The application then can use the Nvidia-chip. Other applications will still 
use the lower-spec GPU.

--
Joost



Re: [gentoo-user] Nvidia and optimus

2014-12-16 Thread behrouz khosravi


 The idea of Optimus is to use the lower-spec GPU for the general activities
 and only enable the higher-spec GPU (NVidia) for processes requiring the
 extra
 processing power (generally 3D games or rendering).

 Using bumblebee, you can start an application using optirun
 application.
 The application then can use the Nvidia-chip. Other applications will still
 use the lower-spec GPU.

 --
 Joost


Well actually I dont play games on linux, but I like to see how it is
performing.
What is interesting for is using a set up that does the offloading
automatically.
However it seems that the optimus support for linux is not good at all, and
I hope it get better eventually.
I am beginning to thinks that maybe Linus was right NVIDIA!!


Re: [gentoo-user] Nvidia and optimus

2014-12-16 Thread J. Roeleveld
On 16 December 2014 19:11:43 CET, behrouz khosravi bz.khosr...@gmail.com 
wrote:


 The idea of Optimus is to use the lower-spec GPU for the general
activities
 and only enable the higher-spec GPU (NVidia) for processes requiring
the
 extra
 processing power (generally 3D games or rendering).

 Using bumblebee, you can start an application using optirun
 application.
 The application then can use the Nvidia-chip. Other applications will
still
 use the lower-spec GPU.

 --
 Joost


Well actually I dont play games on linux, but I like to see how it is
performing.
What is interesting for is using a set up that does the offloading
automatically.
However it seems that the optimus support for linux is not good at all,
and
I hope it get better eventually.
I am beginning to thinks that maybe Linus was right NVIDIA!!

The Optimus support on Linux is similar to how it's done on ms windows. (I dual 
boot for a flight sim)

Performance wise, it depends on the GPU.
The lowspec one I have is an Intel embedded one. The higher spec is an NVidia 
GT750.

Using glxgears:
Without  (Intel): 60fps
With (NVidia): 90-95 fps

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Nvidia and optimus

2014-12-16 Thread behrouz khosravi
On Tue, Dec 16, 2014 at 11:19 PM, J. Roeleveld jo...@antarean.org wrote:

 The Optimus support on Linux is similar to how it's done on ms windows. (I
 dual boot for a flight sim)

 Performance wise, it depends on the GPU.
 The lowspec one I have is an Intel embedded one. The higher spec is an
 NVidia GT750.

 Using glxgears:
 Without  (Intel): 60fps
 With (NVidia): 90-95 fps

 --
 Joost
 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.


Thanks for the info.
However I think that I will wait till better support is provided for linux.
And I am sure if I am ever going to buy a new laptop, I will make sure that
it has only one GPU! ( Intel would be nice!)


Re: [gentoo-user] Nvidia and optimus

2014-12-16 Thread J. Roeleveld
On Wednesday, December 17, 2014 12:29:24 AM behrouz khosravi wrote:
 On Tue, Dec 16, 2014 at 11:19 PM, J. Roeleveld jo...@antarean.org wrote:
  The Optimus support on Linux is similar to how it's done on ms windows. (I
  dual boot for a flight sim)
  
  Performance wise, it depends on the GPU.
  The lowspec one I have is an Intel embedded one. The higher spec is an
  NVidia GT750.
  
  Using glxgears:
  Without  (Intel): 60fps
  With (NVidia): 90-95 fps
  
  --
  Joost
  --
  Sent from my Android device with K-9 Mail. Please excuse my brevity.
 
 Thanks for the info.
 However I think that I will wait till better support is provided for linux.

What would you consider better support?
The way it works currently is how it's working with MS Windows (as provided by 
NVidia).

 And I am sure if I am ever going to buy a new laptop, I will make sure that
 it has only one GPU! ( Intel would be nice!)

A single GPU makes things simpler, but being able to have the best of both 
options:
1) Intel = low power = long battery life
2) Nvidia = good quality 3D, but shorter battery life

The NVidia chip is actually switched off when not being used. (Or if not, I 
wouldn't notice as the battery life is significantly better after installing 
bumblebee and running the bumblebee service.)

--
Joost

PS. Is there a similar technology using ATI chipsets?





Re: [gentoo-user] Nvidia and optimus

2014-12-16 Thread Heiko Baums
Am 16.12.2014 um 12:55 schrieb behrouz khosravi:

 I have not tried the bumblebee.

You need bumblebee. Otherwise it's not possible to use the Nvidia
Optimus chip.

 I just waned to use optimus without that, but it seem the it is not easy!

It's not possible, because the Nvidia Optimus chip isn't a full featured
graphics card, and doesn't write directly to the screen. Joost already
explained it pretty well.

The 2D graphics is done by the GPU embedded in the CPU, which also
writes the output to the screen. The Nvidia Optimus chip is only a
helper chip to do the additional 3D rendering. It gives its output to
the GPU embedded in the CPU which in turn writes the output to the screen.

To use the Nvidia Optimus chip you need to install these packages:

x11-misc/bumblebee
x11-misc/virtualgl
sys-power/bbswitch
x11-drivers/nvidia-drivers

I don't know if, but I don't think that, it will work with
x11-drivers/xf86-video-nouveau.

Then you need to add bumblebee and vgl to your default runlevel.

rc-update add bumblebee
rc-update add vgl

To run a 3D application you need to start it with `optirun command`.

And don't try to `eselect opengl set nvidia`. This won't work for the
described reasons. You need to `eselect opengl set xorg-x11`.

 I think I will try that sometime

It's actually quite easy and the Nvidia Optimus support by bumblebee is
pretty good.

The reason why this is done this way is power saving. 3D rendering is
pretty power-consuming.

Heiko



Re: [gentoo-user] Nvidia and optimus

2014-12-16 Thread Sid S
I got bumblebee to work on hardened w/ SELinux. It is definitely ready for
use. Anyway, as has been explained, you basically HAVE to use optimus - if
you would like to return your laptop and/or sue the laptop manufacturer for
false advertising, now would be the time to do it.

On Tue, Dec 16, 2014 at 3:39 PM, Heiko Baums li...@baums-on-web.de wrote:

 Am 16.12.2014 um 12:55 schrieb behrouz khosravi:

  I have not tried the bumblebee.

 You need bumblebee. Otherwise it's not possible to use the Nvidia
 Optimus chip.

  I just waned to use optimus without that, but it seem the it is not easy!

 It's not possible, because the Nvidia Optimus chip isn't a full featured
 graphics card, and doesn't write directly to the screen. Joost already
 explained it pretty well.

 The 2D graphics is done by the GPU embedded in the CPU, which also
 writes the output to the screen. The Nvidia Optimus chip is only a
 helper chip to do the additional 3D rendering. It gives its output to
 the GPU embedded in the CPU which in turn writes the output to the screen.

 To use the Nvidia Optimus chip you need to install these packages:

 x11-misc/bumblebee
 x11-misc/virtualgl
 sys-power/bbswitch
 x11-drivers/nvidia-drivers

 I don't know if, but I don't think that, it will work with
 x11-drivers/xf86-video-nouveau.

 Then you need to add bumblebee and vgl to your default runlevel.

 rc-update add bumblebee
 rc-update add vgl

 To run a 3D application you need to start it with `optirun command`.

 And don't try to `eselect opengl set nvidia`. This won't work for the
 described reasons. You need to `eselect opengl set xorg-x11`.

  I think I will try that sometime

 It's actually quite easy and the Nvidia Optimus support by bumblebee is
 pretty good.

 The reason why this is done this way is power saving. 3D rendering is
 pretty power-consuming.

 Heiko




Re: [gentoo-user] Nvidia and optimus

2014-12-16 Thread Erik Mackdanz
Heiko Baums li...@baums-on-web.de writes:

 I don't know if, but I don't think that, it will work with
 x11-drivers/xf86-video-nouveau.

I used bumblebee for quite a while.  It worked okay, but every upgrade I
would have to fiddle with it again.

I switched to the Nouveau driver and I'm very glad I did.  Conventional
wisdom says Nouveau quality is lower than Nvidia, but I found it worked
better on some things (Second Life).

As someone else pointed out, with Nouveau the GPU remains on all the
time consuming power.  This is the downside.

If ease-of-use and/or open licensing are more important to you than top
rendering quality and power consumption, consider using Nouveau.

-- 
Erik Mackdanz



Re: [gentoo-user] Nvidia and optimus

2014-12-16 Thread Sid S
Using nouveau doesn't imply the card will always be on. Assuming the
firmware on the device turns it off and on, vga-switcheroo or bbswitch will
send the proper ACPI commands to turn it off and on. When it is on the
chosen driver will be used.

On Tue, Dec 16, 2014 at 5:46 PM, Erik Mackdanz erikm...@gmail.com wrote:

 Heiko Baums li...@baums-on-web.de writes:

  I don't know if, but I don't think that, it will work with
  x11-drivers/xf86-video-nouveau.

 I used bumblebee for quite a while.  It worked okay, but every upgrade I
 would have to fiddle with it again.

 I switched to the Nouveau driver and I'm very glad I did.  Conventional
 wisdom says Nouveau quality is lower than Nvidia, but I found it worked
 better on some things (Second Life).

 As someone else pointed out, with Nouveau the GPU remains on all the
 time consuming power.  This is the downside.

 If ease-of-use and/or open licensing are more important to you than top
 rendering quality and power consumption, consider using Nouveau.

 --
 Erik Mackdanz




Re: [gentoo-user] Nvidia and optimus

2014-12-16 Thread J. Roeleveld
On Tuesday, December 16, 2014 05:46:30 PM Erik Mackdanz wrote:
 Heiko Baums li...@baums-on-web.de writes:
  I don't know if, but I don't think that, it will work with
  x11-drivers/xf86-video-nouveau.
 
 I used bumblebee for quite a while.  It worked okay, but every upgrade I
 would have to fiddle with it again.
 
 I switched to the Nouveau driver and I'm very glad I did.  Conventional
 wisdom says Nouveau quality is lower than Nvidia, but I found it worked
 better on some things (Second Life).
 
 As someone else pointed out, with Nouveau the GPU remains on all the
 time consuming power.  This is the downside.
 
 If ease-of-use and/or open licensing are more important to you than top
 rendering quality and power consumption, consider using Nouveau.

I've been using bumblebee for over a year now. (First laptop with Optimus) and 
not had any issues. It always works as advertised.

What issues did you experience?

--
Joost