lovfu
2012-01-06 21:20 deepin
xorg.conf:
Section "DRI"
Mode 0666
EndSection
Section "ServerLayout"
Identifier "Layout0"
Screen "Screen0"
Screen "Screen1" Relative "Screen0" 0 0
InputDevice "Keyboard0" "SendCoreEvents"
#InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "SendCoreEvents"
#InputDevice "Mouse0" "CorePointer"
EndSection
#Section "ServerFlags"
# Option "AllowEmptyInput" "no"
#EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "rotocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 73.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "CI:1:0:0"
Option "IgnoreEDID"
Option "ConnectedMonitor" "DFP-0"
#Screen 0
EndSection
Section "Device"
Identifier "Device0"
Driver "intel"
VendorName "onboard"
BusID "CI:0:2:0"
#Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1366x768"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
Section "ServerLayout"
Identifier "Layout0"
Screen "Screen0"
Screen "Screen1" Relative "Screen0" 0 0
InputDevice "Keyboard0" "SendCoreEvents"
#InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "SendCoreEvents"
#InputDevice "Mouse0" "CorePointer"
EndSection
#Section "ServerFlags"
# Option "AllowEmptyInput" "no"
#EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "rotocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 73.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "CI:1:0:0"
Option "IgnoreEDID"
Option "ConnectedMonitor" "DFP-0"
#Screen 0
EndSection
Section "Device"
Identifier "Device0"
Driver "intel"
VendorName "onboard"
BusID "CI:0:2:0"
#Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1366x768"
EndSubSection
EndSection
Reply Like 0 View the author
在没有使用nvidia显卡之前,使用集成显卡 wine 魔兽争霸 色块特别大,效果特别差;但是使用了nvidia显卡之后,就没有这个问题了。
注意:本教程存在一定风险,请做好重装系统等思想准备,出现严重后果,不负责哟~
1.千万不要在系统设置-附加驱动里面激活Nvidia的驱动,否则重启后无法进入图形界面
2.修改 xorg.conf,特别是ConnectedMonitor值,请参考如图:
nvidia.jpeg
2.sudo cp xorg.conf /etc/X11/
3.sudo apt-add-repository ppa:mj-casalogic/ironhide && sudo apt-get update && sudo apt-get install ironhide ironhide-ui
4.随后进入配置阶段,配置阶段可能会显示不出来小齿轮,不过没有关系,不用纠结于这个地方
5.sudo ironhide-settings,具体值可以参考如下:
1 YES
2 8
3 xv
4 fbo
5 /dev/null
6 YES
7 NO
8 Not Created
9 Done
特别是7,如果选成了YES,会说找不到nvidia的驱动
6.optirun wine war3.exe -opengl
注意:过程中可能会有各种各样的小bug,如果出现的话,可以google之,好多老外肯定也遇到了。
ps:在打开nvidia显卡前,机器温度稳定在40度左右,在打开之后,稳定在50度左右,在寒冷的冬天,我的本子又可以暖收了,哈哈。
war3.png