← Back to team overview

sony-vaio-z-series team mailing list archive

Re: Switching Intel/nVidia with Upstart on Karmic

 

Hello



> 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.

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
##

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 ?


Best regards,
--
Wayde.



> Regards,
>
> 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