Comment 24 for bug 494166

Revision history for this message
Raphael Gradenwitz (raphael-gradenwitz) wrote :

I am with Lucid on a Sony Vaio Z-series (VGN-Z21MN) with hybrid graphics Intel 915i / Nvidia 9300M GS

I wrote my own solution:
http://global-social.net/sony-VGN-Zseries

A "janitor script" which installs beside a special kernel module only for the sony-Z-series and a rfkill aplett:

* directly the proprietary driver from the nvidia ftp-download-server or a beta driver from your choice with dkms auto kernel-module upgrading and dpkg diversion of the files already present from other packages

or (when it works again)

* the driver from the repo (using the jockey script, works on karmic)

It installs a switching mechanism to change between those two drivers depending on which graphic-card rather is active

It does a complete uninstallation as well.

This is only for Sony VGN-Z-series Laptops since there are some special acpi settings which need to be considered.

This is for Karmic and Lucid (with upstart) but i made it work on Debian (sysv-rc scripts) as well.

By the way, I have found two little bugs in "nvidia-glx-185_185.18.36-0ubuntu9_amd64":

preinst:
line no: 126
- if dpkg-divert --list $glxname | grep /usr/lib32/libGL.so.1 > /dev/null ; then
+ if dpkg-divert --list $glxname | grep "/usr/lib32/libGL.so.1 " > /dev/null ; then

line-no: 187 makes a diversion from a not existing file (or did I miss something?)
- dpkg-divert --add --rename --package nvidia-glx-185 --divert /usr/lib/nvidia/libGLcore.so.xlibmesa /usr/lib/xorg/modules/extensions/libGLcore.so > /dev/null

my 2 ct
hth

Raphael Gradenwitz