Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I bought a Lenovo a while ago, and installed Debian squeeze on it.

Now I managed to put a minimalistic GUI on it, but I think I can get much much more out of it. The problem starts with there are two graphic cards:

-an Nvidia GT635M
-and an Intel Graphics card of some king(I was unable to determine the driver, though I

read that intel has pretty good linux support, unlikke Nvidia)

I've got multiple problems: when I install the Nvidia driver , and try to use it the screen goes blank, sometimes white, sometimes black, with a flickering cursor. After a day of googling I decided to start with a fresh install and use the intel card insted, and just try to make compiz work on that, but the out-of-the-box driver for the intel card isn't enough for compiz, every time I try

compiz --replace

compiz comes back with something along the lines of:

Fatal: Software rendering detected

and doesn't start. I tried to tweak it with xorg.conf, I generated a config file with

X -configure

but It just made the screen blank, with a flickering cursor. I'm starting to give in to insanity after 2 days worth of googling, and so decided to write a question here before depression eats me.

My questions are: -Is there a way for the Intel and Nvidia cards to work together with X in harmony?(I'm not giving up on it yet)
-Apart from that, how can I determine which driver do I need from Intel? all I got from lspci is it's an intel Corp. device 0166, rev9(whatever that means, search returned nothing) -And finally: How can I get compiz to work? (Even with a single card)

Any help would be appreciated!

share|improve this question
    
update: the windows 8 instal said, the Intel card is an Intel HD Graphics card 4000 –  Y.T. Feb 26 '13 at 18:35

2 Answers 2

up vote 0 down vote accepted

Your system has hardware that is too new to run Squeeze properly. Add Backports and install the latest X.org and kernel from there - it should let you run Squeeze.

share|improve this answer
    
How would I go about that? What are some decent repos for this? –  Y.T. Feb 26 '13 at 19:38
    
I dunno, Debian Backports? –  Calvin B Feb 26 '13 at 20:16
    
okay, I added the repo, updated, but apt-get upgrade and dist-upgrade didn't do anything, I must be missing the packages I need to install –  Y.T. Feb 26 '13 at 21:10
    
No, you need to tell apt you want to install Backports by specifying -t squeeze-backports. –  Calvin B Feb 26 '13 at 23:11
    
installed the new intel driver through this, and even the new xserver-xorg, and I got the following errors: compiz --replace compiz (core) - Warn: SmcOpenConnection failed: None of the authentication protocols specified are supported compiz (core) - Warn: SmcOpenConnection failed: None of the authentication protocols specified are supported compiz (core) - Fatal: Software rendering detected. compiz (core) - Error: Failed to manage screen: 0 compiz (core) - Fatal: No manageable screens found on display :0.0 –  Y.T. Feb 27 '13 at 10:34

NVidia's dual-graphics stuff barely works, and won't be usable in Squeeze without some serious tweaks. That said, the Intel driver should work fine. Delete the xorg.conf file, disable the nVidia card in your bios, and reboot. Install and run glxgears if you need to and make sure that you have hardware accelerated rendering. Compiz should start up just fine. Unfortunately, Compiz is a very outdated technology. The original maintainer isn't even maintaining it anymore. Gnome Shell, Kwin, XFWM4, and Enlightenment all provide their own hardware accelerated window managers. I know KWin4 can run separately from KDE, and it performs very well with Intel graphics.

share|improve this answer
    
I have a dual-boot system, and I want to use the nVidia card in windows is there a way to disable it only when linux boots up? –  Y.T. Feb 26 '13 at 18:54
    
and if compiz is really outdated, is there an alternative? I'm open to any eye-candy –  Y.T. Feb 26 '13 at 21:47
    
I don't know what desktop environment you're using, but if you're not using Gnome Shell, KWin4 runs very nicely even without the rest of KDE. It's also quite crash resistant, and uses native shaders to boost performance. You should be quite happy with the performance of KWin4 on Intel's hardware. Even without the rest of KDE loaded, KWin4 is more memory efficient than Compiz. On my computer, Kwin4, uses about 70MB, over 30MB are shared libraries with the rest of KDE. Some quick research indicates that Compiz can use over 100MB when running. –  omniuni Feb 26 '13 at 22:56
    
Also, one other thing. Debian Squeeze was only released a few days ago, which is why there are no backports yet. You can safely remove those repositories for now. You will probably do best to just disable the nVidia card and not use it, nVidia never got card switching working very well on Linux (or Windows for that matter). If you ever get a new laptop, I prefer AMD's APU chips which use the same graphics card, and just scale it up and down. (I get 7+ hours out of my MSI netbook with RadeonHD) –  omniuni Feb 26 '13 at 23:01
    
Is there a way to disable the nvidia card only with linux boot? –  Y.T. Feb 27 '13 at 8:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.