Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

SiS 771/671 VGA driver in Debian Jessie [hacky solution]

Graphical Environments, Managers, Multimedia & Desktop questions.
Message
Author
rienesl
Posts: 7
Joined: 2016-01-31 19:19

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#16 Post by rienesl »

sorry for the late reply, here is the result of "cat /var/log/Xorg.0.log":

Code: Select all

[    47.577] 
X.Org X Server 1.15.1
Release Date: 2014-04-13
[    47.577] X Protocol Version 11, Revision 0
[    47.578] Build Operating System: Linux 3.2.0-75-generic i686 Ubuntu
[    47.578] Current Operating System: Linux V3353 3.13.0-77-generic #121-Ubuntu SMP Wed Jan 20 10:50:59 UTC 2016 i686
[    47.578] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-77-generic root=UUID=5a335bf5-1882-4aeb-936d-7c74ce3fc755 ro quiet splash vt.handoff=7
[    47.578] Build Date: 12 February 2015  02:49:46PM
[    47.578] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support) 
[    47.578] Current version of pixman: 0.30.2
[    47.578] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    47.578] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    47.578] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb  5 06:07:24 2016
[    47.653] (==) Using config file: "/etc/X11/xorg.conf"
[    47.653] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    47.815] (==) ServerLayout "X.org Configured"
[    47.815] (**) |-->Screen "Screen0" (0)
[    47.815] (**) |   |-->Monitor "Monitor0"
[    47.844] (**) |   |-->Device "Card0"
[    47.844] (**) Option "IgnoreABI" "true"
[    47.844] (**) Ignoring ABI Version
[    47.844] (==) Automatically adding devices
[    47.844] (==) Automatically enabling devices
[    47.844] (==) Automatically adding GPU devices
[    47.941] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    47.941] 	Entry deleted from font path.
[    47.941] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    47.941] 	Entry deleted from font path.
[    47.941] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    47.941] 	Entry deleted from font path.
[    47.954] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    47.954] 	Entry deleted from font path.
[    47.954] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    47.954] 	Entry deleted from font path.
[    47.954] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[    47.954] (==) ModulePath set to "/usr/lib/i386-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[    47.954] (**) Extension "XVideo" is disabled
[    47.954] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    47.954] (II) Loader magic: 0xb776c6c0
[    47.954] (II) Module ABI versions:
[    47.954] 	X.Org ANSI C Emulation: 0.4
[    47.954] 	X.Org Video Driver: 15.0
[    47.954] 	X.Org XInput driver : 20.0
[    47.954] 	X.Org Server Extension : 8.0
[    47.955] (--) PCI:*(0:1:0:0) 1039:6351:1734:1125 rev 16, Mem @ 0xc0000000/268435456, 0xd4000000/131072, I/O @ 0x00009000/128
[    47.971] Initializing built-in extension Generic Event Extension
[    47.971] Initializing built-in extension SHAPE
[    47.971] Initializing built-in extension MIT-SHM
[    47.971] Initializing built-in extension XInputExtension
[    47.971] Initializing built-in extension XTEST
[    47.971] Initializing built-in extension BIG-REQUESTS
[    47.971] Initializing built-in extension SYNC
[    47.971] Initializing built-in extension XKEYBOARD
[    47.971] Initializing built-in extension XC-MISC
[    47.971] Initializing built-in extension SECURITY
[    47.971] Initializing built-in extension XINERAMA
[    47.971] Initializing built-in extension XFIXES
[    47.971] Initializing built-in extension RENDER
[    47.971] Initializing built-in extension RANDR
[    47.971] Initializing built-in extension COMPOSITE
[    47.971] Initializing built-in extension DAMAGE
[    47.971] Initializing built-in extension MIT-SCREEN-SAVER
[    47.971] Initializing built-in extension DOUBLE-BUFFER
[    47.971] Initializing built-in extension RECORD
[    47.971] Initializing built-in extension DPMS
[    47.971] Initializing built-in extension Present
[    47.971] Initializing built-in extension DRI3
[    47.971] Initializing built-in extension X-Resource
[    47.971] Initializing built-in extension XVideo
[    47.972] Initializing built-in extension XVideo-MotionCompensation
[    47.972] Initializing built-in extension SELinux
[    47.972] Initializing built-in extension XFree86-VidModeExtension
[    47.972] Initializing built-in extension XFree86-DGA
[    47.972] Initializing built-in extension XFree86-DRI
[    47.972] Initializing built-in extension DRI2
[    47.972] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
[    47.972] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    47.972] (WW) "xmir" is not to be loaded by default. Skipping.
[    47.972] (II) LoadModule: "dbe"
[    47.972] (II) Module "dbe" already built-in
[    47.972] (II) LoadModule: "v4l"
[    48.123] (WW) Warning, couldn't open module v4l
[    48.123] (II) UnloadModule: "v4l"
[    48.123] (II) Unloading v4l
[    48.123] (EE) Failed to load module "v4l" (module does not exist, 0)
[    48.123] (II) LoadModule: "extmod"
[    48.123] (II) Module "extmod" already built-in
[    48.123] (II) LoadModule: "glx"
[    48.123] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    48.487] (II) Module glx: vendor="X.Org Foundation"
[    48.488] 	compiled for 1.15.1, module version = 1.0.0
[    48.488] 	ABI class: X.Org Server Extension, version 8.0
[    48.488] (==) AIGLX enabled
[    48.488] Loading extension GLX
[    48.488] (II) LoadModule: "sisimedia"
[    48.488] (II) Loading /usr/lib/xorg/modules/drivers/sisimedia_drv.so
[    48.559] (II) Module sisimedia: vendor="X.Org Foundation"
[    48.559] 	compiled for 1.15.1, module version = 0.8.0
[    48.559] 	Module class: X.Org Video Driver
[    48.559] 	ABI class: X.Org Video Driver, version 15.0
[    48.559] (II) SIS: driver for SiS chipsets: SIS5597/5598, SIS530/620,
	SIS6326/AGP/DVD, SIS300/305, SIS630/730, SIS540, SIS315, SIS315H,
	SIS315PRO/E, SIS550, SIS650/M650/651/740,
	SIS[M]661[F|M]X/[M]741[GX]/[M]760[GX]/[M]761[GX]/662, SIS330(Xabre),
	SIS340, [M]670/[M]770[GX], [M]671/[M]771[GX]
[    48.559] (II) SIS: driver for XGI chipsets: Volari Z7 (XG20),
	Volari V3XT/V5/V8/Duo (XG40/XG42)
[    48.560] (++) using VT number 7

[    48.560] (II) SIS_pci_probe - begin, entity_num=0
[    48.560] (II)                        vendor_id=0x1039
[    48.560] (II)                        device_id=0x6351
[    48.560] (II)                        bus=1
[    48.560] (II)                        dev=0
[    48.560] (II)                        func=0
[    48.560] (II) SIS_pci_probe - ConfigPciEntity found
[    48.560] (II) SIS(0): SIS_pci_probe - GetEntityInfo chipset is 0x6351
[    48.560] (II) SIS(0): SIS_pci_probe - end
[    48.560] (II) SIS(0): SiS driver (2006/10/17-1, compiled for X.org 1.15.1.0)
[    48.560] (II) SIS(0): Copyright (C) 2001-2005 Thomas Winischhofer <thomas@winischhofer.net> and others
[    48.560] (II) SIS(0): *** See http://www.winischhofer.at/linuxsisvga.shtml
[    48.560] (II) SIS(0): *** for documentation, updates and a Premium Version.
[    48.560] (II) SIS(0): RandR rotation support not available in this version.
[    48.560] (II) SIS(0): Dynamic modelist support not available in this version.
[    48.560] (II) SIS(0): Screen growing support not available in this version.
[    48.560] (II) SIS(0): Advanced Xv video blitter not available in this version.
[    48.560] (II) SIS(0): Advanced MergedFB support not available in this version.
[    48.572] (--) SIS(0): sisfb not found
[    48.572] (--) SIS(0): Relocated I/O registers at 0x9000
[    48.586] (II) Loading sub module "ramdac"
[    48.586] (II) LoadModule: "ramdac"
[    48.586] (II) Module "ramdac" already built-in
[    48.586] (**) SIS(0): Depth 24, (--) framebuffer bpp 32
[    48.586] (==) SIS(0): RGB weight 888
[    48.586] (==) SIS(0): Default visual is TrueColor
[    48.586] (WW) SIS(0): Could not find/read video BIOS
[    48.586] (**) SIS(0): Option "EnableSiSCtrl" "yes"
[    48.586] (**) SIS(0): Option "ForceCRT1Type" "VGA"
[    48.586] (**) SIS(0): Option "ForceCRT2Type" "LCD"
[    48.586] (==) SIS(0): Color HW cursor is enabled
[    48.586] (II) SIS(0): Using VRAM command queue, size 512k
[    48.586] (==) SIS(0): Hotkey display switching is enabled
[    48.586] (**) SIS(0): CRT2 type shall be LCD
[    48.586] (**) SIS(0): SiSCtrl utility interface is enabled
[    48.586] (==) SIS(0): X server will not keep DPI constant for all screen sizes
[    48.586] (==) SIS(0): DRI enabled
[    48.587] (--) SIS(0): 65536K shared video RAM (UMA)
[    48.587] (--) SIS(0): DRAM type: DDR SDRAM
[    48.587] (--) SIS(0): Memory clock: 596.582 MHz
[    48.587] (--) SIS(0): DRAM bus width: 64 bit
[    48.587] (--) SIS(0): Linear framebuffer at 0xC0000000
[    48.587] (--) SIS(0): MMIO registers at 0xD4000000 (size 64K)
[    48.587] (--) SIS(0): VideoRAM: 65536 KB
[    48.587] (II) SIS(0): Using 16384K of framebuffer memory at offset 0K
[    48.587] (II) Loading sub module "ddc"
[    48.587] (II) LoadModule: "ddc"
[    48.587] (II) Module "ddc" already built-in
[    48.587] (--) SIS(0): Detected SiS307LV video bridge (Charter/UMC-1, ID 7; Rev 0xe1)
[    50.483] (--) SIS(0): No CRT1/VGA detected
[    50.484] (--) SIS(0): Detected LCD/plasma panel (1280x800, 11, non-exp., RGB18 [ec2305])
[    50.484] (**) SIS(0): Using gamma correction (1.0, 1.0, 1.0)
[    50.484] (II) SIS(0): CRT1 gamma correction is enabled
[    50.484] (II) SIS(0): Separate Xv gamma correction for CRT1 is disabled
[    50.484] (II) SIS(0): CRT2 gamma correction is enabled
[    50.484] (--) SIS(0): Memory bandwidth at 32 bpp is 1193.16 MHz
[    50.484] (--) SIS(0): Detected LCD PanelDelayCompensation 0x00 (for LCD=CRT2)
[    50.484] (--) SIS(0): Detected LCD PanelDelayCompensation 0x00 (for LCD=CRT1)
[    50.484] (--) SIS(0): 302LV/302ELV: Using EMI 0x6a0d7038 (LCD)
[    50.484] (--) SIS(0): CRT2 DDC probing failed
[    50.484] (==) SIS(0): Min pixel clock is 10 MHz
[    50.484] (--) SIS(0): Max pixel clock is 340 MHz
[    50.484] (II) SIS(0): Replaced entire mode list with built-in modes
[    50.484] (II) SIS(0): Correcting missing CRT2 monitor HSync range
[    50.484] (II) SIS(0): Correcting missing CRT2 monitor VRefresh range
[    50.484] (II) SIS(0): "Unknown reason" in the following list means that the mode
[    50.484] (II) SIS(0): is not supported on the chipset/bridge/current output device.
[    50.484] (II) SIS(0): Monitor0: Using hsync range of 30.00-80.00 kHz
[    50.484] (II) SIS(0): Monitor0: Using vrefresh range of 59.00-61.00 Hz
[    50.484] (II) SIS(0): Monitor0: Using vrefresh value of 71.00 Hz
[    50.484] (II) SIS(0): Clock range:  10.00 to 340.00 MHz
[    50.484] (II) SIS(0): Not using default mode "800x600" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "800x600" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "800x600" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "800x600" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "800x600" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "800x600" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "800x600" (hsync out of range)
[    50.484] (II) SIS(0): Not using default mode "640x480" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "640x480" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "640x480" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "640x480" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "640x480" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "640x480" (hsync out of range)
[    50.484] (II) SIS(0): Not using default mode "640x480" (hsync out of range)
[    50.484] (II) SIS(0): Not using default mode "1024x768" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "1024x768" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "1024x768" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "1024x768" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "1024x768" (hsync out of range)
[    50.484] (II) SIS(0): Not using default mode "1024x768" (hsync out of range)
[    50.484] (II) SIS(0): Not using default mode "1280x1024" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1280x1024" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1280x1024" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1280x1024" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1920x1440" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1920x1440" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1920x1440" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "1920x1440" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "1920x1440" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
[    50.485] (II) SIS(0): Not using default mode "2048x1536" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "2048x1536" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "2048x1536" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
[    50.485] (II) SIS(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
[    50.485] (II) SIS(0): Not using default mode "1400x1050" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "1400x1050" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "1280x800" (vrefresh out of range)
[    50.485] (II) SIS(0): Not using default mode "1280x800" (hsync out of range)
[    50.485] (II) SIS(0): Not using default mode "1440x900" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "1440x900" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "1440x900" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "1366x768" (unknown reason)
[    50.485] (--) SIS(0): Virtual size is 1280x800 (pitch 1280)
[    50.485] (**) SIS(0): *Default mode "1280x800" (1280x800) (For CRT device: 107.9 MHz, 63.9 kHz, 59.9 Hz)
[    50.485] (**) SIS(0): *Default mode "1024x768" (1024x768) (For CRT device: 65.1 MHz, 48.5 kHz, 60.1 Hz)
[    50.485] (**) SIS(0): *Default mode "800x600" (800x600) (For CRT device: 40.0 MHz, 37.9 kHz, 60.3 Hz)
[    50.485] (**) SIS(0): *Default mode "640x480" (640x480) (For CRT device: 25.1 MHz, 31.3 kHz, 59.7 Hz)
[    50.485] (==) SIS(0): DPI set to (96, 96)
[    50.485] (II) Loading sub module "fb"
[    50.485] (II) LoadModule: "fb"
[    50.485] (II) Loading /usr/lib/xorg/modules/libfb.so
[    50.500] (II) Module fb: vendor="X.Org Foundation"
[    50.500] 	compiled for 1.15.1, module version = 1.0.0
[    50.500] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    50.500] (II) Loading sub module "exa"
[    50.500] (II) LoadModule: "exa"
[    50.500] (II) Loading /usr/lib/xorg/modules/libexa.so
[    50.515] (II) Module exa: vendor="X.Org Foundation"
[    50.515] 	compiled for 1.15.1, module version = 2.6.0
[    50.515] 	ABI class: X.Org Video Driver, version 15.0
[    50.515] (--) Depth 24 pixmap format is 32 bpp
[    50.515] (II) Loading sub module "vbe"
[    50.515] (II) LoadModule: "vbe"
[    50.515] (II) Loading /usr/lib/xorg/modules/libvbe.so
[    50.527] (II) Module vbe: vendor="X.Org Foundation"
[    50.527] 	compiled for 1.15.1, module version = 1.1.0
[    50.527] 	ABI class: X.Org Video Driver, version 15.0
[    50.527] (II) Loading sub module "int10"
[    50.527] (II) LoadModule: "int10"
[    50.528] (II) Loading /usr/lib/xorg/modules/libint10.so
[    50.542] (II) Module int10: vendor="X.Org Foundation"
[    50.542] 	compiled for 1.15.1, module version = 1.0.0
[    50.542] 	ABI class: X.Org Video Driver, version 15.0
[    50.542] (II) SIS(0): initializing int10
[    50.567] (II) SIS(0): Primary V_BIOS segment is: 0xc000
[    50.569] (II) SIS(0): VESA BIOS detected
[    50.569] (II) SIS(0): VESA VBE Version 3.0
[    50.569] (II) SIS(0): VESA VBE Total Mem: 65536 kB
[    50.569] (II) SIS(0): VESA VBE OEM: SiS
[    50.569] (II) SIS(0): VESA VBE OEM Software Rev: 1.0
[    50.569] (II) SIS(0): VESA VBE OEM Vendor: Silicon Integrated Systems Corp.
[    50.569] (II) SIS(0): VESA VBE OEM Product: 6330
[    50.569] (II) SIS(0): VESA VBE OEM Product Rev: 3.74.10A
[    50.575] (II) SIS(0): Setting standard mode 0x16
[    51.748] drmOpenDevice: node name is /dev/dri/card0
[    51.753] drmOpenDevice: node name is /dev/dri/card0
[    51.883] drmOpenByBusid: Searching for BusID pci:0000:01:00.0
[    51.884] drmOpenDevice: node name is /dev/dri/card0
[    51.884] drmOpenDevice: open result is 10, (OK)
[    51.884] drmOpenByBusid: drmOpenMinor returns 10
[    51.884] drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
[    51.884] (II) [drm] loaded kernel module for "sis" driver.
[    51.884] (II) [drm] DRM interface version 1.4
[    51.884] (II) [drm] DRM open master succeeded.
[    51.884] (II) SIS(0): [drm] Using the DRM lock SAREA also for drawables.
[    51.884] (II) SIS(0): [drm] framebuffer handle = 0xc0000000
[    51.884] (II) SIS(0): [drm] added 1 reserved context for kernel
[    51.884] (II) SIS(0): X context handle = 0x1
[    51.884] (II) SIS(0): [drm] installed DRM signal handler
[    51.884] (II) SIS(0): [dri] Video RAM memory heap: 0x1000000 to 0x3f70000 (48576KB)
[    51.884] (II) SIS(0): [dri] handle = 0xd4000000, size = 65536
[    51.885] (II) SIS(0): [drm] AGP enabled
[    51.916] (II) SIS(0): [drm] Allocated 32MB AGP memory
[    51.919] (II) SIS(0): [drm] Bound 32MB AGP memory
[    51.919] (II) SIS(0): [drm] No valid IRQ number for device 1:0:0 (code -22)
[    51.919] (II) SIS(0): [dri] Visual configs initialized
[    51.950] (II) EXA(0): Offscreen pixmap area of 12681216 bytes
[    51.950] (II) EXA(0): Driver registered support for the following operations:
[    51.950] (II)         Solid
[    51.950] (II)         Copy
[    51.950] (--) SIS(0): CPU frequency 2000.00Mhz
[    51.952] (II) SIS(0): Benchmarking system RAM to video RAM memory transfer methods:
[    51.963] (--) SIS(0): 	Checked libc memcpy()... 	292.8 MiB/s
[    51.972] (--) SIS(0): 	Checked built-in-1 memcpy()... 	294.1 MiB/s
[    51.991] (--) SIS(0): 	Checked built-in-2 memcpy()... 	135.1 MiB/s
[    52.000] (--) SIS(0): 	Checked MMX memcpy()... 	294.1 MiB/s
[    52.010] (--) SIS(0): 	Checked SSE memcpy()... 	299.2 MiB/s
[    52.019] (--) SIS(0): 	Checked MMX2 memcpy()... 	299.5 MiB/s
[    52.019] (--) SIS(0): Using MMX2 method for aligned data transfers to video RAM
[    52.019] (--) SIS(0): Using MMX2 method for unaligned data transfers to video RAM
[    52.019] (--) SIS(0): CPU frequency 2000.00Mhz
[    52.021] (II) SIS(0): Benchmarking video RAM to system RAM memory transfer methods:
[    52.063] (--) SIS(0): 	Checked libc memcpy()... 	66.1 MiB/s
[    52.110] (--) SIS(0): 	Checked built-in-1 memcpy()... 	58.0 MiB/s
[    52.170] (--) SIS(0): 	Checked built-in-2 memcpy()... 	49.0 MiB/s
[    52.206] (--) SIS(0): 	Checked MMX memcpy()... 	77.9 MiB/s
[    52.238] (--) SIS(0): 	Checked SSE memcpy()... 	86.1 MiB/s
[    52.272] (--) SIS(0): 	Checked MMX2 memcpy()... 	79.7 MiB/s
[    52.273] (--) SIS(0): Using SSE method for aligned data transfers from video RAM
[    52.273] (--) SIS(0): Using MMX2 method for unaligned data transfers from video RAM
[    52.273] (==) SIS(0): Backing store enabled
[    52.273] (==) SIS(0): Silken mouse enabled
[    52.276] (**) SIS(0): DPMS enabled
[    52.276] (--) SIS(0): Hardware supports one video overlay
[    52.276] (II) SIS(0): Using SiS300/315/330/340/350 series HW Xv by default on CRT2
[    52.277] (II) SIS(0): Default Xv adaptor is Video Overlay
[    52.277] (II) SIS(0): [DRI] installation complete
[    52.277] (II) SIS(0): Direct rendering enabled
[    52.319] (II) SIS(0): Initialized SISCTRL extension version 0.1
[    52.319] (II) SIS(0): Registered screen 0 with SISCTRL extension version 0.1
[    52.320] (==) RandR enabled
[    52.330] (II) SELinux: Disabled on system
[    52.332] (II) AIGLX: Screen 0 is not DRI2 capable
[    52.332] (EE) AIGLX: reverting to software rendering
[    53.149] (II) AIGLX: Loaded and initialized swrast
[    53.149] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    53.263] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
[    53.282] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    53.282] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    53.282] (II) LoadModule: "evdev"
[    53.283] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    53.306] (II) Module evdev: vendor="X.Org Foundation"
[    53.306] 	compiled for 1.15.0, module version = 2.8.2
[    53.306] 	Module class: X.Org XInput Driver
[    53.306] 	ABI class: X.Org XInput driver, version 20.0
[    53.306] (II) Using input driver 'evdev' for 'Power Button'
[    53.306] (**) Power Button: always reports core events
[    53.306] (**) evdev: Power Button: Device: "/dev/input/event3"
[    53.306] (--) evdev: Power Button: Vendor 0 Product 0x1
[    53.306] (--) evdev: Power Button: Found keys
[    53.306] (II) evdev: Power Button: Configuring as keyboard
[    53.306] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[    53.306] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    53.306] (**) Option "xkb_rules" "evdev"
[    53.306] (**) Option "xkb_model" "pc105"
[    53.306] (**) Option "xkb_layout" "de"
[    53.311] (II) XKB: reuse xkmfile /var/lib/xkb/server-808BBA3D4C227BDB44C370226C34E44C5D69A4A9.xkm
[    53.330] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[    53.330] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    53.330] (II) Using input driver 'evdev' for 'Video Bus'
[    53.330] (**) Video Bus: always reports core events
[    53.330] (**) evdev: Video Bus: Device: "/dev/input/event6"
[    53.330] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    53.330] (--) evdev: Video Bus: Found keys
[    53.330] (II) evdev: Video Bus: Configuring as keyboard
[    53.330] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A03:00/device:01/LNXVIDEO:00/input/input13/event6"
[    53.330] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    53.330] (**) Option "xkb_rules" "evdev"
[    53.330] (**) Option "xkb_model" "pc105"
[    53.331] (**) Option "xkb_layout" "de"
[    53.331] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    53.331] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    53.331] (II) Using input driver 'evdev' for 'Power Button'
[    53.331] (**) Power Button: always reports core events
[    53.331] (**) evdev: Power Button: Device: "/dev/input/event1"
[    53.331] (--) evdev: Power Button: Vendor 0 Product 0x1
[    53.331] (--) evdev: Power Button: Found keys
[    53.331] (II) evdev: Power Button: Configuring as keyboard
[    53.331] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1/event1"
[    53.331] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    53.332] (**) Option "xkb_rules" "evdev"
[    53.332] (**) Option "xkb_model" "pc105"
[    53.332] (**) Option "xkb_layout" "de"
[    53.332] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[    53.332] (II) No input driver specified, ignoring this device.
[    53.332] (II) This device may have been added with another device file.
[    53.333] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[    53.333] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    53.333] (II) Using input driver 'evdev' for 'Sleep Button'
[    53.333] (**) Sleep Button: always reports core events
[    53.333] (**) evdev: Sleep Button: Device: "/dev/input/event2"
[    53.333] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[    53.333] (--) evdev: Sleep Button: Found keys
[    53.333] (II) evdev: Sleep Button: Configuring as keyboard
[    53.333] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2/event2"
[    53.333] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[    53.333] (**) Option "xkb_rules" "evdev"
[    53.333] (**) Option "xkb_model" "pc105"
[    53.333] (**) Option "xkb_layout" "de"
[    53.334] (II) config/udev: Adding drm device (/dev/dri/card0) card0 /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[    53.334] (II) xfree86: Adding drm device (/dev/dri/card0)
[    53.334] (II) LoadModule: "modesetting"
[    53.334] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    53.342] (II) Module modesetting: vendor="X.Org Foundation"
[    53.342] 	compiled for 1.15.0, module version = 0.8.1
[    53.342] 	Module class: X.Org Video Driver
[    53.342] 	ABI class: X.Org Video Driver, version 15.0
[    53.342] xf86: found device 0
[    53.343] (II) config/udev: Adding input device HDA SIS966 Mic (/dev/input/event8)
[    53.343] (II) No input driver specified, ignoring this device.
[    53.343] (II) This device may have been added with another device file.
[    53.343] (II) config/udev: Adding input device HDA SIS966 Headphone (/dev/input/event7)
[    53.343] (II) No input driver specified, ignoring this device.
[    53.343] (II) This device may have been added with another device file.
[    53.343] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[    53.343] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    53.344] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    53.344] (**) AT Translated Set 2 keyboard: always reports core events
[    53.344] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event4"
[    53.344] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[    53.344] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    53.344] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    53.344] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[    53.344] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[    53.344] (**) Option "xkb_rules" "evdev"
[    53.344] (**) Option "xkb_model" "pc105"
[    53.344] (**) Option "xkb_layout" "de"
[    53.345] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event5)
[    53.345] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    53.345] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    53.345] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[    53.345] (II) LoadModule: "synaptics"
[    53.345] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    53.369] (II) Module synaptics: vendor="X.Org Foundation"
[    53.369] 	compiled for 1.15.0, module version = 1.7.4
[    53.369] 	Module class: X.Org XInput Driver
[    53.369] 	ABI class: X.Org XInput driver, version 20.0
[    53.369] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    53.369] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    53.369] (**) Option "Device" "/dev/input/event5"
[    53.556] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472 (res 68)
[    53.557] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448 (res 93)
[    53.557] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    53.557] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    53.557] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right
[    53.557] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[    53.557] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    53.557] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    53.656] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio4/input/input12/event5"
[    53.656] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 11)
[    53.656] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    53.657] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[    53.657] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.040
[    53.657] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    53.657] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[    53.657] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    53.657] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    53.657] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    53.657] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    53.657] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[    53.695] (II) config/udev: Adding drm device (/dev/dri/card0) card0 /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[    53.695] (II) xfree86: Adding drm device (/dev/dri/card0)
[    53.695] (II) LoadModule: "modesetting"
[    53.696] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    53.696] (II) Module modesetting: vendor="X.Org Foundation"
[    53.696] 	compiled for 1.15.0, module version = 0.8.1
[    53.696] 	Module class: X.Org Video Driver
[    53.696] 	ABI class: X.Org Video Driver, version 15.0
[    53.696] (II) UnloadModule: "modesetting"
[    53.696] (II) Unloading modesetting
[    53.696] (II) Failed to load module "modesetting" (already loaded, -1218583586)
[    53.696] xf86: found device 0
[    79.751] (II) XKB: reuse xkmfile /var/lib/xkb/server-808BBA3D4C227BDB44C370226C34E44C5D69A4A9.xkm
[   261.221] (II) XKB: reuse xkmfile /var/lib/xkb/server-E9F2508F67FF8693C818650F309AAC6EB7172BB2.xkm

clasan
Posts: 24
Joined: 2015-08-26 06:30

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#17 Post by clasan »

rienesl,
We have different versions of Xorg.
Yours:

Code: Select all

 [    47.954] (II) Module ABI versions:
[    47.954]    X.Org ANSI C Emulation: 0.4
[    47.954]    X.Org Video Driver: 15.0
[    47.954]    X.Org XInput driver : 20.0
[    47.954]    X.Org Server Extension : 8.0
Mine:

Code: Select all

 [    66.180] (II) Module ABI versions:
[    66.180]    X.Org ANSI C Emulation: 0.4
[    66.180]    X.Org Video Driver: 18.0
[    66.180]    X.Org XInput driver : 21.0
[    66.180]    X.Org Server Extension : 8.0
What version of Xubuntu are you using? (https://en.wikipedia.org/wiki/List_of_Ubuntu_releases)
Maybe a sis671 driver for Wheezy it's better for you. I've one here. Let we see what your Xubuntu version first.

rienesl
Posts: 7
Joined: 2016-01-31 19:19

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#18 Post by rienesl »

Hi,
you are absolutely right,I didn't thought about that!

Code: Select all

rienesl@V5535:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.3 LTS
Release:	14.04
Codename:	trusty
By the way: *ubuntu distributions are rather a "conservative" family and the LTS Versions are even more the direction "proved and stable", than bleeding edge technology ;)

clasan
Posts: 24
Joined: 2015-08-26 06:30

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#19 Post by clasan »

rienesl,
Try this. It worked for me in my Wheezy in the past 2 years.

HowTo: Driver for SIS 671/672/771/772 in Crunchbang or Debian Wheezy
-Some deps:

Code: Select all

$ sudo apt-get install git xorg-dev mesa-common-dev libdrm-dev libtool build-essential xutils-dev automake autoconf autotools-dev libdmx-dev
-Download the driver package tar.gz from
git project page
https://gitorious.org/xf86-video-sis671 ... b76;sf=tgz

my file backuped at dropbox
https://www.dropbox.com/s/1tsm63o75w2ih ... ar.gz?dl=0

-Extract:

Code: Select all

tar xvzf xf86-video-sis671sis-671-fix-2952c09.tar.gz
or

Code: Select all

$ tar xvzf xf86-video-sis671-sis-671-fix-38bf667ae42818edca60607b38c70100eab3ca36.tar.gz
-Access the folder:

Code: Select all

$ cd xf86-video-sis671-sis-671-fix
-To install the driver, run:

Code: Select all

$ autoreconf -vi
$ ./configure --prefix=/usr --disable-static
$ make
$ sudo make install
-Now we need to configure the xorg.conf file (use your text editor)

Code: Select all

$ sudo vim /etc/X11/xorg.conf
and use this configuration -- see that we use "sisimedia" in the Device section to indicate the driver:

Code: Select all

#-----------------------
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen          0                       "Screen0" 0 0
EndSection

Section "Module"
        Disable         "dri"
        Load            "dbe" # Double-Buffering Extension
        Load            "v4l" # Video for Linux
        Load            "extmod"
        Load            "glx"
EndSection
Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "Monitor Vendor"
        ModelName       "Monitor Model"
        Option          "DPMS"
        Gamma           1.0
EndSection
Section "Server Flags"
        Option          "IgnoreABI"             "true"
EndSection
Section "Device"
        Identifier      "Card0"
        Driver          "sisimedia"
        BusID           "PCI:1:0:0"
        Option          "EnableSiSCtrl"         "yes"
        
      # ----------------------------------------------
      # Configuration for TWO monitors
        #Option         "UseTiming1366" "yes"
        #Option         "MergedFB" "auto"
        #Option         "CRT1Position" "RightOf"
        #Option         "CRT2Position" "LeftOf"
        #Option         "MetaModes" "1440x900-1024x768 1280x800"  # lcc1
        #Option         "MetaModes" "1280x800-1280x800 1280x800"   # lcc2
        #Option         "MetaModes" "1280x1024-1280x800 1280x800" # lcc3
        #Option         "MetaModes" "1280x800-1366x768 1280x800" # home1
        #Option         "MetaModes" "1440x900-1024x768 1280x800"  # home2
        #Option         "MergedNonRectangular" "on"

     # ----------------------------------------------
     # Disabling outputs
        #[sisctrl] Set CRT1 device type
        Option          "ForceCRT1Type"         "VGA" #monitor screen on
        #Option         "ForceCRT1Type"         "NONE" #monitor screen off

        #[sisctrl] Set CRT2 device type
        #Option         "ForceCRT2Type"         "NONE" #notebook screen off
        Option          "ForceCRT2Type"         "LCD"  #notebook screen on
EndSection
Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
        DefaultColorDepth   24
        SubSection "Display"
                Viewport        0 0
                Depth           1
                Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           4
                Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           8
                Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           15
                Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           16
                #Modes "1366x768" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                Modes "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           24
                #Modes "1366x768" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                Modes "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Extensions"
Option "XVideo" "Disable"
EndSection
#-----------------------
OK, restart the X server (logout or restart the computer).

rienesl
Posts: 7
Joined: 2016-01-31 19:19

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#20 Post by rienesl »

Thank you very much for your help!!
Done all the steps (packages were already installed, downloaded git and your copy) until I reached "make" on the git version:

Code: Select all

rienesl@V5535:~/Temp/Treiber/xf86-video-sis671sis-671-fix-2952c09$ make
make  all-recursive
make[1]: Entering directory `/home/rienesl/Temp/Treiber/xf86-video-sis671sis-671-fix-2952c09'
Making all in src
make[2]: Entering directory `/home/rienesl/Temp/Treiber/xf86-video-sis671sis-671-fix-2952c09/src'
  CC       sis_mergedfb.lo
sis_mergedfb.c: In function 'SISMFBPointerMoved':
sis_mergedfb.c:1530:3: error: too few arguments to function 'miPointerSetPosition'
   miPointerSetPosition(inputInfo.pointer, Absolute, &dx, &dy);
   ^
In file included from /usr/include/xorg/xf86Cursor.h:6:0,
                 from sis.h:81,
                 from sis_mergedfb.c:38:
/usr/include/xorg/mipointer.h:106:1: note: declared here
 miPointerSetPosition(DeviceIntPtr pDev, int mode, double *x, double *y,
 ^
make[2]: *** [sis_mergedfb.lo] Error 1
make[2]: Leaving directory `/home/rienesl/Temp/Treiber/xf86-video-sis671sis-671-fix-2952c09/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rienesl/Temp/Treiber/xf86-video-sis671sis-671-fix-2952c09'
make: *** [all] Error 2
I do not know much about coding, but "Error" while doing "make" seems not to be the result that should be expected... So I tried it with your version:

Code: Select all

rienesl@V5535:~/Temp/Treiber/xf86-video-sis671-sis-671-fix$ make
make  all-recursive
make[1]: Entering directory `/home/rienesl/Temp/Treiber/xf86-video-sis671-sis-671-fix'
Making all in src
make[2]: Entering directory `/home/rienesl/Temp/Treiber/xf86-video-sis671-sis-671-fix/src'
  CC       init301.lo
init301.c:8195:1: warning: return type defaults to 'int' [enabled by default]
 SiS_ModifyVB(struct SiS_Private *SiS_Pr)
 ^
  CC       init.lo
  CC       initextx.lo
  CC       sis300_accel.lo
  CC       sis310_accel.lo
  CC       sis6326_video.lo
sis6326_video.c: In function 'SIS6326SetupImageVideo':
sis6326_video.c:574:21: warning: assignment from incompatible pointer type [enabled by default]
     adapt->PutImage = SIS6326PutImage;
                     ^
  CC       sis_accel.lo
  CC       sis_cursor.lo
  CC       sis_dac.lo
  CC       sis_dga.lo
  CC       sis_driver.lo
sis_driver.c: In function 'SISScreenInit':
sis_driver.c:9526:4: warning: implicit declaration of function 'SISDRIScreenInit' [-Wimplicit-function-declaration]
    pSiS->directRenderingEnabled = SISDRIScreenInit(pScreen);
    ^
sis_driver.c:9852:11: warning: implicit declaration of function 'SISDRIFinishScreenInit' [-Wimplicit-function-declaration]
           pSiS->directRenderingEnabled = SISDRIFinishScreenInit(pScreen);
           ^
sis_driver.c:9866:28: warning: assignment from incompatible pointer type [enabled by default]
        pScrn->PointerMoved = SISMFBPointerMoved;
                            ^
sis_driver.c: In function 'SISAdjustFrame':
sis_driver.c:10555:2: warning: passing argument 1 of 'SISMFBAdjustFrame' makes integer from pointer without a cast [enabled by default]
  SISMFBAdjustFrame(arg, x, y, 0);
  ^
In file included from sis_driver.c:110:0:
sis_driver.h:929:14: note: expected 'int' but argument is of type 'ScrnInfoPtr'
 extern void  SISMFBAdjustFrame(int scrnIndex, int x, int y, int flags);
              ^
sis_driver.c: In function 'SISCloseScreen':
sis_driver.c:10761:8: warning: implicit declaration of function 'SISDRICloseScreen' [-Wimplicit-function-declaration]
        SISDRICloseScreen(pScreen);
        ^
sis_driver.c: In function 'SiS_GetSetBIOSScratch':
sis_driver.c:10986:8: warning: passing argument 5 of 'pci_device_map_legacy' from incompatible pointer type [enabled by default]
        (void) pci_device_map_legacy(SISPTR(pScrn)->PciInfo, 0, 0x2000, 1, &base); // HA HA HA MAGIC NUMBER
        ^
In file included from /usr/include/xorg/xf86Pci.h:108:0,
                 from sis.h:72,
                 from sis_driver.c:79:
/usr/include/pciaccess.h:533:5: note: expected 'void **' but argument is of type 'UChar **'
 int pci_device_map_legacy(struct pci_device *dev, pciaddr_t base,
     ^
  CC       sis_hwmc.lo
  CC       sis_memcpy.lo
  CC       sis_mergedfb.lo
sis_mergedfb.c: In function 'SISMFBPointerMoved':
sis_mergedfb.c:1530:3: error: too few arguments to function 'miPointerSetPosition'
   miPointerSetPosition(inputInfo.pointer, Absolute, &dx, &dy);
   ^
In file included from /usr/include/xorg/xf86Cursor.h:6:0,
                 from sis.h:81,
                 from sis_mergedfb.c:38:
/usr/include/xorg/mipointer.h:106:1: note: declared here
 miPointerSetPosition(DeviceIntPtr pDev, int mode, double *x, double *y,
 ^
make[2]: *** [sis_mergedfb.lo] Error 1
make[2]: Leaving directory `/home/rienesl/Temp/Treiber/xf86-video-sis671-sis-671-fix/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rienesl/Temp/Treiber/xf86-video-sis671-sis-671-fix'
make: *** [all] Error 2
More output, but same result...

clasan
Posts: 24
Joined: 2015-08-26 06:30

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#21 Post by clasan »

rienesl,
Ok, let's try a solution for Xubuntu 14.04 that others users have tested and related that it worked.
Your Xubuntu is 32 bits, right? So, download de binary package from http://pkgs.org/mageia-cauldron/mageia- ... 6.rpm.html.
Now, install this (we'll extract the rpm file):

Code: Select all

$ sudo apt-get install rpm2cpio
Open a terminal and access the folder that you put the rpm file and run:

Code: Select all

$ rpm2cpio x11-driver-video-sisimedia-0.9.1-9.20091203.21.mga6.i586.rpm | cpio -i --make-directories
This will generate a folder called usr, which have a full path usr/lib/xorg/modules/drivers. In the last folder (driver), we have this files:

Code: Select all

~/tmp/help-driver/usr/lib/xorg/modules/drivers$ ls
sisimedia_drv.la
sisimedia_drv.so
So, you need to copy this files to your system folder (maybe will be usefull make a backup or rename the other sisimedia files that you already have in your system -- in /usr/lib/xorg/modules/drivers folder --; case this attempt fails, you just restore your sisimedia files, ok?), in which are the drivers for Xorg to use:

Code: Select all

$ sudo cp sisimedia_drv.la sisimedia_drv.so /usr/lib/xorg/modules/drivers
I think that with my xorg.conf file your Xorg will work. Try, if not, use this in your xorg.conf file:

Code: Select all

# File generated by XFdrake (rev 262502)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
    Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
EndSection

Section "Module"
    Load "v4l" # Video for Linux
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "Flat Panel 1280x800"
    HorizSync 28.8-90
    VertRefresh 60
    
    # Monitor preferred modeline (59.9 Hz vsync, 49.3 kHz hsync, ratio 16/10, 113 dpi)
    ModeLine "1280x800" 71 1280 1328 1360 1440 800 803 809 823 -hsync -vsync
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_120"  181.21  1280 1376 1520 1760  800 801 804 858  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_100"  147.89  1280 1376 1512 1744  800 801 804 848  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_85"  123.38  1280 1368 1504 1728  800 801 804 840  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_75"  107.21  1280 1360 1496 1712  800 801 804 835  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_60"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_50"  68.56  1280 1336 1472 1664  800 801 804 824  -HSync +Vsync
EndSection

Section "Device"
    Identifier "device1"
    VendorName "Silicon Integrated Systems [SiS]"
    BoardName "SiS SiS 670 / 671-based cards"
    Driver "sisimedia"
    Option "DPMS"
#    Option        "UseTiming1366" "yes"
    Option "EnableSiSCtrl" "yes" 
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Modes "1280x800"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1280x800"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1280x800"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1280x800"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
EndSection
I found this solution here: https://www.vivaolinux.com.br/dica/Conf ... buntu-1404
Another user explained how to use it in ubuntu 15.10 and he reported that it worked for 14:04, 14:10 and 15:04 versions here: https://morvlab.wordpress.com/tag/sisimedia/
What I did was follow the procedure for them but considering that you use 32-bit packages instead of 64 bits.

rienesl
Posts: 7
Joined: 2016-01-31 19:19

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#22 Post by rienesl »

Hi clasan,
thank you very much for your help. This is, what happened:
Intall the additional package: OK
Download the .rpm-file: OK
Unpack it: OK
Make a Backup of /usr/... files: OK
Copy the new /usr/... files: OK
Restart: System hangs when switching to graphics mode, but shuts down when pressing the power button
Restarted in textmode and restored /usr/...
Restart: OK
Made a backup of xorg.conf: OK
Modified the xorg.conf with the informations given in the post: OK
Copy the /usr/... files: System crashes that hard, that I wasn't able to switch it off - even by holding the power button for 5 seconds!
Pulled the plug, then restart: System crashes when switching to graphics mode (hard, no reaction to power button)
Restarted in textmode and copied /usr/... files again, checked content of xorg.conf: OK
restart: System boots with 1024x768@76Hz (no other modes available)
Restored xorg.conf: OK
Restored /usr/... OK
Logoff, Logon: OK
I have a very faint memory, that I've already had that trouble a loooooong time ago...

rienesl
Posts: 7
Joined: 2016-01-31 19:19

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#23 Post by rienesl »

Hi clasan,
I finally found the solution. Currently I'm running on your first driver and config. But what was the problem? Believe it or not, it was Java! (or missing Java, depending on the point of view):
Currently I'm working a lot with excel sheets. Calc seems to have a very funny way to handle the cells, it requires an appropriate version of Java. If Java is checked in the options, but no version is selected (don't ask me, how this is possible), the error occurs. So if you start Calc, edit a cell -> from this moment EVERY OTHER WINDOW/PROGRAMM IS AFFECTED, TOO! Even if you close Calc and open a shell: even that shell gets messed up!
Unbelievable...
But: I have no idea, why this was not a problem when running without the driver

clasan
Posts: 24
Joined: 2015-08-26 06:30

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#24 Post by clasan »

Good job!
I don't use OpenOffice, maybe it's why I never had this problem.
I use WPS Office Free or SoftMaker Office Free.

i0ria
Posts: 2
Joined: 2016-03-25 20:00

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#25 Post by i0ria »

Hi guys!
I'm trying to get the driver work on my Debian 8.3 but i'm stuck.
Basically Xorg crash at startup.
The notebook is an Asus X5DC
I'm using the solution posted by clasan.

This is the problem:

Code: Select all

[  1374.152] 
X.Org X Server 1.16.4
Release Date: 2014-12-20
[  1374.152] X Protocol Version 11, Revision 0
[  1374.152] Build Operating System: Linux 3.2.0-4-amd64 i686 Debian
[  1374.152] Current Operating System: Linux Melchior 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) i686
[  1374.152] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-686-pae root=UUID=6200088a-0dc0-4697-a4a2-5b4be05f0728 ro quiet
[  1374.153] Build Date: 11 February 2015  01:14:26AM
[  1374.153] xorg-server 2:1.16.4-1 (http://www.debian.org/support) 
[  1374.153] Current version of pixman: 0.32.6
[  1374.153]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  1374.153] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1374.154] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 25 20:58:55 2016
[  1374.154] (==) Using config file: "/etc/X11/xorg.conf"
[  1374.154] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1374.155] (==) ServerLayout "X.org Configured"
[  1374.155] (**) |-->Screen "Screen0" (0)
[  1374.155] (**) |   |-->Monitor "Monitor0"
[  1374.155] (**) |   |-->Device "Card0"
[  1374.155] (**) Option "IgnoreABI" "true"
[  1374.155] (**) Ignoring ABI Version
[  1374.155] (==) Automatically adding devices
[  1374.155] (==) Automatically enabling devices
[  1374.155] (==) Automatically adding GPU devices
[  1374.155] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  1374.155]    Entry deleted from font path.
[  1374.155] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        built-ins
[  1374.155] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1374.155] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1374.155] (II) Loader magic: 0xb77dd700
[  1374.155] (II) Module ABI versions:
[  1374.155]    X.Org ANSI C Emulation: 0.4
[  1374.156]    X.Org Video Driver: 18.0
[  1374.156]    X.Org XInput driver : 21.0
[  1374.156]    X.Org Server Extension : 8.0
[  1374.157] (--) PCI:*(0:1:0:0) 1039:6351:1043:19e2 rev 16, Mem @ 0xd0000000/268435456, 0xfe9e0000/131072, I/O @ 0x0000dc00/128
[  1374.157] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
[  1374.157] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  1374.157] (II) LoadModule: "dbe"
[  1374.157] (II) Module "dbe" already built-in
[  1374.157] (II) LoadModule: "v4l"
[  1374.158] (WW) Warning, couldn't open module v4l
[  1374.158] (II) UnloadModule: "v4l"
[  1374.158] (II) Unloading v4l
[  1374.158] (EE) Failed to load module "v4l" (module does not exist, 0)
[  1374.158] (II) LoadModule: "extmod"
[  1374.158] (II) Module "extmod" already built-in
[  1374.158] (II) LoadModule: "glx"
[  1374.158] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1374.162] (II) Module glx: vendor="X.Org Foundation"
[  1374.162]    compiled for 1.16.4, module version = 1.0.0
[  1374.162]    ABI class: X.Org Server Extension, version 8.0
[  1374.162] (==) AIGLX enabled
[  1374.162] (II) LoadModule: "sisimedia"
[  1374.162] (II) Loading /usr/lib/xorg/modules/drivers/sisimedia_drv.so
[  1374.163] (II) Module sisimedia: vendor="X.Org Foundation"
[  1374.163]    compiled for 1.16.4, module version = 0.8.0
[  1374.163]    Module class: X.Org Video Driver
[  1374.163]    ABI class: X.Org Video Driver, version 18.0
[  1374.163] (II) SIS: driver for SiS chipsets: SIS5597/5598, SIS530/620,
        SIS6326/AGP/DVD, SIS300/305, SIS630/730, SIS540, SIS315, SIS315H,
        SIS315PRO/E, SIS550, SIS650/M650/651/740,
        SIS[M]661[F|M]X/[M]741[GX]/[M]760[GX]/[M]761[GX]/662, SIS330(Xabre),
        SIS340, [M]670/[M]770[GX], [M]671/[M]771[GX]
[  1374.163] (II) SIS: driver for XGI chipsets: Volari Z7 (XG20),
        Volari V3XT/V5/V8/Duo (XG40/XG42)
[  1374.163] (++) using VT number 1

[  1374.163] (--) controlling tty is VT number 1, auto-enabling KeepTty
[  1374.164] (II) SIS_pci_probe - begin, entity_num=0
[  1374.164] (II)                        vendor_id=0x1039
[  1374.164] (II)                        device_id=0x6351
[  1374.164] (II)                        bus=1
[  1374.164] (II)                        dev=0
[  1374.164] (II)                        func=0
[  1374.164] (II) SIS_pci_probe - ConfigPciEntity found
[  1374.164] (II) SIS(0): SIS_pci_probe - GetEntityInfo chipset is 0x6351
[  1374.164] (II) SIS(0): SIS_pci_probe - end
[  1374.164] (II) SIS(0): SiS driver (2006/10/17-1, compiled for X.org 1.16.4.0)
[  1374.164] (II) SIS(0): Copyright (C) 2001-2005 Thomas Winischhofer <thomas@winischhofer.net> and others
[  1374.164] (II) SIS(0): *** See http://www.winischhofer.at/linuxsisvga.shtml
[  1374.164] (II) SIS(0): *** for documentation, updates and a Premium Version.
[  1374.164] (II) SIS(0): RandR rotation support not available in this version.
[  1374.164] (II) SIS(0): Dynamic modelist support not available in this version.
[  1374.164] (II) SIS(0): Screen growing support not available in this version.
[  1374.164] (II) SIS(0): Advanced Xv video blitter not available in this version.
[  1374.164] (II) SIS(0): Advanced MergedFB support not available in this version.
[  1374.164] (--) SIS(0): sisfb not found
[  1374.164] (--) SIS(0): Relocated I/O registers at 0xDC00
[  1374.165] (II) Loading sub module "ramdac"
[  1374.165] (II) LoadModule: "ramdac"
[  1374.165] (II) Module "ramdac" already built-in
[  1374.165] (**) SIS(0): Depth 24, (--) framebuffer bpp 32
[  1374.165] (==) SIS(0): RGB weight 888
[  1374.165] (==) SIS(0): Default visual is TrueColor
[  1374.165] (WW) SIS(0): Could not find/read video BIOS
[  1374.165] (**) SIS(0): Option "EnableSiSCtrl" "yes"
[  1374.165] (**) SIS(0): Option "ForceCRT1Type" "VGA"
[  1374.165] (**) SIS(0): Option "ForceCRT2Type" "LCD"
[  1374.165] (==) SIS(0): Color HW cursor is enabled
[  1374.165] (II) SIS(0): Using VRAM command queue, size 512k
[  1374.165] (==) SIS(0): Hotkey display switching is enabled
[  1374.165] (**) SIS(0): CRT2 type shall be LCD
[  1374.165] (**) SIS(0): SiSCtrl utility interface is enabled
[  1374.165] (==) SIS(0): X server will not keep DPI constant for all screen sizes
[  1374.165] (==) SIS(0): DRI enabled
[  1374.165] (--) SIS(0): 131072K shared video RAM (UMA)
[  1374.165] (--) SIS(0): DRAM type: DDR SDRAM
[  1374.166] (--) SIS(0): Memory clock: 503.174 MHz
[  1374.166] (--) SIS(0): DRAM bus width: 64 bit
[  1374.166] (--) SIS(0): Linear framebuffer at 0xD0000000
[  1374.166] (--) SIS(0): MMIO registers at 0xFE9E0000 (size 64K)
[  1374.166] (--) SIS(0): VideoRAM: 131072 KB
[  1374.166] (II) SIS(0): Using 20480K of framebuffer memory at offset 0K
[  1374.166] (II) Loading sub module "ddc"
[  1374.166] (II) LoadModule: "ddc"
[  1374.166] (II) Module "ddc" already built-in
[  1374.166] (--) SIS(0): Detected SiS307LV video bridge (Charter/UMC-1, ID 7; Rev 0xe1)
[  1376.889] (--) SIS(0): No CRT1/VGA detected
[  1376.891] (--) SIS(0): Detected LCD/Plasma panel (max. X 0 Y 0, pref. 0x0, RGB18)
[  1376.891] (**) SIS(0): Using gamma correction (1.0, 1.0, 1.0)
[  1376.891] (II) SIS(0): CRT1 gamma correction is enabled
[  1376.891] (II) SIS(0): Separate Xv gamma correction for CRT1 is disabled
[  1376.891] (II) SIS(0): CRT2 gamma correction is enabled
[  1376.891] (--) SIS(0): Memory bandwidth at 32 bpp is 1006.35 MHz
[  1376.891] (--) SIS(0): Detected LCD PanelDelayCompensation 0x00 (for LCD=CRT2)
[  1376.891] (--) SIS(0): Detected LCD PanelDelayCompensation 0x00 (for LCD=CRT1)
[  1376.891] (--) SIS(0): 302LV/302ELV: Using EMI 0x6a0d7039 (LCD)
[  1376.891] (--) SIS(0): CRT2 DDC probing failed
[  1376.891] (==) SIS(0): Min pixel clock is 10 MHz
[  1376.891] (--) SIS(0): Max pixel clock is 340 MHz
[  1376.891] (II) SIS(0): Replaced entire mode list with built-in modes
[  1376.891] (II) SIS(0): Correcting missing CRT2 monitor HSync range
[  1376.891] (II) SIS(0): Correcting missing CRT2 monitor VRefresh range
[  1376.891] (II) SIS(0): "Unknown reason" in the following list means that the mode
[  1376.891] (II) SIS(0): is not supported on the chipset/bridge/current output device.
[  1376.891] (II) SIS(0): Monitor0: Using hsync range of 30.00-80.00 kHz
[  1376.891] (II) SIS(0): Monitor0: Using vrefresh range of 59.00-61.00 Hz
[  1376.891] (II) SIS(0): Monitor0: Using vrefresh value of 71.00 Hz
[  1376.891] (II) SIS(0): Clock range:  10.00 to 340.00 MHz
[  1376.891] (II) SIS(0): Not using default mode "800x600" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "800x600" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "800x600" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "800x600" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "800x600" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "800x600" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "800x600" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "800x600" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "640x480" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "640x480" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "640x480" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "640x480" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "640x480" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "640x480" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "640x480" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "640x480" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "1024x768" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "1024x768" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "1024x768" (unknown reason)
[  1376.891] (II) SIS(0): Not using default mode "1024x768" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1024x768" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1024x768" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1024x768" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1280x1024" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1280x1024" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1280x1024" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1280x1024" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1920x1440" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1920x1440" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1920x1440" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1920x1440" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1920x1440" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
[  1376.892] (II) SIS(0): Not using default mode "2048x1536" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "2048x1536" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "2048x1536" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
[  1376.892] (II) SIS(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
[  1376.892] (II) SIS(0): Not using default mode "1400x1050" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1400x1050" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1280x800" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1280x800" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1280x800" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1440x900" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1440x900" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1440x900" (unknown reason)
[  1376.892] (II) SIS(0): Not using default mode "1366x768" (unknown reason)
[  1376.892] (WW) SIS(0): Mode pool is empty
[  1376.892] (EE) SIS(0): **************************************************
[  1376.892] (EE) SIS(0):                       ERROR:
[  1376.892] (EE) SIS(0): No valid modes found - check VertRefresh/HorizSync
[  1376.892] (EE) SIS(0):                   END OF MESSAGE
[  1376.892] (EE) SIS(0): **************************************************
[  1376.892] (II) UnloadModule: "sisimedia"
[  1376.892] (EE) Screen(s) found, but none have a usable configuration.
[  1376.892] (EE) 
Fatal server error:
[  1376.892] (EE) no screens found(EE) 
[  1376.892] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[  1376.892] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1376.892] (EE) 
[  1376.893] (EE) Server terminated with error (1). Closing log file.
uname:

Code: Select all

uname -a
Linux Melchior 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) i686 GNU/Linux
lspci:

Code: Select all

lspci | grep VGA
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)
Xorg version:

Code: Select all

Package: xserver-xorg
Source: xorg
Version: 1:7.7+7
xorg.conf:

Code: Select all

Section "ServerLayout"
            Identifier     "X.org Configured"
            Screen          0                       "Screen0" 0 0
    EndSection

    Section "Module"
            Disable         "dri"
            Load            "dbe" # Double-Buffering Extension
            Load            "v4l" # Video for Linux
            Load            "extmod"
            Load            "glx"
    EndSection
    Section "Monitor"
            Identifier      "Monitor0"
            VendorName      "Monitor Vendor"
            ModelName       "Monitor Model"
            Option          "DPMS"
            Gamma           1.0
    EndSection
    Section "Server Flags"
            Option          "IgnoreABI"             "true"
    EndSection
    Section "Device"
            Identifier      "Card0"
            Driver          "sisimedia"
            BusID           "PCI:1:0:0"
            Option          "EnableSiSCtrl"         "yes"
           
          # ----------------------------------------------
          # Configuration for TWO monitors
            #Option         "UseTiming1366" "yes"
            #Option         "MergedFB" "auto"
            #Option         "CRT1Position" "RightOf"
            #Option         "CRT2Position" "LeftOf"
            #Option         "MetaModes" "1440x900-1024x768 1280x800"  # lcc1
            #Option         "MetaModes" "1280x800-1280x800 1280x800"   # lcc2
            #Option         "MetaModes" "1280x1024-1280x800 1280x800" # lcc3
            #Option         "MetaModes" "1280x800-1366x768 1280x800" # home1
            #Option         "MetaModes" "1440x900-1024x768 1280x800"  # home2
            #Option         "MergedNonRectangular" "on"

         # ----------------------------------------------
         # Disabling outputs
            #[sisctrl] Set CRT1 device type
            Option          "ForceCRT1Type"         "VGA" #monitor screen on
            #Option         "ForceCRT1Type"         "NONE" #monitor screen off

            #[sisctrl] Set CRT2 device type
            #Option         "ForceCRT2Type"         "NONE" #notebook screen off
            Option          "ForceCRT2Type"         "LCD"  #notebook screen on
    EndSection
    Section "Screen"
            Identifier      "Screen0"
            Device          "Card0"
            Monitor         "Monitor0"
            DefaultColorDepth   24
            SubSection "Display"
                    Viewport        0 0
                    Depth           1
                    Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
            EndSubSection
            SubSection "Display"
                    Viewport        0 0
                    Depth           4
                    Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
            EndSubSection
            SubSection "Display"
                    Viewport        0 0
                    Depth           8
                    Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
            EndSubSection
            SubSection "Display"
                    Viewport        0 0
                    Depth           15
                    Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
            EndSubSection
            SubSection "Display"
                    Viewport        0 0
                    Depth           16
                    #Modes "1366x768" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                    Modes "1280x800" "1024x768" "800x600" "640x480"
            EndSubSection
            SubSection "Display"
                    Viewport        0 0
                    Depth           24
                    #Modes "1366x768" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                    Modes "1280x800" "1024x768" "800x600" "640x480"
            EndSubSection
    EndSection
Thank you for your help ^^

clasan
Posts: 24
Joined: 2015-08-26 06:30

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#26 Post by clasan »

Hi i0ria,
The problem is the resolution of your screen. It try modes and not found a valid: "No valid modes found". If your notebook is 15.6'', so I think you'll need a resolution of 1366x768 and not a 1280x800 like mine.

So, to fix this you must change the lines of your xorg.conf (in SubSection of Depth 16 and Depth 24)
from

Code: Select all

#Modes "1366x768" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
Modes "1280x800" "1024x768" "800x600" "640x480"
to

Code: Select all

Modes "1366x768" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
#Modes "1280x800" "1024x768" "800x600" "640x480"
and uncomment the line

Code: Select all

#Option         "UseTiming1366" "yes"
that is, you change it to

Code: Select all

Option         "UseTiming1366" "yes"
Try this. I think will work.

i0ria
Posts: 2
Joined: 2016-03-25 20:00

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#27 Post by i0ria »

You were right clasan!
Problem solved. Now Xorg start perfectly at 1368x768.
Thank you :D

RazorSiS
Posts: 7
Joined: 2016-05-08 21:06

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#28 Post by RazorSiS »

hi guys,
first of all thank you so much clasan & others for the source and instructions for sis driver.
spent so many days on finding a working driver for this chip but to no avail
finally today came across this thread and the driver did work that bought back my lost hope.

anyway but the problem is
im having a crt monitor with 1024 x 768 resolution 4:3
but with this driver (sis-mirage3-driver-jessie) i could only get 800x600, others are just 16:9
im currently on lubuntu 14.04

any help would be greatly appreciated

clasan
Posts: 24
Joined: 2015-08-26 06:30

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#29 Post by clasan »

RazorSiS wrote: im having a crt monitor with 1024 x 768 resolution 4:3
but with this driver (sis-mirage3-driver-jessie) i could only get 800x600, others are just 16:9
im currently on lubuntu 14.04
Hi RazorSiS,
Let me understand:
a) Do you have TWO monitors, one is your notebook screen and the other is the CRT connected by a VGA port?
b) Did you compile the sis671 driver with the How-To of this topic? If yes, what xorg.conf did you use?

RazorSiS
Posts: 7
Joined: 2016-05-08 21:06

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#30 Post by RazorSiS »

Hi clasan,

a) No its a desktop system with only one crt monitor.
b) Yes, compiled & installed this driver http://forums.debian.net/viewtopic.php? ... 34#p601888 as described by you and using your second xorg.conf.

My xorg.conf:

Code: Select all

    Section "Module"
            Disable         "dri"
            Load            "dbe" # Double-Buffering Extension
            Load            "v4l" # Video for Linux
            Load            "extmod"
            Load            "glx"
    EndSection
    Section "Monitor"
            Identifier      "Monitor0"
            VendorName      "Monitor Vendor"
            ModelName       "Monitor Model"
            Option          "DPMS"
            Gamma           1.0
    EndSection
    Section "Server Flags"
            Option          "IgnoreABI"             "true"
    EndSection
    Section "Device"
            Identifier      "Card0"
            Driver          "sisimedia"
            BusID           "PCI:1:0:0"
            Option          "EnableSiSCtrl"         "yes"
           
          # ----------------------------------------------
          # Configuration for TWO monitors
            #Option         "UseTiming1366" "yes"
            #Option         "MergedFB" "auto"
            #Option         "CRT1Position" "RightOf"
            #Option         "CRT2Position" "LeftOf"
            #Option         "MetaModes" "1440x900-1024x768 1280x800"  # lcc1
            #Option         "MetaModes" "1280x800-1280x800 1280x800"   # lcc2
            #Option         "MetaModes" "1280x1024-1280x800 1280x800" # lcc3
            #Option         "MetaModes" "1280x800-1366x768 1280x800" # home1
            #Option         "MetaModes" "1440x900-1024x768 1280x800"  # home2
            #Option         "MergedNonRectangular" "on"

         # ----------------------------------------------
         # Disabling outputs
            #[sisctrl] Set CRT1 device type
            Option          "ForceCRT1Type"         "VGA" #monitor screen on
            #Option         "ForceCRT1Type"         "NONE" #monitor screen off

            #[sisctrl] Set CRT2 device type
            #Option         "ForceCRT2Type"         "NONE" #notebook screen off
            Option          "ForceCRT2Type"         "LCD"  #notebook screen on
    EndSection
    Section "Screen"
            Identifier      "Screen0"
            Device          "Card0"
            Monitor         "Monitor0"
            DefaultColorDepth   24
            SubSection "Display"
                    Viewport        0 0
                    Depth           1
                    Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
            EndSubSection
            SubSection "Display"
                    Viewport        0 0
                    Depth           4
                    Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
            EndSubSection
            SubSection "Display"
                    Viewport        0 0
                    Depth           8
                    Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
            EndSubSection
            SubSection "Display"
                    Viewport        0 0
                    Depth           15
                    Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
            EndSubSection
            SubSection "Display"
                    Viewport        0 0
                    Depth           16
                    #Modes "1366x768" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                    Modes "1280x800" "1024x768" "800x600" "640x480"
            EndSubSection
            SubSection "Display"
                    Viewport        0 0
                    Depth           24
                    #Modes "1366x768" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                    Modes "1280x800" "1024x768" "800x600" "640x480"
            EndSubSection
    EndSection
But the max 4:3 resolution i could get is 800x600
other resolutions available :
Image

My xorg log:

Code: Select all

[    36.858] 
X.Org X Server 1.15.1
Release Date: 2014-04-13
[    36.858] X Protocol Version 11, Revision 0
[    36.858] Build Operating System: Linux 3.2.0-75-generic i686 Ubuntu
[    36.858] Current Operating System: Linux RoxorSYS 3.19.0-58-generic #64~14.04.1-Ubuntu SMP Fri Mar 18 19:05:42 UTC 2016 i686
[    36.858] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.19.0-58-generic root=UUID=265779fe-dfec-4c6b-acae-5404520ddbac ro quiet splash vt.handoff=7
[    36.858] Build Date: 12 February 2015  02:49:46PM
[    36.858] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support) 
[    36.858] Current version of pixman: 0.30.2
[    36.858] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    36.858] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    36.858] (==) Log file: "/var/log/Xorg.0.log", Time: Mon May  9 11:42:50 2016
[    36.859] (==) Using config file: "/etc/X11/xorg.conf"
[    36.859] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    36.865] (==) No Layout section.  Using the first Screen section.
[    36.865] (**) |-->Screen "Screen0" (0)
[    36.865] (**) |   |-->Monitor "Monitor0"
[    36.866] (**) |   |-->Device "Card0"
[    36.866] (**) Option "IgnoreABI" "true"
[    36.866] (**) Ignoring ABI Version
[    36.866] (==) Automatically adding devices
[    36.866] (==) Automatically enabling devices
[    36.866] (==) Automatically adding GPU devices
[    36.866] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    36.866] 	Entry deleted from font path.
[    36.866] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    36.866] 	Entry deleted from font path.
[    36.866] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    36.866] 	Entry deleted from font path.
[    36.866] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    36.866] 	Entry deleted from font path.
[    36.866] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    36.866] 	Entry deleted from font path.
[    36.866] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[    36.866] (==) ModulePath set to "/usr/lib/i386-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[    36.866] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    36.866] (II) Loader magic: 0x8023a6c0
[    36.866] (II) Module ABI versions:
[    36.866] 	X.Org ANSI C Emulation: 0.4
[    36.866] 	X.Org Video Driver: 15.0
[    36.866] 	X.Org XInput driver : 20.0
[    36.866] 	X.Org Server Extension : 8.0
[    36.868] (--) PCI:*(0:1:0:0) 1039:6351:17aa:3042 rev 16, Mem @ 0xd0000000/268435456, 0xfeae0000/131072, I/O @ 0x0000dc00/128
[    36.868] Initializing built-in extension Generic Event Extension
[    36.868] Initializing built-in extension SHAPE
[    36.868] Initializing built-in extension MIT-SHM
[    36.868] Initializing built-in extension XInputExtension
[    36.868] Initializing built-in extension XTEST
[    36.868] Initializing built-in extension BIG-REQUESTS
[    36.868] Initializing built-in extension SYNC
[    36.868] Initializing built-in extension XKEYBOARD
[    36.868] Initializing built-in extension XC-MISC
[    36.868] Initializing built-in extension SECURITY
[    36.868] Initializing built-in extension XINERAMA
[    36.868] Initializing built-in extension XFIXES
[    36.868] Initializing built-in extension RENDER
[    36.868] Initializing built-in extension RANDR
[    36.868] Initializing built-in extension COMPOSITE
[    36.868] Initializing built-in extension DAMAGE
[    36.868] Initializing built-in extension MIT-SCREEN-SAVER
[    36.868] Initializing built-in extension DOUBLE-BUFFER
[    36.868] Initializing built-in extension RECORD
[    36.868] Initializing built-in extension DPMS
[    36.869] Initializing built-in extension Present
[    36.869] Initializing built-in extension DRI3
[    36.869] Initializing built-in extension X-Resource
[    36.869] Initializing built-in extension XVideo
[    36.869] Initializing built-in extension XVideo-MotionCompensation
[    36.869] Initializing built-in extension SELinux
[    36.869] Initializing built-in extension XFree86-VidModeExtension
[    36.869] Initializing built-in extension XFree86-DGA
[    36.869] Initializing built-in extension XFree86-DRI
[    36.869] Initializing built-in extension DRI2
[    36.869] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
[    36.869] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    36.869] (WW) "xmir" is not to be loaded by default. Skipping.
[    36.869] (II) LoadModule: "dbe"
[    36.869] (II) Module "dbe" already built-in
[    36.869] (II) LoadModule: "v4l"
[    36.909] (WW) Warning, couldn't open module v4l
[    36.909] (II) UnloadModule: "v4l"
[    36.909] (II) Unloading v4l
[    36.909] (EE) Failed to load module "v4l" (module does not exist, 0)
[    36.909] (II) LoadModule: "extmod"
[    36.909] (II) Module "extmod" already built-in
[    36.909] (II) LoadModule: "glx"
[    36.909] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    37.055] (II) Module glx: vendor="X.Org Foundation"
[    37.055] 	compiled for 1.15.1, module version = 1.0.0
[    37.056] 	ABI class: X.Org Server Extension, version 8.0
[    37.056] (==) AIGLX enabled
[    37.056] Loading extension GLX
[    37.056] (II) LoadModule: "sisimedia"
[    37.056] (II) Loading /usr/lib/xorg/modules/drivers/sisimedia_drv.so
[    37.096] (II) Module sisimedia: vendor="X.Org Foundation"
[    37.096] 	compiled for 1.15.1, module version = 0.8.0
[    37.096] 	Module class: X.Org Video Driver
[    37.096] 	ABI class: X.Org Video Driver, version 15.0
[    37.096] (II) SIS: driver for SiS chipsets: SIS5597/5598, SIS530/620,
	SIS6326/AGP/DVD, SIS300/305, SIS630/730, SIS540, SIS315, SIS315H,
	SIS315PRO/E, SIS550, SIS650/M650/651/740,
	SIS[M]661[F|M]X/[M]741[GX]/[M]760[GX]/[M]761[GX]/662, SIS330(Xabre),
	SIS340, [M]670/[M]770[GX], [M]671/[M]771[GX]
[    37.096] (II) SIS: driver for XGI chipsets: Volari Z7 (XG20),
	Volari V3XT/V5/V8/Duo (XG40/XG42)
[    37.096] (++) using VT number 7

[    37.096] (II) SIS_pci_probe - begin, entity_num=0
[    37.096] (II)                        vendor_id=0x1039
[    37.096] (II)                        device_id=0x6351
[    37.096] (II)                        bus=1
[    37.096] (II)                        dev=0
[    37.096] (II)                        func=0
[    37.096] (II) SIS_pci_probe - ConfigPciEntity found
[    37.096] (II) SIS(0): SIS_pci_probe - GetEntityInfo chipset is 0x6351
[    37.096] (II) SIS(0): SIS_pci_probe - end
[    37.097] (II) SIS(0): SiS driver (2006/10/17-1, compiled for X.org 1.15.1.0)
[    37.097] (II) SIS(0): Copyright (C) 2001-2005 Thomas Winischhofer <thomas@winischhofer.net> and others
[    37.097] (II) SIS(0): *** See http://www.winischhofer.at/linuxsisvga.shtml
[    37.097] (II) SIS(0): *** for documentation, updates and a Premium Version.
[    37.097] (II) SIS(0): RandR rotation support not available in this version.
[    37.097] (II) SIS(0): Dynamic modelist support not available in this version.
[    37.097] (II) SIS(0): Screen growing support not available in this version.
[    37.097] (II) SIS(0): Advanced Xv video blitter not available in this version.
[    37.097] (II) SIS(0): Advanced MergedFB support not available in this version.
[    37.097] (--) SIS(0): sisfb not found
[    37.097] (--) SIS(0): Relocated I/O registers at 0xDC00
[    37.099] (II) Loading sub module "ramdac"
[    37.099] (II) LoadModule: "ramdac"
[    37.099] (II) Module "ramdac" already built-in
[    37.099] (**) SIS(0): Depth 24, (--) framebuffer bpp 32
[    37.099] (==) SIS(0): RGB weight 888
[    37.099] (==) SIS(0): Default visual is TrueColor
[    37.099] (WW) SIS(0): Could not find/read video BIOS
[    37.099] (**) SIS(0): Option "EnableSiSCtrl" "yes"
[    37.099] (**) SIS(0): Option "ForceCRT1Type" "VGA"
[    37.099] (**) SIS(0): Option "ForceCRT2Type" "LCD"
[    37.099] (==) SIS(0): Color HW cursor is enabled
[    37.099] (II) SIS(0): Using VRAM command queue, size 512k
[    37.099] (==) SIS(0): Hotkey display switching is enabled
[    37.099] (**) SIS(0): CRT2 type shall be LCD
[    37.099] (**) SIS(0): SiSCtrl utility interface is enabled
[    37.099] (==) SIS(0): X server will not keep DPI constant for all screen sizes
[    37.099] (==) SIS(0): DRI enabled
[    37.099] (--) SIS(0): 32768K shared video RAM (UMA)
[    37.099] (--) SIS(0): DRAM type: DDR SDRAM
[    37.099] (--) SIS(0): Memory clock: 503.174 MHz
[    37.099] (--) SIS(0): DRAM bus width: 64 bit
[    37.099] (--) SIS(0): Linear framebuffer at 0xD0000000
[    37.099] (--) SIS(0): MMIO registers at 0xFEAE0000 (size 64K)
[    37.099] (--) SIS(0): VideoRAM: 32768 KB
[    37.099] (II) SIS(0): Using 16384K of framebuffer memory at offset 0K
[    37.099] (II) Loading sub module "ddc"
[    37.099] (II) LoadModule: "ddc"
[    37.099] (II) Module "ddc" already built-in
[    37.099] (EE) SIS(0): Can't force CRT2 to LCD, no LCD detected
[    37.099] (**) SIS(0): Using gamma correction (1.0, 1.0, 1.0)
[    37.099] (II) SIS(0): Gamma correction is enabled
[    37.099] (II) SIS(0): Separate Xv gamma correction is disabled
[    37.099] (--) SIS(0): Memory bandwidth at 32 bpp is 1006.35 MHz
[    37.173] (--) SIS(0): CRT1 DDC supported
[    37.173] (--) SIS(0): CRT1 DDC level: 2 
[    37.347] (II) EDID number of extensions:247, but ignored
[    37.515] (II) EDID number of extensions:247, but ignored
[    37.682] (II) EDID number of extensions:247, but ignored
[    37.870] (II) EDID number of extensions:247, but ignored
[    38.034] (II) EDID number of extensions:247, but ignored
[    38.202] (II) EDID number of extensions:247, but ignored
[    38.202] (--) SIS(0): CRT1 DDC reading failed
[    38.202] (II) Loading sub module "vbe"
[    38.202] (II) LoadModule: "vbe"
[    38.202] (II) Loading /usr/lib/xorg/modules/libvbe.so
[    38.203] (II) Module vbe: vendor="X.Org Foundation"
[    38.203] 	compiled for 1.15.1, module version = 1.1.0
[    38.203] 	ABI class: X.Org Video Driver, version 15.0
[    38.203] (II) Loading sub module "int10"
[    38.203] (II) LoadModule: "int10"
[    38.203] (II) Loading /usr/lib/xorg/modules/libint10.so
[    38.203] (II) Module int10: vendor="X.Org Foundation"
[    38.203] 	compiled for 1.15.1, module version = 1.0.0
[    38.203] 	ABI class: X.Org Video Driver, version 15.0
[    38.203] (II) SIS(0): initializing int10
[    38.208] (II) SIS(0): Primary V_BIOS segment is: 0xc000
[    38.208] (II) SIS(0): VESA BIOS detected
[    38.208] (II) SIS(0): VESA VBE Version 3.0
[    38.208] (II) SIS(0): VESA VBE Total Mem: 32768 kB
[    38.209] (II) SIS(0): VESA VBE OEM: SiS
[    38.209] (II) SIS(0): VESA VBE OEM Software Rev: 1.0
[    38.209] (II) SIS(0): VESA VBE OEM Vendor: Silicon Integrated Systems Corp.
[    38.209] (II) SIS(0): VESA VBE OEM Product: 6330
[    38.209] (II) SIS(0): VESA VBE OEM Product Rev: 3.72.01
[    38.245] (II) SIS(0): VESA VBE DDC supported
[    38.245] (II) SIS(0): VESA VBE DDC Level 2
[    38.245] (II) SIS(0): VESA VBE DDC transfer in appr. 1 sec.
[    38.378] (II) SIS(0): VESA VBE DDC read failed
[    38.378] (==) SIS(0): Min pixel clock is 10 MHz
[    38.378] (--) SIS(0): Max pixel clock is 340 MHz
[    38.379] (II) SIS(0): Replaced entire mode list with built-in modes
[    38.379] (II) SIS(0): Using real widescreen modes for CRT1 VGA devices
[    38.379] (II) SIS(0): 	[Use option "ForceCRT1VGAAspect" to overrule]
[    38.379] (II) SIS(0): "Unknown reason" in the following list means that the mode
[    38.379] (II) SIS(0): is not supported on the chipset/bridge/current output device.
[    38.379] (II) SIS(0): Monitor0: Using default hsync range of 31.50-48.00 kHz
[    38.379] (II) SIS(0): Monitor0: Using default vrefresh range of 50.00-70.00 Hz
[    38.379] (II) SIS(0): Monitor0: Using default maximum pixel clock of 65.00 MHz
[    38.379] (II) SIS(0): Clock range:  10.00 to 340.00 MHz
[    38.379] (II) SIS(0): Not using default mode "800x600" (vrefresh out of range)
[    38.379] (II) SIS(0): Not using default mode "800x600" (vrefresh out of range)
[    38.379] (II) SIS(0): Not using default mode "800x600" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "800x600" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "800x600" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "800x600" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "640x480" (vrefresh out of range)
[    38.379] (II) SIS(0): Not using default mode "640x480" (vrefresh out of range)
[    38.379] (II) SIS(0): Not using default mode "640x480" (vrefresh out of range)
[    38.379] (II) SIS(0): Not using default mode "640x480" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "640x480" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "640x480" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "640x480" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "640x400" (vrefresh out of range)
[    38.379] (II) SIS(0): Not using default mode "1024x768" (vrefresh out of range)
[    38.379] (II) SIS(0): Not using default mode "1024x768" (mode clock too high)
[    38.379] (II) SIS(0): Not using default mode "1024x768" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1024x768" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1024x768" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1024x768" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1024x768" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1280x1024" (vrefresh out of range)
[    38.379] (II) SIS(0): Not using default mode "1280x1024" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1280x1024" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1280x1024" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1600x1200" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1600x1200" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1600x1200" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1600x1200" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1600x1200" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1600x1200" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1600x1200" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "320x200" (vrefresh out of range)
[    38.379] (II) SIS(0): Not using default mode "1920x1440" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1920x1440" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1920x1440" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1920x1440" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1920x1440" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
[    38.379] (II) SIS(0): Not using default mode "2048x1536" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "2048x1536" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "2048x1536" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
[    38.379] (II) SIS(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
[    38.379] (II) SIS(0): Not using default mode "800x480" (vrefresh out of range)
[    38.379] (II) SIS(0): Not using default mode "800x480" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1024x576" (mode clock too high)
[    38.379] (II) SIS(0): Not using default mode "1024x576" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1024x576" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1280x720" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1280x720" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1280x720" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1280x960" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1280x960" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1280x768" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1280x768" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1280x768" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1400x1050" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1400x1050" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1152x864" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1152x864" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1152x864" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "848x480" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "848x480" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "856x480" (hsync out of range)
[    38.379] (II) SIS(0): Not using default mode "1360x768" (hsync out of range)
[    38.380] (II) SIS(0): Not using default mode "1280x800" (hsync out of range)
[    38.380] (II) SIS(0): Not using default mode "1280x800" (hsync out of range)
[    38.380] (II) SIS(0): Not using default mode "1280x800" (hsync out of range)
[    38.380] (II) SIS(0): Not using default mode "1680x1050" (hsync out of range)
[    38.380] (II) SIS(0): Not using default mode "1920x1080" (mode clock too high)
[    38.380] (II) SIS(0): Not using default mode "1280x854" (hsync out of range)
[    38.380] (II) SIS(0): Not using default mode "1280x854" (hsync out of range)
[    38.380] (II) SIS(0): Not using default mode "1280x854" (hsync out of range)
[    38.380] (II) SIS(0): Not using default mode "1440x900" (hsync out of range)
[    38.380] (II) SIS(0): Not using default mode "1440x900" (hsync out of range)
[    38.380] (II) SIS(0): Not using default mode "1440x900" (hsync out of range)
[    38.380] (II) SIS(0): Not using default mode "1366x768" (unknown reason)
[    38.380] (II) SIS(0): Not using mode "1280x800" (no mode of this name)
[    38.380] (II) SIS(0): Not using mode "1024x768" (no mode of this name)
[    38.380] (II) SIS(0): Not using default mode "960x600" (width too large for virtual size)
[    38.380] (II) SIS(0): Not using default mode "960x540" (width too large for virtual size)
[    38.380] (II) SIS(0): Not using default mode "856x480" (width too large for virtual size)
[    38.380] (--) SIS(0): Virtual size is 800x600 (pitch 800)
[    38.380] (**) SIS(0): *Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
[    38.380] (II) SIS(0): Modeline "800x600"x60.3   39.97  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz zd)
[    38.380] (**) SIS(0): *Default mode "640x480": 25.1 MHz, 31.3 kHz, 59.7 Hz
[    38.380] (II) SIS(0): Modeline "640x480"x59.7   25.06  640 656 752 800  480 490 492 525 -hsync -vsync (31.3 kHz zd)
[    38.380] (**) SIS(0):  Default mode "800x600": 36.1 MHz, 35.2 kHz, 56.3 Hz
[    38.380] (II) SIS(0): Modeline "800x600"x56.3   36.06  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[    38.380] (**) SIS(0):  Default mode "768x576": 35.0 MHz, 35.9 kHz, 60.1 Hz
[    38.380] (II) SIS(0): Modeline "768x576"x60.1   35.00  768 792 872 976  576 578 581 597 +hsync +vsync (35.9 kHz d)
[    38.380] (**) SIS(0):  Default mode "720x576": 32.7 MHz, 35.9 kHz, 60.1 Hz
[    38.380] (II) SIS(0): Modeline "720x576"x60.1   32.73  720 744 816 912  576 578 581 597 +hsync +vsync (35.9 kHz d)
[    38.380] (**) SIS(0):  Default mode "800x480": 39.8 MHz, 37.7 kHz, 60.0 Hz
[    38.380] (II) SIS(0): Modeline "800x480"x60.0   39.77  800 840 968 1056  480 552 556 628 +hsync +vsync (37.7 kHz d)
[    38.380] (**) SIS(0):  Default mode "720x480": 28.3 MHz, 31.6 kHz, 61.0 Hz
[    38.380] (II) SIS(0): Modeline "720x480"x61.0   28.28  720 728 840 896  480 490 492 517 -hsync -vsync (31.6 kHz d)
[    38.380] (**) SIS(0):  Default mode "512x384": 32.6 MHz, 48.5 kHz, 60.1 Hz (D)
[    38.380] (II) SIS(0): Modeline "512x384"x60.1   32.57  512 528 592 672  384 385 388 403 doublescan -hsync -vsync (48.5 kHz d)
[    38.380] (**) SIS(0):  Default mode "400x300": 20.0 MHz, 37.9 kHz, 60.3 Hz (D)
[    38.380] (II) SIS(0): Modeline "400x300"x60.3   19.98  400 416 480 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[    38.380] (**) SIS(0):  Default mode "320x240": 12.5 MHz, 31.3 kHz, 60.7 Hz (D)
[    38.380] (II) SIS(0): Modeline "320x240"x60.7   12.53  320 328 376 400  240 245 246 258 doublescan -hsync -vsync (31.3 kHz d)
[    38.380] (==) SIS(0): DPI set to (96, 96)
[    38.380] (II) Loading sub module "fb"
[    38.380] (II) LoadModule: "fb"
[    38.380] (II) Loading /usr/lib/xorg/modules/libfb.so
[    38.381] (II) Module fb: vendor="X.Org Foundation"
[    38.381] 	compiled for 1.15.1, module version = 1.0.0
[    38.381] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    38.381] (II) Loading sub module "exa"
[    38.381] (II) LoadModule: "exa"
[    38.381] (II) Loading /usr/lib/xorg/modules/libexa.so
[    38.394] (II) Module exa: vendor="X.Org Foundation"
[    38.394] 	compiled for 1.15.1, module version = 2.6.0
[    38.394] 	ABI class: X.Org Video Driver, version 15.0
[    38.394] (--) Depth 24 pixmap format is 32 bpp
[    38.394] (II) Loading sub module "vbe"
[    38.394] (II) LoadModule: "vbe"
[    38.394] (II) Loading /usr/lib/xorg/modules/libvbe.so
[    38.394] (II) Module vbe: vendor="X.Org Foundation"
[    38.394] 	compiled for 1.15.1, module version = 1.1.0
[    38.394] 	ABI class: X.Org Video Driver, version 15.0
[    38.394] (II) Loading sub module "int10"
[    38.394] (II) LoadModule: "int10"
[    38.395] (II) Loading /usr/lib/xorg/modules/libint10.so
[    38.395] (II) Module int10: vendor="X.Org Foundation"
[    38.395] 	compiled for 1.15.1, module version = 1.0.0
[    38.395] 	ABI class: X.Org Video Driver, version 15.0
[    38.395] (II) SIS(0): initializing int10
[    38.399] (II) SIS(0): Primary V_BIOS segment is: 0xc000
[    38.400] (II) SIS(0): VESA BIOS detected
[    38.400] (II) SIS(0): VESA VBE Version 3.0
[    38.400] (II) SIS(0): VESA VBE Total Mem: 32768 kB
[    38.400] (II) SIS(0): VESA VBE OEM: SiS
[    38.400] (II) SIS(0): VESA VBE OEM Software Rev: 1.0
[    38.400] (II) SIS(0): VESA VBE OEM Vendor: Silicon Integrated Systems Corp.
[    38.400] (II) SIS(0): VESA VBE OEM Product: 6330
[    38.400] (II) SIS(0): VESA VBE OEM Product Rev: 3.72.01
[    38.401] (II) SIS(0): Setting standard mode 0x63
[    38.410] drmOpenDevice: node name is /dev/dri/card0
[    38.414] drmOpenDevice: node name is /dev/dri/card0
[    38.501] drmOpenByBusid: Searching for BusID pci:0000:01:00.0
[    38.502] drmOpenDevice: node name is /dev/dri/card0
[    38.502] drmOpenDevice: open result is 10, (OK)
[    38.502] drmOpenByBusid: drmOpenMinor returns 10
[    38.502] drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
[    38.502] (II) [drm] loaded kernel module for "sis" driver.
[    38.502] (II) [drm] DRM interface version 1.4
[    38.502] (II) [drm] DRM open master succeeded.
[    38.502] (II) SIS(0): [drm] Using the DRM lock SAREA also for drawables.
[    38.502] (II) SIS(0): [drm] framebuffer handle = 0xd0000000
[    38.502] (II) SIS(0): [drm] added 1 reserved context for kernel
[    38.502] (II) SIS(0): X context handle = 0x1
[    38.502] (II) SIS(0): [drm] installed DRM signal handler
[    38.502] (II) SIS(0): [dri] Video RAM memory heap: 0x1000000 to 0x1f70000 (15808KB)
[    38.502] (II) SIS(0): [dri] handle = 0xfeae0000, size = 65536
[    38.502] (II) SIS(0): [drm] AGP enabled
[    38.532] (II) SIS(0): [drm] Allocated 32MB AGP memory
[    38.536] (II) SIS(0): [drm] Bound 32MB AGP memory
[    38.536] (II) SIS(0): [drm] No valid IRQ number for device 1:0:0 (code -22)
[    38.536] (II) SIS(0): [dri] Visual configs initialized
[    38.536] (II) EXA(0): Offscreen pixmap area of 14857216 bytes
[    38.536] (II) EXA(0): Driver registered support for the following operations:
[    38.536] (II)         Solid
[    38.536] (II)         Copy
[    38.536] (--) SIS(0): CPU frequency 2000.00Mhz
[    38.538] (II) SIS(0): Benchmarking system RAM to video RAM memory transfer methods:
[    38.546] (--) SIS(0): 	Checked libc memcpy()... 	359.6 MiB/s
[    38.554] (--) SIS(0): 	Checked built-in-1 memcpy()... 	359.9 MiB/s
[    38.571] (--) SIS(0): 	Checked built-in-2 memcpy()... 	153.8 MiB/s
[    38.579] (--) SIS(0): 	Checked MMX memcpy()... 	359.6 MiB/s
[    38.586] (--) SIS(0): 	Checked SSE memcpy()... 	368.6 MiB/s
[    38.594] (--) SIS(0): 	Checked MMX2 memcpy()... 	365.7 MiB/s
[    38.594] (--) SIS(0): Using SSE method for aligned data transfers to video RAM
[    38.594] (--) SIS(0): Using MMX2 method for unaligned data transfers to video RAM
[    38.595] (--) SIS(0): CPU frequency 2000.00Mhz
[    38.597] (II) SIS(0): Benchmarking video RAM to system RAM memory transfer methods:
[    38.633] (--) SIS(0): 	Checked libc memcpy()... 	76.8 MiB/s
[    38.678] (--) SIS(0): 	Checked built-in-1 memcpy()... 	64.8 MiB/s
[    38.752] (--) SIS(0): 	Checked built-in-2 memcpy()... 	42.7 MiB/s
[    38.783] (--) SIS(0): 	Checked MMX memcpy()... 	89.3 MiB/s
[    38.811] (--) SIS(0): 	Checked SSE memcpy()... 	100.9 MiB/s
[    38.842] (--) SIS(0): 	Checked MMX2 memcpy()... 	91.9 MiB/s
[    38.842] (--) SIS(0): Using SSE method for aligned data transfers from video RAM
[    38.842] (--) SIS(0): Using MMX2 method for unaligned data transfers from video RAM
[    38.842] (==) SIS(0): Backing store enabled
[    38.842] (==) SIS(0): Silken mouse enabled
[    38.843] (**) SIS(0): DPMS enabled
[    38.843] (--) SIS(0): Hardware supports one video overlay
[    38.843] (II) SIS(0): Using SiS300/315/330/340/350 series HW Xv by default on CRT1
[    38.843] (II) SIS(0): Default Xv adaptor is Video Overlay
[    38.843] (II) SIS(0): [DRI] installation complete
[    38.843] (II) SIS(0): Direct rendering enabled
[    38.848] (II) SIS(0): Initialized SISCTRL extension version 0.1
[    38.849] (II) SIS(0): Registered screen 0 with SISCTRL extension version 0.1
[    38.849] (==) RandR enabled
[    38.858] (II) SELinux: Disabled on system
[    38.860] (II) AIGLX: Screen 0 is not DRI2 capable
[    38.860] (EE) AIGLX: reverting to software rendering
[    38.948] (II) AIGLX: Loaded and initialized swrast
[    38.949] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    38.966] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
[    38.971] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    38.971] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    38.971] (II) LoadModule: "evdev"
[    38.971] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    38.983] (II) Module evdev: vendor="X.Org Foundation"
[    38.983] 	compiled for 1.15.0, module version = 2.8.2
[    38.983] 	Module class: X.Org XInput Driver
[    38.983] 	ABI class: X.Org XInput driver, version 20.0
[    38.983] (II) Using input driver 'evdev' for 'Power Button'
[    38.983] (**) Power Button: always reports core events
[    38.983] (**) evdev: Power Button: Device: "/dev/input/event1"
[    38.983] (--) evdev: Power Button: Vendor 0 Product 0x1
[    38.983] (--) evdev: Power Button: Found keys
[    38.983] (II) evdev: Power Button: Configuring as keyboard
[    38.983] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[    38.983] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    38.983] (**) Option "xkb_rules" "evdev"
[    38.983] (**) Option "xkb_model" "pc105"
[    38.983] (**) Option "xkb_layout" "us"
[    38.984] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    38.984] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    38.984] (II) Using input driver 'evdev' for 'Power Button'
[    38.984] (**) Power Button: always reports core events
[    38.984] (**) evdev: Power Button: Device: "/dev/input/event0"
[    38.984] (--) evdev: Power Button: Vendor 0 Product 0x1
[    38.984] (--) evdev: Power Button: Found keys
[    38.984] (II) evdev: Power Button: Configuring as keyboard
[    38.984] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[    38.984] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[    38.984] (**) Option "xkb_rules" "evdev"
[    38.984] (**) Option "xkb_model" "pc105"
[    38.984] (**) Option "xkb_layout" "us"
[    38.985] (II) config/udev: Adding drm device (/dev/dri/card0) card0 /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[    38.985] (II) xfree86: Adding drm device (/dev/dri/card0)
[    38.985] (II) LoadModule: "modesetting"
[    38.985] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    38.993] (II) Module modesetting: vendor="X.Org Foundation"
[    38.993] 	compiled for 1.15.0, module version = 0.8.1
[    38.993] 	Module class: X.Org Video Driver
[    38.993] 	ABI class: X.Org Video Driver, version 15.0
[    38.993] xf86: found device 0
[    38.993] (II) config/udev: Adding input device HDA SIS966 Front Mic (/dev/input/event4)
[    38.993] (II) No input driver specified, ignoring this device.
[    38.993] (II) This device may have been added with another device file.
[    38.994] (II) config/udev: Adding input device HDA SIS966 Rear Mic (/dev/input/event5)
[    38.994] (II) No input driver specified, ignoring this device.
[    38.994] (II) This device may have been added with another device file.
[    38.994] (II) config/udev: Adding input device HDA SIS966 Line (/dev/input/event6)
[    38.994] (II) No input driver specified, ignoring this device.
[    38.994] (II) This device may have been added with another device file.
[    38.994] (II) config/udev: Adding input device HDA SIS966 Line Out (/dev/input/event7)
[    38.995] (II) No input driver specified, ignoring this device.
[    38.995] (II) This device may have been added with another device file.
[    38.995] (II) config/udev: Adding input device HDA SIS966 Front Headphone (/dev/input/event8)
[    38.995] (II) No input driver specified, ignoring this device.
[    38.995] (II) This device may have been added with another device file.
[    38.995] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event2)
[    38.995] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    38.995] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    38.995] (**) AT Translated Set 2 keyboard: always reports core events
[    38.995] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event2"
[    38.995] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[    38.995] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    38.996] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    38.996] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input2/event2"
[    38.996] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 8)
[    38.996] (**) Option "xkb_rules" "evdev"
[    38.996] (**) Option "xkb_model" "pc105"
[    38.996] (**) Option "xkb_layout" "us"
[    38.996] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event3)
[    38.996] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"
[    38.996] (II) Using input driver 'evdev' for 'ImPS/2 Generic Wheel Mouse'
[    38.996] (**) ImPS/2 Generic Wheel Mouse: always reports core events
[    38.997] (**) evdev: ImPS/2 Generic Wheel Mouse: Device: "/dev/input/event3"
[    38.997] (--) evdev: ImPS/2 Generic Wheel Mouse: Vendor 0x2 Product 0x5
[    38.997] (--) evdev: ImPS/2 Generic Wheel Mouse: Found 3 mouse buttons
[    38.997] (--) evdev: ImPS/2 Generic Wheel Mouse: Found scroll wheel(s)
[    38.997] (--) evdev: ImPS/2 Generic Wheel Mouse: Found relative axes
[    38.997] (--) evdev: ImPS/2 Generic Wheel Mouse: Found x and y relative axes
[    38.997] (II) evdev: ImPS/2 Generic Wheel Mouse: Configuring as mouse
[    38.997] (II) evdev: ImPS/2 Generic Wheel Mouse: Adding scrollwheel support
[    38.997] (**) evdev: ImPS/2 Generic Wheel Mouse: YAxisMapping: buttons 4 and 5
[    38.997] (**) evdev: ImPS/2 Generic Wheel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    38.997] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input4/event3"
[    38.997] (II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel Mouse" (type: MOUSE, id 9)
[    38.997] (II) evdev: ImPS/2 Generic Wheel Mouse: initialized for relative axes.
[    38.997] (**) ImPS/2 Generic Wheel Mouse: (accel) keeping acceleration scheme 1
[    38.997] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration profile 0
[    38.997] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration factor: 2.000
[    38.997] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration threshold: 4
[    38.997] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse0)
[    38.997] (II) No input driver specified, ignoring this device.
[    38.997] (II) This device may have been added with another device file.
[    39.005] (II) config/udev: Adding drm device (/dev/dri/card0) card0 /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[    39.005] (II) xfree86: Adding drm device (/dev/dri/card0)
[    39.005] (II) LoadModule: "modesetting"
[    39.006] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    39.006] (II) Module modesetting: vendor="X.Org Foundation"
[    39.006] 	compiled for 1.15.0, module version = 0.8.1
[    39.006] 	Module class: X.Org Video Driver
[    39.006] 	ABI class: X.Org Video Driver, version 15.0
[    39.006] (II) UnloadModule: "modesetting"
[    39.006] (II) Unloading modesetting
[    39.006] (II) Failed to load module "modesetting" (already loaded, -2146778146)
[    39.006] xf86: found device 0
currently my monitors native resolution (1024x768) is only achievable with vesa driver.

Thanks , expecting to hear from you soon

clasan
Posts: 24
Joined: 2015-08-26 06:30

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#31 Post by clasan »

Hi RazorSIS,
Backup your xorg.conf:

Code: Select all

$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
If you get a black screen, use Ctrl+Alt+F[1-6] keys to restore it by

Code: Select all

$ sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
OK?

Let's try this. Change the respective xorg.conf lines to (if you have just ONE monitor, let Xorg auto detect it)

Code: Select all

#[sisctrl]  Set CRT1 device type
#Option      "ForceCRT1Type"     "VGA"   #monitor on
#Option     "ForceCRT1Type"     "NONE"  #monitor off

#[sisctrl]  Set CRT2 device type
#Option      "ForceCRT2Type"     "NONE"  #notebook off
#Option     "ForceCRT2Type"     "LCD"   #notebook on
and

Code: Select all

SubSection "Display"
   Viewport    0 0
   Depth       24
   Virtual     1024 768
   Modes   "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
Logout your Lubuntu session to restart the Xorg.

----------------------------
EDIT 1:
Are you using sisctrl control panel to change the resolution of monitor? Just the Lubuntu menu won't work. You need to use the Sis Control.
Open a terminal and run

Code: Select all

$ sisctrl
then you can select and change the resolution.

EDIT 2:
OK, I didn't post the How-To for the sisctrl control panel. Sorry. I'll make it to share in the forum later.

RazorSiS
Posts: 7
Joined: 2016-05-08 21:06

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#32 Post by RazorSiS »

Thanks clasan,

With the virtual 1024x768 mode the screen goes out of bound.

The Display Settings window represent the center of the monitors viewable area:
1024x768
Image
800x600
Image

xorg.conf

Code: Select all

        Section "Module"
                Disable         "dri"
                Load            "dbe" # Double-Buffering Extension
                Load            "v4l" # Video for Linux
                Load            "extmod"
                Load            "glx"
        EndSection
        Section "Monitor"
                Identifier      "Monitor0"
                VendorName      "Monitor Vendor"
                ModelName       "Monitor Model"
                Option          "DPMS"
                Gamma           1.0
        EndSection
        Section "Server Flags"
                Option          "IgnoreABI"             "true"
        EndSection
        Section "Device"
                Identifier      "Card0"
                Driver          "sisimedia"
                BusID           "PCI:1:0:0"
                Option          "EnableSiSCtrl"         "yes"
               
              # ----------------------------------------------
              # Configuration for TWO monitors
                #Option         "UseTiming1366" "yes"
                #Option         "MergedFB" "auto"
                #Option         "CRT1Position" "RightOf"
                #Option         "CRT2Position" "LeftOf"
                #Option         "MetaModes" "1440x900-1024x768 1280x800"  # lcc1
                #Option         "MetaModes" "1280x800-1280x800 1280x800"   # lcc2
                #Option         "MetaModes" "1280x1024-1280x800 1280x800" # lcc3
                #Option         "MetaModes" "1280x800-1366x768 1280x800" # home1
                #Option         "MetaModes" "1440x900-1024x768 1280x800"  # home2
                #Option         "MergedNonRectangular" "on"

             # ----------------------------------------------
             # Disabling outputs
                #[sisctrl] Set CRT1 device type
                #Option          "ForceCRT1Type"         "VGA" #monitor screen on
                #Option         "ForceCRT1Type"         "NONE" #monitor screen off

                #[sisctrl] Set CRT2 device type
                #Option         "ForceCRT2Type"         "NONE" #notebook screen off
                #Option          "ForceCRT2Type"         "LCD"  #notebook screen on
        EndSection
        Section "Screen"
                Identifier      "Screen0"
                Device          "Card0"
                Monitor         "Monitor0"
                DefaultColorDepth   24
                SubSection "Display"
                        Viewport        0 0
                        Depth           1
                        Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                EndSubSection
                SubSection "Display"
                        Viewport        0 0
                        Depth           4
                        Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                EndSubSection
                SubSection "Display"
                        Viewport        0 0
                        Depth           8
                        Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                EndSubSection
                SubSection "Display"
                        Viewport        0 0
                        Depth           15
                        Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                EndSubSection
                SubSection "Display"
                        Viewport        0 0
                        Depth           16
                        #Modes "1366x768" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                        Modes "1280x800" "1024x768" "800x600" "640x480"
                EndSubSection
		SubSection "Display"
  			Viewport    0 0
			Depth       24
			Virtual     1024 768
			Modes   "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
		EndSubSection
        EndSection

RazorSiS
Posts: 7
Joined: 2016-05-08 21:06

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#33 Post by RazorSiS »

I have sisctrl already.

Image

same max 800x600

clasan
Posts: 24
Joined: 2015-08-26 06:30

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#34 Post by clasan »

Looking your Xorg.log, I noticed your case is like this (Xorg version difference).
Do you have xrandr installed? Which is the output of “$ xrandr”?

RazorSiS
Posts: 7
Joined: 2016-05-08 21:06

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#35 Post by RazorSiS »

clasan wrote:Looking your Xorg.log, I noticed your case is like this (Xorg version difference).
Do you have xrandr installed? Which is the output of “$ xrandr”?

Code: Select all

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 240, current 800 x 600, maximum 1024 x 768
default connected 800x600+0+0 0mm x 0mm
   800x600        60.0*    56.0  
   640x480        60.0  
   960x600        60.0  
   960x540        60.0  
   768x576        60.0  
   720x576        60.0  
   856x480        60.0  
   800x480        60.0  
   720x480        61.0  
   512x384        60.0  
   400x300        60.0  
   320x240        61.0  
   1024x768       60.0  

Post Reply