Failure to Configure and Run X, startx

Chris Nicol nicolc at uleth.ca
Wed Apr 29 18:22:01 UTC 2020


Dear x11,

I have recently installed FreeBSD 12.1 on a Sun Microsystems SunBlade 
100. After some wrestling with a couple of issues, I have compiled and 
installed x11/xorg from /usr/ports.  startx does not automatically 
configure this setup, so I generated an initial xorg.conf.new from Xorg 
-configure.

Here are the first two lines of the x11/xorg Makefile:

# Created by: Eric Anholt <anholt at FreeBSD.org>
# $FreeBSD: head/x11/xorg/Makefile 448082 2017-08-17 08:26:25Z bapt $

Here is the xorg.config.new file content:

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/local/lib/xorg/modules"
	FontPath     "/usr/local/share/fonts/misc/"
	FontPath     "/usr/local/share/fonts/TTF/"
	FontPath     "/usr/local/share/fonts/OTF/"
	FontPath     "/usr/local/share/fonts/Type1/"
	FontPath     "/usr/local/share/fonts/100dpi/"
	FontPath     "/usr/local/share/fonts/75dpi/"
	FontPath     "catalogue:/usr/local/etc/X11/fontpath.d"
EndSection

Section "Module"
	Load  "dri"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
#	HorizSync	30-83	#	kHz
#	VertRefresh	50-60	#	Hz
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
         ### <percent>: "<f>%"
         ### [arg]: arg optional
         #Option     "probe_sparse"       	# [<bool>]
         Option      "accel"              	# [<bool>]
         #Option     "crt_display"        	# [<bool>]
         #Option     "composite_sync"     	# [<bool>]
         #Option     "hw_cursor"          	# [<bool>]
         #Option     "force_pci_mode"     	# [<bool>]
         #Option     "dma_mode"           	# <str>
         #Option     "agp_mode"           	# <i>
         #Option     "agp_size"           	# <i>
         #Option     "local_textures"     	# [<bool>]
         #Option     "buffer_size"        	# <i>
         #Option     "mmio_cache"         	# [<bool>]
         #Option     "test_mmio_cache"    	# [<bool>]
         #Option     "panel_display"      	# [<bool>]
         #Option     "reference_clock"    	# <freq>
         #Option     "shadow_fb"          	# [<bool>]
         #Option     "sw_cursor"          	# [<bool>]
         #Option     "AccelMethod"        	# <str>
         #Option     "RenderAccel"        	# [<bool>]
	Identifier  "Card0"
	Driver      "mach64"
	Option      "UseFBDev" "true"	
	BusID       "PCI:0:19:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
	Modes	"1024x768"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

AND here is the Xorg.0.log file when running

[ 95765.611]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[ 95765.612] Build Operating System: FreeBSD 12.1-RELEASE sparc64
[ 95765.612] Current Operating System: FreeBSD phonix 12.1-RELEASE 
FreeBSD 12.1-RELEASE r354233 GENERIC sparc64
[ 95765.617] Build Date: 24 April 2020  10:17:07AM
[ 95765.617]
[ 95765.617] Current version of pixman: 0.38.4
[ 95765.618] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 95765.618] Markers: (--) probed, (**) from config file, (==) default 
setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 95765.619] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 27 
22:42:07 2020
[ 95765.804] (++) Using config file: "xorg.conf.new.old"
[ 95765.804] (==) Using system config directory 
"/usr/local/share/X11/xorg.conf.d"
[ 95765.910] (==) ServerLayout "X.org Configured"
[ 95765.910] (**) |-->Screen "Screen0" (0)
[ 95765.910] (**) |   |-->Monitor "Monitor0"
[ 95765.937] (**) |   |-->Device "Card0"
[ 95765.938] (**) |-->Input Device "Mouse0"
[ 95765.939] (**) |-->Input Device "Keyboard0"
[ 95765.939] (==) Automatically adding devices
[ 95765.939] (==) Automatically enabling devices
[ 95765.939] (==) Not automatically adding GPU devices
[ 95765.939] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 95766.194] (**) 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/,
	catalogue:/usr/local/etc/X11/fontpath.d,
	/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/,
	catalogue:/usr/local/etc/X11/fontpath.d
[ 95766.194] (**) ModulePath set to "/usr/local/lib/xorg/modules"
[ 95766.195] (WW) Hotplugging is on, devices using drivers 'kbd', 
'mouse' or 'vmmouse' will be disabled.
[ 95766.195] (WW) Disabling Mouse0
[ 95766.195] (WW) Disabling Keyboard0
[ 95766.211] (II) Loader magic: 0x425ab0
[ 95766.212] (II) Module ABI versions:
[ 95766.212] 	X.Org ANSI C Emulation: 0.4
[ 95766.212] 	X.Org Video Driver: 24.1
[ 95766.212] 	X.Org XInput driver : 24.1
[ 95766.212] 	X.Org Server Extension : 10.0
[ 95766.218] (--) PCI: (0 at 0:19:0) 1002:4752:0000:0000 rev 39, Mem @ 
0x03000000/16777216, 0x00426000/4096, I/O @ 0x00000b00/256, BIOS @ 
0x????????/65536
[ 95766.306] (II) "glx" will be loaded. This was enabled by default and 
also specified in the config file.
[ 95766.307] (II) LoadModule: "dri"
[ 95766.308] (II) Module "dri" already built-in
[ 95766.308] (II) LoadModule: "glx"
[ 95766.351] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 95766.686] (II) Module glx: vendor="X.Org Foundation"
[ 95766.686] 	compiled for 1.20.8, module version = 1.0.0
[ 95766.686] 	ABI class: X.Org Server Extension, version 10.0
[ 95766.707] (II) LoadModule: "mach64"
[ 95766.708] (II) Loading /usr/local/lib/xorg/modules/drivers/mach64_drv.so
[ 95766.718] (II) Module mach64: vendor="X.Org Foundation"
[ 95766.718] 	compiled for 1.20.8, module version = 6.9.6
[ 95766.719] 	Module class: X.Org Video Driver
[ 95766.719] 	ABI class: X.Org Video Driver, version 24.1
[ 95766.719] (II) MACH64: Driver for ATI Mach64 chipsets
[ 95766.720] (--) Using syscons driver with X support (version 
8589952054.128)
[ 95766.720] (--) using VT number 9

[ 95766.723] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card 
support
[ 95766.726] (==) MACH64(0): Depth 24, (--) framebuffer bpp 32
[ 95766.728] (**) MACH64(0): Option "accel"
[ 95766.729] (==) MACH64(0): Using XAA acceleration architecture
[ 95766.729] (II) MACH64: Mach64 in slot 0:19:0 detected.
[ 95766.730] (II) MACH64(0): BIOS Data:  BIOSSize=0x0000, ROMTable=0x0000.
[ 95766.730] (II) MACH64(0): BIOS Data:  ClockTable=0x0000, 
FrequencyTable=0x0000.
[ 95766.730] (II) MACH64(0): BIOS Data:  LCDTable=0x0000.
[ 95766.730] (II) MACH64(0): BIOS Data:  VideoTable=0x0000, 
HardwareTable=0x0000.
[ 95766.730] (II) MACH64(0): BIOS Data:  I2CType=0x00, Tuner=0x00, 
Decoder=0x00, Audio=0x0F.
[ 95766.731] (--) MACH64(0): ATI 3D Rage XL or XC graphics controller 
detected.
[ 95766.731] (--) MACH64(0): Chip type 4752 "GR", version 7, foundry 
TSMC, class 0, revision 0x00.
[ 95766.731] (--) MACH64(0): PCI bus interface detected.
[ 95766.731] (--) MACH64(0): ATI Mach64 adapter detected.
[ 95766.731] (!!) MACH64(0): For information on using the multimedia 
capabilities
	of this adapter, please see http://gatos.sf.net.
[ 95766.731] (--) MACH64(0): Internal RAMDAC (subtype 1) detected.
[ 95766.731] (==) MACH64(0): RGB weight 888
[ 95766.732] (==) MACH64(0): Default visual is TrueColor
[ 95766.732] (==) MACH64(0): Using gamma correction (1.0, 1.0, 1.0)
[ 95766.732] (II) MACH64(0): Using Mach64 accelerator CRTC.
[ 95766.732] (II) MACH64(0): Storing hardware cursor image at 0x037FFC00.
[ 95766.732] (II) MACH64(0): Using 8 MB linear aperture at 0x03800000.
[ 95766.732] (!!) MACH64(0): Virtual resolutions will be limited to 8191 kB
  due to linear aperture size and/or placement of hardware cursor image 
area.
[ 95766.732] (II) MACH64(0): Using Block 0 MMIO aperture at 0x00426400.
[ 95766.732] (II) MACH64(0): Using Block 1 MMIO aperture at 0x00426000.
[ 95766.734] (II) MACH64(0): MMIO write caching enabled.
[ 95766.734] (--) MACH64(0): 8192 kB of SDRAM (1:1) detected (using 8191 
kB).
[ 95766.734] (WW) MACH64(0): Cannot shadow an accelerated frame buffer.
[ 95766.734] (II) MACH64(0): Engine XCLK 55.707 MHz;  Refresh rate code 10.
[ 95766.734] (--) MACH64(0): Internal programmable clock generator detected.
[ 95766.734] (--) MACH64(0): Reference clock 157.5/11 (14.318) MHz.
[ 95766.734] (II) MACH64(0): If modes do not work on Ultra 5/10 or Blade 
100/150,
	set option "reference_clock" to "28.636 MHz" or "29.5 MHz"
[ 95766.735] (II) MACH64(0): Monitor0: Using default hsync range of 
31.50-48.00 kHz
[ 95766.735] (II) MACH64(0): Monitor0: Using default vrefresh range of 
50.00-70.00 Hz
[ 95766.735] (II) MACH64(0): Monitor0: Using default maximum pixel clock 
of 65.00 MHz
[ 95766.735] (WW) MACH64(0): Unable to estimate virtual size
[ 95766.735] (II) MACH64(0): Maximum clock: 111.00 MHz
[ 95766.735] (II) MACH64(0): Not using default mode "640x350" (vrefresh 
out of range)
[ 95766.735] (II) MACH64(0): Not using default mode "320x175" (vrefresh 
out of range)
[ 95766.736] (II) MACH64(0): Not using default mode "640x400" (vrefresh 
out of range)
[ 95766.736] (II) MACH64(0): Not using default mode "320x200" (vrefresh 
out of range)
[ 95766.736] (II) MACH64(0): Not using default mode "720x400" (vrefresh 
out of range)
[ 95766.736] (II) MACH64(0): Not using default mode "360x200" (vrefresh 
out of range)
[ 95766.736] (II) MACH64(0): Not using default mode "640x480" (vrefresh 
out of range)
[ 95766.736] (II) MACH64(0): Not using default mode "320x240" (vrefresh 
out of range)
[ 95766.736] (II) MACH64(0): Not using default mode "640x480" (vrefresh 
out of range)
[ 95766.737] (II) MACH64(0): Not using default mode "320x240" (vrefresh 
out of range)
[ 95766.737] (II) MACH64(0): Not using default mode "640x480" (vrefresh 
out of range)
[ 95766.737] (II) MACH64(0): Not using default mode "320x240" (vrefresh 
out of range)
[ 95766.737] (II) MACH64(0): Not using default mode "800x600" (vrefresh 
out of range)
[ 95766.737] (II) MACH64(0): Not using default mode "400x300" (vrefresh 
out of range)
[ 95766.737] (II) MACH64(0): Not using default mode "800x600" (vrefresh 
out of range)
[ 95766.737] (II) MACH64(0): Not using default mode "400x300" (vrefresh 
out of range)
[ 95766.737] (II) MACH64(0): Not using default mode "800x600" (hsync out 
of range)
[ 95766.738] (II) MACH64(0): Not using default mode "400x300" (hsync out 
of range)
[ 95766.738] (II) MACH64(0): Not using default mode "1024x768i" 
(vrefresh out of range)
[ 95766.738] (II) MACH64(0): Not using default mode "512x384i" (vrefresh 
out of range)
[ 95766.738] (II) MACH64(0): Not using default mode "1024x768" (hsync 
out of range)
[ 95766.738] (II) MACH64(0): Not using default mode "512x384" (hsync out 
of range)
[ 95766.738] (II) MACH64(0): Not using default mode "1024x768" (hsync 
out of range)
[ 95766.738] (II) MACH64(0): Not using default mode "512x384" (hsync out 
of range)
[ 95766.739] (II) MACH64(0): Not using default mode "1024x768" (hsync 
out of range)
[ 95766.739] (II) MACH64(0): Not using default mode "512x384" (hsync out 
of range)
[ 95766.739] (II) MACH64(0): Not using default mode "1152x864" (hsync 
out of range)
[ 95766.739] (II) MACH64(0): Not using default mode "576x432" (hsync out 
of range)
[ 95766.739] (II) MACH64(0): Not using default mode "1280x960" (hsync 
out of range)
[ 95766.739] (II) MACH64(0): Not using default mode "640x480" (hsync out 
of range)
[ 95766.739] (II) MACH64(0): Not using default mode "1280x960" (bad mode 
clock/interlace/doublescan)
[ 95766.739] (II) MACH64(0): Not using default mode "640x480" (hsync out 
of range)
[ 95766.740] (II) MACH64(0): Not using default mode "1280x1024" (hsync 
out of range)
[ 95766.740] (II) MACH64(0): Not using default mode "640x512" (hsync out 
of range)
[ 95766.740] (II) MACH64(0): Not using default mode "1280x1024" (bad 
mode clock/interlace/doublescan)
[ 95766.740] (II) MACH64(0): Not using default mode "640x512" (hsync out 
of range)
[ 95766.740] (II) MACH64(0): Not using default mode "1280x1024" (bad 
mode clock/interlace/doublescan)
[ 95766.740] (II) MACH64(0): Not using default mode "640x512" (hsync out 
of range)
[ 95766.740] (II) MACH64(0): Not using default mode "1600x1200" (bad 
mode clock/interlace/doublescan)
[ 95766.740] (II) MACH64(0): Not using default mode "800x600" (hsync out 
of range)
[ 95766.741] (II) MACH64(0): Not using default mode "1600x1200" (bad 
mode clock/interlace/doublescan)
[ 95766.741] (II) MACH64(0): Not using default mode "800x600" (hsync out 
of range)
[ 95766.741] (II) MACH64(0): Not using default mode "1600x1200" (bad 
mode clock/interlace/doublescan)
[ 95766.741] (II) MACH64(0): Not using default mode "800x600" (hsync out 
of range)
[ 95766.741] (II) MACH64(0): Not using default mode "1600x1200" (bad 
mode clock/interlace/doublescan)
[ 95766.741] (II) MACH64(0): Not using default mode "800x600" (hsync out 
of range)
[ 95766.741] (II) MACH64(0): Not using default mode "1600x1200" (bad 
mode clock/interlace/doublescan)
[ 95766.741] (II) MACH64(0): Not using default mode "800x600" (bad mode 
clock/interlace/doublescan)
[ 95766.742] (II) MACH64(0): Not using default mode "1792x1344" 
(insufficient memory for mode)
[ 95766.742] (II) MACH64(0): Not using default mode "896x672" (hsync out 
of range)
[ 95766.742] (II) MACH64(0): Not using default mode "1792x1344" 
(insufficient memory for mode)
[ 95766.742] (II) MACH64(0): Not using default mode "896x672" (bad mode 
clock/interlace/doublescan)
[ 95766.742] (II) MACH64(0): Not using default mode "1856x1392" 
(insufficient memory for mode)
[ 95766.742] (II) MACH64(0): Not using default mode "928x696" (hsync out 
of range)
[ 95766.742] (II) MACH64(0): Not using default mode "1856x1392" 
(insufficient memory for mode)
[ 95766.742] (II) MACH64(0): Not using default mode "928x696" (bad mode 
clock/interlace/doublescan)
[ 95766.743] (II) MACH64(0): Not using default mode "1920x1440" 
(insufficient memory for mode)
[ 95766.743] (II) MACH64(0): Not using default mode "960x720" (bad mode 
clock/interlace/doublescan)
[ 95766.743] (II) MACH64(0): Not using default mode "1920x1440" 
(insufficient memory for mode)
[ 95766.743] (II) MACH64(0): Not using default mode "960x720" (bad mode 
clock/interlace/doublescan)
[ 95766.743] (II) MACH64(0): Not using default mode "832x624" (hsync out 
of range)
[ 95766.743] (II) MACH64(0): Not using default mode "416x312" (hsync out 
of range)
[ 95766.743] (II) MACH64(0): Not using default mode "1400x1050" (bad 
mode clock/interlace/doublescan)
[ 95766.743] (II) MACH64(0): Not using default mode "700x525" (hsync out 
of range)
[ 95766.743] (II) MACH64(0): Not using default mode "1400x1050" (bad 
mode clock/interlace/doublescan)
[ 95766.744] (II) MACH64(0): Not using default mode "700x525" (hsync out 
of range)
[ 95766.744] (II) MACH64(0): Not using default mode "1920x1440" 
(insufficient memory for mode)
[ 95766.744] (II) MACH64(0): Not using default mode "960x720" (bad mode 
clock/interlace/doublescan)
[ 95766.744] (II) MACH64(0): Not using default mode "2048x1536" 
(insufficient memory for mode)
[ 95766.744] (II) MACH64(0): Not using default mode "1024x768" (bad mode 
clock/interlace/doublescan)
[ 95766.744] (II) MACH64(0): Not using default mode "2048x1536" 
(insufficient memory for mode)
[ 95766.744] (II) MACH64(0): Not using default mode "1024x768" (bad mode 
clock/interlace/doublescan)
[ 95766.745] (II) MACH64(0): Not using default mode "2048x1536" 
(insufficient memory for mode)
[ 95766.745] (II) MACH64(0): Not using default mode "1024x768" (bad mode 
clock/interlace/doublescan)
[ 95766.745] (II) MACH64(0): Not using default mode "640x360" (hsync out 
of range)
[ 95766.745] (II) MACH64(0): Not using default mode "320x180" (hsync out 
of range)
[ 95766.745] (II) MACH64(0): Not using default mode "640x360" (hsync out 
of range)
[ 95766.745] (II) MACH64(0): Not using default mode "320x180" (hsync out 
of range)
[ 95766.745] (II) MACH64(0): Not using default mode "720x405" (hsync out 
of range)
[ 95766.745] (II) MACH64(0): Not using default mode "360x202" (hsync out 
of range)
[ 95766.746] (II) MACH64(0): Not using default mode "720x405" (hsync out 
of range)
[ 95766.746] (II) MACH64(0): Not using default mode "360x202" (hsync out 
of range)
[ 95766.746] (II) MACH64(0): Not using default mode "864x486" (hsync out 
of range)
[ 95766.746] (II) MACH64(0): Not using default mode "432x243" (hsync out 
of range)
[ 95766.746] (II) MACH64(0): Not using default mode "864x486" (hsync out 
of range)
[ 95766.746] (II) MACH64(0): Not using default mode "432x243" (hsync out 
of range)
[ 95766.746] (II) MACH64(0): Not using default mode "960x540" (monitor 
doesn't support reduced blanking)
[ 95766.746] (II) MACH64(0): Not using default mode "1024x576" (monitor 
doesn't support reduced blanking)
[ 95766.747] (II) MACH64(0): Not using default mode "1280x720" (monitor 
doesn't support reduced blanking)
[ 95766.747] (II) MACH64(0): Not using default mode "1280x720" (mode 
clock too high)
[ 95766.747] (II) MACH64(0): Not using default mode "1368x768" (monitor 
doesn't support reduced blanking)
[ 95766.747] (II) MACH64(0): Not using default mode "1368x768" (mode 
clock too high)
[ 95766.747] (II) MACH64(0): Not using default mode "1600x900" (hsync 
out of range)
[ 95766.747] (II) MACH64(0): Not using default mode "800x450" (hsync out 
of range)
[ 95766.747] (II) MACH64(0): Not using default mode "1600x900" (bad mode 
clock/interlace/doublescan)
[ 95766.747] (II) MACH64(0): Not using default mode "800x450" (hsync out 
of range)
[ 95766.748] (II) MACH64(0): Not using default mode "1920x1080" (bad 
mode clock/interlace/doublescan)
[ 95766.748] (II) MACH64(0): Not using default mode "960x540" (hsync out 
of range)
[ 95766.748] (II) MACH64(0): Not using default mode "1920x1080" (bad 
mode clock/interlace/doublescan)
[ 95766.748] (II) MACH64(0): Not using default mode "960x540" (hsync out 
of range)
[ 95766.748] (II) MACH64(0): Not using default mode "2048x1152" 
(insufficient memory for mode)
[ 95766.748] (II) MACH64(0): Not using default mode "1024x576" (hsync 
out of range)
[ 95766.748] (II) MACH64(0): Not using default mode "2048x1152" 
(insufficient memory for mode)
[ 95766.748] (II) MACH64(0): Not using default mode "1024x576" (hsync 
out of range)
[ 95766.749] (II) MACH64(0): Not using default mode "2560x1440" 
(insufficient memory for mode)
[ 95766.749] (II) MACH64(0): Not using default mode "1280x720" (bad mode 
clock/interlace/doublescan)
[ 95766.749] (II) MACH64(0): Not using default mode "2560x1440" 
(insufficient memory for mode)
[ 95766.749] (II) MACH64(0): Not using default mode "1280x720" (bad mode 
clock/interlace/doublescan)
[ 95766.749] (II) MACH64(0): Not using default mode "2880x1620" 
(insufficient memory for mode)
[ 95766.749] (II) MACH64(0): Not using default mode "1440x810" (bad mode 
clock/interlace/doublescan)
[ 95766.749] (II) MACH64(0): Not using default mode "2880x1620" 
(insufficient memory for mode)
[ 95766.749] (II) MACH64(0): Not using default mode "1440x810" (bad mode 
clock/interlace/doublescan)
[ 95766.750] (II) MACH64(0): Not using default mode "3200x1800" 
(insufficient memory for mode)
[ 95766.750] (II) MACH64(0): Not using default mode "1600x900" (bad mode 
clock/interlace/doublescan)
[ 95766.750] (II) MACH64(0): Not using default mode "3200x1800" 
(insufficient memory for mode)
[ 95766.750] (II) MACH64(0): Not using default mode "1600x900" (bad mode 
clock/interlace/doublescan)
[ 95766.750] (II) MACH64(0): Not using default mode "3840x2160" 
(insufficient memory for mode)
[ 95766.750] (II) MACH64(0): Not using default mode "1920x1080" (bad 
mode clock/interlace/doublescan)
[ 95766.750] (II) MACH64(0): Not using default mode "3840x2160" 
(insufficient memory for mode)
[ 95766.750] (II) MACH64(0): Not using default mode "1920x1080" (bad 
mode clock/interlace/doublescan)
[ 95766.751] (II) MACH64(0): Not using default mode "4096x2304" 
(insufficient memory for mode)
[ 95766.751] (II) MACH64(0): Not using default mode "2048x1152" 
(insufficient memory for mode)
[ 95766.751] (II) MACH64(0): Not using default mode "4096x2304" 
(insufficient memory for mode)
[ 95766.751] (II) MACH64(0): Not using default mode "2048x1152" 
(insufficient memory for mode)
[ 95766.751] (II) MACH64(0): Not using default mode "5120x2880" 
(insufficient memory for mode)
[ 95766.751] (II) MACH64(0): Not using default mode "2560x1440" 
(insufficient memory for mode)
[ 95766.751] (II) MACH64(0): Not using default mode "5120x2880" 
(insufficient memory for mode)
[ 95766.751] (II) MACH64(0): Not using default mode "2560x1440" 
(insufficient memory for mode)
[ 95766.752] (II) MACH64(0): Not using default mode "7680x4320" 
(insufficient memory for mode)
[ 95766.752] (II) MACH64(0): Not using default mode "3840x2160" 
(insufficient memory for mode)
[ 95766.752] (II) MACH64(0): Not using default mode "7680x4320" 
(insufficient memory for mode)
[ 95766.752] (II) MACH64(0): Not using default mode "3840x2160" 
(insufficient memory for mode)
[ 95766.752] (II) MACH64(0): Not using default mode "15360x8640" 
(insufficient memory for mode)
[ 95766.752] (II) MACH64(0): Not using default mode "7680x4320" 
(insufficient memory for mode)
[ 95766.752] (II) MACH64(0): Not using default mode "15360x8640" 
(insufficient memory for mode)
[ 95766.752] (II) MACH64(0): Not using default mode "7680x4320" 
(insufficient memory for mode)
[ 95766.753] (II) MACH64(0): Not using default mode "1280x800" (hsync 
out of range)
[ 95766.753] (II) MACH64(0): Not using default mode "640x400" (hsync out 
of range)
[ 95766.753] (II) MACH64(0): Not using default mode "1280x800" (hsync 
out of range)
[ 95766.753] (II) MACH64(0): Not using default mode "640x400" (hsync out 
of range)
[ 95766.753] (II) MACH64(0): Not using default mode "1400x900" (hsync 
out of range)
[ 95766.753] (II) MACH64(0): Not using default mode "700x450" (hsync out 
of range)
[ 95766.753] (II) MACH64(0): Not using default mode "1400x900" (hsync 
out of range)
[ 95766.753] (II) MACH64(0): Not using default mode "700x450" (hsync out 
of range)
[ 95766.754] (II) MACH64(0): Not using default mode "1680x1050" (bad 
mode clock/interlace/doublescan)
[ 95766.754] (II) MACH64(0): Not using default mode "840x525" (hsync out 
of range)
[ 95766.754] (II) MACH64(0): Not using default mode "1680x1050" (bad 
mode clock/interlace/doublescan)
[ 95766.754] (II) MACH64(0): Not using default mode "840x525" (hsync out 
of range)
[ 95766.754] (II) MACH64(0): Not using default mode "1920x1200" 
(insufficient memory for mode)
[ 95766.754] (II) MACH64(0): Not using default mode "960x600" (hsync out 
of range)
[ 95766.754] (II) MACH64(0): Not using default mode "1920x1200" 
(insufficient memory for mode)
[ 95766.754] (II) MACH64(0): Not using default mode "960x600" (hsync out 
of range)
[ 95766.755] (II) MACH64(0): Not using default mode "2560x1600" 
(insufficient memory for mode)
[ 95766.755] (II) MACH64(0): Not using default mode "1280x800" (bad mode 
clock/interlace/doublescan)
[ 95766.755] (II) MACH64(0): Not using default mode "2560x1600" 
(insufficient memory for mode)
[ 95766.755] (II) MACH64(0): Not using default mode "1280x800" (bad mode 
clock/interlace/doublescan)
[ 95766.756] (II) MACH64(0): Virtual size is 1024x768 (pitch 1024)
[ 95766.756] (**) MACH64(0): *Default mode "1024x768": 65.0 MHz, 48.4 
kHz, 60.0 Hz
[ 95766.756] (II) MACH64(0): Modeline "1024x768"x60.0   65.00  1024 1048 
1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz zd)
[ 95766.756] (**) MACH64(0): *Default mode "1024x576": 46.5 MHz, 35.9 
kHz, 59.9 Hz
[ 95766.756] (II) MACH64(0): Modeline "1024x576"x59.9   46.50  1024 1064 
1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz zd)
[ 95766.757] (**) MACH64(0): *Default mode "960x540": 40.8 MHz, 33.5 
kHz, 59.6 Hz
[ 95766.757] (II) MACH64(0): Modeline "960x540"x59.6   40.75  960 992 
1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz zd)
[ 95766.757] (**) MACH64(0): *Default mode "800x600": 40.0 MHz, 37.9 
kHz, 60.3 Hz
[ 95766.757] (II) MACH64(0): Modeline "800x600"x60.3   40.00  800 840 
968 1056  600 601 605 628 +hsync +vsync (37.9 kHz zd)
[ 95766.757] (**) MACH64(0): *Default mode "800x600": 36.0 MHz, 35.2 
kHz, 56.2 Hz
[ 95766.757] (II) MACH64(0): Modeline "800x600"x56.2   36.00  800 824 
896 1024  600 601 603 625 +hsync +vsync (35.2 kHz zd)
[ 95766.758] (**) MACH64(0): *Default mode "640x480": 25.2 MHz, 31.5 
kHz, 59.9 Hz
[ 95766.758] (II) MACH64(0): Modeline "640x480"x59.9   25.18  640 656 
752 800  480 490 492 525 -hsync -vsync (31.5 kHz zd)
[ 95766.758] (**) MACH64(0): *Default mode "684x384": 42.6 MHz, 47.8 
kHz, 59.9 Hz (D)
[ 95766.758] (II) MACH64(0): Modeline "684x384"x59.9   42.62  684 720 
788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz zd)
[ 95766.758] (**) MACH64(0): *Default mode "640x360": 37.2 MHz, 44.8 
kHz, 59.9 Hz (D)
[ 95766.758] (II) MACH64(0): Modeline "640x360"x59.9   37.25  640 672 
736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz zd)
[ 95766.759] (**) MACH64(0): *Default mode "512x384": 32.5 MHz, 48.4 
kHz, 60.0 Hz (D)
[ 95766.759] (II) MACH64(0): Modeline "512x384"x60.0   32.50  512 524 
592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz zd)
[ 95766.759] (**) MACH64(0): *Default mode "512x288": 23.2 MHz, 35.9 
kHz, 60.0 Hz (D)
[ 95766.759] (II) MACH64(0): Modeline "512x288"x60.0   23.25  512 532 
580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz zd)
[ 95766.759] (**) MACH64(0): *Default mode "512x288": 21.0 MHz, 35.5 
kHz, 59.9 Hz (D)
[ 95766.759] (II) MACH64(0): Modeline "512x288"x59.9   21.00  512 536 
552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz zd)
[ 95766.760] (**) MACH64(0): *Default mode "480x270": 18.6 MHz, 33.3 
kHz, 59.8 Hz (D)
[ 95766.760] (II) MACH64(0): Modeline "480x270"x59.8   18.62  480 504 
520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz zd)
[ 95766.760] (**) MACH64(0): *Default mode "480x270": 20.4 MHz, 33.5 
kHz, 59.6 Hz (D)
[ 95766.760] (II) MACH64(0): Modeline "480x270"x59.6   20.38  480 496 
544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz zd)
[ 95766.760] (**) MACH64(0): *Default mode "400x300": 20.0 MHz, 37.9 
kHz, 60.3 Hz (D)
[ 95766.760] (II) MACH64(0): Modeline "400x300"x60.3   20.00  400 420 
484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz zd)
[ 95766.761] (**) MACH64(0): *Default mode "400x300": 18.0 MHz, 35.2 
kHz, 56.3 Hz (D)
[ 95766.761] (II) MACH64(0): Modeline "400x300"x56.3   18.00  400 412 
448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz zd)
[ 95766.761] (**) MACH64(0): *Default mode "320x240": 12.6 MHz, 31.5 
kHz, 60.1 Hz (D)
[ 95766.761] (II) MACH64(0): Modeline "320x240"x60.1   12.59  320 328 
376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz zd)
[ 95766.761] (==) MACH64(0): DPI set to (96, 96)
[ 95766.761] (II) Loading sub module "fb"
[ 95766.762] (II) LoadModule: "fb"
[ 95766.764] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[ 95766.775] (II) Module fb: vendor="X.Org Foundation"
[ 95766.775] 	compiled for 1.20.8, module version = 1.0.0
[ 95766.775] 	ABI class: X.Org ANSI C Emulation, version 0.4
[ 95766.776] (II) Loading sub module "ramdac"
[ 95766.776] (II) LoadModule: "ramdac"
[ 95766.776] (II) Module "ramdac" already built-in
[ 95766.776] (II) Loading sub module "i2c"
[ 95766.776] (II) LoadModule: "i2c"
[ 95766.777] (II) Module "i2c" already built-in
[ 95766.798] (II) MACH64(0): I2C bus "Mach64" initialized.
[ 95766.812] (II) MACH64(0): [drm] SAREA 2200+1208: 3408
[ 95766.814] drmOpenDevice: node name is /dev/dri/card0
[ 95766.818] Failed to change owner or group for file /dev/dri! 2: No 
such file or directory
[ 95766.821] Failed to change owner or group for file /dev/dri/card0! 2: 
No such file or directory
[ 95766.823] drmOpenDevice: open result is -1, (No such file or directory)
[ 95766.823] drmOpenDevice: open result is -1, (No such file or directory)
[ 95766.823] drmOpenDevice: Open failed
[ 95766.824] drmOpenDevice: node name is /dev/dri/card0
[ 95766.824] Failed to change owner or group for file /dev/dri! 2: No 
such file or directory
[ 95766.825] Failed to change owner or group for file /dev/dri/card0! 2: 
No such file or directory
[ 95766.825] drmOpenDevice: open result is -1, (No such file or directory)
[ 95766.825] Failed to change owner or group for file /dev/dri/card0! 2: 
No such file or directory
[ 95766.826] drmOpenDevice: open result is -1, (No such file or directory)
[ 95766.826] drmOpenDevice: Open failed
[ 95766.921] [drm] failed to load kernel module "mach64"
[ 95766.922] (EE) [drm] drmOpen failed.
[ 95766.922] (EE) MACH64(0): [dri] DRIScreenInit Failed
[ 95766.996] (==) MACH64(0): Backing store enabled
[ 95767.055] (==) MACH64(0): Silken mouse enabled
[ 95767.063] (==) MACH64(0): DPMS enabled
[ 95767.066] (WW) MACH64(0): Option "UseFBDev" is not used
[ 95767.066] (II) MACH64(0): Direct rendering disabled
[ 95767.074] (II) Initializing extension Generic Event Extension
[ 95767.103] (II) Initializing extension SHAPE
[ 95767.108] (II) Initializing extension MIT-SHM
[ 95767.113] (II) Initializing extension XInputExtension
[ 95767.155] (II) Initializing extension XTEST
[ 95767.163] (II) Initializing extension BIG-REQUESTS
[ 95767.168] (II) Initializing extension SYNC
[ 95767.194] (II) Initializing extension XKEYBOARD
[ 95767.200] (II) Initializing extension XC-MISC
[ 95767.205] (II) Initializing extension SECURITY
[ 95767.209] (II) Initializing extension XFIXES
[ 95767.214] (II) Initializing extension RENDER
[ 95767.232] (II) Initializing extension RANDR
[ 95767.241] (II) Initializing extension COMPOSITE
[ 95767.253] (II) Initializing extension DAMAGE
[ 95767.262] (II) Initializing extension MIT-SCREEN-SAVER
[ 95767.268] (II) Initializing extension DOUBLE-BUFFER
[ 95767.273] (II) Initializing extension RECORD
[ 95767.277] (II) Initializing extension DPMS
[ 95767.282] (II) Initializing extension Present
[ 95767.286] (II) Initializing extension DRI3
[ 95767.296] (II) Initializing extension X-Resource
[ 95767.302] (II) Initializing extension XVideo
[ 95767.307] (II) Initializing extension XVideo-MotionCompensation
[ 95767.307] (II) Initializing extension GLX
[ 95767.338] (II) AIGLX: Screen 0 is not DRI2 capable
[ 95768.194] (II) IGLX: Loaded and initialized swrast
[ 95768.194] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 95768.195] (II) Initializing extension XFree86-VidModeExtension
[ 95768.199] (II) Initializing extension XFree86-DGA
[ 95768.204] (II) Initializing extension XFree86-DRI
[ 95768.204] (II) Initializing extension DRI2
[ 95774.886] (II) config/udev: Adding input device System keyboard 
multiplexor (/dev/kbdmux0)
[ 95774.886] (II) LoadModule: "kbd"
[ 95774.917] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
[ 95774.933] (II) Module kbd: vendor="X.Org Foundation"
[ 95774.933] 	compiled for 1.20.8, module version = 1.9.0
[ 95774.933] 	Module class: X.Org XInput Driver
[ 95774.933] 	ABI class: X.Org XInput driver, version 24.1
[ 95774.933] (II) Using input driver 'kbd' for 'System keyboard multiplexor'
[ 95774.934] (**) System keyboard multiplexor: always reports core events
[ 95774.934] (**) System keyboard multiplexor: always reports core events
[ 95774.934] (**) Option "Protocol" "standard"
[ 95774.935] (**) Option "XkbRules" "base"
[ 95774.935] (**) Option "XkbModel" "pc105"
[ 95774.935] (**) Option "XkbLayout" "us"
[ 95774.936] (**) Option "config_info" "udev:/dev/kbdmux0"
[ 95774.936] (II) XINPUT: Adding extended input device "System keyboard 
multiplexor" (type: KEYBOARD, id 6)
[ 95774.952] (II) config/udev: Adding input device System mouse 
(/dev/sysmouse)
[ 95774.953] (II) LoadModule: "mouse"
[ 95774.956] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[ 95775.054] (II) Module mouse: vendor="X.Org Foundation"
[ 95775.054] 	compiled for 1.20.8, module version = 1.9.3
[ 95775.054] 	Module class: X.Org XInput Driver
[ 95775.054] 	ABI class: X.Org XInput driver, version 24.1
[ 95775.054] (II) Using input driver 'mouse' for 'System mouse'
[ 95775.055] (**) System mouse: always reports core events
[ 95775.055] (**) Option "Device" "/dev/sysmouse"
[ 95775.055] (==) System mouse: Protocol: "Auto"
[ 95775.056] (**) System mouse: always reports core events
[ 95775.056] (==) System mouse: Emulate3Buttons, Emulate3Timeout: 50
[ 95775.057] (**) System mouse: ZAxisMapping: buttons 4 and 5
[ 95775.057] (**) System mouse: Buttons: 5
[ 95775.057] (**) Option "config_info" "udev:/dev/sysmouse"
[ 95775.058] (II) XINPUT: Adding extended input device "System mouse" 
(type: MOUSE, id 7)
[ 95775.059] (**) System mouse: (accel) keeping acceleration scheme 1
[ 95775.059] (**) System mouse: (accel) acceleration profile 0
[ 95775.060] (**) System mouse: (accel) acceleration factor: 2.000
[ 95775.060] (**) System mouse: (accel) acceleration threshold: 4
[ 95775.061] (II) System mouse: SetupAuto: hw.iftype is 4, hw.model is 0
[ 95775.061] (II) System mouse: SetupAuto: protocol is SysMouse
[ 95775.062] (II) config/udev: Adding input device vendor 0x0430 product 
0x0005 (/dev/ukbd0)
[ 95775.063] (II) Using input driver 'kbd' for 'vendor 0x0430 product 
0x0005'
[ 95775.063] (**) vendor 0x0430 product 0x0005: always reports core events
[ 95775.063] (**) vendor 0x0430 product 0x0005: always reports core events
[ 95775.064] (**) Option "Protocol" "standard"
[ 95775.064] (**) Option "Device" "/dev/ukbd0"
[ 95775.064] (EE) vendor 0x0430 product 0x0005: cannot open "/dev/ukbd0"
[ 95775.065] (EE) PreInit returned 8 for "vendor 0x0430 product 0x0005"
[ 95775.065] (II) UnloadModule: "kbd"
[ 95787.511] (II) UnloadModule: "mouse"
[ 95787.512] (II) UnloadModule: "kbd"
[ 95787.572] (II) Server terminated successfully (0). Closing log file.


This simply opens a black screen with nothing doing. I see from the log 
that /dev/dri/card0 is being looked for, and does not exist. This is the 
root of the problem, and I have not been able to resolve it. I built 
graphics/drm-kmod (with a couple of minor tweaks), installed that, 
re-booted and still no /dev/dri/card0. I also added "dri" in the 
xorg.conf.new file in the "Module" section, and the log indicates dri is 
already loaded, yet it has not configured the /dev/dri/card0 setup

Can you shed any light on a solution to this problem? Thank you.

Sincerely,

Chris.
-- 



More information about the freebsd-x11 mailing list