Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2006 18:23:51 GMT
From:      _beastie_ <boxforsubscribe@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/92071: Problem with Xorg and SIS630/730 integrated video card
Message-ID:  <200601201823.k0KINpJc075088@www.freebsd.org>
Resent-Message-ID: <200601201830.k0KIU7JI027652@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92071
>Category:       ports
>Synopsis:       Problem with Xorg and SIS630/730 integrated video card
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 20 18:30:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     _beastie_
>Release:        FreeBSD 6.0 -RELEASE
>Organization:
homenet.az
>Environment:
FreeBSD neverland.homenet.az 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Sat Dec 10 12:38:33 AZT 2005
root@neverland.homenet.az:/usr/obj/usr/src/sys/CUSTOM  i386
>Description:
I've configured Xorg by Xorg -configure command. Here is config file:

Section "ServerLayout"
         Identifier     "X.org Configured"
         Screen      0  "Screen0" 0 0
         InputDevice    "Mouse0" "CorePointer"
         InputDevice    "Keyboard0" "CoreKeyboard"
 EndSection
 Section "Files"
         RgbPath      "/usr/X11R6/lib/X11/rgb"
         ModulePath   "/usr/X11R6/lib/modules"
         FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
         FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
         FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
         FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
         FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
         FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
 EndSection
 Section "Module"
         Load  "dbe"
         Load  "dri"
         Load  "extmod"
         Load  "glx"
         Load  "record"
         Load  "xtrap"
         Load  "freetype"
         Load  "type1"
 EndSection
 Section "InputDevice"
         Identifier  "Keyboard0"
         Driver      "kbd"
 EndSection
 Section "InputDevice"
         Identifier  "Mouse0"
         Driver      "mouse"
         Option      "Protocol" "auto"
         Option      "Device" "/dev/sysmouse"
 EndSection
 Section "Monitor"
         #DisplaySize      340   270     # mm
         Identifier   "Monitor0"
         VendorName   "OEM"
         ModelName    "17LCD MONITOR"
  ### Uncomment if you don't want to default to DDC:
 #       HorizSync    30.0 - 80.0
 #       VertRefresh  59.0 - 75.0
         Option      "DPMS"
 EndSection
 Section "Device"
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
         ### [arg]: arg optional
         #Option     "SWcursor"                  # [<bool>]
         #Option     "HWcursor"                  # [<bool>]
         #Option     "NoAccel"                   # [<bool>]
         #Option     "TurboQueue"                # [<bool>]
         #Option     "FastVram"                  # [<bool>]
         #Option     "NoHostBus"                 # [<bool>]
         #Option     "RenderAcceleration"        # [<bool>]
         #Option     "ForceCRT1Type"             # <str>
         #Option     "ForceCRT2Type"             # <str>
         #Option     "YPbPrAspectRatio"          # <str>
         #Option     "ShadowFB"                  # [<bool>]
         #Option     "DRI"                       # [<bool>]
         #Option     "AGPSize"                   # <i>
         #Option     "GARTSize"                  # <i>
         #Option     "Rotate"                    # <str>
         #Option     "NoXvideo"                  # [<bool>]
         #Option     "Vesa"                      # [<bool>]
         #Option     "MaxXFBMem"                 # <i>
         #Option     "ForceCRT1"                 # [<bool>]
         #Option     "XvOnCRT2"                  # [<bool>]
         #Option     "PanelDelayCompensation"    # <i>
         #Option     "PanelDelayCompensation1"   # <i>
         #Option     "PDC"                       # <i>
         #Option     "PDC1"                      # <i>
         #Option     "EMI"                       # <i>
         #Option     "LVDSHL"                    # <i>
         #Option     "SpecialTiming"             # <str>
         #Option     "TVStandard"                # <str>
         #Option     "UseROMData"                # [<bool>]
         #Option     "NoInternalModes"           # [<bool>]
         #Option     "UseOEMData"                # [<bool>]
         #Option     "NoYV12"                    # [<bool>]
         #Option     "CHTVType"                  # [<bool>]
         #Option     "CHTVOverscan"              # [<bool>]
         #Option     "CHTVSuperOverscan"         # [<bool>]
         #Option     "CHTVLumaBandwidthCVBS"     # <i>
         #Option     "CHTVLumaBandwidthSVIDEO"   # <i>
         #Option     "CHTVLumaFlickerFilter"     # <i>
         #Option     "CHTVChromaBandwidth"       # <i>
         #Option     "CHTVChromaFlickerFilter"   # <i>
         #Option     "CHTVCVBSColor"             # [<bool>]
         #Option     "CHTVTextEnhance"           # <i>
         #Option     "CHTVContrast"              # <i>
         #Option     "SISTVEdgeEnhance"          # <i>
         #Option     "SISTVAntiFlicker"          # <str>
         #Option     "SISTVSaturation"           # <i>
         #Option     "SISTVCFilter"              # [<bool>]
         #Option     "SISTVYFilter"              # <i>
         #Option     "SISTVColorCalibFine"       # <i>
         #Option     "SISTVColorCalibCoarse"     # <i>
         #Option     "SISTVXScale"               # <i>
         #Option     "SISTVYScale"               # <i>
         #Option     "TVXPosOffset"              # <i>
         #Option     "TVYPosOffset"              # <i>
         #Option     "SIS6326TVAntiFlicker"      # <str>
         #Option     "SIS6326TVEnableYFilter"    # [<bool>]
         #Option     "SIS6326TVYFilterStrong"    # [<bool>]
         #Option     "SIS6326TVForcePlug"        # <str>
         #Option     "SIS6326FSCAdjust"          # <i>
         #Option     "UseColorHWCursor"          # [<bool>]
         #Option     "ColorHWCursorBlending"     # [<bool>]
         #Option     "ColorHWCursorBlendThreshold"       # <i>
         #Option     "RestoreBySetMode"          # [<bool>]
         #Option     "NoCRT2Detection"           # [<bool>]
         #Option     "ForceCRT2ReDetection"      # [<bool>]
         #Option     "SenseYPbPr"                # [<bool>]
         #Option     "CRT1Gamma"                 # [<bool>]
         #Option     "CRT2Gamma"                 # [<bool>]
         #Option     "StoredGammaBrightness"     # <str>
         #Option     "StoredGammaPreBrightness"  # <str>
         #Option     "XvGamma"                   # <str>
         #Option     "XvDefaultContrast"         # <i>
         #Option     "XvDefaultBrightness"       # <i>
         #Option     "XvDefaultHue"              # <i>
         #Option     "XvDefaultSaturation"       # <i>
         #Option     "XvDefaultDisableGfx"       # [<bool>]
         #Option     "XvDefaultDisableGfxLR"     # [<bool>]
         #Option     "XvChromaMin"               # <i>
         #Option     "XvChromaMax"               # <i>
         #Option     "XvUseChromaKey"            # [<bool>]
         #Option     "XvInsideChromaKey"         # [<bool>]
         #Option     "XvYUVChromaKey"            # [<bool>]
         #Option     "XvDisableColorKey"         # [<bool>]
         #Option     "XvUseMemcpy"               # [<bool>]
         #Option     "XvDefaultAdaptor"          # <str>
         #Option     "ScaleLCD"                  # [<bool>]
         #Option     "CenterLCD"                 # [<bool>]
         #Option     "EnableHotkey"              # [<bool>]
         #Option     "EnableSiSCtrl"             # [<bool>]
         #Option     "OverruleFrequencyRanges"   # [<bool>]
         #Option     "MergedFB"                  # [<bool>]
         #Option     "TwinView"                  # [<bool>]
         #Option     "MergedFBAuto"              # [<bool>]
         #Option     "CRT2HSync"                 # <str>
         #Option     "SecondMonitorHorizSync"    # <str>
         #Option     "CRT2VRefresh"              # <str>
         #Option     "SecondMonitorVertRefresh"  # <str>
         #Option     "CRT2Position"              # <str>
         #Option     "TwinViewOrientation"       # <str>
         #Option     "MetaModes"                 # <str>
         #Option     "MergedDPI"                 # <str>
         #Option     "NoMergedXinerama"          # [<bool>]
         #Option     "NoTwinviewXineramaInfo"    # [<bool>]
         #Option     "MergedXineramaCRT2IsScreen0"       # [<bool>]
         Identifier  "Card0"
         Driver      "sis"
         VendorName  "Silicon Integrated Systems [SiS]"
         BoardName   "SiS630 GUI Accelerator+3D"
         BusID       "PCI:1:0:0"
 EndSection
 Section "Screen"
         Identifier "Screen0"
         Device     "Card0"
         Monitor    "Monitor0"
         SubSection "Display"
                 Viewport   0 0
                 Depth     1
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     4
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     8
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     15
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     16
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     24
         EndSubSection
 EndSection

This config makes kernel panic when I startx. (is it a bug?)

If I change driver and card both to vesa, Xorg starts, but picture is far
from perfect. there are two horizontal lines on the bottom of the screen.

(Now I run FreeBSD 5.4 on this machine and there is no problem with this video card. Xorg version is same in 6.0)

Maybe I must supply some card options?
Or install additional driver(s)? 
So where I can find them?.

Additional info about this problem:
http://www.freebsd.org/cgi/query-pr.cgi?pr=90237

>How-To-Repeat:
find a computer with SIS630/730
and FreeBSD 6.0 and try to start Xorg.

>Fix:
Don't know how to fix

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601201823.k0KINpJc075088>