sony-vaio-z-series team mailing list archive
-
sony-vaio-z-series team
-
Mailing list archive
-
Message #00598
Re: Switching Intel/nVidia with Upstart on Karmic
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
Follow ups
References