sony-vaio-z-series team mailing list archive
-
sony-vaio-z-series team
-
Mailing list archive
-
Message #00604
Re: Switching Intel/nVidia with Upstart on Karmic
Hello Raphael,
I've rechecked the install instructions and i did a mistake the first time.
So now, I can't login with the nvidia card nor the intel one, and i can't
find any error messages in the debug files.
--
Wayde.
On Tue, Oct 6, 2009 at 11:15 PM, Raphael Gradenwitz <
raphael@xxxxxxxxxxxxxxxxx> wrote:
> Hello Wayde,
>
> Am Dienstag, den 06.10.2009, 22:24 +0200 schrieb Wayde:
> >
> > Does the switch work? Are you able to boot in both, intel and
> > nvidia
> > graphics mode depending on how the speed/stamina switch is
> > set?
> >
> > Yes, I'm able to login with both graphic cards.
> > But none of the two green leds is on.
> >
>
> That looks like the Kernel Commandline does not work the same way under
> grub2.
>
> I have tried it with grub2 as well but did not work, thats why I still
> use grub legacy.
>
> >
> > If yes, the message you see is only info and not an
> > error-message.
> >
> > You can create debug-outputs (trace-logs):
> >
> > edit the file /etc/X11/switch-x-to
> >
> > edit the line
> >
> > debug="off"
> >
> > in
> >
> > debug="on"
> >
> > and look after next reboot in the root (/) dir.
> >
> > don't forget to switch debug="out" again.
> >
> >
> > I turned on the debug and the result is that i have some debug files
> > (11 files)
> > -rw-r--r-- 1 root root 373 2009-10-06 22:02
> > switch-x-to1[x][x][x]-intel.trace
> > ## content of the first file
> > + nvidiasettings_rc=/root/.nvidia-settings-rc
> > + libgl=/usr/lib/libGL.so
> > + libglx=/usr/lib/xorg/modules/extensions/libglx.so
> > + switch_to_intel
> > + cp /etc/X11/xorg.conf.intel_uxa /etc/X11/xorg.conf
> > + ls /usr/lib/libGL.so.INTEL
> > + libGLintel=libGL.so.INTEL
> > + ln -sf libGL.so.INTEL /usr/lib/libGL.so.1
> > + ln -sf libglx.so.INTEL /usr/lib/xorg/modules/extensions/libglx.so
> > + exit 0
> > ##
> > and another for nvidia :
> > -rw-r--r-- 1 root root 1092 2009-10-06 22:02
> > switch-x-to1507-load-nvidia-settings.trace
> > ##
> > + nvidiasettings_rc=/root/.nvidia-settings-rc
> > + libgl=/usr/lib/libGL.so
> > + libglx=/usr/lib/xorg/modules/extensions/libglx.so
> > + load_nvidia_settings
> > + find_nvidia_version
> > + ls /usr/lib/
> > + grep -E libGL.so.[[:digit:]]{2,3}\.[[:digit:]]{2,3}\.[[:digit:]]{1,}
> > + awk BEGIN{RS="";FS="\n"}{print $NF}
> > + sed s/libGL.so.//
> > + nvidiaversion=185.18.36
> > + find_link_target /usr/lib/libGL.so
> > + local target=/usr/lib/libGL.so
> > + readlink /usr/lib/libGL.so
> > + basename /usr/lib/libGL.so
> > + echo libGL.so
> > + libgltarget=libGL.so
> > + find_link_target /usr/lib/xorg/modules/extensions/libglx.so
> > + local target=/usr/lib/xorg/modules/extensions/libglx.so
> > + readlink /usr/lib/xorg/modules/extensions/libglx.so
> > + dirname /usr/lib/xorg/modules/extensions/libglx.so
> > + readlink /usr/lib/xorg/modules/extensions/libglx.so
> > + basename libglx.so.INTEL
> > + target=/usr/lib/xorg/modules/extensions/libglx.so.INTEL
> > + readlink /usr/lib/xorg/modules/extensions/libglx.so.INTEL
> > + basename /usr/lib/xorg/modules/extensions/libglx.so.INTEL
> > + echo libglx.so.INTEL
> > + libglxtarget=libglx.so.INTEL
> > + echo libGL.so
> > + grep -qs 185.18.36
> > + exit 0
> > ##
>
> Please ensure that
> /usr/lib/libGL.so.1
> is a symlink to
> libGL.so.INTEL
> and
> /usr/lib/libGL.so
> is just a symlink to
> libGL.so.1
>
> (It looks like it is not)
>
> else you will only get intel working (and no nvidia at all)
>
> >
> > Can i just compare the generated xorg.conf with one of the two
> > xorg.conf.intel/nvidia ?
> > However i don't have the any .nvidia-settings-rc ! is another default
> > file is used instead when this one id not found ?
>
> But you wrote that you did exact the steps as described in my blog. But
> if you do not have any .nvidia-settings-rc, you must first create it and
> enter the exact rc-file you use in the file /etc/X11/switch-x-to
>
> But I am not sure about my diagnosis because your nVidia card seems to
> be visible in lspci even though the the green lights do not burn and
> that astounds me a little bit..
>
> Raphael
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~sony-vaio-z-series<https://launchpad.net/%7Esony-vaio-z-series>
> Post to : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~sony-vaio-z-series<https://launchpad.net/%7Esony-vaio-z-series>
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References