How to start X with sis or vesa driver?

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
michalh
White ninja
White ninja
Posts: 13
Joined: 20 Mar 2017, 14:41
Distribution: Porteus Desktop
Location: Czech Rep.

How to start X with sis or vesa driver?

Post#1 by michalh » 23 Mar 2017, 09:18

Hi,

when booting Porteus from USB on HP T5720 ThinCLient, there is problem with starting X. The display is blank (black) and only blinks every few seconds. How to make X use specified graphics driver? Our old linux on that client is using sis driver, but I believe it should work with vesa, too.

Thanks, Michal

User avatar
francois
Contributor
Contributor
Posts: 4990
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: How to start X with sis or vesa driver?

Post#2 by francois » 23 Mar 2017, 10:17

Please provide more info on your display with command output of lspci:

Code: Select all

lspci
For vesa see the arch wiki procedure in the Getting started rubric of arch wiki:
https://wiki.archlinux.org/index.php/xo ... 8startx.29

Try starting in text mode, then use Xorg :0 -configure:
https://wiki.archlinux.org/index.php/xo ... 8startx.29

Code: Select all

# Xorg :0 -configure
Voltaire: Le mieux est l'ennemi du bien.

michalh
White ninja
White ninja
Posts: 13
Joined: 20 Mar 2017, 14:41
Distribution: Porteus Desktop
Location: Czech Rep.

Re: How to start X with sis or vesa driver?

Post#3 by michalh » 23 Mar 2017, 11:29

When boot to text mode and login as root:

lspci:

Code: Select all

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741 Host (rev 03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] LPC Controller (rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2/3 SMBus controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 IDE Controller
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 AC'97 Sound Controller (rev a0)
00:03.0 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.2 USB controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:0a.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 8d)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter
Xorg -verbose -configure

Code: Select all

X.Org X Server 1.14.5
Release Date: 2013-12-12
X Protocol Version 11, Revision 0
Build Operating System: Slackware 14.1 Slackware Linux Project
Current Operating System: Linux porteus 3.17.4-porteus #1 SMP PREEMPT Fri Dec 12 16:04:56 Local time zone must be set-- i686
Kernel command line: quiet initrd=initrd.xz 3  BOOT_IMAGE=vmlinuz 
Build Date: 11 January 2014  04:25:55PM
 
Current version of pixman: 0.30.2
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Mar 23 12:09:53 2017
(--) PCI:*(0:1:0:0) 1039:6330:1039:6330 rev 0, Mem @ 0xe0000000/134217728, 0xec000000/131072, I/O @ 0x0000d000/128
List of video drivers:
	apm
	ark
	ast
	ati
	chips
	cirrus
	geode
	glint
	i128
	i740
	intel
	mach64
	mga
	modesetting
	neomagic
	nouveau
	openchrome
	r128
	radeon
	rendition
	s3
	s3virge
	savage
	siliconmotion
	sis
	sisusb
	tdfx
	tga
	trident
	tseng
	ztv
	vmware
	voodoo
	xgi
	xgixp
	vesa
(II) Loading /usr/lib/xorg/modules/drivers/apm_drv.so
(II) Module apm: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 1.2.5
(II) Loading /usr/lib/xorg/modules/drivers/ark_drv.so
(II) Module ark: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 0.7.5
(II) Loading /usr/lib/xorg/modules/drivers/ast_drv.so
(II) Module ast: vendor="X.Org Foundation"
	compiled for 1.14.5, module version = 1.0.1
(II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
(II) Module ati: vendor="X.Org Foundation"
	compiled for 1.14.5, module version = 7.5.0
(II) Loading /usr/lib/xorg/modules/drivers/chips_drv.so
(II) Module chips: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 1.2.5
(II) Loading /usr/lib/xorg/modules/drivers/cirrus_drv.so
(II) Module cirrus: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 1.5.2
(II) Loading /usr/lib/xorg/modules/drivers/geode_drv.so
(II) Module geode: vendor="X.Org Foundation"
	compiled for 1.14.5, module version = 2.11.16
(II) Loading /usr/lib/xorg/modules/drivers/glint_drv.so
(II) Module glint: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 1.2.8
(II) Loading /usr/lib/xorg/modules/drivers/i128_drv.so
(II) Module i128: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 1.3.6
(II) Loading /usr/lib/xorg/modules/drivers/i740_drv.so
(EE) Failed to load /usr/lib/xorg/modules/drivers/i740_drv.so: /usr/lib/xorg/modules/drivers/i740_drv.so: undefined symbol: I740_Sync
(II) Unloading i740
(EE) Failed to load module "i740" (loader failed, 7)
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
	compiled for 1.14.4, module version = 2.21.15
(II) Loading /usr/lib/xorg/modules/drivers/mach64_drv.so
(II) Module mach64: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 6.9.4
(II) Loading /usr/lib/xorg/modules/drivers/mga_drv.so
(II) Module mga: vendor="X.Org Foundation"
	compiled for 1.14.4, module version = 1.6.3
(II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
(II) Module modesetting: vendor="X.Org Foundation"
	compiled for 1.14.5, module version = 0.9.0
(II) Loading /usr/lib/xorg/modules/drivers/neomagic_drv.so
(II) Module neomagic: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 1.2.8
(II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
(II) Module nouveau: vendor="X.Org Foundation"
	compiled for 1.14.5, module version = 1.0.11
(II) Loading /usr/lib/xorg/modules/drivers/openchrome_drv.so
(II) Module openchrome: vendor="http://openchrome.org/"
	compiled for 1.14.2, module version = 0.3.3
(II) Loading /usr/lib/xorg/modules/drivers/r128_drv.so
(II) Module r128: vendor="X.Org Foundation"
	compiled for 1.14.3, module version = 6.9.2
(II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
(II) Module radeon: vendor="X.Org Foundation"
	compiled for 1.14.5, module version = 7.5.0
(II) Loading /usr/lib/xorg/modules/drivers/rendition_drv.so
(II) Module rendition: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 4.2.5
(II) Loading /usr/lib/xorg/modules/drivers/s3_drv.so
(II) Module s3: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 0.6.5
(II) Loading /usr/lib/xorg/modules/drivers/s3virge_drv.so
(II) Module s3virge: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 1.10.6
(II) Loading /usr/lib/xorg/modules/drivers/savage_drv.so
(II) Module savage: vendor="X.Org Foundation"
	compiled for 1.14.3, module version = 2.3.7
(II) Loading /usr/lib/xorg/modules/drivers/siliconmotion_drv.so
(II) Module siliconmotion: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 1.7.7
(II) Loading /usr/lib/xorg/modules/drivers/sis_drv.so
(II) Module sis: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 0.10.7
(II) Loading /usr/lib/xorg/modules/drivers/sisusb_drv.so
(II) Module sisusb: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 0.9.6
(II) Loading /usr/lib/xorg/modules/drivers/tdfx_drv.so
(II) Module tdfx: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 1.4.5
(II) Loading /usr/lib/xorg/modules/drivers/tga_drv.so
(II) Module tga: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 1.2.2
(II) Loading /usr/lib/xorg/modules/drivers/trident_drv.so
(EE) Failed to load /usr/lib/xorg/modules/drivers/trident_drv.so: /usr/lib/xorg/modules/drivers/trident_drv.so: undefined symbol: TRIDENT_Sync
(II) Unloading trident
(EE) Failed to load module "trident" (loader failed, 7)
(II) Loading /usr/lib/xorg/modules/drivers/tseng_drv.so
(II) Module tseng: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 1.1.0
(II) Loading /usr/lib/xorg/modules/drivers/ztv_drv.so
(II) Module ztv: vendor="X.Org Foundation"
	compiled for 1.14.5, module version = 0.0.1
(II) Loading /usr/lib/xorg/modules/drivers/vmware_drv.so
(II) Module vmware: vendor="X.Org Foundation"
	compiled for 1.14.4, module version = 13.0.1
(II) Loading /usr/lib/xorg/modules/drivers/voodoo_drv.so
(II) Module voodoo: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 1.1.0
(II) Loading /usr/lib/xorg/modules/drivers/xgi_drv.so
(EE) LoadModule: Module xgi does not have a xgiModuleData data object.
(II) Unloading xgi
(EE) Failed to load module "xgi" (invalid module, 0)
(II) Loading /usr/lib/xorg/modules/drivers/xgixp_drv.so
(II) Module xgixp: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 1.7.2
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.14.5, module version = 1.0.0
(II) Loading /usr/lib/xorg/modules/libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
	compiled for 1.14.5, module version = 0.1.0
(II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
	compiled for 1.14.3, module version = 2.3.3
(WW) Falling back to old probe method for apm
(WW) Falling back to old probe method for ark
(WW) Falling back to old probe method for ast
(WW) Falling back to old probe method for cirrus
(II) Loading /usr/lib/xorg/modules/drivers/cirrus_laguna.so
(II) Module cirrus_laguna: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 1.0.0
(II) Loading /usr/lib/xorg/modules/drivers/cirrus_alpine.so
(II) Module cirrus_alpine: vendor="X.Org Foundation"
	compiled for 1.14.2, module version = 1.0.0
(WW) Falling back to old probe method for glint
(WW) Falling back to old probe method for i128
(II) modesetting: Driver for Modesetting Kernel Drivers: kms
(WW) Falling back to old probe method for neomagic
(WW) Falling back to old probe method for s3
(WW) Falling back to old probe method for s3virge
(WW) Falling back to old probe method for siliconmotion
(WW) Falling back to old probe method for sis
(WW) Falling back to old probe method for sisusb
(WW) Falling back to old probe method for tga
(WW) Falling back to old probe method for tseng
(WW) Falling back to old probe method for z4l
(II) z4l driver for Video4Linux
(WW) Falling back to old probe method for voodoo
(II) VESA: driver for VESA chipsets: vesa
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Screen "Screen1" (1)
(**) |   |-->Monitor "Monitor1"
(**) |   |-->Device "Card1"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) Automatically adding GPU devices
(WW) The directory "/usr/share/fonts/local" does not exist.
	Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
	Entry deleted from font path.
	(Run 'mkfontdir' on "/usr/share/fonts/TTF").
(WW) The directory "/usr/share/fonts/OTF" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/misc" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/CID" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/75dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/100dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/75dpi" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/100dpi" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/cyrillic" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/local" does not exist.
	Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
	Entry deleted from font path.
	(Run 'mkfontdir' on "/usr/share/fonts/TTF").
(WW) The directory "/usr/share/fonts/OTF" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/misc" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/CID" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/75dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/100dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/75dpi" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/100dpi" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/cyrillic" does not exist.
	Entry deleted from font path.
(**) FontPath set to:
	
(**) ModulePath set to "/usr/lib/xorg/modules"
(WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(EE) open /dev/dri/card0: No such file or directory
(WW) Falling back to old probe method for modesetting
(EE) open /dev/dri/card0: No such file or directory
(EE) 
(EE) Backtrace:
(EE) 0: Xorg (xorg_backtrace+0x49) [0x81d69c9]
(EE) 1: Xorg (0x8048000+0x1923f4) [0x81da3f4]
(EE) 2: linux-gate.so.1 (__kernel_rt_sigreturn+0x0) [0xb77359f0]
(EE) 
(EE) Segmentation fault at address 0x0
(EE) 
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.

User avatar
Blaze
DEV Team
DEV Team
Posts: 1426
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: How to start X with sis or vesa driver?

Post#4 by Blaze » 23 Mar 2017, 17:26

Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
francois
Contributor
Contributor
Posts: 4990
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: How to start X with sis or vesa driver?

Post#5 by francois » 23 Mar 2017, 17:31

1)Try starting in text mode, then use Xorg :0 -configure:
https://wiki.archlinux.org/index.php/xo ... 8startx.29
Then
This should create a xorg.conf.new file in /root/ that you can copy over to /etc/X11/xorg.conf.

Please read ompletely the wiki at the appropriate section.

2) You can follow fanthom procedure here:
https://forum.porteus.org/viewtopic.php?f=81&t=735
Voltaire: Le mieux est l'ennemi du bien.

Post Reply