You are not logged in.

#1 2019-03-05 07:07:24

Giorgos_Kappa
Member
Registered: 2019-03-05
Posts: 16

[SiS] 671/771 can't get xorg to work.

I am a newcomer in the Arch world and my guinea pig is an old laptop with the notorious SiS 671/771 chipset. I made a complete installation of the OS + the corresponding xf86-video-sis but I had no luck in making it work. Whenever I startx, I either get a distorted crt-like artifacts (without xorg.conf) and/or an xinit: unable to connect to X server: connection refused (with xorg.conf)

My Xorg.o.log:

[  2367.280] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[  2367.302] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[  2367.363] Build Operating System: Linux Arch Linux
[  2367.405] Current Operating System: Linux arch-pc 4.19.26-1-lts #1 SMP Wed Feb 27 16:06:52 CET 2019 x86_64
[  2367.405] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=f31b1568-bdad-47cc-8e65-0031e89a32ff rw iomem=relaxed
[  2367.473] Build Date: 27 February 2019  04:04:00PM
[  2367.496]  
[  2367.521] Current version of pixman: 0.38.0
[  2367.572] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  2367.572] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2367.678] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar  5 08:59:22 2019
[  2367.705] (==) Using config file: "/etc/X11/xorg.conf"
[  2367.731] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2367.732] (==) ServerLayout "X.org Configured"
[  2367.732] (**) |-->Screen "Screen0" (0)
[  2367.732] (**) |   |-->Monitor "Monitor0"
[  2367.732] (**) |   |-->Device "Card0"
[  2367.732] (**) |-->Input Device "Mouse0"
[  2367.732] (**) |-->Input Device "Keyboard0"
[  2367.732] (==) Automatically adding devices
[  2367.732] (==) Automatically enabling devices
[  2367.732] (==) Automatically adding GPU devices
[  2367.732] (==) Automatically binding GPU devices
[  2367.732] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2367.732] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[  2367.732] 	Entry deleted from font path.
[  2367.732] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[  2367.732] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[  2367.732] 	Entry deleted from font path.
[  2367.732] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  2367.732] 	Entry deleted from font path.
[  2367.732] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  2367.732] 	Entry deleted from font path.
[  2367.732] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[  2367.732] 	Entry deleted from font path.
[  2367.732] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[  2367.732] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[  2367.732] 	Entry deleted from font path.
[  2367.732] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  2367.732] 	Entry deleted from font path.
[  2367.732] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  2367.732] 	Entry deleted from font path.
[  2367.732] (**) FontPath set to:
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[  2367.732] (**) ModulePath set to "/usr/lib/xorg/modules"
[  2367.732] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  2367.732] (WW) Disabling Mouse0
[  2367.732] (WW) Disabling Keyboard0
[  2367.732] (II) Module ABI versions:
[  2367.732] 	X.Org ANSI C Emulation: 0.4
[  2367.732] 	X.Org Video Driver: 24.0
[  2367.732] 	X.Org XInput driver : 24.1
[  2367.732] 	X.Org Server Extension : 10.0
[  2367.733] (++) using VT number 1

[  2367.736] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[  2367.739] (--) PCI:*(1@0:0:0) 1039:6351:1558:0801 rev 16, Mem @ 0xc0000000/268435456, 0xd8000000/131072, I/O @ 0x00009000/128, BIOS @ 0x????????/131072
[  2367.739] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2367.739] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  2367.739] (II) LoadModule: "glx"
[  2367.740] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2367.743] (II) Module glx: vendor="X.Org Foundation"
[  2367.743] 	compiled for 1.20.4, module version = 1.0.0
[  2367.743] 	ABI class: X.Org Server Extension, version 10.0
[  2367.743] (II) LoadModule: "sis"
[  2367.743] (II) Loading /usr/lib/xorg/modules/drivers/sis_drv.so
[  2367.743] (II) Module sis: vendor="X.Org Foundation"
[  2367.743] 	compiled for 1.20.4, module version = 0.10.9
[  2367.743] 	Module class: X.Org Video Driver
[  2367.743] 	ABI class: X.Org Video Driver, version 24.0
[  2367.743] (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, SIS330(Xabre),
	SIS660/[M]661[F|M]X/[M]670/[M]741[GX]/[M]760[GX]/[M]761[GX]/[M]770[GX],
	SIS340
[  2367.744] (II) SIS: driver for XGI chipsets: Volari Z7 (XG20),
	Volari V3XT/V5/V8/Duo (XG40)
[  2367.744] (WW) Falling back to old probe method for sis
[  2367.744] (WW) Falling back to old probe method for sis
[  2367.744] (EE) No devices detected.
[  2367.744] (EE) 
Fatal server error:
[  2367.744] (EE) no screens found(EE) 
[  2367.744] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  2367.744] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2367.744] (EE) 
[  2367.784] (EE) Server terminated with error (1). Closing log file.

Offline

#2 2019-03-05 13:39:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [SiS] 671/771 can't get xorg to work.

Welcome to the forums.  There are several specific steps required according to the wiki page.  It looks like you are using the lts kernel with the required kernel parameter already, but you didn't specify if/how you modified your Xorg.conf.  Can you please post the content of any xorg conf files?

And do you specifically load the sis-agp module before starting X?

Last edited by Trilby (2019-03-05 13:40:22)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2019-03-05 17:14:01

Giorgos_Kappa
Member
Registered: 2019-03-05
Posts: 16

Re: [SiS] 671/771 can't get xorg to work.

@Trilby thank you for your time,

xorg.conf (according to the wiki):

Section "Module"
    	Load "dbe"
    	Load "i2c"
    	Load "bitmap"
    	Load "ddc"
    	Load "dri"
        Load "extmod"
    	Load "freetype"
    	Load "glx"
    	Load "int10"
    	Load "speedo"
    	Load "vbe"
EndSection

Section "Device"
    Identifier  "Card0"
    VendorName  "Silicon Integrated Systems [SiS]"
    BoardName   "771/671 PCIE VGA Display Adapter"
    BusID  	"PCI:1:0:0"
    Driver 	"sis"
    Screen 0
	Option   "UseSSE" "yes"
        Option   "UseTiming1280" "yes"
        Option   "UseFBDev" "true"
	Option   "EnableSiSCtrl" "true"
	Option   "ForceCRT1Type" "LCD"
	Option   "ForceCRT2Type" "NONE"
        Option   "CRT1Gamma" "on"
        Option   "CRT2Gamma" "on"
        Option   "Brightness" "0.000 0.000 0.000"
        Option   "Contrast" "0.000 0.000 0.000"
        Option   "CRT1Saturation" "0"
        Option   "XvOnCRT2" "yes"
        Option   "XvDefaultContrast" "2"
        Option   "XvDefaultBrightness" "10"
        Option   "XvDefaultHue" "0"
        Option   "XvDevaultSaturation" "0"
        Option   "XvDefaultDisableGfxLR" "no"
	Option   "XvGamma" "off"
EndSection

Section "DRI"
  	Mode         0666
EndSection

Section "Monitor"
    Identifier   "CRT1"
    ModelName    "PANEL"
    Option       "DPMS"
    VendorName   "LCD"
    HorizSync    31-60
    VertRefresh  40-60
EndSection

Section "Monitor"
    Identifier   "CRT2"
    ModelName    "tv"
    Option       "DPMS"
    Vendorname   "tv"
EndSection

Section "Screen"
    DefaultDepth 24
    SubSection "Display"
      Depth      24
      Modes      "1280x800"
    EndSubSection
    Device       "Device[0]"
    Identifier   "Screen[0]"
    Monitor      "CRT2"
EndSection

Section "Screen"
    DefaultDepth 24
    SubSection "Display"
      Depth      24
      Modes      "1280x800"
    EndSubsection
    Device       "Device[1]"
    Identifier   "Screen[1]"
    Monitor      "CRT1"
EndSection

Section "Device"
  BoardName      "771/671"
  BusID          "PCI:1:0:0"
  Driver         "sis"
  Identifier     "Device[1]"
  Screen         1
  VendorName     "SiS"
EndSection

Section "Device"
  BoardName      "771/671"
  BusID          "PCI:1:0:0"
  Driver         "sis"
  Identifier     "Device[0]"
  Screen         0
  VendorName     "SiS"
  Option "EnableSisCtrl" "true"
EndSection

Section "ServerLayout"
  Identifier     "Layout[dual]"
  Option         "Clone" "off"
  Screen         "Screen[0]"
  Screen         "Screen[1]" RightOf "Screen[0]"
  Option         "Xinerama" "off"
EndSection

and after I modprobe sis-agp and startx I get the following error again:

[  6160.602] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[  6160.611] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[  6160.636] Build Operating System: Linux Arch Linux
[  6160.656] Current Operating System: Linux arch-pc 4.19.26-1-lts #1 SMP Wed Feb 27 16:06:52 CET 2019 x86_64
[  6160.656] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=f31b1568-bdad-47cc-8e65-0031e89a32ff rw iomem=relaxed
[  6160.693] Build Date: 27 February 2019  04:04:00PM
[  6160.705]  
[  6160.718] Current version of pixman: 0.38.0
[  6160.746] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  6160.746] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  6160.809] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar  5 18:44:47 2019
[  6160.827] (==) Using config file: "/etc/X11/xorg.conf"
[  6160.845] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  6160.845] (==) ServerLayout "Layout[dual]"
[  6160.845] (**) |-->Screen "Screen[0]" (0)
[  6160.845] (**) |   |-->Monitor "CRT2"
[  6160.845] (**) |   |-->Device "Device[0]"
[  6160.845] (**) |-->Screen "Screen[1]" (1)
[  6160.845] (**) |   |-->Monitor "CRT1"
[  6160.846] (**) |   |-->Device "Device[1]"
[  6160.846] (**) Option "Xinerama" "off"
[  6160.846] (==) Automatically adding devices
[  6160.846] (==) Automatically enabling devices
[  6160.846] (==) Automatically adding GPU devices
[  6160.846] (==) Automatically binding GPU devices
[  6160.846] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  6160.847] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[  6160.847] 	Entry deleted from font path.
[  6160.847] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[  6160.847] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[  6160.847] 	Entry deleted from font path.
[  6160.847] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  6160.847] 	Entry deleted from font path.
[  6160.847] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  6160.847] 	Entry deleted from font path.
[  6160.848] (==) FontPath set to:
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[  6160.848] (==) ModulePath set to "/usr/lib/xorg/modules"
[  6160.848] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  6160.848] (II) Module ABI versions:
[  6160.848] 	X.Org ANSI C Emulation: 0.4
[  6160.848] 	X.Org Video Driver: 24.0
[  6160.848] 	X.Org XInput driver : 24.1
[  6160.848] 	X.Org Server Extension : 10.0
[  6160.849] (++) using VT number 1

[  6160.851] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[  6160.855] (--) PCI:*(1@0:0:0) 1039:6351:1558:0801 rev 16, Mem @ 0xc0000000/268435456, 0xd8000000/131072, I/O @ 0x00009000/128, BIOS @ 0x????????/131072
[  6160.855] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  6160.855] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  6160.855] (II) LoadModule: "dbe"
[  6160.855] (II) Module "dbe" already built-in
[  6160.855] (II) LoadModule: "i2c"
[  6160.855] (II) Module "i2c" already built-in
[  6160.855] (II) LoadModule: "ddc"
[  6160.855] (II) Module "ddc" already built-in
[  6160.855] (II) LoadModule: "dri"
[  6160.855] (II) Module "dri" already built-in
[  6160.855] (II) LoadModule: "extmod"
[  6160.855] (II) Module "extmod" already built-in
[  6160.855] (II) LoadModule: "glx"
[  6160.856] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  6160.874] (II) Module glx: vendor="X.Org Foundation"
[  6160.874] 	compiled for 1.20.4, module version = 1.0.0
[  6160.874] 	ABI class: X.Org Server Extension, version 10.0
[  6160.874] (II) LoadModule: "int10"
[  6160.874] (II) Loading /usr/lib/xorg/modules/libint10.so
[  6160.874] (II) Module int10: vendor="X.Org Foundation"
[  6160.874] 	compiled for 1.20.4, module version = 1.0.0
[  6160.874] 	ABI class: X.Org Video Driver, version 24.0
[  6160.874] (II) LoadModule: "vbe"
[  6160.874] (II) Loading /usr/lib/xorg/modules/libvbe.so
[  6160.875] (II) Module vbe: vendor="X.Org Foundation"
[  6160.875] 	compiled for 1.20.4, module version = 1.1.0
[  6160.875] 	ABI class: X.Org Video Driver, version 24.0
[  6160.875] (II) LoadModule: "sis"
[  6160.875] (II) Loading /usr/lib/xorg/modules/drivers/sis_drv.so
[  6160.875] (II) Module sis: vendor="X.Org Foundation"
[  6160.875] 	compiled for 1.20.4, module version = 0.10.9
[  6160.875] 	Module class: X.Org Video Driver
[  6160.875] 	ABI class: X.Org Video Driver, version 24.0
[  6160.875] (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, SIS330(Xabre),
	SIS660/[M]661[F|M]X/[M]670/[M]741[GX]/[M]760[GX]/[M]761[GX]/[M]770[GX],
	SIS340
[  6160.875] (II) SIS: driver for XGI chipsets: Volari Z7 (XG20),
	Volari V3XT/V5/V8/Duo (XG40)
[  6160.875] (WW) Falling back to old probe method for sis
[  6160.875] (WW) Falling back to old probe method for sis
[  6160.875] (EE) No devices detected.
[  6160.876] (EE) 
Fatal server error:
[  6160.876] (EE) no screens found(EE) 
[  6160.876] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  6160.876] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  6160.876] (EE) 
[  6160.916] (EE) Server terminated with error (1). Closing log file.

Last edited by Giorgos_Kappa (2019-03-05 17:14:35)

Offline

Board footer

Powered by FluxBB