MrMEEE / bumblebee-Old-and-abbandoned

OUTDATED!!!!! - Replaced by "The Bumblebee Project" and "Ironhide"
http://www.martin-juhl.dk/2011/08/ironhide-reporting-for-duty/
469 stars 50 forks source link

update to latest version but Bumblee X server fails (alienware R3) #549

Closed bigbike closed 13 years ago

bigbike commented 13 years ago

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.

Lekensteyn commented 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

bigbike commented 13 years ago

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

Lekensteyn commented 13 years ago

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
bigbike commented 13 years ago

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

bigbike commented 13 years ago

When trying to fix the optirun problem, It said:

Lekensteyn commented 13 years ago

@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
bigbike commented 13 years ago

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

bigbike commented 13 years ago

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

ArchangeGabriel commented 13 years ago

Could you try https://github.com/MrMEEE/bumblebee/issues/493#issuecomment-1662510

bigbike commented 13 years ago

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!