Hello.
I used to use the proprietary nvidia driver on my previous laptop (asus G75VW).
I bought a nice second hand optimus laptop ( asus g750VZ ).
After reading a lot on the subject, what is the recommended way to use the nvidia driver on an optimus laptop ( asus g750VZ ).
The current OS is leap 42.3
Kernel is 4.4.92-31-default
The graphic card is GK104M [GeForce GTX 880M]
I’m interested, because I have a similar laptop (also bought second hand :-). I have problems (minor) on video setup (see elsewhere on this forum) but bumblebee seems to run with Nouveau, the free driver.
I’m not sure if you can find help here for proprietary software (?).
optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
optirun glxgears -info
GL_RENDERER = Gallium 0.4 on llvmpipe (LLVM 3.8, 256 bits)
GL_VERSION = 3.0 Mesa 17.0.5
GL_VENDOR = VMware, Inc.
but it’s pretty hard to know if bumblebee runs and with what result, due to limitation in nouveau
optirun vblank_mode=0 glxspheres
/usr/bin/vglrun: ligne 257 : exec: vblank_mode=0 : non trouvé (not found)
I plan to test also the proprietary driver in a near future (G04)
Hi, ASUS might have used non-standard “tricks” to maximize performance in their “G” series, so your mileage might vary.
AFAIK my recommendations from that previous post still hold true, but I haven’t tested it myself on Leap 42.3 yet.
Also be aware that recent Nvidia drivers use GLVND Multiple GLX client libraries in the NVIDIA Linux driver installer package - Announcements and News - NVIDIA Developer Forums so ensure that any guide you rely on has updated information.
Should you find problems relating to the drivers feel free to ask, better if in the Hardware subforum where most experts hang around.
Reading once more : https://en.opensuse.org/SDB:NVIDIA_Bumblebee
And the particular point : OPTIONAL: Install NVIDIA driver
As my mother language is not English, I would like to know if I understood well that in case I plan to install the Nvidia proprietary driver I just follow the procedure with nouveau from the beginning, then continue the procedure under the optional option “OPTIONAL: Install NVIDIA driver”
I don’t think so, but may be the result is the same (I don’t have the proprietary driver installed right now), for sure my code line works with this proprietary driver (extraordinary fast).
But I don’t use the video acceleration (not now, at least), I use mostly optirun with ffpmeg to conversion.
I didn’t find real way to evaluate the speed gain
and yes, I guess the proprietary driver have to be installed in addition to nouveau (I don’t know if nouveau can be removed), it’s the “driver=” somewhere that make the change.
Warning: using nvidia-xconfig creates on my ASUS N550JK an xorg.conf file that prevent booting.
Yes, that is correct. Please note that Nouveau is not “uninstalled” but “blacklisted” to give a chance to the proprietary driver:
Blacklist nouveau (even if you plan to use nouveau driver):
echo "blacklist nouveau" | sudo tee -a /etc/modprobe.d/99-local.conf
sudo mkinitrd
Also please note that bumblebee with Nouveau didn’t work on an Asus of mine on Leap 42.2 so I had to install the proprietary driver, but your mileage might vary.
So I install nvidia driver the hard way, then I follow the SDB “SDB:NVIDIA Bumblebee” from the begin to the end as if nouveau was running.
Of course it is not necessary to blacklist nouveau as it is already done when installing nvidia the hard way.
So it is not necessary to install bumblebee when nouveau is running and not blacklisted ?
Is it correct ?
Also please note that bumblebee with Nouveau didn’t work on an Asus of mine on Leap 42.2 so I had to install the proprietary driver, but your mileage might vary.
So my question is :
Due to some problem (like with asus GXXX model), If you cannot follow the sequence order as describe in “SDB:NVIDIA Bumblebee - openSUSE Wiki”, you rollback to start point, install nvidia driver the hard way, and restart from beginning but with nvidia driver installed ???
No, installing the Nvidia driver “the hard way” on Optimus laptops is going to bring you A LOT of trouble: do not do that unless you are very sure about what you are doing.
Let’s not mix things up: you have two *different *routes.
The other route is Bumblebee, the easiest way to deal with Optimus laptops AFAIK.
Follow the guide to the letter, any deviation is likely to bring you trouble.
Maybe it works with Nouveau; if not, install the Nvidia driver as described in the guide.
Anyway, the Nvidia driver must be installed *after *Bumblebee (you have even to uninstall the Nvidia driver if there is any before installing Bumblebee) and Nouveau must be blacklisted for Bumblebee to work (whether this is done automagically by the bumblebee or Nvidia install or should be done manually I’m not sure at this point; but adding that manually does no harm anyway).
Hope this helps.
And I could also spare separate driver for Intel iGPU if I did not have artefacts when DRI3 is enabled and to my best knowledge there is no easy way to disable DRI3 with modesetting driver.
With all respect - **if **DRI PRIME works, this is the most easy way because you do not need to do anything at all - it just works
Of course someone may actually want or need nVidia binary driver (performance, power management, extra features, limited hardware support by nouveau …) in which case it is either bumblebee or nvidia-prime.
Personally I never had any need to use dGPU on my Optimus notebook so I finally settled for nouveau simply to avoid extra out of tree driver (bbswitch) - dGPU is powered down automatically in this case when not used.
Agree, but that was a big IF with Leap 42.2 at least. Maybe the drm backports from 4.9.x to 4.4.x in Leap 42.3 changed things though (not tried yet myself).