Stuck trying to get NEW Xorg working on 9.3-RC2

John Marshall john.marshall at riverwillow.com.au
Fri Jul 4 09:52:15 UTC 2014


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 at pci0:0:2:0:	class=0x030000 card=0x05821014 chip=0x25928086 rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'Mobile 915GM/GMS/910GML Express Graphics Controller'
     class      = display
     subclass   = VGA
 vgapci1 at pci0:0:2:1:	class=0x038000 card=0x05821014 chip=0x27928086 rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'Mobile 915GM/GMS/910GML Express Graphics Controller'
     class      = 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] 
 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 
 [ 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 at rwpc08:/usr/obj/build/src/sys/RWPC08 i386
 [ 14678.198] Build Date: 04 July 2014  03:19:34PM
 [ 14678.198]  
 [ 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, (==) default setting,
 	(++) from command line, (!!) notice, (II) informational,
 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [ 14678.199] (==) 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 @ 0x90080000/524288, 0xb0000000/268435456, 0x90000000/262144, I/O @ 0x00001800/8, BIOS @ 0x????????/65536
 [ 14678.199] (--) PCI: (0:0:2:1) 8086:2792:1014:0582 rev 3, Mem @ 0x00000000/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="X.Org Foundation"
 [ 14678.200] 	compiled for 1.12.4, module version = 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] (==) 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] (==) Automatically adding devices
 [ 14678.203] (==) 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 devices.
   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] 
 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 
 [ 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 at rwpc08:/usr/obj/build/src/sys/RWPC08 i386
 [ 15565.832] Build Date: 04 July 2014  03:19:34PM
 [ 15565.832]  
 [ 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, (==) default setting,
 	(++) from command line, (!!) notice, (II) informational,
 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [ 15565.832] (==) 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] (==) Automatically adding devices
 [ 15565.833] (==) Automatically enabling devices
 [ 15565.833] (WW) The directory "/usr/local/lib/X11/fonts/URW/" does not exist.
 [ 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] (==) ModulePath set to "/usr/local/lib/xorg/modules"
 [ 15565.833] (II) The server relies on HAL to provide the list of input devices.
 	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 @ 0x90080000/524288, 0xb0000000/268435456, 0x90000000/262144, I/O @ 0x00001800/8, BIOS @ 0x????????/65536
 [ 15565.833] (--) PCI: (0:0:2:1) 8086:2792:1014:0582 rev 3, Mem @ 0x00000000/524288
 [ 15565.833] (II) LoadModule: "extmod"
 [ 15565.833] (II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so
 [ 15565.834] (II) Module extmod: vendor="X.Org Foundation"
 [ 15565.834] 	compiled for 1.12.4, module version = 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="X.Org Foundation"
 [ 15565.834] 	compiled for 1.12.4, module version = 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="X.Org Foundation"
 [ 15565.834] 	compiled for 1.12.4, module version = 1.0.0
 [ 15565.834] 	ABI class: X.Org Server Extension, version 6.0
 [ 15565.834] (==) AIGLX enabled
 [ 15565.834] (II) Loading extension GLX
 [ 15565.834] (II) LoadModule: "record"
 [ 15565.835] (II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so
 [ 15565.835] (II) Module record: vendor="X.Org Foundation"
 [ 15565.835] 	compiled for 1.12.4, module version = 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="X.Org Foundation"
 [ 15565.835] 	compiled for 1.12.4, module version = 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="X.Org Foundation"
 [ 15565.835] 	compiled for 1.12.4, module version = 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="X.Org Foundation"
 [ 15565.836] 	compiled for 1.12.4, module version = 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] 
 Fatal server error:
 [ 15565.879] no screens found
 [ 15565.879] 
 Please consult the The X.Org Foundation support 
 	 at http://wiki.x.org
  for help. 
 [ 15565.879] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
 [ 15565.879] 
 [ 15565.939] Server terminated with error (1). Closing log file.

-- 
John Marshall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20140704/e8d9c22e/attachment.sig>


More information about the freebsd-x11 mailing list