<div dir="ltr"><div><div><div>Thanks Vincent.<br><br></div>I removed bumblebee related packages & rebooted, then ran this instruction:<br><br># apt-get -t wheezy-backports install bumblebee<br><br></div>It installed bumblebee and recommended that I install "bumblebee-nvidia", and it also gave this warning:<br>
<br>insserv: warning: script is corrupt or invalid: /etc/init.d/../rc2.d/S22rc.local~<br><br></div>(I attached S22rc.local~ to this email)<br><div><br></div><div>But now when I try to install "bumblebee-nvidia" (either using "apt-get install" or from wheezy-backports), it gives this error:<br>
<br>Reading package lists... Done<br>Building dependency tree       <br>Reading state information... Done<br>Package bumblebee-nvidia is not available, but is referred to by another package.<br>This may mean that the package is missing, has been obsoleted, or<br>
is only available from another source<br><br>E: Package 'bumblebee-nvidia' has no installation candidate<br><br><br></div><div>How do I install "bumblebee-nvidia"?<br><br></div><div>PS: Do you know if it is easy to increase the size of my dmesg output? When I experienced that recent hung GPU my dmesg output overflowed, so it would be good if I can make it bigger for next time I need it.<br>
</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><br>Cheers,<br>Shervin Emami.<br><a href="http://www.shervinemami.info/openCV.html" target="_blank">http://www.shervinemami.info/openCV.html</a></div>

<br><br><div class="gmail_quote">On Wed, Jul 17, 2013 at 7:07 PM, Vincent Cheng <span dir="ltr"><<a href="mailto:vincentc1208@gmail.com" target="_blank">vincentc1208@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wed, Jul 17, 2013 at 6:35 PM, Shervin Emami <<a href="mailto:shervin.emami@gmail.com">shervin.emami@gmail.com</a>> wrote:<br>
> Thanks Vincent, I am new to Debian so actually I hadn't installed any<br>
> backports because I thought it was difficult and cause instabilities, but<br>
> now I realize backports are actually really easy and potentially more stable<br>
> than my current situation.<br>
<br>
</div>While there's no guarantee of stability if you use backported packages<br>
(you may have noticed that backports are not enabled or even mentioned<br>
in sources.list by default), they're typically more stable and less<br>
likely to cause trouble compared to 3rd-party packages/repositories,<br>
or compiling from source. After all, backported packages (from<br>
backports.d.o) are prepared and/or uploaded by Debian<br>
Developers/Maintainers.<br>
<div class="im"><br>
> I was using the instructions at "<a href="http://wiki.debian.org/Bumblebee" target="_blank">http://wiki.debian.org/Bumblebee</a>" for<br>
> Wheezy so I was getting bumblebee from "<a href="http://suwako.nomanga.net/" target="_blank">http://suwako.nomanga.net/</a>", and<br>
> using the Wheezy versions of Linux kernel and nvidia-current, nvidia-glx,<br>
> nvidia-kernel-dkms, freeglut3, libxmu6, nvidia-cuda-toolkit packages, and I<br>
> had set glx to "/usr/lib/mesa-diverted".<br>
<br>
</div>Just wanted to point out that "nvidia-current" is an Ubuntu-specific<br>
metapackage, and if you have that installed, you may want to check to<br>
see if you've installed any other Ubuntu packages by accident.<br>
<div class="im"><br>
> So now I should uninstall bumblebee, bbswitch-dkms, virtualgl &<br>
> virtualgl-libs (and remove it from sources.list), then install them from<br>
> wheezy-backports while still using the Wheezy versions of everything else?<br>
> Or should I also install the nvidia packages from backports or download<br>
> latest from NVIDIA website?<br>
<br>
</div>Yes, stick with packages from wheezy and cherrypick what you need from<br>
wheezy-backports (you can obviously still fetch packages from other<br>
sources, but then you're less likely to receive support from official<br>
Debian support channels).<br>
<br>
There currently aren't any nvidia packages in wheezy-backports, but<br>
the version in wheezy (304.xx) is new enough to work with bumblebee<br>
and with your Quadro 1000M (which according to nvidia only requires a<br>
driver >= 270.41 [1]), so you'll get all you need for Optimus support<br>
with:<br>
<br>
# apt-get install nvidia-glx bumblebee-nvidia primus<br>
<br>
And if you're using your nvidia card purely for CUDA, not for running<br>
any opengl applications with your nvidia card, you don't even need<br>
virtualgl/primus.<br>
<br>
Hope that helps!<br>
<br>
Regards,<br>
Vincent<br>
<br>
[1] <a href="http://www.nvidia.com/object/linux-display-ia32-270.41.06-driver" target="_blank">http://www.nvidia.com/object/linux-display-ia32-270.41.06-driver</a><br>
</blockquote></div><br></div>