Anonymous 寫:我是路過的
我想,他用的是筆電,VGA是share memory,及vga card不知用什麼chipset也可能有關。如果,樓主post一下你用的chip set同xorg.conf檔會對這事有幫助,因為看到你前post,Xorg就用了00:06:21
Section "Device"
Identifier "SiS VGA chipset"
Driver "sis"
EndSection
感謝訪客兄
說到要post chip set我就有點不好意思了
因為我用的正是那個常被嫌的sis牌子,是300/305型的,記憶體只有16MB
這個晶片有點機車,
在我裝了sisxdriver這個套件,所以驅動程式沒選錯
這應該已經算是在Debian下能做到的最理想狀況了
大致上,/var/log/Xorg.0.log裡沒有發現任何有關sis的錯誤訊息
---------------------------------------
我的xorg.conf有點長
不過還是post上來給大家瞧瞧好了
ps.為了省資源,一大堆module和字型path都被我胡亂#掉了,不知道有沒有做錯
# XF86Config-4 example (generic)
# See other examples for Dual Head, Xinerama and Merged Framebuffer mode
# ----------- This stuff needs to be adapted to your machine ------------
Section "Files"
# FontPath "unix/:7110"
# local font servery
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/dev/shm/firefly"
FontPath "/dev/shm/try"
# FontPath "/usr/lib/X11/fonts/cyrillic"
# FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
# FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
# FontPath "/usr/share/fonts/truetype"
# FontPath "/usr/share/fonts/truetype/arphic"
# FontPath "/usr/lib/X11/fonts/Type1"
# FontPath "/usr/lib/X11/fonts/CID"
# FontPath "/usr/lib/X11/fonts/Speedo"
# FontPath "/usr/lib/X11/fonts/100dpi"
# FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
# Load "GLcore" # MUST be there if DRI is enabled
# Load "dbe"
# Load "dri" - no longer needed, driver loads it automatically
Load "extmod"
# Load "glx" - no longer needed, driver loads it automatically
Load "record"
Load "bitmap"
# Load "ddc"
# Load "xtt"
# Load "int10"
#
# Load "pex5"
Load "freetype"
# Load "speedo"
# Load "type1"
# Load "type"
# Load "vbe"
# Load "xie"
Load "synaptics"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Driver "synaptics"
Identifier "Configured Mouse"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
#auto-dev
Option "LeftEdge" "1700"
Option "RightEdge" "50i00"
Option "TopEdge" "1700"
Option "BottomEdge" "3600"
# Option "FingerLow" "14"
# Option "ClickTime" "70"
# Option "FingerHigh" "20"
# Option "MaxTapTime" "160"
# Option "MaxTapMove" "300"
# Option "MaxDoubleTapTime" "80"
# Option "LockedDrags" "0"
# Option "VertScrollDelta" "100"
# Option "HorizScrollDelta" "100"
# Option "MinSpeed" "0.06"
# Option "MaxSpeed" "0.12"
# Option "AccelFactor" "0.0010"
Option "FastTaps" "1"
Option "SHMConfig" "on"
Option "ZAxisMapping" "4 5"
Option "Button" "3"
# Option "Repeater" "/dev/ps2mouse"
EndSection
#Section "Pointer"
# Option "Protocol" "ImPS/2
# Option "Device" "/dev/psaux"
# Option "ZAxisMapping" "4 5"
#EndSection
#Section "InputDevice"
# Identifier "Configured Mouse"
# Driver "mouse"
# Option "CorePointer"
# Option "Device" "/dev/psaux"
# Option "Protocol" "PS/2"
# Option "Emulate3Buttons" "true"
# Option "ZAxisMapping" "4 5"
#EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
# ----------------- End of machine specific stuff ------------------------
# ----------------------------------------------------------
# MONITOR section
# ----------------------------------------------------------
# This section contains data for monitor configuration.
# The data in the Monitor section is only used for CRT1 (if VGA),
# and will be ignored for CRT2 (unless CRT2 is a secondary VGA).
# If you only run with CRT2 as LCD or TV (such as on laptops
# without an external monitor connected) or LCD via CRT1, the driver
# will ignore the ranges given here by HorizSync/VertRefresh.
Section "Monitor"
Identifier "Generic|Generic LCD Panel"
VendorName "Monitor Vendor" # value does not matter
ModelName "Monitor Model" # value does not matter
VertRefresh 28-50
HorizSync 43-75
EndSection
# ----------------------------------------------------------
# DEVICE section
# ----------------------------------------------------------
# This section contains configuration data of the video card.
Section "Device"
Identifier "SiS VGA chipset"
VendorName "SiS" # Value does not matter
BoardName "SiS" # Value does not matter
Driver "sis"
# Option "ForceCRT1"
# If CRT1 (=external VGA) monitor is used depends on whether the driver
# detects it during server start. If you want to override this
# automatic detection, set this option to either "on" (to enable
# CRT1) or "off" (to disable CRT1)
#Option "ForceCRT1" "on"
Option "EnableSiSCtrl" "true"
# Option "ForceCRT2Type":
# This option selects the CRT2 output device type and is only useful
# on systems containing a video bridge (such as most laptops).
# Available options are:
# "TV" (if TV connector present),
# "LCD" alias "DVI-D" (if LCD panel present),
# "VGA" alias "DVI-A" (secondary VGA; use this only if your machine
# has a secondary VGA connector or a DVI-I connector
# The VGA plug on your laptop is CRT1!)
# "NONE" (this will switch off CRT2).
# "COMPOSITE" (SiS video bridge only) Force TV to use cvbs connector
# "SVIDEO" (SiS video bridge only) Force TV to use SVHS connector
# "SCART" (SiS video bridge only) Force TV to use SCART connector
# "SVIDEO+COMPOSITE" (SiS video bridge only) for both
# "YPBPR480P", "YPBPR480I", "YPBPR720p", "YPBPR1080I" - see documentation
#Option "ForceCRT2Type" "NONE"
# Option "MaxXFBMem":
# *******************************************
# Only useful on 300 series if DRI is enabled
# *******************************************
# YOU DON'T NEED THIS ON 315/550/65x/M650/661/740/741/Xabre/760
# This option limits the amount of memory X uses for its framebuffer.
# Its purpose is to avoid a clash between X and DRI/DRM/sisfb as regards
# memory management.
# The SiS kernel framebuffer driver (sisfb) is responsible for memory
# management for DRI. It will install a video memory heap at
# - 12 MB (=12288 KB) if more than 16MB of video RAM available,
# - 8 MB (=8192 KB) if between 8 an 16MB if video RAM available,
# - 4 MB (=4096 KB) if less than 8 MB of video RAM available.
# Other amounts can be specified with sisfb's "mem" parameter.
# If this option is set, X only uses the specified amount of memory for
# its screen and its off-screen buffers.
# Limiting X to use only a small part of RAM therefore avoids that
# the kernel framebuffer (and a DRI application using the sisfb's
# memory pool) overwrites X's screen and off-screen memory.
# When setting MaxXFBMem to "8192", memory will be used according
# to the following figure:
# 0-------8------16------24------32------40------48--------56-------64MB
# XXXXXXXX
# FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
# (X=memory used by X, F=memory used by sisfb and thus DRI)
# If DRI is disabled or the framebuffer driver is not loaded, this option
# can and should be left out.
# PLEASE READ THE DOCUMENATION ON THIS OPTION. IT IS NOT THAT TRIVIAL.
# Option "MaxXFBMem" "12288"
# Option "TVStandard"
# Can be "NTSC" or "PAL". On some machines with a 30x/B/LV bridge as well
# as on machines with a Chrontel 7019/7020, also
# "PALM" (for PAL-M) or "PALN" (PAL-N)
# Normally, this will be autodetected acoording to the BIOS setting.
#Option "TVStandard" "PAL"
# Option "XvOnCRT2"
# Only useful on machines with SiS315, 650, 740 or 330 and only if both CRT1
# and CRT2 are available and connected.
# Setting this to "TRUE" will show the Xv video overlay on CRT2, "FALSE" will
# show the overlay on CRT1.
#Option "XvOnCRT2" "true"
# Options for Chrontel TV encoders only (7005 or 7019) ---------------
# Option "CHTVOvercan"
# Setting this to "TRUE" will use overscan modes (larger image on the TV)
# Normally this is autodetected according to the BIOS setting.
#Option "CHTVOverscan" "TRUE"
# Option "CHTVSuperOverscan"
# Not for Chrontel 701x TV encoders!
# Only useful if TV standard is PAL
# Setting this to "true" will force the driver to use a TV mode which is even
# larger than the normal overscan mode. This option overrules the CHTVOverscan
# option. Setting it to "FALSE" will make the driver to fall back on the
# normal overscan setting (BIOS selection or, if set, the CHTVOverscan setting)
#Option "CHTVSuperOverscan" "TRUE"
# Option "CHTVContrast"
# This option accepts numerical values from 0 to 15 and it adjust the contrast
# of the TV image.
#Option "CHTVContrast" "10"
# Options for SiS video bridges only --------------------
# Option "SISTVAntiFlicker"
# This option allows adjusting the bridge's anti flicker engine. It accepts
# "OFF", "LOW", "MED", "HIGH" and "ADAPTIVE"
#Option "SISTVAntiFlicker" "ADAPTIVE"
# Option "SISTVSaturation"
# This option allows tuning the color saturation of the TV image. It accepts
# values from 0 to 15.
#Option "SISTVSaturation" "15"
# Option "TVXPosOffset"
# Useful on machines with SiS6326+TV, Chrontel 700x TV encoder or SiS video
# bridge.
# This option allows adjusting the TV image's horizontal position. It accepts
# values from -32 to 32 (on the 6326 -16 to 16)
#Option "TVXPosOffset" "8"
# Option "TVYPosOffset"
# Like TVXPosOffset, but for vertical adjustments.
#Option "TVYPosOffset" "-3"
# Please see
http://www.winischhofer.net/linuxsisvga.shtml for more information
EndSection
# ----------------------------------------------------------
# SCREEN section
# ----------------------------------------------------------
# This section defines the available resulutions and depths.
Section "Screen"
Identifier "screen1"
Device "SiS VGA chipset"
Monitor "Generic|Generic LCD Panel"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection
# ----------------------------------------------------------
# Server layout: Combine Monitor, Screen and Device sections
# ----------------------------------------------------------
Section "ServerLayout"
Identifier "Default Layout"
Screen "screen1"
InputDevice "Generic Keyboard"
# InputDevice "Configured Mouse"
InputDevice "Configured Mouse" "CorePointer"
InputDevice "USB Mouse"
# Option "DontZoom" "true"
Option "BlankTime" "10"
Option "OffTime" "20"
EndSection
# ----------------------------------------------------------
# DRI section: Only needed if DRI is enabled (300 series only)
# ----------------------------------------------------------
Section "DRI"
Mode 0666
EndSection