On Mon, Mar 18, 2013 at 6:50 AM, Ritesh Raj Sarraf <r...@researchut.com> wrote: > On Monday 18 March 2013 01:15 PM, Vincent Cheng wrote: >> Try testing with: >> # apt-get install mesa-utils >> $ optirun -b primus glxgears -info >> $ primusrun glxgears -info > > Okay!! I got uniform results but I had to again uncomment the following > line. Without it, it was running on the Intel card. > > # Need functions from primus libGL to take precedence > export LD_LIBRARY_PATH=${PRIMUS_libGL}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
That line was already uncommented out in the script shipped by the package... >>> > Where as, if you run optirun (or -b primus), you will notice it running >>> > on nvidia. >>> > >>> > Easiest way to verify this is to watch /proc/acpi/bbswitch when using >>> > either of the interface. >> That's not reliable way of verifying this because you can force the >> secondary X server to be permanently on, and running on your nvidia >> GPU. It's as simple as >> s/KeepUnusedXServer=false/KeepUnusedXServer=true/ in >> /etc/bumblebee/bumblebee.conf, or "optirun bash". > Yes. But I have ensure always that I review the config file. And in my > opinion, the defaults should be KeepUnusedXServer=false I suppose a better way of explaining why watching /proc/acpi/bbswitch isn't reliable is by referencing the differences between how the virtualgl and primus backends work. Virtualgl will always cause the secondary X server to be spawned (everything is rendered on the secondary X server before being displayed on the primary X server), whereas primus will only offload glx calls to bumblebee, thus the secondary X server will only start up when you run some sort of opengl application with primus. That means that "optirun bash" or "optirun xterm" will invariably turn on the secondary X server and the nvidia gpu, whereas "primusrun bash" or "primusrun xterm" (or some other application that doesn't use any glx calls) will not. > I will try to update all the packages now and see the final results. > Looks like you guys have pushed some updates today. Please do test out my changes, but also please don't upload the packages yet. I want to sort out the conffiles issue [1] first... Regards, Vincent [1] http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/2013-March/008565.html -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CACZd_tDkGoj=_rRN3XEA6H3BweK6yk5TkU7hnVaUwShoa+g=b...@mail.gmail.com