Problem with glxgears on Debian Squeeze
Hello,
I have a laptop Acer Aspire 5742G with Nvidia Optimus, I have installed Debian Squeeze on it and I used the Debian Wiki to install Bumblebee on it because of the Nvidia Optimus, my video card is Nvidia Geforce GT 540M, my lspci is the following: Code:
lspci | grep VGA Code:
glxgears Code:
optirun glxgears Please Help, I tried to find and answer on google but all the solutions I found did not work. Thank you!! |
You'll need to get newer nVidia drivers. Squeeze only has 195.XX drivers, need 270.41.06 or higher.
|
Quote:
before anything thanks for responding, so how can I do that? I need to install wheezy or what options I have, can you explain it a bit more, please What about Ubuntu or other Distro instead? Cheers!! |
Just use the squeeze-backports repository, the driver version is 275.36 in that repository.
|
Quote:
so to do that I use the following command: sudo apt-get install -t squeeze-backports nvidia-glx linux-headers-$(uname -r) nvidia-kernel-dkms please confirm, or tell me what is the right command and if I need more than the following repositories: Quote:
|
First you have to add the backports repository to your /etc/sources.list (using a text editor as root) and update the package database
Code:
apt-get update |
Quote:
I just did the apt-get update Code:
apt-get install -t squeeze-backports nvidia-glx linux-headers-$(uname -r) nvidia-kernel-dkms Quote:
|
Looks like you havent added the backports repo. Or you have just added 'main', you will need 'non-free'.
Add this line- deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free Useful info and a few pics showing how to add the backpotrs repo with synaptic (GUI) here- http://wiki.debian.org/Backports Edit- Quote:
For a few technical reasons I prefer backports over manual installation. |
Hello Cascade,
I add the new repository that you mention to my sources list and disable the other one I had of backports and yes it updated some new packages I restarted and it seems to be working because when I do the following command I get this: Quote:
Quote:
Cheers!! |
For what I am seeing it seems to be everything working all right except opengl it seems I am missing some packages because I get some errors when I tried to run compiz fusion icon or cairo dock with opengl here are the errors I get
Quote:
Quote:
Cheers!! |
Also I tried to install openGL Screensavers like MatrixGL and dont seem to work either when I preview it, comes out a blank screen and on the top left corner is a yellow triangle like the signal of warning!!!
Any idea what I am missing since anything with openGL works neither compiz, emulators, cairo-dock and screensavers. please help, I been trying to find info on google about it but, nothing at all!! Please help!! Cheers! |
Please help, it is driving me crazy!!!
|
I have exactly the same laptop & graphics chip.
Just checked on my squeeze install (which previously had the nvidia driver installed via the nvidia script for testing purposes) and Code:
aptitude install -t squeeze-backports nvidia-kernel-dkms I have the stock kernel and already had the headers installed and never installed bumblebee. I would remove bumblebee and any mods it required/made. |
I'm no bumblebee expert. Maybe you can find something in the troubleshooting page?
https://github.com/Bumblebee-Project...roubleshooting AFAIK removing bumblebee will stop you from using the nVidia GPU at all, everything will be done by the intel video chip. If you do that you might as well turn off the nVidia GPU, its just sitting there eating power for no reason.... |
Hello guys,
first of all thanks for the reply and for all your help, I finally solve this problem, now I got bumblebee installed, my laptop no overheats, my battery works a lot better and my opengl is working fine. Here is how I solved it, once you installed all the bumblebee stuff and your nvidia is working fine then open a terminal as root and put the following command: update-alternatives --set glx /usr/lib/mesa-diverted Reboot Computer And That's it should be working |
Quote:
No bumblebee here and ,,, Code:
me@acer-lappy:~$ glxinfo |
Then you've got a non-standard optimus setup. Uncommon, but does happen. If people didnt need bumblebee to get the standard optimus setups going, the project wouldnt exist.
Its quite possible you have a different model laptop to codeman1234. 'Acer Aspire 5742G' is just the family, the full model number is longer (eg Acer Aspire 5742G-7653) |
Hmm, maybe.
Code:
me@acer-lappy:~$ lspci | grep VGA I used to get a i915 module load fail in the boot msgs, but no other ill effects. I just blacklisted that module and no more error msg. |
Hmmm....could be various reasons why you've got no intel 'sandy bridge' video listed at all.
Did your laptop come with win7 starter? Starter doesnt support optimus, and optimus capable laptops using starter use a setup more like switchable graphics. In at least some cases, if you use windows starter to switch to the nVidia GPU then install linux it stays switched to the nVidia GPU, and you can install the nVidia drivers, etc. without bumblebee. |
No, it came with Win7 pro, but I haven't used it much.
Every time I have booted it, it spends about half an hour installing updates and telling me not to turn off, then rebooting to another half an hour of updates. By the time it is usable I've forgotten what I was booting Windows for ... :/ Anyway, I'm not fussed. The sid nvidia-dkms worked without a hitch, and the squeeze-backports the same. 3D performance is good & power usage is as expected (about 2.5 - 3 hours normal use) so I haven't bothered exploring. I had expected some struggles with the stated 'hybrid graphics', but the only sign of the intel was the informational boot message. |
Well, I have no idea why your optimus setup runs the way it does. At least it was easy for you. ;)
|
Quote:
|
All times are GMT -5. The time now is 05:54 AM. |