sony-vaio-z-series team mailing list archive
-
sony-vaio-z-series team
-
Mailing list archive
-
Message #01988
Re: Setting up vpz11x9eb fails to use both cards after NVIDIA installation
Hello,
FYI, Jordi's script is configured to work with Adam's kernel only (kernel
which name contains vaioz) ... it will not do anything if you use it with a
2.6.38 kernel, because of (see at the end of the script) :
if uname -r | grep -e "-vaioz$" >/dev/null
then
[ "$(cat /sys/devices/platform/sony-laptop/speed_stamina)" = "stamina" ]
&& set_alternatives_to_intel || set_alternatives_to_nvidia
fi
Keep that in mind when you are testing the script.
S.
2011/2/23 Jordi Augé <jordi@xxxxxxxx>
> Hi Jan.
>
> I have a VPCZ11X9/e with flashed BIOS as well, and I managed to get static
> switching to work.
> The problem is with the GL libraries. The Open Source Intel driver uses the
> open source GL version, whereas the proprietary nvidia driver uses their own
> implementation. The init script has to put the correct library in place
> before gdm starts. I think I had to first install the intel drivers and then
> the nvidia propietary ones, from the ubuntu repository.
> What did the trick for me is this line for intel:
> update-alternatives --set gl_conf /usr/lib/mesa/ld.so.conf
> and this one for nvidia:
> update-alternatives --set gl_conf /usr/lib/nvidia-current/ld.so.conf
>
> You can download my script from here:
> http://auge.cat/blog/files/vaioz_gfx_config.sh (it's a modification of the
> one posted on this list).
>
> This procedure works fine when booting into intel, even if coming from
> nvidia. It does fail on the first time you boot into nvidia, if coming from
> intel. I then have to ctrl-alt-del for the machine to reboot, then the
> nvidia driver loads and everything is fine.
>
> Good luck!
> Jordi
>
> ------------------------------
> *De: *"Jan Groth" <asiandub@xxxxxx>
> *A: *"Sony Vaio Z-series Laptop" <sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx>
> *Enviat: *Dimecres, 23 de Febrer 23el 2011 7:53:38
> *Assumpte: *[Sony-vaio-z-series] Setting up vpz11x9eb fails to use both
> cards after NVIDIA installation
>
>
> Good morning,
>
> contrary to many others in this group I do have problems setting up my
> vpz11x9eb to be able to use both graphic cards :-( Here's what I'm doing,
> quite desperate after many hours of try and error inbetween (I consider
> myself intermediate with linux)
>
> - patched bios, graphic-switch to static, put on "speed"
> - install ubuntu 10.10 alternate
> - first boot with nomodeset
> -> all looks as expected
>
> option 1 from here:
> - installed adam's patched kernel 2.6.37
> - installed adam's upstart
> [- do NOT install nvidia]
> -> laptop boots fine on both cards, just no 3d effects
> -> lspci shows correct modules loaded in both modes
> - installed nvidia (260.19.36) in "speed", let the installer do all the
> configuration (generate xorg.conf, blacklist nouveau)
> - laptop boots fine ins "speed", but into terminal-window at "stamina"
> - followed adam's "sudo apt-get --reinstall install libgl1-mesa-glx"
> - still boots into terminal
> -> "startx" says: NVIDIA: Failed to load the NVDIA kernel module
>
> option 2 (instead of option 1)
> - installed newest kernel 2.6.38-020638rc5
> [- do NOT install nvidia]
> -> laptop boots fine on both cards, just no 3d effects possible
> -> lspci shows correct modules loaded in both modes
> - installed nvidia (260.19.36) in "speed", let the installer do all the
> configuration (generate xorg.conf, blacklist nouveau)
> - laptop boots fine ins "speed", but into terminal-window at "stamina"
> - followed adam's "sudo apt-get --reinstall install libgl1-mesa-glx"
> - still boot into terminal
> -> "startx" says: NVIDIA: Failed to load the NVDIA kernel module
>
> So basically it boils down to the fact that I corrupt / misconfigure my
> intel drivers for whenever I install NVIDIA. From my understanding in option
> 1, adam's upstart script should take care of the right modules being in the
> right place, and in option 2 the kernel 2.6.38 should be able to deal with
> two cards / drivers (at least that's what I understand after 3 nights of
> mailing lists and blogs ;-) )
>
> Probably something obvious I'm missing, but as said before: "I need some
> help..." :-)
>
> Cheers,
> Jan
>
> _______________________________________________
> Mailing list: https://launchpad.net/~sony-vaio-z-series
> Post to : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~sony-vaio-z-series
> More help : https://help.launchpad.net/ListHelp
>
> _______________________________________________
> Mailing list: https://launchpad.net/~sony-vaio-z-series
> Post to : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~sony-vaio-z-series
> More help : https://help.launchpad.net/ListHelp
>
>
--
Wiki: http://linux-on-sony-vaio-z.wikispaces.com/
Mailing list: https://launchpad.net/~sony-vaio-z-series
Post to: sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
Unsubscribe: https://launchpad.net/~sony-vaio-z-series
More help: https://help.launchpad.net/ListHelp
Follow ups
References