Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2017 04:33:12 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
Cc:        x11@freebsd.org
Subject:   Re: X11 breaks for Intel after ports update from r433396 -> r433935?
Message-ID:  <20170213123312.GN1208@albert.catwhisker.org>
In-Reply-To: <20170213061745.GA83266@over-yonder.net>
References:  <20170213023508.GL1208@albert.catwhisker.org> <20170213061745.GA83266@over-yonder.net>

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

--CQDko/0aYvuiEzgn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 13, 2017 at 12:17:45AM -0600, Matthew D. Fuller wrote:
> On Sun, Feb 12, 2017 at 06:35:08PM -0800 I heard the voice of
> David Wolfskill, and lo! it spake thus:
> >
> > and that's how I found out that X11 appears to be broken now.
>=20
> You don't include the salient bits of the actual X log showing the
> failure.  So I'm gonna assume it's the same thing I've seen on 2
> machines now, and somebody else mentions in
> <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214591#c12>;

Errr...  right; I didn't... because it really didn't seem to be at all
helpful:

| [ 39315.746]=20
| X.Org X Server 1.18.4
| Release Date: 2016-07-19
| [ 39315.746] X Protocol Version 11, Revision 0
| [ 39315.746] Build Operating System: FreeBSD 11.0-BETA2 amd64=20
| [ 39315.746] Current Operating System: FreeBSD albert.catwhisker.org 11.0=
-STABLE FreeBSD 11.0-STABLE #206  r313681M/313683:1100509: Sun Feb 12 04:02=
:34 PST 2017     root@freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/A=
LBERT amd64
| [ 39315.747] Build Date: 12 February 2017  12:29:15PM
| [ 39315.747] =20
| [ 39315.747] Current version of pixman: 0.34.0
| [ 39315.747] 	Before reporting problems, check http://wiki.x.org
| 	to make sure that you have the latest version.
| [ 39315.747] Markers: (--) probed, (**) from config file, (=3D=3D) defaul=
t setting,
| 	(++) from command line, (!!) notice, (II) informational,
| 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
| [ 39315.747] (=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 13 0=
2:09:27 2017
| [ 39315.747] (II) Loader magic: 0x80ce60
| [ 39315.747] (II) Module ABI versions:
| [ 39315.747] 	X.Org ANSI C Emulation: 0.4
| [ 39315.747] 	X.Org Video Driver: 20.0
| [ 39315.747] 	X.Org XInput driver : 22.1
| [ 39315.747] 	X.Org Server Extension : 9.0
| [ 39315.749] (--) PCI:*(0:0:2:0) 8086:2772:1028:01ad rev 2, Mem @ 0xfeb00=
000/524288, 0xe0000000/268435456, 0xfeac0000/262144, I/O @ 0x0000e890/8, BI=
OS @ 0x????????/65536
| [ 39315.749] (--) PCI: (0:0:2:1) 8086:2776:1028:01ad rev 2, Mem @ 0xfeb80=
000/524288
| [ 39315.750] List of video drivers:
| [ 39315.750] 	ati
| [ 39315.750] 	intel
| [ 39315.750] 	mach64
| [ 39315.750] 	nv
| [ 39315.750] 	openchrome
| [ 39315.750] 	r128
| [ 39315.750] 	radeon
| [ 39315.750] 	modesetting
| [ 39315.750] 	vesa
| [ 39315.750] 	scfb
| [ 39315.750] (II) LoadModule: "ati"
| [ 39315.750] (II) Loading /usr/local/lib/xorg/modules/drivers/ati_drv.so
| [ 39315.750] (II) Module ati: vendor=3D"X.Org Foundation"
| [ 39315.750] 	compiled for 1.18.4, module version =3D 7.8.0
| [ 39315.750] 	Module class: X.Org Video Driver
| [ 39315.750] 	ABI class: X.Org Video Driver, version 20.0
| [ 39315.750] (II) LoadModule: "intel"
| [ 39315.751] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
| [ 39315.751] (II) Module intel: vendor=3D"X.Org Foundation"
| [ 39315.751] 	compiled for 1.18.4, module version =3D 2.99.917
| [ 39315.751] 	Module class: X.Org Video Driver
| [ 39315.751] 	ABI class: X.Org Video Driver, version 20.0
| [ 39315.751] (II) LoadModule: "mach64"
| [ 39315.752] (II) Loading /usr/local/lib/xorg/modules/drivers/mach64_drv.=
so
| [ 39315.752] (II) Module mach64: vendor=3D"X.Org Foundation"
| [ 39315.752] 	compiled for 1.18.4, module version =3D 6.9.5
| [ 39315.752] 	Module class: X.Org Video Driver
| [ 39315.752] 	ABI class: X.Org Video Driver, version 20.0
| [ 39315.752] (II) LoadModule: "nv"
| [ 39315.752] (II) Loading /usr/local/lib/xorg/modules/drivers/nv_drv.so
| [ 39315.752] (II) Module nv: vendor=3D"X.Org Foundation"
| [ 39315.752] 	compiled for 1.18.4, module version =3D 2.1.21
| [ 39315.752] 	Module class: X.Org Video Driver
| [ 39315.752] 	ABI class: X.Org Video Driver, version 20.0
| [ 39315.752] (II) LoadModule: "openchrome"
| [ 39315.753] (II) Loading /usr/local/lib/xorg/modules/drivers/openchrome_=
drv.so
| [ 39315.753] (II) Module openchrome: vendor=3D"http://www.freedesktop.org=
/wiki/Openchrome/"
| [ 39315.753] 	compiled for 1.18.4, module version =3D 0.5.0
| [ 39315.753] 	Module class: X.Org Video Driver
| [ 39315.753] 	ABI class: X.Org Video Driver, version 20.0
| [ 39315.753] (II) LoadModule: "r128"
| [ 39315.753] (II) Loading /usr/local/lib/xorg/modules/drivers/r128_drv.so
| [ 39315.753] (II) Module r128: vendor=3D"X.Org Foundation"
| [ 39315.753] 	compiled for 1.18.4, module version =3D 6.10.2
| [ 39315.753] 	Module class: X.Org Video Driver
| [ 39315.753] 	ABI class: X.Org Video Driver, version 20.0
| [ 39315.753] (II) LoadModule: "radeon"
| [ 39315.754] (II) Loading /usr/local/lib/xorg/modules/drivers/radeon_drv.=
so
| [ 39315.754] (II) Module radeon: vendor=3D"X.Org Foundation"
| [ 39315.754] 	compiled for 1.18.4, module version =3D 7.8.0
| [ 39315.754] 	Module class: X.Org Video Driver
| [ 39315.754] 	ABI class: X.Org Video Driver, version 20.0
| [ 39315.754] (II) LoadModule: "modesetting"
| [ 39315.754] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting=
_drv.so
| [ 39315.755] (II) Module modesetting: vendor=3D"X.Org Foundation"
| [ 39315.755] 	compiled for 1.18.4, module version =3D 1.18.4
| [ 39315.755] 	Module class: X.Org Video Driver
| [ 39315.755] 	ABI class: X.Org Video Driver, version 20.0
| [ 39315.755] (II) LoadModule: "vesa"
| [ 39315.755] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
| [ 39315.755] (II) Module vesa: vendor=3D"X.Org Foundation"
| [ 39315.755] 	compiled for 1.18.4, module version =3D 2.3.4
| [ 39315.755] 	Module class: X.Org Video Driver
| [ 39315.755] 	ABI class: X.Org Video Driver, version 20.0
| [ 39315.755] (II) LoadModule: "scfb"
| [ 39315.755] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
| [ 39315.755] (II) Module scfb: vendor=3D"X.Org Foundation"
| [ 39315.756] 	compiled for 1.18.4, module version =3D 0.0.4
| [ 39315.756] 	ABI class: X.Org Video Driver, version 20.0
| [ 39315.756] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
| 	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
| 	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
| 	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
| 	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
| [ 39315.756] (II) intel: Driver for Intel(R) HD Graphics
| [ 39315.756] (II) intel: Driver for Intel(R) Iris(TM) Graphics
| [ 39315.756] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
| [ 39315.756] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
| [ 39315.756] (II) VESA: driver for VESA chipsets: vesa
| [ 39315.756] (WW) Falling back to old probe method for scfb
| [ 39315.756] scfb trace: probe start
| [ 39315.757] (++) Using config file: "/root/xorg.conf.new"
| [ 39315.758] (=3D=3D) ServerLayout "X.org Configured"
| [ 39315.758] (**) |-->Screen "Screen0" (0)
| [ 39315.758] (**) |   |-->Monitor "Monitor0"
| [ 39315.758] (**) |   |-->Device "Card0"
| [ 39315.758] (**) |-->Screen "Screen1" (1)
| [ 39315.758] (**) |   |-->Monitor "Monitor1"
| [ 39315.758] (**) |   |-->Device "Card1"
| [ 39315.758] (**) |-->Input Device "Mouse0"
| [ 39315.758] (**) |-->Input Device "Keyboard0"
| [ 39315.758] (=3D=3D) Automatically adding devices
| [ 39315.758] (=3D=3D) Automatically enabling devices
| [ 39315.758] (=3D=3D) Not automatically adding GPU devices
| [ 39315.758] (=3D=3D) Max clients allowed: 256, resource mask: 0x1fffff
| [ 39315.759] (**) FontPath set to:
| 	/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/,
| 	/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/
| [ 39315.759] (**) ModulePath set to "/usr/local/lib/xorg/modules"
| [ 39315.759] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse'=
 or 'vmmouse' will be disabled.
| [ 39315.759] (WW) Disabling Mouse0
| [ 39315.759] (WW) Disabling Keyboard0
| [ 39315.764] Number of created screens does not match number of detected =
devices.
|   Configuration failed.
| [ 39315.764] (EE) Server terminated with error (2). Closing log file.


> Specifically, to take a bit of a handy Xorg.0.log from my workstation:
>=20
> [   149.338] (EE).
> [   149.338] (EE) Backtrace:
> [...]
> [   149.354] (EE) 7: /usr/local/llvm39/lib/libLLVM-3.9.so (_ZN4llvm2cl6Op=
tion11addArgumentEv+0x7c) [0x809876e8c]
> [   149.361] (EE) 8: /usr/local/llvm34/lib/libLLVM-3.4.so (_ZN4llvm16PPCT=
argetMachine17addAnalysisPassesERNS_6legacy15PassManagerBaseE+0x262) [0x80e=
3901e2]
> [...]
> [   149.375] (EE) 22: /usr/local/bin/X (_start+0x17f) [0x42507f]
> [   149.376] (EE) 23: ? (?+0x17f) [0x80083117f]
> [   149.376] (EE).
> [   149.376] (EE) Segmentation fault at address 0x0
>=20
> It's a pretty good bet that pulling in bits of libLLVM 3.4 and 3.9
> simultaneously is gonna be Really Bad.  The first machine only had the
> LLVM 3.7 that X was previously using, and the new 3.9; uninstalling
> 3.7 made it just pick up working.  On my workstation, I've got 3.4
> onward all installed for testing some stuff, so when I temporarily
> uninstalled 3.4 after the above, it helpfully blew up on 3.5 instead.
> So I wound up having to stash away and pull off everything but 3.9,
> starting X, then re-installing them.

Indeed; had there been a hint of a whine like that, I might have managed
to pick up on it....

That said:

albert(11.0-S)[3] pkg info llvm\*
llvm37-3.7.1_4
llvm39-3.9.1_1
albert(11.0-S)[4]=20

Hmmm....  :-/

Well... might be useful to try to determine what wants the llvm37:

albert(11.0-S)[4] pkg info -r llvm37-3.7.1_4
llvm37-3.7.1_4:
albert(11.0-S)[5]=20

I suppose I could try deleting that, then....

(Since converting the machine from running i386 to amd64 about 1.5 years
ago, the only updates to 3rd-party software have been the weekly "pkg
upgrade" runs, using the local repo that gets populated immediately
prior on the build machine, using poudriere.)

> Something in the X server is getting too durn adventurous looking for
> stuff to link in.

And/or "ambitious."  Yeah; quaint.  <Envisions software looking around
the system like a kid in a candy store....>

> --=20
> Matthew Fuller     (MF4839)   |  fullermd@over-yonder.net
> ...

Thanks; I'll try it.  After all, "What could POSSIBLY go wrong?" :-)

OK; "pkg delete llvm37-3.7.1_4" ran without incident, and didn't attempt
to remove anything else.  Having done that, "xorg -configure" still
fails, with symptoms that appear to be identical to the earlier failure.

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
How could one possibly "respect" a misogynist, racist, bullying con-man??!?

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--CQDko/0aYvuiEzgn
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJYoaeIXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix
NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XPN4H/RP3dTotisPUHkKMnwkLKU04
jpyJEY4GbjX9IGJfX2iUEQNpFm/ABHW9t04mJpEjhBpVapEiOq/09aZjNnZsoUfV
OyzMqglHBtkK6AdMLJ1mCG3feTE1QQRmNANjiktef61cgRXJKwkL2F5qAqg8y7OL
JssYNz1aPC6u6VFfWDL/OfAPMlVdLZtwYro/6MU/RFmXxnomw3L93gFBrDDriZxF
y6dXIsihCE8qB1j8hQOTATAzsSG3ves0WKC+k7mFjDi+sPpwEcY7+vKtkfGEaR2H
xZAyWQl28p52S4DZrMoGFASwTNAqu3yZX1ceIcJ7GwrihocfHK6lvYy1dN/Mp2k=
=mqGC
-----END PGP SIGNATURE-----

--CQDko/0aYvuiEzgn--



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