哈哈,我在浏览器中把JAVASCRIPT和图片载入都关闭了,情况似乎略有好转,占用率没那么高了,而且只在输入的时候才会增高。And only with SCIM.
有趣有趣:)
为什么SCIM输入法在FIREFOX下输入文字的时候,CPU占用极高
- kqueenc
- 帖子: 630
- 注册时间: 2007-05-27 20:29
- zhuqin_83
- 帖子: 10606
- 注册时间: 2006-05-13 4:02
- 联系:
- kqueenc
- 帖子: 630
- 注册时间: 2007-05-27 20:29
让我贴一下我的xorg.conf文件吧,也许更有利于大家集思广益:)
代码: 全选
Section "Files"
# path to defoma fonts
RgbPath "usr/lib/X11/rgb"
Fontpath "/usr/share/fonts/X11/misc"
Fontpath "/usr/share/fonts/local"
Fontpath "/usr/share/fonts/X11/100dpi/:unscaled"
Fontpath "/usr/share/fonts/X11/75dpi/:unscaled"
Fontpath "/usr/share/fonts/X11/Type1"
Fontpath "/usr/share/fonts/X11/100dpi"
Fontpath "/usr/share/fonts/X11/75dpi"
Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "ServerFlags"
Option "blank time" "1"
Option "standby time" "2"
Option "suspend time" "3"
Option "off time" "4"
# SELECT YOUR PREFERRED LAYOUT HERE
Option "DefaultServerLayout" "twinview"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
#Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "9"
Option "ZAxisMapping" "6 7"
Option "ButtonMapping" "1 2 3 4 5"
#Option "Emulate3Buttons" "false"
EndSection
#Section "InputDevice"
# Identifier "stylus"
# Driver "wacom"
# Option "Device" "/dev/input/wacom"
# Option "Type" "stylus"
# Option "ForceDevice" "ISDV4"# Tablet PC ONLY
#EndSection
#Section "InputDevice"
# Identifier "eraser"
# Driver "wacom"
# Option "Device" "/dev/input/wacom"
# Option "Type" "eraser"
# Option "ForceDevice" "ISDV4"# Tablet PC ONLY
#EndSection
#Section "InputDevice"
# Identifier "cursor"
# Driver "wacom"
# Option "Device" "/dev/input/wacom"
# Option "Type" "cursor"
# Option "ForceDevice" "ISDV4"# Tablet PC ONLY
#EndSection
Section "Monitor"
Identifier "AOC Spectrum9G"
Option "DPMS"
HorizSync 30.0-95.0
VertRefresh 50-160
DisplaySize 376 301
EndSection
Section "Monitor"
Identifier "ViewSonic VX912"
Option "dpms"
HorizSync 30.0-82.0
VertRefresh 50-85
DisplaySize 376 301
EndSection
Section "Monitor"
Identifier "TwinMoni"
Option "dpms"
HorizSync 30.0-81.0
VertRefresh 56-60
DisplaySize 752 301
EndSection
#----- Single BEGIN ------------------------------------------------------------------------------
Section "ServerLayout"
Identifier "single"
Screen 0 "Screen0"
InputDevice "Configured Mouse" "CorePointer"
InputDevice "Generic Keyboard" "CoreKeyboard"
EndSection
#----- Single END --------------------------------------------------------------------------------
#----- Twinview BEGIN ----------------------------------------------------------------------------
Section "Device"
Identifier "NvidiaTwin"
VendorName "MSI"
BoardName "NV 5900XT VIVO"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NoLogo" "0"
Option "TwinView"
Option "MetaModes" "1280x1024,1280x1024;"
Option "TwinViewOrientation" "CRT-0 RightOf DFP-0"
Option "HorizSync" "DFP-0: 30-82; CRT-0: 30-95"
Option "VertRefresh" "DFP-0: 50-85; CRT-0: 50-160"
Option "ConnectedMonitor" "DFP-0,CRT-0"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "UseEdidDpi" "FALSE"
EndSection
Section "Screen"
Identifier "ScreenTwin"
Device "NvidiaTwin"
Monitor "TwinMoni"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "twinview"
Screen 0 "ScreenTwin"
InputDevice "Configured Mouse" "CorePointer"
InputDevice "Generic Keyboard" "CoreKeyboard"
Option "Xinerama" "0"
EndSection
#----- Twinview END ------------------------------------------------------------------------------
#----- Xinerama BEGIN ----------------------------------------------------------------------------
Section "Device"
Identifier "Nvidia0"
VendorName "MSI"
BoardName "NV 5900XT VIVO"
Driver "nvidia"
BusID "pci:1:0:0"
Screen 0
#SINCE NVIDIA VERSION 1.0-8756 YOU MUST USE UseDisplayDevice INSTEAD OF ConnectedMonitor TO GET XINERAMA WORK:
#Option "ConnectedMonitor" "DFP"
Option "UseDisplayDevice" "DFP"
Option "NoLogo" "1"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "UseEdidDpi" "FALSE"
Option "DPI" "86x86"
Option "NvAgp" "1"
Option "AddARGBGLXVisuals" "true"
Option "DynamicTwinView" "0"
EndSection
Section "Device"
Identifier "Nvidia1"
VendorName "MSI"
BoardName "NV 5900XT VIVO"
Driver "nvidia"
BusID "pci:1:0:0"
Screen 1
#SINCE NVIDIA VERSION 1.0-8756 YOU MUST USE UseDisplayDevice INSTEAD OF ConnectedMonitor TO GET XINERAMA WORK:
#Option "ConnectedMonitor" "CRT"
Option "UseDisplayDevice" "CRT"
Option "NoLogo" "1"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "UseEdidDpi" "FALSE"
Option "DPI" "86x86"
Option "NvAgp" "1"
Option "AddARGBGLXVisuals" "true"
Option "DynamicTwinView" "0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Nvidia0"
Monitor "ViewSonic VX912"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubsection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Nvidia1"
Monitor "AOC Spectrum9G"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "xinerama"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Configured Mouse" "CorePointer"
InputDevice "Generic Keyboard" "CoreKeyboard"
Option "Xinerama" "1"
EndSection
#----- Xinerama END ------------------------------------------------------------------------------