Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2014 19:52:04 +1000
From:      John Marshall <john.marshall@riverwillow.com.au>
To:        freebsd-x11@freebsd.org
Subject:   Stuck trying to get NEW Xorg working on 9.3-RC2
Message-ID:  <20140704095203.GA5635@rwpc15.gfn.riverwillow.net.au>

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

--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I have been running X for several years on earlier versions of FreeBSD
on this and other systems.  I unwittingly upgraded my IBM T43 notebook
to NEW_XORG following a 9.2-RELEASE --> 9.3-RC1 source upgrade and now
I'm stuck trying to get X working again.

 hw.machine: i386
 hw.model: Intel(R) Pentium(R) M processor 1.73GHz
 kern.version: FreeBSD 9.3-RC2 #0 r267946: Fri Jun 27 21:13:21 AEST 2014
 dev.agp.0.%desc: Intel 82915GM (915GM GMCH) SVGA controller
 dev.agp.0.%driver: agp
 dev.agp.0.%parent: vgapci0
 dev.drm.0.%desc: Intel i915GM
 dev.drm.0.%driver: drm
 dev.drm.0.%parent: vgapci0

 vgapci0@pci0:0:2:0:	class=3D0x030000 card=3D0x05821014 chip=3D0x25928086 r=
ev=3D0x03 hdr=3D0x00
     vendor     =3D 'Intel Corporation'
     device     =3D 'Mobile 915GM/GMS/910GML Express Graphics Controller'
     class      =3D display
     subclass   =3D VGA
 vgapci1@pci0:0:2:1:	class=3D0x038000 card=3D0x05821014 chip=3D0x27928086 r=
ev=3D0x03 hdr=3D0x00
     vendor     =3D 'Intel Corporation'
     device     =3D 'Mobile 915GM/GMS/910GML Express Graphics Controller'
     class      =3D display

I DID NOT have WITH_NEW_XORG in my make.conf when I was running 9.2,
because I thought I'd leave it until I had time to upgrade to FreeBSD
10.  However, it appears that with FreeBSD 9.3 NEW_XORG is now 'opt out'
rather than 'opt in', which means that the absense of WITHOUT_NEW_XORG
in my make.conf volunteered me for NEW_XORG when I updated my ports
following the 9.3-RC1 upgrade.

Being confronted unexpectedly with (a non-working) NEW XORG, I decided
to go ahead and try to get it to work...

 - I found the wiki and saw that I would need vt(4) in my kernel, so I
   replaced sc and vga with vt and vt_vga and rebuilt.  Still no joy.

 - I followed the wiki instructions regarding deleting and reinstalling
   relevant ports.  Still no joy.

 - I eventually hit my notebook with 'pkg delete -fa' and started from
   scratch.  Still no joy.

Obviously I'm missing something.  Any pointers to documentation I
haven't yet found or properly understood would be appreciated.

Xorg -configure fails and produces the following log:

 [ 14678.198]=20
 X.Org X Server 1.12.4
 Release Date: 2012-08-27
 [ 14678.198] X Protocol Version 11, Revision 0
 [ 14678.198] Build Operating System: FreeBSD 9.3-RC2 i386=20
 [ 14678.198] Current Operating System: FreeBSD rwpc08 9.3-RC2 FreeBSD 9.3-=
RC2 #0 r267946: Fri Jun 27 21:13:21 AEST 2014     root@rwpc08:/usr/obj/buil=
d/src/sys/RWPC08 i386
 [ 14678.198] Build Date: 04 July 2014  03:19:34PM
 [ 14678.198] =20
 [ 14678.198] Current version of pixman: 0.32.4
 [ 14678.198] 	Before reporting problems, check http://wiki.x.org
 	to make sure that you have the latest version.
 [ 14678.198] Markers: (--) probed, (**) from config file, (=3D=3D) default=
 setting,
 	(++) from command line, (!!) notice, (II) informational,
 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [ 14678.199] (=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Fri Jul  4 19=
:31:41 2014
 [ 14678.199] (II) Loader magic: 0x81f4860
 [ 14678.199] (II) Module ABI versions:
 [ 14678.199] 	X.Org ANSI C Emulation: 0.4
 [ 14678.199] 	X.Org Video Driver: 12.1
 [ 14678.199] 	X.Org XInput driver : 16.0
 [ 14678.199] 	X.Org Server Extension : 6.0
 [ 14678.199] (--) PCI:*(0:0:2:0) 8086:2592:1014:0582 rev 3, Mem @ 0x900800=
00/524288, 0xb0000000/268435456, 0x90000000/262144, I/O @ 0x00001800/8, BIO=
S @ 0x????????/65536
 [ 14678.199] (--) PCI: (0:0:2:1) 8086:2792:1014:0582 rev 3, Mem @ 0x000000=
00/524288
 [ 14678.199] List of video drivers:
 [ 14678.199] 	intel
 [ 14678.199] (II) LoadModule: "intel"
 [ 14678.200] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
 [ 14678.200] (II) Module intel: vendor=3D"X.Org Foundation"
 [ 14678.200] 	compiled for 1.12.4, module version =3D 2.21.15
 [ 14678.200] 	Module class: X.Org Video Driver
 [ 14678.200] 	ABI class: X.Org Video Driver, version 12.1
 [ 14678.200] (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, HD Graphics,
 	HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
 	HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
 	HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
 	HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
 [ 14678.203] (++) Using config file: "/root/xorg.conf.new"
 [ 14678.203] (=3D=3D) ServerLayout "X.org Configured"
 [ 14678.203] (**) |-->Screen "Screen0" (0)
 [ 14678.203] (**) |   |-->Monitor "Monitor0"
 [ 14678.203] (**) |   |-->Device "Card0"
 [ 14678.203] (**) |-->Screen "Screen1" (1)
 [ 14678.203] (**) |   |-->Monitor "Monitor1"
 [ 14678.203] (**) |   |-->Device "Card1"
 [ 14678.203] (**) |-->Input Device "Mouse0"
 [ 14678.203] (**) |-->Input Device "Keyboard0"
 [ 14678.203] (=3D=3D) Automatically adding devices
 [ 14678.203] (=3D=3D) Automatically enabling devices
 [ 14678.204] (**) FontPath set to:
 	/usr/local/lib/X11/fonts/misc/,
 	/usr/local/lib/X11/fonts/TTF/,
 	/usr/local/lib/X11/fonts/OTF/,
 	/usr/local/lib/X11/fonts/Type1/,
 	/usr/local/lib/X11/fonts/100dpi/,
 	/usr/local/lib/X11/fonts/75dpi/,
 	/usr/local/lib/X11/fonts/misc/,
 	/usr/local/lib/X11/fonts/TTF/,
 	/usr/local/lib/X11/fonts/OTF/,
 	/usr/local/lib/X11/fonts/Type1/,
 	/usr/local/lib/X11/fonts/100dpi/,
 	/usr/local/lib/X11/fonts/75dpi/
 [ 14678.204] (**) ModulePath set to "/usr/local/lib/xorg/modules"
 [ 14678.204] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' =
or 'vmmouse' will be disabled.
 [ 14678.204] (WW) Disabling Mouse0
 [ 14678.204] (WW) Disabling Keyboard0
 [ 14678.206] Number of created screens does not match number of detected d=
evices.
   Configuration failed.
 [ 14678.206] Server terminated with error (2). Closing log file.

Xorg using my old xorg.conf fails to find a screen:

 [ 15565.831]=20
 X.Org X Server 1.12.4
 Release Date: 2012-08-27
 [ 15565.831] X Protocol Version 11, Revision 0
 [ 15565.831] Build Operating System: FreeBSD 9.3-RC2 i386=20
 [ 15565.832] Current Operating System: FreeBSD rwpc08 9.3-RC2 FreeBSD 9.3-=
RC2 #0 r267946: Fri Jun 27 21:13:21 AEST 2014     root@rwpc08:/usr/obj/buil=
d/src/sys/RWPC08 i386
 [ 15565.832] Build Date: 04 July 2014  03:19:34PM
 [ 15565.832] =20
 [ 15565.832] Current version of pixman: 0.32.4
 [ 15565.832] 	Before reporting problems, check http://wiki.x.org
 	to make sure that you have the latest version.
 [ 15565.832] Markers: (--) probed, (**) from config file, (=3D=3D) default=
 setting,
 	(++) from command line, (!!) notice, (II) informational,
 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [ 15565.832] (=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Fri Jul  4 19=
:46:29 2014
 [ 15565.832] (++) Using config file: "/usr/local/etc/X11/xorg.conf"
 [ 15565.832] (**) Option "defaultserverlayout" "MBY Docked"
 [ 15565.832] (**) ServerLayout "MBY Docked"
 [ 15565.832] (**) |-->Screen "MBY Desk" (0)
 [ 15565.832] (**) |   |-->Monitor "SyncMaster740N"
 [ 15565.832] (**) |   |-->Device "Intel i915GM"
 [ 15565.832] (**) Option "DontZap" "off"
 [ 15565.832] (=3D=3D) Automatically adding devices
 [ 15565.833] (=3D=3D) Automatically enabling devices
 [ 15565.833] (WW) The directory "/usr/local/lib/X11/fonts/URW/" does not e=
xist.
 [ 15565.833] 	Entry deleted from font path.
 [ 15565.833] (WW) The directory "/usr/local/lib/X11/fonts/bitstream-vera/"=
 does not exist.
 [ 15565.833] 	Entry deleted from font path.
 [ 15565.833] (WW) The directory "/usr/local/lib/X11/fonts/webfonts/" does =
not exist.
 [ 15565.833] 	Entry deleted from font path.
 [ 15565.833] (**) FontPath set to:
 	/usr/local/lib/X11/fonts/dejavu/,
 	/usr/local/lib/X11/fonts/misc/,
 	/usr/local/lib/X11/fonts/TTF/,
 	/usr/local/lib/X11/fonts/OTF/,
 	/usr/local/lib/X11/fonts/Type1/,
 	/usr/local/lib/X11/fonts/100dpi/,
 	/usr/local/lib/X11/fonts/75dpi/
 [ 15565.833] (=3D=3D) ModulePath set to "/usr/local/lib/xorg/modules"
 [ 15565.833] (II) The server relies on HAL to provide the list of input de=
vices.
 	If no devices become available, reconfigure HAL or disable AutoAddDevices.
 [ 15565.833] (II) Loader magic: 0x81f4860
 [ 15565.833] (II) Module ABI versions:
 [ 15565.833] 	X.Org ANSI C Emulation: 0.4
 [ 15565.833] 	X.Org Video Driver: 12.1
 [ 15565.833] 	X.Org XInput driver : 16.0
 [ 15565.833] 	X.Org Server Extension : 6.0
 [ 15565.833] (--) PCI:*(0:0:2:0) 8086:2592:1014:0582 rev 3, Mem @ 0x900800=
00/524288, 0xb0000000/268435456, 0x90000000/262144, I/O @ 0x00001800/8, BIO=
S @ 0x????????/65536
 [ 15565.833] (--) PCI: (0:0:2:1) 8086:2792:1014:0582 rev 3, Mem @ 0x000000=
00/524288
 [ 15565.833] (II) LoadModule: "extmod"
 [ 15565.833] (II) Loading /usr/local/lib/xorg/modules/extensions/libextmod=
=2Eso
 [ 15565.834] (II) Module extmod: vendor=3D"X.Org Foundation"
 [ 15565.834] 	compiled for 1.12.4, module version =3D 1.0.0
 [ 15565.834] 	Module class: X.Org Server Extension
 [ 15565.834] 	ABI class: X.Org Server Extension, version 6.0
 [ 15565.834] (II) Loading extension MIT-SCREEN-SAVER
 [ 15565.834] (II) Loading extension XFree86-VidModeExtension
 [ 15565.834] (II) Loading extension XFree86-DGA
 [ 15565.834] (II) Loading extension DPMS
 [ 15565.834] (II) Loading extension XVideo
 [ 15565.834] (II) Loading extension XVideo-MotionCompensation
 [ 15565.834] (II) Loading extension X-Resource
 [ 15565.834] (II) LoadModule: "dbe"
 [ 15565.834] (II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so
 [ 15565.834] (II) Module dbe: vendor=3D"X.Org Foundation"
 [ 15565.834] 	compiled for 1.12.4, module version =3D 1.0.0
 [ 15565.834] 	Module class: X.Org Server Extension
 [ 15565.834] 	ABI class: X.Org Server Extension, version 6.0
 [ 15565.834] (II) Loading extension DOUBLE-BUFFER
 [ 15565.834] (II) LoadModule: "glx"
 [ 15565.834] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
 [ 15565.834] (II) Module glx: vendor=3D"X.Org Foundation"
 [ 15565.834] 	compiled for 1.12.4, module version =3D 1.0.0
 [ 15565.834] 	ABI class: X.Org Server Extension, version 6.0
 [ 15565.834] (=3D=3D) AIGLX enabled
 [ 15565.834] (II) Loading extension GLX
 [ 15565.834] (II) LoadModule: "record"
 [ 15565.835] (II) Loading /usr/local/lib/xorg/modules/extensions/librecord=
=2Eso
 [ 15565.835] (II) Module record: vendor=3D"X.Org Foundation"
 [ 15565.835] 	compiled for 1.12.4, module version =3D 1.13.0
 [ 15565.835] 	Module class: X.Org Server Extension
 [ 15565.835] 	ABI class: X.Org Server Extension, version 6.0
 [ 15565.835] (II) Loading extension RECORD
 [ 15565.835] (II) LoadModule: "dri"
 [ 15565.835] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so
 [ 15565.835] (II) Module dri: vendor=3D"X.Org Foundation"
 [ 15565.835] 	compiled for 1.12.4, module version =3D 1.0.0
 [ 15565.835] 	ABI class: X.Org Server Extension, version 6.0
 [ 15565.835] (II) Loading extension XFree86-DRI
 [ 15565.835] (II) LoadModule: "dri2"
 [ 15565.835] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so
 [ 15565.835] (II) Module dri2: vendor=3D"X.Org Foundation"
 [ 15565.835] 	compiled for 1.12.4, module version =3D 1.2.0
 [ 15565.835] 	ABI class: X.Org Server Extension, version 6.0
 [ 15565.835] (II) Loading extension DRI2
 [ 15565.835] (II) LoadModule: "intel"
 [ 15565.836] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
 [ 15565.836] (II) Module intel: vendor=3D"X.Org Foundation"
 [ 15565.836] 	compiled for 1.12.4, module version =3D 2.21.15
 [ 15565.836] 	Module class: X.Org Video Driver
 [ 15565.836] 	ABI class: X.Org Video Driver, version 12.1
 [ 15565.836] (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, HD Graphics,
 	HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
 	HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
 	HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
 	HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
 [ 15565.837] (--) Using syscons driver with X support (version 2.0)
 [ 15565.837] (--) using VT number 9

 [ 15565.879] drmOpenDevice: node name is /dev/dri/card0
 [ 15565.879] drmOpenDevice: open result is 10, (OK)
 [ 15565.879] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
 [ 15565.879] drmOpenDevice: node name is /dev/dri/card0
 [ 15565.879] drmOpenDevice: open result is 10, (OK)
 [ 15565.879] drmOpenByBusid: drmOpenMinor returns 10
 [ 15565.879] drmOpenByBusid: Interface 1.4 failed, trying 1.1
 [ 15565.879] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
 [ 15565.879] (EE) No devices detected.
 [ 15565.879]=20
 Fatal server error:
 [ 15565.879] no screens found
 [ 15565.879]=20
 Please consult the The X.Org Foundation support=20
 	 at http://wiki.x.org
  for help.=20
 [ 15565.879] Please also check the log file at "/var/log/Xorg.0.log" for a=
dditional information.
 [ 15565.879]=20
 [ 15565.939] Server terminated with error (1). Closing log file.

--=20
John Marshall

--opJtzjQTFsWo+cga
Content-Type: application/pgp-signature

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

iEYEARECAAYFAlO2eUMACgkQw/tAaKKahKKfuACfd8VGqwx0p7xZ/w2g8STYoY9/
PI0An0pDDMBTetKoNzvnx1ZinXscPhjj
=HSbh
-----END PGP SIGNATURE-----

--opJtzjQTFsWo+cga--



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