← Back to team overview

sony-vaio-z-series team mailing list archive

Re: Adam's patch on non Ubuntu system?

 

	To be honest I'm not sure that there is any need to use my kernel any 
more - it was useful when the Intel graphics just didn't work from the stock 
kernels but recent versions work pretty well out of the box. So, my advice 
would be just to find the latest kernel you can for Gentoo - someone will have 
compiled the latest mainline one somewhere!

	There are still a few tweaks that you need to do... either:

1) If you never ( or hardly ever ) run Windows, add acpi_osi="" to the kernel 
boot parameters. This will set the BIOS in to static switching mode whenever 
you shutdown/reboot when running Linux. I.e. the first time you run Linux, you 
will need to reboot, but from then on the appropriate speed/stamina LED should 
come on as soon as the machine powers up and only one card will be visible. If 
you want to switch between the two cards you'll need to switch the 
speed/stamina switch and reboot, and then use some sort of trickery to make 
sure that the correct X drivers and libraries are loaded. I've posted a script 
which may work for this purpose but would have to be modified for Gentoo ( 
Ubuntu users can use the neater "alternatives" method. )

2) If you regularly run Windows, and are happy to only use the Intel card in 
Linux, then use the latest Linux kernel with Norbert's latest experimental 
sony-laptop-zseries module ( static switching doesn't work well with Windows. 
) As long as you make sure you're in stamina mode at boot, the module powers 
off the NVidia card to save battery life ( though it still appears on the bus. 
) If doing this, DON'T use the acpi_osi="" boot parameter.

3) If you regularly use Windows but also want to use NVidia in Linux, you 
don't have much choice but to use method 1), but you'll probably have to boot 
Windows twice whenever you've used Linux to make sure that dynamic mode is 
enabled again.

	Sorry that I can't give specific help for Gentoo....

Adam.


On Tuesday 21 June 2011 13:10:48 Piotr Zalewa wrote:
> Hi
> 
> Do you know about any tutorial how to install Adam's patch on non Ubuntu
> system?
> I use Gentoo for years, but I've got no experience in kernel and
> especially module patches
> 
> Thanks
> zalun
> 
> _______________________________________________
> 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