Closed bigbike closed 13 years ago
Please post the output of dpkg -l bumblebee nvidia-current
.
Before running optirun, start Bumblebee manually with:
sudo /etc/init.d/bumblebee enable
this is an temporary issue and will be fixed soon
hanks for your quick reply, I ran the command and it gave me:
Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-====================================-====================================-======================================================================================== ii bumblebee 2.2.0-1~nattyubuntu10 bumblebee is Optimus support for Linux, with real offloading, ii nvidia-current 280.04-0~nattyubuntu4 NVIDIA binary Xorg driver, kernel module and VDPAU library
Until there is a bumblebee update available, please fix optirun manually:
wget https://github.com/Lekensteyn/bumblebee/raw/5b02bf2b51786622d42b26a6df9caeb02a90d352/install-files/optirun.ubuntu -O - | sudo tee /usr/bin/optirun > /dev/null
As for the glxgears issue, what is the output of:
ls -l /usr/lib/xorg /usr/lib/xorg/extra-modules/ /usr/lib/xorg/x11-extra-modules/ /etc/alternatives/*gl_conf /etc/ld.so.conf.d/*GL.conf /etc/alternatives/*xorg_extra_modules
The output is as follows:
lrwxrwxrwx 1 root root 24 2011-08-01 09:56 /etc/alternatives/gl_conf -> /usr/lib/mesa/ld.so.conf lrwxrwxrwx 1 root root 31 2011-08-01 09:56 /etc/alternatives/xorg_extra_modules -> /usr/lib/xorg/x11-extra-modules lrwxrwxrwx 1 root root 25 2011-08-01 09:56 /etc/ld.so.conf.d/GL.conf -> /etc/alternatives/gl_conf
/usr/lib/xorg: total 40 lrwxrwxrwx 1 root root 36 2011-08-01 09:56 extra-modules -> /etc/alternatives/xorg_extra_modules drwxr-xr-x 6 root root 4096 2011-06-10 06:55 modules -rw-r--r-- 1 root root 31246 2011-05-21 04:48 protocol.txt drwxr-xr-x 2 root root 4096 2011-07-16 02:25 x11-extra-modules
/usr/lib/xorg/extra-modules/: total 0 lrwxrwxrwx 1 root root 28 2011-07-16 02:25 xorg -> /usr/lib/nvidia-current/xorg
/usr/lib/xorg/x11-extra-modules/: total 0 lrwxrwxrwx 1 root root 28 2011-07-16 02:25 xorg -> /usr/lib/nvidia-current/xorg
When trying to fix the optirun problem, It said:
@blgbike: run:
sudo rm /usr/lib/xorg/extra-modules/xorg /usr/lib/xorg/x11-extra-modules/xorg
sudo rmmod nouveau && sudo modprobe nvidia-current
optirun glxgears
Thanks a lot, Lekensteyn! The optirun works now. However simply trying to run glxgears still fails:
Error: couldn't get an RGB, Double-buffered visual
The output of: ls -l /usr/lib/xorg /usr/lib/xorg/extra-modules/ /usr/lib/xorg/x11-extra-modules/ /etc/alternatives/_gl_conf /etc/ld.so.conf.d/_GL.conf /etc/alternatives/*xorg_extra_modules
is:
lrwxrwxrwx 1 root root 24 2011-08-01 09:56 /etc/alternatives/gl_conf -> /usr/lib/mesa/ld.so.conf lrwxrwxrwx 1 root root 31 2011-08-01 09:56 /etc/alternatives/xorg_extra_modules -> /usr/lib/xorg/x11-extra-modules lrwxrwxrwx 1 root root 25 2011-08-01 09:56 /etc/ld.so.conf.d/GL.conf -> /etc/alternatives/gl_conf
/usr/lib/xorg: total 40 lrwxrwxrwx 1 root root 36 2011-08-01 09:56 extra-modules -> /etc/alternatives/xorg_extra_modules drwxr-xr-x 6 root root 4096 2011-06-10 06:55 modules -rw-r--r-- 1 root root 31246 2011-05-21 04:48 protocol.txt drwxr-xr-x 2 root root 4096 2011-08-01 15:22 x11-extra-modules
/usr/lib/xorg/extra-modules/: total 0
/usr/lib/xorg/x11-extra-modules/: total 0
Thanks ArchangeGabriel, I will give a try later. Currently I can run my graphics program via optirun. That is the most important thing. I am hoping all the problems may be fixed by next release of bumblebee. Thanks you guys' help!
I updated the system to the latest bumblee version via update manager. when running optirun glxgears It just gave me:
simply running glxgears: Error: couldn't get an RGB, Double-buffered visual
Try to fix it using the configuration on internet ( I submitted a couple days ago) but failed.
Manally config it, failed again.
My computer: Alienware R3: intel i7 2617m + NV GT 540m 2G
I will generate a bug report and email you. Thanks.