← Back to team overview

sony-vaio-z-series team mailing list archive

Re: Nvidia/Intel switching nightmare.

 

Hello,

Klaus, Julius, can you please format a newbie tutorial with all the
steps (where to put the script for switching between the two xorg.conf
etc.. ) to get this work.

Thanks a lot.
Best regards,


On Fri, 2009-05-29 at 20:20 +0200, Julius Donnert wrote:
> Hi all,
> 
> i can confirm, that this works on my Z21WN/B !!!!
> 
> Thanks a lot Klaus, how did you find out ?
> 
> This is quite a step forward, as we now _dont_ need an Xp cd /install
> anymore.
> 
> Still i am not sure what exactly does the proper initialisation of the
> nvidia card. I did the following things:
> 
> Boot with acpi_osi="!Windows 2006", without nvidia driver installed and
> with eva & matzes module in speed_stamina=3 mode. i reloaded it in
> intel/stamina mode
> I quit X, killed gdm and installed the nvidia driver and modified the
> xorg.conf. A modprobe nvidia gave, that the card was not properly
> initialised - a known result.
> I did an  "sudo halt" and at the next start, the nvidia card was
> working.
> 
> Now the question is, can we make this work, so it recognises the Speed -
> Stamina switch ?
> 
> Eva, Matze: Does the boot option give you a hint how to properly
> initialise the card ?
> 
> it would be great, if we somehow managed to make it work only with a
> script and a reboot. So that the card is chosen on startup depending on
> the switch setting. Thats the second best option after on the fly
> switching, and actually as acceptable for me. Especially as Xorg ppl
> might take some years, until they are getting the infrastructure set up
> to handle this correctly ..
> 
> Ciao
> 
> Julius
> 
> 
> 
> 
> Klaus Addicks schrieb:
> > Hi all,
> >
> > switching works like a harm.
> > Just load Evas sony-laptop module with speed_stamina=3.
> > In my case i created a file called /etc/modprobe.d/sony-laptop.conf with
> > following line: options sony-laptop speed_stamina=3
> > You have to boot with this kernel parameter: acpi_osi="!Windows 2006"
> > Just put it in the kernel command line of your bootmanager.
> > Now you can switch between stamina and speed without booting to Windows.
> > But your laptop have to be completely poweroff!
> > For loading the correct xorg.conf, i use this little script before starting 
> > xserver:
> >
> > #!/bin/sh
> > lspci | grep "00:02.1"
> > if [ $? -eq 0 ]; then
> >     cp /etc/X11/xorg.INTEL /etc/X11/xorg.conf
> > else
> >     cp /etc/X11/xorg.NVIDIA /etc/X11/xorg.conf
> > fi
> >
> > Greetings,
> > Klaus
> >
> >
> > Am Mittwoch 27. Mai 2009 21:58:08 schrieb Alexandre Kaspar:
> >   
> >> The problem is actually that the module is great as long as you just
> >> want to use the intel graphic card.
> >> However, I suppose most people who bought the vaio-z did it since
> >> there was a possibility of using good advanced graphics (nvidia) as
> >> well as offering good running life (intel).
> >>
> >> Then, if you just get the running life (intel) working, you're missing
> >> something important (that's the case for me). Actually, I'm mostly
> >> using the nvidia card since I'm computing some opengl programs which
> >> need it. Therefore, I haven't even tested the module for the intel
> >> card since I know I currently have to be often on the nvidia switch.
> >> And since there's actually no way to switch from one to the other
> >> without going on win xp or using DSL, then I just stay on the nvidia
> >> state with acpi=ht.
> >> That's a problem since I can't use the intel one which would make the
> >> computer really useful. Now I can use the computer, but it isn't as
> >> portable (thinking of the battery life) as it should.
> >>
> >> However, I hope there'll be a solution. Some day, maybe...
> >>
> >> Alexandre Kaspar
> >>     
> >
> >
> > _______________________________________________
> > 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




Follow ups

References