索尼SZ系列笔记本有一个独特的功能,那就是双显卡切换功能,该系列均有两块显卡,速度模式;nvidia独立显卡,耐力模式; intel集成显卡,用户可以跟据自己使用环境来选择相应的模式,以保证电池使用的时间和笔记本的性能,这是一个非常人性化的设计。然而如何在 Ubuntu Linux来使用这个功能呢?我与大家分享一下。
我的笔记本本为索尼SZ 65 , OS为Ubuntu 8.04 64bit,在安装系统时使用speed模式。
安装完成之后安装nvidia显卡驱动:
wget
如果是32bit应该是这个,
wget
sudo apt-get install build-essential
sudo /etc/init.d/gdm stop
alt+ctrl+f1
输入用户名 密码 进入
sudo sh 刚才您下载的文件名.run
然后一步一确定就可以了
sudo /etc/init.d/gdm start
进入x系统之后
sudo nvidia-settings
调整分辨率 保存
sudo gedit /etc/default/linux-restricted-modules-common
将其中的DISABLED_MODULES=”"改为DISABLED_MODULES="nv nvidia_new"。如果不这么修改,重新启动以后,驱动就会失败
speed模式nvidia显卡驱动安装完成。
安装intel显卡:
sudo apt-get install xserver-xorg-video-intel
安装完成,
speed模式的xorg.conf将其保存为/etc/X11/xorg.conf.speed
可以复制以下内容保存为xorg.conf.speed
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,am"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
Option "XkbVariant" ","
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
Defaultdepth 24
EndSection
Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen"
Inputdevice "Synaptics Touchpad"
EndSection
Section "Module"
Load "glx"
EndSection