Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 15:18:38 +0100
From:      dt71@gmx.com
To:        freebsd-current@freebsd.org
Subject:   new Xorg (KMS, etc.) for Radeon 9600
Message-ID:  <527F95BE.7080908@gmx.com>

next in thread | raw e-mail | index | archive | help
I've built the ports with the following lines in my /etc/make.conf:
   WITH_NEW_XORG=1
   WITH_KMS=1
   WITH_GALLIUM=1
And I've attempted to run ``startx''.

The compiler was a very recent version of Clang.

When building the kernel (not the ports):
============== /etc/make.conf snippet begins ==============
CPUTYPE?=native
CXXFLAGS+= -stdlib=libc++
KERNCONF=MYKERNCONF
MODULES_OVERRIDE="drm2"
============== /etc/make.conf snippet ends ==============

============== /sys/i386/conf/MYKERNCONF begins ==============
cpu		I686_CPU
ident		MYKERNCONF

options 	SCHED_ULE		# ULE scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_DIRHASH		# Improve performance on big directories
options 	MD_ROOT			# MD is a potential root device
options 	MSDOSFS			# MSDOS Filesystem
options 	GEOM_PART_GPT		# GUID Partition Tables.
options 	GEOM_LABEL		# Provides labelization
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
options 	SCSI_DELAY=1000		# Delay (in ms) before probing SCSI
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.

# To make an SMP kernel, the next two lines are needed
options 	SMP			# Symmetric MultiProcessor Kernel
device		apic			# I/O APIC

# Bus support.
device		acpi
device		pci

# ATA controllers
device		ata		# Legacy ATA/SATA controllers

# ATA/SCSI peripherals
device		scbus		# SCSI bus (required for ATA/SCSI)
device		da		# Direct Access (disks)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard

device		vga		# VGA video card driver

# syscons is the default console driver, resembling an SCO console
device		sc

device		agp		# support several AGP chipsets

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		rl		# RealTek 8129/8139

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
device		md		# Memory "disks"
device		firmware	# firmware assist module

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		ehci		# EHCI PCI->USB interface (USB 2.0)
device		usb		# USB Bus (required)
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse

# Sound support
device		sound		# Generic sound driver (required)
device		snd_ich		# Intel, NVidia and other ICH AC'97 Audio

device		drm
device		radeondrm
device		iicbus
device		iic
device		iicbb
============== /sys/i386/conf/MYKERNCONF ends ==============

============== /etc/X11/xorg.conf begins ==============
Section "ServerFlags"
	Option "DontZoom" "on"
	Option "VTSysReq" "on" #
	#Option "BlankTime" "1" #
	#Option "StandbyTime" "2" #
	#Option "SuspendTime" "3" #
	#Option "OffTime" "4" #
	Option "HandleSpecialKeys" "Always"
	Option "AIGLX" "off"
	Option "GlxVisuals" "minimal"
	Option "AllowEmptyInput" "off"
	Option "AutoAddDevices" "off"
	Option "AutoEnableDevices" "off"
EndSection

Section "InputDevice"
	Identifier "mouse1"
	Driver "mouse"
	Option "Device" "/dev/ums0"
EndSection

Section "InputDevice"
	Identifier "keyboard1"
	Driver "kbd"
	Option "XkbLayout" "us,hu"
	Option "AutoRepeat" "320 29"
EndSection

Section "Device"
	Identifier "card1"
	Driver "radeon"
	VideoRam 131072

	#Option "ScalerWidth" "1920"
	Option "AGPMode" "8"
	#Option "AGPFastWrite" "on" # sux
	Option "BusType" "AGP"
	Option "DisplayPriority" "HIGH"
	Option "EnablePageFlip" "on"
	Option "AccelMethod" "XAA" # "EXA" sux
	Option "AccelDFS" "on"
	Option "FBTexPercent" "0"
	#Option "SubPixelOrder" "NONE"
	Option "LVDSProbePLL" "off"
	#Option "DefaultTMDSPLL" "on"
	#Option "DefaultTVDACAdj" "on"
	Option "Int10" "off"
	Option "R4xxATOM" "on"
EndSection

Section "Monitor"
	Identifier "monitor1"
	HorizSync 40-80
	VertRefresh 56-75
	#DisplaySize W H # mm
EndSection

Section "Screen"
	Identifier "screen1"
	Device "card1"
	Monitor "monitor1"
	DefaultDepth 24
	DefaultFbBpp 32
	Option "Int10" "off"
	Option "MTRR" "on"
	SubSection "Display"
		Depth 24
		FbBpp 32
		Modes "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier "layout1"
	Screen "screen1"
	InputDevice "mouse1" "CorePointer"
	InputDevice "keyboard1" "CoreKeyboard"
EndSection
============== /etc/X11/xorg.conf ends ==============

1st attempt: failure.

============== /var/log/Xorg.log begins ==============
[   205.270] _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
[   205.270] _XSERVTransOpen: transport open failed for inet6/:0
[   205.270] _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[   205.324]
X.Org X Server 1.12.4
Release Date: 2012-08-27
[   205.324] X Protocol Version 11, Revision 0
[   205.324] Build Operating System: FreeBSD 11.0-CURRENT i386
[   205.324] Current Operating System: FreeBSD  11.0-CURRENT FreeBSD 11.0-CURRENT #4 r257831M: Sun Nov 10 03:46:35 CET 2013     root@:/usr/obj/usr/src/sys/CUSTOM i386
[   205.325] Build Date: 09 November 2013  11:19:35PM
[   205.325]
[   205.325] Current version of pixman: 0.30.2
[   205.325] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   205.325] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   205.325] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 10 14:05:57 2013
[   205.390] (==) Using config file: "/etc/X11/xorg.conf"
[   205.399] (==) ServerLayout "layout1"
[   205.399] (**) |-->Screen "screen1" (0)
[   205.399] (**) |   |-->Monitor "monitor1"
[   205.417] (**) |   |-->Device "card1"
[   205.417] (**) |-->Input Device "mouse1"
[   205.417] (**) |-->Input Device "keyboard1"
[   205.417] (**) Option "DontZoom" "on"
[   205.417] (**) Option "AIGLX" "off"
[   205.417] (**) Option "AutoAddDevices" "off"
[   205.417] (**) Option "AutoEnableDevices" "off"
[   205.417] (**) Option "GlxVisuals" "minimal"
[   205.417] (**) Not automatically adding devices
[   205.417] (**) Not automatically enabling devices
[   205.582] (==) 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/
[   205.582] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[   205.582] (II) Loader magic: 0x81f0298
[   205.582] (II) Module ABI versions:
[   205.582] 	X.Org ANSI C Emulation: 0.4
[   205.582] 	X.Org Video Driver: 12.1
[   205.582] 	X.Org XInput driver : 16.0
[   205.582] 	X.Org Server Extension : 6.0
[   205.597] (--) PCI:*(0:1:0:0) 1002:4150:17ee:2002 rev 0, Mem @ 0xd0000000/268435456, 0xff0f0000/65536, I/O @ 0x0000a800/256, BIOS @ 0x????????/65536
[   205.597] (--) PCI: (0:1:0:1) 1002:4170:17ee:2003 rev 0, Mem @ 0xc0000000/268435456, 0xff0e0000/65536
[   205.597] (II) LoadModule: "extmod"
[   205.611] (II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so
[   205.626] (II) Module extmod: vendor="X.Org Foundation"
[   205.626] 	compiled for 1.12.4, module version = 1.0.0
[   205.626] 	Module class: X.Org Server Extension
[   205.626] 	ABI class: X.Org Server Extension, version 6.0
[   205.626] (II) Loading extension MIT-SCREEN-SAVER
[   205.626] (II) Loading extension XFree86-VidModeExtension
[   205.626] (II) Loading extension XFree86-DGA
[   205.626] (II) Loading extension DPMS
[   205.626] (II) Loading extension XVideo
[   205.626] (II) Loading extension XVideo-MotionCompensation
[   205.627] (II) Loading extension X-Resource
[   205.627] (II) LoadModule: "dbe"
[   205.627] (II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so
[   205.635] (II) Module dbe: vendor="X.Org Foundation"
[   205.635] 	compiled for 1.12.4, module version = 1.0.0
[   205.635] 	Module class: X.Org Server Extension
[   205.635] 	ABI class: X.Org Server Extension, version 6.0
[   205.635] (II) Loading extension DOUBLE-BUFFER
[   205.635] (II) LoadModule: "glx"
[   205.635] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[   205.661] (II) Module glx: vendor="X.Org Foundation"
[   205.661] 	compiled for 1.12.4, module version = 1.0.0
[   205.661] 	ABI class: X.Org Server Extension, version 6.0
[   205.665] (**) AIGLX disabled
[   205.671] (II) Loading extension GLX
[   205.671] (II) LoadModule: "record"
[   205.671] (II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so
[   205.683] (II) Module record: vendor="X.Org Foundation"
[   205.683] 	compiled for 1.12.4, module version = 1.13.0
[   205.683] 	Module class: X.Org Server Extension
[   205.683] 	ABI class: X.Org Server Extension, version 6.0
[   205.683] (II) Loading extension RECORD
[   205.683] (II) LoadModule: "dri"
[   205.683] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so
[   205.732] (II) Module dri: vendor="X.Org Foundation"
[   205.732] 	compiled for 1.12.4, module version = 1.0.0
[   205.732] 	ABI class: X.Org Server Extension, version 6.0
[   205.732] (II) Loading extension XFree86-DRI
[   205.732] (II) LoadModule: "dri2"
[   205.732] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so
[   205.746] (II) Module dri2: vendor="X.Org Foundation"
[   205.746] 	compiled for 1.12.4, module version = 1.2.0
[   205.746] 	ABI class: X.Org Server Extension, version 6.0
[   205.746] (II) Loading extension DRI2
[   205.746] (II) LoadModule: "radeon"
[   205.786] (II) Loading /usr/local/lib/xorg/modules/drivers/radeon_drv.so
[   205.865] (II) Module radeon: vendor="X.Org Foundation"
[   205.865] 	compiled for 1.12.4, module version = 7.2.0
[   205.865] 	Module class: X.Org Video Driver
[   205.865] 	ABI class: X.Org Video Driver, version 12.1
[   205.865] (II) LoadModule: "mouse"
[   205.866] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[   205.916] (II) Module mouse: vendor="X.Org Foundation"
[   205.916] 	compiled for 1.12.4, module version = 1.9.0
[   205.916] 	Module class: X.Org XInput Driver
[   205.916] 	ABI class: X.Org XInput driver, version 16.0
[   205.916] (II) LoadModule: "kbd"
[   205.917] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
[   205.932] (II) Module kbd: vendor="X.Org Foundation"
[   205.932] 	compiled for 1.12.4, module version = 1.7.0
[   205.932] 	Module class: X.Org XInput Driver
[   205.932] 	ABI class: X.Org XInput driver, version 16.0
[   205.932] (II) RADEON: Driver for ATI Radeon chipsets:
	ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI),
	ATI Radeon Mobility X300 (M24) 3152 (PCIE),
	ATI FireGL M24 GL 3154 (PCIE), ATI FireMV 2400 3155 (PCI),
	ATI Radeon X600 (RV380) 3E50 (PCIE),
	ATI FireGL V3200 (RV380) 3E54 (PCIE), ATI Radeon IGP320 (A3) 4136,
	ATI Radeon IGP330/340/350 (A4) 4137, ATI Radeon 9500 AD (AGP),
	ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP),
	ATI FireGL Z1 AG (AGP), ATI Radeon 9800SE AH (AGP),
	ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP),
	ATI FireGL X2 AK (AGP), ATI Radeon 9600 AP (AGP),
	ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP),
	ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP), ATI Radeon 9650,
	ATI FireGL RV360 AV (AGP), ATI Radeon 7000 IGP (A4+) 4237,
	ATI Radeon 8500 AIW BB (AGP), ATI Radeon IGP320M (U1) 4336,
	ATI Radeon IGP330M/340M/350M (U2) 4337,
	ATI Radeon Mobility 7000 IGP 4437, ATI Radeon 9000/PRO If (AGP/PCI),
	ATI Radeon 9000 Ig (AGP/PCI), ATI Radeon X800 (R420) JH (AGP),
	ATI Radeon X800PRO (R420) JI (AGP),
	ATI Radeon X800SE (R420) JJ (AGP), ATI Radeon X800 (R420) JK (AGP),
	ATI Radeon X800 (R420) JL (AGP), ATI FireGL X3 (R420) JM (AGP),
	ATI Radeon Mobility 9800 (M18) JN (AGP),
	ATI Radeon X800 SE (R420) (AGP), ATI Radeon X800XT (R420) JP (AGP),
	ATI Radeon X800 VE (R420) JT (AGP), ATI Radeon X850 (R480) (AGP),
	ATI Radeon X850 XT (R480) (AGP), ATI Radeon X850 SE (R480) (AGP),
	ATI Radeon X850 PRO (R480) (AGP), ATI Radeon X850 XT PE (R480) (AGP),
	ATI Radeon Mobility M7 LW (AGP),
	ATI Mobility FireGL 7800 M7 LX (AGP),
	ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP),
	ATI FireGL Mobility 9000 (M9) Ld (AGP),
	ATI Radeon Mobility 9000 (M9) Lf (AGP),
	ATI Radeon Mobility 9000 (M9) Lg (AGP), ATI FireMV 2400 PCI,
	ATI Radeon 9700 Pro ND (AGP), ATI Radeon 9700/9500Pro NE (AGP),
	ATI Radeon 9600TX NF (AGP), ATI FireGL X1 NG (AGP),
	ATI Radeon 9800PRO NH (AGP), ATI Radeon 9800 NI (AGP),
	ATI FireGL X2 NK (AGP), ATI Radeon 9800XT NJ (AGP),
	ATI Radeon Mobility 9600/9700 (M10/M11) NP (AGP),
	ATI Radeon Mobility 9600 (M10) NQ (AGP),
	ATI Radeon Mobility 9600 (M11) NR (AGP),
	ATI Radeon Mobility 9600 (M10) NS (AGP),
	ATI FireGL Mobility T2 (M10) NT (AGP),
	ATI FireGL Mobility T2e (M11) NV (AGP), ATI Radeon QD (AGP),
	ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP),
	ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP),
	ATI Radeon 9100 QM (AGP), ATI Radeon 7500 QW (AGP/PCI),
	ATI Radeon 7500 QX (AGP/PCI), ATI Radeon VE/7000 QY (AGP/PCI),
	ATI Radeon VE/7000 QZ (AGP/PCI), ATI ES1000 515E (PCI),
	ATI Radeon Mobility X300 (M22) 5460 (PCIE),
	ATI Radeon Mobility X600 SE (M24C) 5462 (PCIE),
	ATI FireGL M22 GL 5464 (PCIE), ATI Radeon X800 (R423) UH (PCIE),
	ATI Radeon X800PRO (R423) UI (PCIE),
	ATI Radeon X800LE (R423) UJ (PCIE),
	ATI Radeon X800SE (R423) UK (PCIE),
	ATI Radeon X800 XTP (R430) (PCIE), ATI Radeon X800 XL (R430) (PCIE),
	ATI Radeon X800 SE (R430) (PCIE), ATI Radeon X800 (R430) (PCIE),
	ATI FireGL V7100 (R423) (PCIE), ATI FireGL V5100 (R423) UQ (PCIE),
	ATI FireGL unknown (R423) UR (PCIE),
	ATI FireGL unknown (R423) UT (PCIE),
	ATI Mobility FireGL V5000 (M26) (PCIE),
	ATI Mobility FireGL V5000 (M26) (PCIE),
	ATI Mobility Radeon X700 XL (M26) (PCIE),
	ATI Mobility Radeon X700 (M26) (PCIE),
	ATI Mobility Radeon X700 (M26) (PCIE),
	ATI Radeon X550XTX 5657 (PCIE), ATI Radeon 9100 IGP (A5) 5834,
	ATI Radeon Mobility 9100 IGP (U3) 5835,
	ATI Radeon XPRESS 200 5954 (PCIE),
	ATI Radeon XPRESS 200M 5955 (PCIE), ATI Radeon 9250 5960 (AGP),
	ATI Radeon 9200 5961 (AGP), ATI Radeon 9200 5962 (AGP),
	ATI Radeon 9200SE 5964 (AGP), ATI FireMV 2200 (PCI),
	ATI ES1000 5969 (PCI), ATI Radeon XPRESS 200 5974 (PCIE),
	ATI Radeon XPRESS 200M 5975 (PCIE),
	ATI Radeon XPRESS 200 5A41 (PCIE),
	ATI Radeon XPRESS 200M 5A42 (PCIE),
	ATI Radeon XPRESS 200 5A61 (PCIE),
	ATI Radeon XPRESS 200M 5A62 (PCIE),
	ATI Radeon X300 (RV370) 5B60 (PCIE),
	ATI Radeon X600 (RV370) 5B62 (PCIE),
	ATI Radeon X550 (RV370) 5B63 (PCIE),
	ATI FireGL V3100 (RV370) 5B64 (PCIE),
	ATI FireMV 2200 PCIE (RV370) 5B65 (PCIE),
	ATI Radeon Mobility 9200 (M9+) 5C61 (AGP),
	ATI Radeon Mobility 9200 (M9+) 5C63 (AGP),
	ATI Mobility Radeon X800 XT (M28) (PCIE),
	ATI Mobility FireGL V5100 (M28) (PCIE),
	ATI Mobility Radeon X800 (M28) (PCIE), ATI Radeon X850 5D4C (PCIE),
	ATI Radeon X850 XT PE (R480) (PCIE),
	ATI Radeon X850 SE (R480) (PCIE), ATI Radeon X850 PRO (R480) (PCIE),
	ATI unknown Radeon / FireGL (R480) 5D50 (PCIE),
	ATI Radeon X850 XT (R480) (PCIE),
	ATI Radeon X800XT (R423) 5D57 (PCIE),
	ATI FireGL V5000 (RV410) (PCIE), ATI Radeon X700 XT (RV410) (PCIE),
	ATI Radeon X700 PRO (RV410) (PCIE),
	ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X700 (RV410) (PCIE),
	ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X1800,
	ATI Mobility Radeon X1800 XT, ATI Mobility Radeon X1800,
	ATI Mobility FireGL V7200, ATI FireGL V7200, ATI FireGL V5300,
	ATI Mobility FireGL V7100, ATI Radeon X1800, ATI Radeon X1800,
	ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800,
	ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
	ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
	ATI Mobility Radeon X1400, ATI Radeon X1300/X1550,
	ATI Radeon X1550 64-bit, ATI Mobility Radeon X1300,
	ATI Mobility Radeon X1300, ATI Mobility Radeon X1300,
	ATI Mobility Radeon X1300, ATI Radeon X1300, ATI Radeon X1300,
	ATI RV505, ATI RV505, ATI FireGL V3300, ATI FireGL V3350,
	ATI Radeon X1300, ATI Radeon X1550 64-bit, ATI Radeon X1300/X1550,
	ATI Radeon X1600, ATI Radeon X1300/X1550, ATI Mobility Radeon X1450,
	ATI Radeon X1300/X1550, ATI Mobility Radeon X2300,
	ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
	ATI Mobility Radeon X1350, ATI Mobility Radeon X1450,
	ATI Radeon X1300, ATI Radeon X1550, ATI Mobility Radeon X1350,
	ATI FireMV 2250, ATI Radeon X1550 64-bit, ATI Radeon X1600,
	ATI Radeon X1650, ATI Radeon X1600, ATI Radeon X1600,
	ATI Mobility FireGL V5200, ATI Mobility Radeon X1600,
	ATI Radeon X1650, ATI Radeon X1650, ATI Radeon X1600,
	ATI Radeon X1300 XT/X1600 Pro, ATI FireGL V3400,
	ATI Mobility FireGL V5250, ATI Mobility Radeon X1700,
	ATI Mobility Radeon X1700 XT, ATI FireGL V5200,
	ATI Mobility Radeon X1700, ATI Radeon X2300HD,
	ATI Mobility Radeon HD 2300, ATI Mobility Radeon HD 2300,
	ATI Radeon X1950, ATI Radeon X1900, ATI Radeon X1950,
	ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
	ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
	ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
	ATI AMD Stream Processor, ATI Radeon X1900, ATI Radeon X1950,
	ATI RV560, ATI RV560, ATI Mobility Radeon X1900, ATI RV560,
	ATI Radeon X1950 GT, ATI RV570, ATI RV570, ATI FireGL V7400,
	ATI RV560, ATI Radeon X1650, ATI Radeon X1650, ATI RV560,
	ATI Radeon 9100 PRO IGP 7834, ATI Radeon Mobility 9200 IGP 7835,
	ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200,
	ATI Radeon X1200, ATI Radeon X1200, ATI RS740, ATI RS740M, ATI RS740,
	ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 XT,
	ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro, ATI Radeon HD 2900 GT,
	ATI FireGL V8650, ATI FireGL V8600, ATI FireGL V7600,
	ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
	ATI Radeon 4800 Series, ATI Radeon HD 4850 x2,
	ATI FirePro V8750 (FireGL), ATI FirePro V7760 (FireGL),
	ATI Mobility RADEON HD 4850, ATI Mobility RADEON HD 4850 X2,
	ATI Radeon 4800 Series, ATI FirePro RV770, AMD FireStream 9270,
	AMD FireStream 9250, ATI FirePro V8700 (FireGL),
	ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
	ATI Mobility RADEON HD 4870, ATI Radeon 4800 Series,
	ATI Radeon 4800 Series, ATI FirePro M7750, ATI M98, ATI M98, ATI M98,
	ATI Mobility Radeon HD 4650, ATI Radeon RV730 (AGP),
	ATI Mobility Radeon HD 4670, ATI FirePro M5750,
	ATI Mobility Radeon HD 4670, ATI Radeon RV730 (AGP),
	ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
	ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
	ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
	ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
	ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
	ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI Radeon HD 4770,
	ATI FirePro M5750, ATI RV610, ATI Radeon HD 2400 XT,
	ATI Radeon HD 2400 Pro, ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000,
	ATI RV610, ATI Radeon HD 2350, ATI Mobility Radeon HD 2400 XT,
	ATI Mobility Radeon HD 2400, ATI RADEON E2400, ATI RV610,
	ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
	ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
	ATI Mobility Radeon HD 3850 X2, ATI RV670,
	ATI Mobility Radeon HD 3870, ATI Mobility Radeon HD 3870 X2,
	ATI Radeon HD3870 X2, ATI FireGL V7700, ATI Radeon HD3850,
	ATI Radeon HD3690, AMD Firestream 9170, ATI Radeon HD 4550,
	ATI Radeon RV710, ATI Radeon RV710, ATI Radeon RV710,
	ATI Radeon HD 4350, ATI Mobility Radeon 4300 Series,
	ATI Mobility Radeon 4500 Series, ATI Mobility Radeon 4500 Series,
	ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
	ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
	ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
	ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
	ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
	ATI FireGL V3600, ATI Radeon HD 2600 LE,
	ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
	ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
	ATI Radeon HD 3450, ATI Radeon HD 3450, ATI Radeon HD 3430,
	ATI Radeon HD 3450, ATI FirePro V3700, ATI FireMV 2450,
	ATI FireMV 2260, ATI FireMV 2260, ATI Radeon HD 3600 Series,
	ATI Radeon HD 3650 AGP, ATI Radeon HD 3600 PRO,
	ATI Radeon HD 3600 XT, ATI Radeon HD 3600 PRO,
	ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
	ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
	ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
	ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
	ATI Radeon HD 3300 Graphics, ATI Radeon HD 3200 Graphics,
	ATI Radeon 3000 Graphics, SUMO, SUMO, SUMO2, SUMO2, SUMO2, SUMO2,
	SUMO, SUMO, SUMO, SUMO, SUMO, SUMO, SUMO, SUMO, ATI Radeon HD 4200,
	ATI Radeon 4100, ATI Mobility Radeon HD 4200,
	ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
	AMD Radeon HD 6310 Graphics, AMD Radeon HD 6310 Graphics,
	AMD Radeon HD 6250 Graphics, AMD Radeon HD 6250 Graphics,
	AMD Radeon HD 6300 Series Graphics,
	AMD Radeon HD 6200 Series Graphics, PALM, PALM, PALM, CYPRESS,
	ATI FirePro (FireGL) Graphics Adapter,
	ATI FirePro (FireGL) Graphics Adapter,
	ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
	AMD Firestream 9350, ATI Radeon HD 5800 Series,
	ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series,
	ATI Radeon HD 5800 Series, ATI Radeon HD 5900 Series,
	ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
	ATI Mobility Radeon HD 5800 Series,
	ATI FirePro (FireGL) Graphics Adapter,
	ATI FirePro (FireGL) Graphics Adapter,
	ATI Mobility Radeon HD 5800 Series, ATI Radeon HD 5700 Series,
	ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
	ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
	ATI Mobility Radeon HD 5000 Series,
	ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
	ATI FirePro (FireGL) Graphics Adapter,
	ATI FirePro (FireGL) Graphics Adapter, ATI Radeon HD 5670,
	ATI Radeon HD 5570, ATI Radeon HD 5500 Series, REDWOOD,
	ATI Mobility Radeon HD 5000 Series,
	ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon Graphics,
	ATI Mobility Radeon Graphics, CEDAR,
	ATI FirePro (FireGL) Graphics Adapter,
	ATI FirePro (FireGL) Graphics Adapter, ATI FirePro 2270, CEDAR,
	ATI Radeon HD 5450, CEDAR, CEDAR, CAYMAN, CAYMAN, CAYMAN, CAYMAN,
	CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN,
	AMD Radeon HD 6900 Series, AMD Radeon HD 6900 Series, CAYMAN, CAYMAN,
	CAYMAN, AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series,
	BARTS, BARTS, Mobility Radeon HD 6000 Series,
	Mobility Radeon HD 6000 Series, BARTS, BARTS, BARTS, BARTS,
	AMD Radeon HD 6800 Series, AMD Radeon HD 6800 Series,
	AMD Radeon HD 6700 Series, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
	TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
	TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
	CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS,
	CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, ARUBA, ARUBA,
	ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
	ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
	ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
	ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, TAHITI, TAHITI, TAHITI, TAHITI,
	TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI,
	TAHITI, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN,
	PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN,
	VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE,
	VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE,
	VERDE, VERDE, VERDE, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND,
	OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, HAINAN, HAINAN, HAINAN,
	HAINAN, HAINAN, HAINAN, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE,
	BONAIRE, BONAIRE, BONAIRE, KABINI, KABINI, KABINI, KABINI, KABINI,
	KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,
	KABINI, KABINI, KABINI
[   205.944] (--) Using syscons driver with X support (version 2.0)
[   205.944] (--) using VT number 9

[   205.949] (II) [KMS] Kernel modesetting enabled.
[   205.949] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   205.950] (**) RADEON(0): Depth 24, (**) framebuffer bpp 32
[   205.950] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[   205.950] (==) RADEON(0): Default visual is TrueColor
[   205.950] (**) RADEON(0): Option "EnablePageFlip" "on"
[   205.950] (==) RADEON(0): RGB weight 888
[   205.950] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[   205.950] (--) RADEON(0): Chipset: "ATI Radeon 9600 AP (AGP)" (ChipID = 0x4150)
[   205.950] drmOpenDevice: node name is /dev/dri/card0
[   205.952] drmOpenDevice: open result is 8, (OK)
[   205.953] drmOpenByBusid: Searching for BusID pci:0000:01:00.0
[   205.953] drmOpenDevice: node name is /dev/dri/card0
[   205.954] drmOpenDevice: open result is 8, (OK)
[   205.954] drmOpenByBusid: drmOpenMinor returns 8
[   205.954] drmOpenByBusid: Interface 1.4 failed, trying 1.1
[   205.954] drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
[   205.954] (II) RADEON(0): Kernel too old missing accel information, assuming accel is working
[   205.954] (II) Loading sub module "dri2"
[   205.954] (II) LoadModule: "dri2"
[   205.955] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so
[   205.955] (II) Module dri2: vendor="X.Org Foundation"
[   205.955] 	compiled for 1.12.4, module version = 1.2.0
[   205.955] 	ABI class: X.Org Server Extension, version 6.0
[   205.955] (II) Loading sub module "exa"
[   205.955] (II) LoadModule: "exa"
[   205.955] (II) Loading /usr/local/lib/xorg/modules/libexa.so
[   205.971] (II) Module exa: vendor="X.Org Foundation"
[   205.971] 	compiled for 1.12.4, module version = 2.5.0
[   205.971] 	ABI class: X.Org Video Driver, version 12.1
[   205.971] (II) RADEON(0): KMS Color Tiling: enabled
[   205.971] (II) RADEON(0): KMS Color Tiling 2D: disabled
[   205.971] (II) RADEON(0): KMS Pageflipping: enabled
[   205.971] (II) RADEON(0): SwapBuffers wait for vsync: enabled
[   205.971] (EE) RADEON(0): Kernel modesetting setup failed
[   205.973] (II) UnloadModule: "radeon"
[   205.973] (II) UnloadSubModule: "exa"
[   205.973] (II) Unloading exa
[   205.973] (II) UnloadSubModule: "dri2"
[   205.973] (II) Unloading dri2
[   205.973] (EE) Screen(s) found, but none have a usable configuration.
[   205.973]
Fatal server error:
[   205.973] no screens found
[   205.973]
Please consult the The X.Org Foundation support
	 at http://wiki.x.org
  for help.
[   205.973] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   205.973]
[   205.989] Server terminated with error (1). Closing log file.
============== /var/log/Xorg.log ends ==============

2nd attempt, after removing /etc/X11/xorg.conf: failure. Xorg.0.log appears to be somewhat similar (``(EE) RADEON(0): Kernel modesetting setup failed''); I'll post it upon request.

3rd attempt -- OK, maybe I need to manually (kld)load ``drm2'' or ``radeonkms''; upon doing so: kernel panic!
(Initially, my kernel configuration didn't contain any modules (NO_MODULES=1) and didn't contain any ``iic'' stuff; at that time, upon attempting to load some of the ``drm2'' or ``radeonkms'' modules, I got a kernel message saying that ``iic'' was missing. Random note: Upon successfully loading ``drm2'', I got the kernel message: ``[drm] Initialized drm 1.1.0 20060810''; the date appears to be old, especially considering the fact that I was used to seeing ``[drm] Initialized radeon 1.31.0 20080613'' before I attempted to give the new Xorg thing a try.)

============== /var/crash/info.0 begins ==============
Dump header from device /dev/...
   Architecture: i386
   Architecture Version: 2
   Dump Length: 45830144B (43 MB)
   Blocksize: 512
   Dumptime: Sun Nov 10 03:49:16 2013
   Hostname:
   Magic: FreeBSD Kernel Dump
   Version String: FreeBSD 11.0-CURRENT #4 r257831M: Sun Nov 10 03:46:35 CET 2013
     root@:/usr/obj/usr/src/sys/CUSTOM
   Panic String: make_dev_credv: bad si_name (error=17, si_name=dri/card0)
   Dump Parity: 884991553
   Bounds: 0
   Dump Status: good
============== /var/crash/info.0 ends ==============

(Yes, /dev/dri/card0 does exist.)

4th attempt -- ``startx'' with an almost GENERIC kernel, the following lines were added to its configuration file:
   device drm
   device radeondrm
   device iicbus
   device iic
   device iicbb
Result: instant (hard) reboot.


Any tips?



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