PDA

View Full Version : Knoppix 6.2 and Compiz on an nvidia card



jak
12-30-2009, 04:37 AM
So, I'm really impressed on the whole with knoppix 6.2 (the last version I used was 3.x), especially being able to get online immediately,
but I'm at a loss as to how I can get Compiz working on this machine. I'd absolutely love to know if anyone else had this problem, and what they did to remedy it.
Bear in mind that I don't even have a flash drive to install items, yet, but I will soon, and I'll probably attempt to install nvidia's own drivers when I do, but for now, it'd be great to know if Compiz is supported on nvidia cards.

Cheers!

dahveed3
12-30-2009, 08:10 PM
Sure Compiz works with nvidia, but only with the proprietary driver since the included xorg nv driver only has 2D.

Unfortunately knoppix 6.2 dvd comes with the linux-headers in an incomplete state that driver module compilation doesn't work on. I got it to work by following a blog website's instructions to recompile the headers using the source included on the dvd, replacing the linux-headers. Then module-assistant and aptitude were able to compile and install the nvidia driver the debian way. See my other response:

http://www.knoppix.net/forum/viewtopic.php?t=30275&highlight=

The compilation from source takes a long time, like an hour and a half. Not sure you'd want to bother until you get a USB flash drive because you will lose all that work just by restarting the computer.

The nvidia-installer downloaded from nvidia would also work after the header rebuild, but the debian way is better overall for many reasons, especially if you want to use the knoppix usb flash on another computer. With the debian way and using the xmodule=nvidia cheat code without even modifying xorg.conf, you could simply chose xmodule=nv, xmodule=radeon, etc, to use whatever a different computer has as a graphics card and it would work. With the nvidia-installer it changes enough so you'd have to run nvidia-installer --uninstall and use aptitude to reinstall all the mesa packages to restore the system so that any other graphics card and driver would work properly. And with the debian way you don't need to leave the desktop environment to install. You just install the stuff and reboot with the knoppix xmodule=nvidia cheat code and you're all set.

Instructions for the debian way are:

http://wiki.debian.org/NvidiaGraphicsDrivers

and:

http://forums.debian.net/viewtopic.php?f=16&t=10812

Compiz in standard Debian starts automatically in Gnome if it's installed, but needs to be configured in ccsm (Compiz config settings manager). In KDE the desktop effects are on by default as soon as 3D is detected as working. In Knoppix I use KDE but turn the effects off even though I use them on my real Debian Squeeze installation. Some stuff works weird in Knoppix for some reason.

You don't need to install Compiz in Knoppix dvd as it's already installed, but I would check with aptitude search compiz just to see that all the parts are there for working in the desktop you use (compiz-kde, etc) and the configuration tools like fusion-icon if you want it, etc.

jak
12-30-2009, 11:34 PM
I'm much obliged! Thank you for your detailed response.