Bug 212805 - x11-drivers/xf86-video-openchrome seg-faults with current (11.0-RC3) pkg installation
Summary: x11-drivers/xf86-video-openchrome seg-faults with current (11.0-RC3) pkg inst...
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Some People
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-18 23:28 UTC by nibbana
Modified: 2018-09-22 10:41 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nibbana 2016-09-18 23:28:19 UTC
The openchrome driver supplied is 0.3.3, but the current version
is 0.5.0 - which is best is not known.

The xorg.conf utilized was bare-bones - everything commented
out - but the previous working version was also tried.

[319480.726] 
X.Org X Server 1.17.4
Release Date: 2015-10-28
[319480.726] X Protocol Version 11, Revision 0
[319480.726] Build Operating System: FreeBSD 9.3-RELEASE-p45 i386 
[319480.727] Current Operating System: FreeBSD localhost.net 9.3-RELEASE FreeBSD 9.3-RELEASE #0: Tue Jul 28 04:28:10 AKDT 2015     root@localhost.earthlink.net:/usr/obj/u0/src/sys/MYKERN i386
[319480.728] Build Date: 03 September 2016  07:05:47AM
[319480.728]  
[319480.728] Current version of pixman: 0.34.0
[319480.728] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[319480.728] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[319480.729] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 18 23:11:06 2016
[319480.729] (==) Using config file: "/etc/X11/xorg.conf"
[319480.730] (==) ServerLayout "X.org Configured"
[319480.731] (**) |-->Screen "Screen0" (0)
[319480.731] (**) |   |-->Monitor "Monitor0"
[319480.732] (**) |   |-->Device "Card0"
[319480.732] (**) |-->Input Device "Mouse0"
[319480.732] (**) |-->Input Device "Keyboard0"
[319480.732] (**) Option "BlankTime" "10"
[319480.732] (==) Automatically adding devices
[319480.732] (==) Automatically enabling devices
[319480.732] (==) Not automatically adding GPU devices
[319480.733] (**) FontPath set to:
	/etc/X11/fonts/Type1,
	/etc/X11/fonts/fixed,
	/usr/local/share/fonts/OTF,
	/usr/local/share/fonts/TTF/,
	/usr/local/share/fonts/Type1,
	/usr/local/share/fonts/dejavu,
	/usr/local/share/fonts/misc/,
	/usr/local/share/fonts/TTF/,
	/usr/local/share/fonts/OTF/,
	/usr/local/share/fonts/Type1/,
	/usr/local/share/fonts/100dpi/,
	/usr/local/share/fonts/75dpi/
[319480.734] (**) ModulePath set to "/usr/local/lib/xorg/modules"
[319480.734] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[319480.734] (WW) Disabling Mouse0
[319480.734] (WW) Disabling Keyboard0
[319480.734] (II) Loader magic: 0x8226b40
[319480.734] (II) Module ABI versions:
[319480.734] 	X.Org ANSI C Emulation: 0.4
[319480.734] 	X.Org Video Driver: 19.0
[319480.734] 	X.Org XInput driver : 21.0
[319480.734] 	X.Org Server Extension : 9.0
[319480.735] (--) PCI:*(0:1:0:0) 1106:3122:1106:3122 rev 3, Mem @ 0xe4000000/67108864, 0xe8000000/16777216, BIOS @ 0x????????/65536
[319480.735] (II) "glx" will be loaded by default.
[319480.735] (II) LoadModule: "glx"
[319480.736] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[319480.749] (II) Module glx: vendor="X.Org Foundation"
[319480.749] 	compiled for 1.17.4, module version = 1.0.0
[319480.749] 	ABI class: X.Org Server Extension, version 9.0
[319480.749] (==) AIGLX enabled
[319480.749] (==) Matched openchrome as autoconfigured driver 0
[319480.749] (==) Matched fbdev as autoconfigured driver 1
[319480.749] (==) Matched vesa as autoconfigured driver 2
[319480.749] (==) Assigned the driver to the xf86ConfigLayout
[319480.749] (II) LoadModule: "openchrome"
[319480.750] (II) Loading /usr/local/lib/xorg/modules/drivers/openchrome_drv.so
[319480.751] (II) Module openchrome: vendor="http://openchrome.org/"
[319480.752] 	compiled for 1.17.4, module version = 0.3.3
[319480.752] 	Module class: X.Org Video Driver
[319480.752] 	ABI class: X.Org Video Driver, version 19.0
[319480.752] (II) LoadModule: "fbdev"
[319480.755] (WW) Warning, couldn't open module fbdev
[319480.755] (II) UnloadModule: "fbdev"
[319480.755] (II) Unloading fbdev
[319480.755] (EE) Failed to load module "fbdev" (module does not exist, 0)
[319480.755] (II) LoadModule: "vesa"
[319480.756] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[319480.756] (II) Module vesa: vendor="X.Org Foundation"
[319480.756] 	compiled for 1.17.4, module version = 2.3.4
[319480.756] 	Module class: X.Org Video Driver
[319480.756] 	ABI class: X.Org Video Driver, version 19.0
[319480.756] (II) OPENCHROME: Driver for VIA Chrome chipsets: CLE266, KM400/KN400,
	K8M800/K8N800, PM800/PM880/CN400, VM800/P4M800Pro/VN800/CN700,
	CX700/VX700, K8M890/K8N890, P4M890, P4M900/VN896/CN896, VX800/VX820,
	VX855/VX875, VX900
[319480.757] (II) VESA: driver for VESA chipsets: vesa
[319480.758] (--) Using syscons driver with X support (version 2.0)
[319480.758] (--) using VT number 9

[319480.765] (!!) VIA Technologies does not support this driver in any way.
[319480.765] (!!) For support, please refer to http://www.openchrome.org/.
[319480.765] (!!) (development build, compiled on Sat Sep  3 07:39:33 2016)
[319480.765] (WW) Falling back to old probe method for vesa
[319480.765] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[319480.765] (II) CHROME(0): VIAPreInit
[319480.766] (II) CHROME(0): VIAGetRec
[319480.766] (--) CHROME(0): Chipset: CLE266
[319480.766] (--) CHROME(0): Chipset revision: 0
[319480.767] (II) [drm] KMS supported
[319480.767] (II) CHROME(0): [drm] via interface version: 2.11.1
[319480.767] (II) CHROME(0): DRI 1 api supported
[319480.767] (II) Loading sub module "vgahw"
[319480.767] (II) LoadModule: "vgahw"
[319480.769] (II) Loading /usr/local/lib/xorg/modules/libvgahw.so
[319480.769] (II) Module vgahw: vendor="X.Org Foundation"
[319480.769] 	compiled for 1.17.4, module version = 0.1.0
[319480.769] 	ABI class: X.Org Video Driver, version 19.0
[319480.770] (--) CHROME(0): Probed amount of VideoRAM = 65536 kB
[319480.770] (II) CHROME(0): VIAMapMMIO
[319480.770] (--) CHROME(0): mapping MMIO @ 0xe8000000 with size 0xd000
[319480.770] (--) CHROME(0): mapping BitBlt MMIO @ 0xe8200000 with size 0x200000
[319480.771] (II) CHROME(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[319480.771] (II) CHROME(0): VIAMapFB
[319480.771] (--) CHROME(0): mapping framebuffer @ 0xe4000000 with size 0x4000000
[319480.874] (--) CHROME(0): Frame buffer start: 0x29000000, free start: 0x0 end: 0x4000000
[319480.875] (II) CHROME(0): Creating default Display subsection in Screen section
	"Screen0" for depth/fbbpp 24/32
[319480.875] (==) CHROME(0): Depth 24, (--) framebuffer bpp 32
[319480.875] (==) CHROME(0): RGB weight 888
[319480.875] (==) CHROME(0): Default visual is TrueColor
[319480.875] (II) CHROME(0): VIASetupDefaultOptions - Setting up default chipset options.
[319480.875] (==) CHROME(0): Shadow framebuffer is disabled.
[319480.875] (==) CHROME(0): Hardware acceleration is disabled.
[319480.875] (==) CHROME(0): Using hardware two-color cursors and software full-color cursors.
[319480.875] (==) CHROME(0): GPU virtual command queue will be enabled.
[319480.875] (==) CHROME(0): DRI IRQ will be enabled if DRI is enabled.
[319480.875] (==) CHROME(0): AGP DMA will be enabled if DRI is enabled.
[319480.875] (==) CHROME(0): AGP DMA will be used for 2D acceleration.
[319480.875] (==) CHROME(0): PCI DMA will be used for XV image transfer if DRI is enabled.
[319480.875] (==) CHROME(0): Will not enable VBE modes.
[319480.875] (==) CHROME(0): VBE VGA register save & restore will not be used
	if VBE modes are enabled.
[319480.876] (==) CHROME(0): Xv Bandwidth check is enabled.
[319480.876] (==) CHROME(0): Will not impose a limit on video RAM reserved for DRI.
[319480.876] (==) CHROME(0): Will try to allocate 32768 kB of AGP memory.
[319480.876] (==) CHROME(0): TV dotCrawl is disabled.
[319480.876] (==) CHROME(0): TV deflicker is set to 0.
[319480.876] (==) CHROME(0): No default TV type is set.
[319480.876] (==) CHROME(0): No default TV output signal type is set.
[319480.876] (==) CHROME(0): No default TV output port is set.
[319480.876] (==) CHROME(0): Will not print VGA registers.
[319480.876] (==) CHROME(0): Will not scan I2C buses.
[319480.876] (II) CHROME(0): ...Finished parsing config file options.
[319480.876] (WW) CHROME(0): Manufacturer plainly copied main PCI IDs to subsystem/card IDs.
[319480.876] (--) CHROME(0): Detected VIA VT3122 (CLE266)-EPIA M/MII/.... Card-Ids (1106|3122)
[319480.876] (II) CHROME(0): KMSCrtcInit
[319480.876] (II) CHROME(0): VIAFreeRec
[319480.876] (II) CHROME(0): VIAUnmapMem
[319480.901] (II) CHROME(0): VIAFreeScreen
[319480.901] (EE) Segmentation fault: 11 at address 0x37c
[319480.901] (EE) 
Fatal server error:
[319480.902] (EE) Caught signal 11 (Segmentation fault: 11). Server aborting
[319480.902] (EE) 
[319480.902] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[319480.902] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[319480.902] (EE) 
[319480.920] (EE) Server terminated with error (1). Closing log file.
Comment 1 nibbana 2016-09-19 03:35:24 UTC
Compiling the openchrome-0.5.0 driver from the latest Xorg sources didn't change anything, and there is no VGA driver to make Xorg usable (and it doesn't compile from the sources either), and the vesa driver causes the system to lock-up and freeze.
Comment 2 Niclas Zeising freebsd_committer freebsd_triage 2018-08-17 13:26:01 UTC
Hi!
Is this still an issue?
Comment 3 Niclas Zeising freebsd_committer freebsd_triage 2018-09-22 10:41:37 UTC
Feedback timeout