nvidia flickering compiz

If you experience screen flickering at random times you can try adding

options nvidia_new NVreg_Mobile=1 NVreg_RegistryDwords=”PerfLevelSrc=0x2222″

(for copy&paste check the “)
to /etc/modprobe.d/nvidia-kernel-nkc (Ubuntu) in order to fix some timer problems between the driver and compiz-fusion.

It took me a long time to finally see this solution here:

http://www.nvnews.net/vbulletin/showthread.php?t=87692

HOWTO: install a WG311V3 wireless with ndiswrapper

(I am using (x)ubuntu here, but emerge in gentoo should be as useful as the debian-pkg-management (synaptics))

1. Step

Check if you have the right card (“lspci -v”):

00:10.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)
Subsystem: Netgear WG311v3 802.11g Wireless PCI Adapter
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 9
Memory at e8010000 (32-bit, non-prefetchable) [size=64K]
Memory at e8000000 (32-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>

2. Step

Get ndiswrapper-common and ndiswrapper-utils-1.9 over synaptics/ubuntu-pkgm.

3. Step

Get the .inf-File from your Driver-CD (winxp-ver). If you don’t want to search it through your cd-collection just use the one from ndiswrapper.sourceforge.net. It should work for sure.

4. Step

sudo ndiswrapper -i <your-inf-file-here.inf>

Check if everything is fine:

ndiswrapper -l
mrv8000c : driver installed
device (11AB:1FAA) present

5. Step

Create your “driver-module” with ndiswrapper.

ndiswrapper -m

Add it to the Kernel.

sudo modprobe ndiswrapper

[6. Step]

Add ndiswrapper to /etc/modules (may vary for your distribution) for autoloading at boot time.

Problems

  1. Check that ndiswrapper could read the .inf-file correctly. Was root needed etc?
  2. Did you choose the wrong driver inf? It has to be the winxp-version.
  3. To start all over again:
    1. ndiswrapper -r <yourpackage(s)>
    2. make sure suspicious (=looking like <yourpackage(s)>) files in /etc/ndiswrapper/ were deleted

cups problem

If you receive

/usr/libexec/cups/filter/foomatic-rip failed

you could try

emerge --unmerge ghostscript-gpl cups foomatic-db \
foomatic-db-engine foomatic-db-ppds foomatic-filters \
foomatic-filters-ppds foomatic-gui

emerge -va cups

Cups seems to use it’s own filters (less but one for different printers) then. Works perfectly now.

I got these options activated

X dbus jpeg nls pam php png samba

but not especially for cups (-> /etc/make.conf)