Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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
The just install the drivers with your command.
Hello Tobi,
I just did the apt-get update
Code:
apt-get install -t squeeze-backports nvidia-glx linux-headers-$(uname -r) nvidia-kernel-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-glx is already the newest version.
nvidia-kernel-dkms is already the newest version.
linux-headers-2.6.32-5-amd64 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 108 not upgraded.
It says it is already installed as you can see, what I am doing wrong? because I still dont get glxgears to work as you can see below:
Quote:
glxgears
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual
Cheers!!
Last edited by codeman1234; 04-27-2012 at 02:15 PM.
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
Theres a few ways to get newer nVidia drivers with debian. The most common are manually d/l and install the drivers from nVidia, or use debian backports.
For a few technical reasons I prefer backports over manual installation.
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:
optirun glxgears
2489 frames in 5.0 seconds = 497.632 FPS
2396 frames in 5.0 seconds = 479.053 FPS
2528 frames in 5.0 seconds = 505.495 FPS
2480 frames in 5.0 seconds = 495.996 FPS
[VGL] ERROR: in readback--
[VGL] 241: Window has been deleted by window manager
But, when I do only glxgears I get the following:
Quote:
glxgears
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual
Is that right because of bumblebee? Because I see it working a lot better, can someone please confirm it!
Cheers!!
Last edited by codeman1234; 04-27-2012 at 07:49 PM.
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:
fusion-icon
* Error: the "FusionIcon" module is missing. If you did not install fusion-icon to /usr, you may need to add the appropriate site-packages directory to your PYTHONPATH
root@CalSci:/home/charlie# export PYTHONPATH="$PYTHONPATH:/usr/lib/python2.5/site-packages"
root@CalSci:/home/charlie# fusion-icon
* Detected Session: gnome
* Searching for installed applications...
Backend : ini
Integration : true
Profile : default
Initializing decoration options...done
* No GLX_EXT_texture_from_pixmap with direct rendering context
... nor with indirect rendering, this isn't going to work!
* Using the GTK Interface
No protocol specified
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/usr/lib/python2.5/site-packages/FusionIcon/interface_gtk/main.py:207: Warning: invalid (NULL) pointer instance
icon = gtk.status_icon_new_from_icon_name('fusion-icon')
/usr/lib/python2.5/site-packages/FusionIcon/interface_gtk/main.py:207: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
icon = gtk.status_icon_new_from_icon_name('fusion-icon')
/usr/lib/python2.5/site-packages/FusionIcon/interface_gtk/main.py:207: GtkWarning: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
icon = gtk.status_icon_new_from_icon_name('fusion-icon')
/usr/lib/python2.5/site-packages/FusionIcon/interface_gtk/main.py:207: GtkWarning: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
icon = gtk.status_icon_new_from_icon_name('fusion-icon')
/usr/lib/python2.5/site-packages/FusionIcon/interface_gtk/main.py:207: GtkWarning: gdk_x11_display_get_xdisplay: assertion `GDK_IS_DISPLAY (display)' failed
icon = gtk.status_icon_new_from_icon_name('fusion-icon')
/usr/lib/python2.5/site-packages/FusionIcon/interface_gtk/main.py:207: GtkWarning: gdk_screen_get_number: assertion `GDK_IS_SCREEN (screen)' failed
icon = gtk.status_icon_new_from_icon_name('fusion-icon')
Segmentation fault
Quote:
cairo-dock -o
Xlib: extension "GLX" missing on display ":0.0".
warning : (cairo-dock-opengl.c:cairo_dock_initialize_opengl_backend:171)
couldn't find an appropriate visual, trying to get one without Stencil buffer
(it may cause some little deterioration in the rendering) ...
Xlib: extension "GLX" missing on display ":0.0".
warning : (cairo-dock-opengl.c:cairo_dock_initialize_opengl_backend:189)
still couldn't find an appropriate visual ourself, trying something else, this may not work with some drivers ...
Xlib: extension "GLX" missing on display ":0.0".
warning : (cairo-dock-opengl.c:cairo_dock_initialize_opengl_backend:200)
no luck, trying without double-buffer and stencil ...
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
warning : (cairo-dock-opengl.c:cairo_dock_initialize_opengl_backend:212)
we could not get an ARGB-visual, trying to get an RGB one (fake transparency will be used in return) ...
Xlib: extension "GLX" missing on display ":0.0".
Segmentation fault
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!!
worked perfectly (removing the nvidia script cruft and blacklisting the nouveau module in the process).
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.
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....
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.