<p dir="ltr"><br>
On Feb 3, 2016 09:12, "Liu Jianfeng" <<a href="mailto:liujianfeng1994@gmail.com">liujianfeng1994@gmail.com</a>> wrote:<br>
><br>
> Thank you very much. I ran "optirun glxinfo" and could see the output from NVIDIA, but nvidia-settings said nvidia driver is not running, vdpau is not working too. </p>
<p dir="ltr">As you can read on bumblebee FAQ, you have to run nvidia-settings via: optirun nvidia-settings -c :8<br>
And then it will work.</p>
<p dir="ltr">Also for vdpau you have to prefix the driver as an env variable, sorry but I forgot what it is exactly, but you can easily search for it. And then again it's completely overkill, it will just eat your battery for no benefit, the Intel cards can manage video just fine these days.</p>
<p dir="ltr">> But I also tried the 358 driver from the ppa: <a href="https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages">https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages</a> .<br>
> I have to generate the xorg.conf with nvidia-xconfig to get into the desktop. After I change libglx.so and libGL.so to those provided by nvidia, the driver just works perfect, and nvidia-settings works well.</p>
<p dir="ltr">I would very, very strongly recommend against installing Ubuntu packages in Debian. Our drivers system is packaged in a very different way and comes with extra packages, and its very likely mixing and matching will horribly break at some point down the line. Especially moving .so around manually will mean you have to manually maintain it every time there is an update. Please realize that is completely unsupported so when things break we won't be able to help.</p>
<p dir="ltr">The recommended setup on optimus systems is to use bumblebee, so that your desktop uses the low power integrated Intel card that doesn't kill your battery in 15 minutes and is more than adequate for normal usage, and then do heavy workloads like games or opencl through optirun when you need the performance.</p>
<p dir="ltr">Kind regards,<br>
Luca Boccassi</p>