NetBSD Problem Report #54265

From martin@duskware.de  Mon Jun  3 08:10:27 2019
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 007B07A18A
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  3 Jun 2019 08:10:26 +0000 (UTC)
Message-Id: <20190603081013.C5DDB5CC7A5@emmas.aprisoft.de>
Date: Mon,  3 Jun 2019 10:10:13 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: X with MKLLVMRT=no not working
X-Send-Pr-Version: 3.95

>Number:         54265
>Category:       xsrc
>Synopsis:       X with MKLLVMRT=no not working
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 03 08:15:00 +0000 2019
>Last-Modified:  Tue Jun 04 20:10:01 +0000 2019
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.42
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 8.99.42 NetBSD 8.99.42 (NIGHT-OWL) #672: Fri May 31 18:12:54 CEST 2019 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

I did a local build with MKLLVMRT=no, thinking my machine would not be affected
by the lost functionality (X log never mentioned AMDGPU or similar).

But the resulting system can not start X at all.

radeon0 at pci1 dev 0 function 0: vendor 1002 product 68e0 (rev. 0x00)
kern info: [drm] initializing kernel modesetting (CEDAR 0x1002:0x68E0 0x1025:0x0347).
kern info: [drm] register mmio base: 0xcfee0000
kern info: [drm] register mmio size: 131072
kern info: ATOM BIOS: Acer
radeon0: info: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
radeon0: info: GTT: 1024M 0x0000000020000000 - 0x000000005FFFFFFF
kern info: [drm] Detected VRAM RAM=200M, BAR=256M
kern info: [drm] RAM width 64bits DDR
Zone  kernel: Available graphics memory: 1123670 kiB
kern info: [drm] radeon: 512M of VRAM memory ready
kern info: [drm] radeon: 1024M of GTT memory ready.
kern info: [drm] Loading CEDAR Microcode
kern info: [drm] Internal thermal controller without fan control
kern info: [drm] radeon: dpm initialized
kern info: [drm] GART: num cpu pages 262144, num gpu pages 262144
kern info: [drm] PCIE GART of 1024M enabled (table at 0x000000000025E000).
radeon0: info: WB enabled
radeon0: info: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0x0xfffff90c739eac00
radeon0: info: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0x0xfffff90c739eac0c
radeon0: info: fence driver on ring 5 use gpu addr 0x000000000005c418 and cpu addr 0x0xffff878065fbc418
kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
kern info: [drm] Driver supports precise vblank timestamp query.
radeon0: info: radeon: MSI limited to 32-bit
radeon0: interrupting at ioapic0 pin 16 (radeon0)
kern info: [drm] radeon: irq initialized.
kern info: [drm] ring test on 0 succeeded in 1 usecs
kern info: [drm] ring test on 3 succeeded in 2 usecs
kern info: [drm] ring test on 5 succeeded in 1 usecs
kern info: [drm] UVD initialized successfully.
kern info: [drm] ib test on ring 0 succeeded in 0 usecs
kern info: [drm] ib test on ring 3 succeeded in 0 usecs
kern info: [drm] ib test on ring 5 succeeded
kern info: [drm] Radeon Display Connectors
kern info: [drm] Connector 0:
kern info: [drm]   LVDS-1
kern info: [drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
kern info: [drm]   Encoders:
kern info: [drm]     LCD1: INTERNAL_UNIPHY
kern info: [drm] Connector 1:
kern info: [drm]   HDMI-A-1
kern info: [drm]   HPD1
kern info: [drm]   DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
kern info: [drm]   Encoders:
kern info: [drm]     DFP1: INTERNAL_UNIPHY1
kern info: [drm] Connector 2:
kern info: [drm]   VGA-1
kern info: [drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
kern info: [drm]   Encoders:
kern info: [drm]     CRT1: INTERNAL_KLDSCP_DAC1
radeondrmkmsfb0 at radeon0
radeondrmkmsfb0: framebuffer at 0xffff8780665ed000, size 1600x900, depth 32, stride 6400
wsdisplay0 at radeondrmkmsfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0


When trying to start xdm, Xorg.0.log is:

[   138.206] 
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[   138.207] Build Operating System: NetBSD/amd64 8.99.42 - The NetBSD Foundation, Inc.
[   138.207] Current Operating System: NetBSD night-owl.duskware.de 8.99.42 NetBSD 8.99.42 (NIGHT-OWL) #673: Mon Jun  3 09:29:38 CEST 2019  martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
[   138.208] Build Date: 03 March 2019  07:11:23AM
[   138.208]  
[   138.218] Current version of pixman: 0.38.4
[   138.218] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   138.218] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   138.218] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun  3 09:43:26 2019
[   138.267] (==) Using config file: "/etc/xorg.conf"
[   138.289] (==) ServerLayout "X.org Configured"
[   138.289] (**) |-->Screen "Screen0" (0)
[   138.289] (**) |   |-->Monitor "Monitor0"
[   138.290] (**) |   |-->Device "Card0"
[   138.303] (**) |-->Input Device "Mouse0"
[   138.303] (**) |-->Input Device "Keyboard0"
[   138.303] (**) Option "NoTrapSignals" "yes"
[   138.312] (==) Not automatically adding devices
[   138.312] (==) Not automatically enabling devices
[   138.312] (==) Not automatically adding GPU devices
[   138.312] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   138.392] (**) FontPath set to:
	/usr/X11R7/lib/X11/fonts/misc/,
	/usr/X11R7/lib/X11/fonts/TTF/,
	/usr/X11R7/lib/X11/fonts/Type1/,
	/usr/X11R7/lib/X11/fonts/75dpi/,
	/usr/X11R7/lib/X11/fonts/100dpi/,
	/usr/X11R7/lib/X11/fonts/misc/,
	/usr/X11R7/lib/X11/fonts/TTF/,
	/usr/X11R7/lib/X11/fonts/Type1/,
	/usr/X11R7/lib/X11/fonts/75dpi/,
	/usr/X11R7/lib/X11/fonts/100dpi/
[   138.392] (**) ModulePath set to "/usr/X11R7/lib/modules"
[   138.398] (II) Loader magic: 0x68ea20
[   138.398] (II) Module ABI versions:
[   138.398] 	X.Org ANSI C Emulation: 0.4
[   138.398] 	X.Org Video Driver: 24.0
[   138.398] 	X.Org XInput driver : 24.1
[   138.398] 	X.Org Server Extension : 10.0
[   138.432] (--) PCI:*(2@1:0:0) 1002:68e0:1025:0347 rev 0, Mem @ 0xd0000000/268435456, 0xcfee0000/131072, I/O @ 0x00002000/256
[   138.433] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[   138.433] (II) LoadModule: "dbe"
[   138.433] (II) Module "dbe" already built-in
[   138.433] (II) LoadModule: "dri"
[   138.433] (II) Module "dri" already built-in
[   138.433] (II) LoadModule: "dri2"
[   138.433] (II) Module "dri2" already built-in
[   138.433] (II) LoadModule: "extmod"
[   138.433] (II) Module "extmod" already built-in
[   138.433] (II) LoadModule: "glx"
[   138.478] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[   138.536] (II) Module glx: vendor="X.Org Foundation"
[   138.536] 	compiled for 1.20.5, module version = 1.0.0
[   138.536] 	ABI class: X.Org Server Extension, version 10.0
[   138.545] (II) LoadModule: "record"
[   138.545] (II) Module "record" already built-in
[   138.545] (II) LoadModule: "shadow"
[   138.546] (II) Loading /usr/X11R7/lib/modules/extensions/libshadow.so
[   138.554] (II) Module shadow: vendor="X.Org Foundation"
[   138.554] 	compiled for 1.20.5, module version = 1.1.0
[   138.554] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   138.554] (II) LoadModule: "radeon"
[   138.632] (II) Loading /usr/X11R7/lib/modules/drivers/radeon_drv.so
[   138.738] (II) Module radeon: vendor="X.Org Foundation"
[   138.738] 	compiled for 1.20.5, module version = 19.0.1
[   138.738] 	Module class: X.Org Video Driver
[   138.738] 	ABI class: X.Org Video Driver, version 24.0
[   138.738] (II) LoadModule: "mouse"
[   138.739] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[   138.755] (II) Module mouse: vendor="X.Org Foundation"
[   138.755] 	compiled for 1.20.5, module version = 1.9.2
[   138.755] 	Module class: X.Org XInput Driver
[   138.755] 	ABI class: X.Org XInput driver, version 24.1
[   138.755] (II) LoadModule: "kbd"
[   138.756] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[   138.761] (II) Module kbd: vendor="X.Org Foundation"
[   138.761] 	compiled for 1.20.5, module version = 1.9.0
[   138.761] 	Module class: X.Org XInput Driver
[   138.761] 	ABI class: X.Org XInput driver, version 24.1
[   138.767] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
	ATI Radeon Mobility X600 (M24), ATI FireMV 2400,
	ATI Radeon Mobility X300 (M24), ATI FireGL M24 GL,
	ATI Radeon X600 (RV380), ATI FireGL V3200 (RV380),
	ATI Radeon IGP320 (A3), ATI Radeon IGP330/340/350 (A4),
	ATI Radeon 9500, ATI Radeon 9600TX, ATI FireGL Z1, ATI Radeon 9800SE,
	ATI Radeon 9800, ATI FireGL X2, ATI Radeon 9600, ATI Radeon 9600SE,
	ATI Radeon 9600XT, ATI FireGL T2, ATI Radeon 9650, ATI FireGL RV360,
	ATI Radeon 7000 IGP (A4+), ATI Radeon 8500 AIW,
	ATI Radeon IGP320M (U1), ATI Radeon IGP330M/340M/350M (U2),
	ATI Radeon Mobility 7000 IGP, ATI Radeon 9000/PRO, ATI Radeon 9000,
	ATI Radeon X800 (R420), ATI Radeon X800PRO (R420),
	ATI Radeon X800SE (R420), ATI FireGL X3 (R420),
	ATI Radeon Mobility 9800 (M18), ATI Radeon X800 SE (R420),
	ATI Radeon X800XT (R420), ATI Radeon X800 VE (R420),
	ATI Radeon X850 (R480), ATI Radeon X850 XT (R480),
	ATI Radeon X850 SE (R480), ATI Radeon X850 PRO (R480),
	ATI Radeon X850 XT PE (R480), ATI Radeon Mobility M7,
	ATI Mobility FireGL 7800 M7, ATI Radeon Mobility M6,
	ATI FireGL Mobility 9000 (M9), ATI Radeon Mobility 9000 (M9),
	ATI Radeon 9700 Pro, ATI Radeon 9700/9500Pro, ATI FireGL X1,
	ATI Radeon 9800PRO, ATI Radeon 9800XT,
	ATI Radeon Mobility 9600/9700 (M10/M11),
	ATI Radeon Mobility 9600 (M10), ATI Radeon Mobility 9600 (M11),
	ATI FireGL Mobility T2 (M10), ATI FireGL Mobility T2e (M11),
	ATI Radeon, ATI FireGL 8700/8800, ATI Radeon 8500, ATI Radeon 9100,
	ATI Radeon 7500, ATI Radeon VE/7000, ATI ES1000,
	ATI Radeon Mobility X300 (M22), ATI Radeon Mobility X600 SE (M24C),
	ATI FireGL M22 GL, ATI Radeon X800 (R423), ATI Radeon X800PRO (R423),
	ATI Radeon X800LE (R423), ATI Radeon X800SE (R423),
	ATI Radeon X800 XTP (R430), ATI Radeon X800 XL (R430),
	ATI Radeon X800 SE (R430), ATI Radeon X800 (R430),
	ATI FireGL V7100 (R423), ATI FireGL V5100 (R423),
	ATI FireGL unknown (R423), ATI Mobility FireGL V5000 (M26),
	ATI Mobility Radeon X700 XL (M26), ATI Mobility Radeon X700 (M26),
	ATI Radeon X550XTX, ATI Radeon 9100 IGP (A5),
	ATI Radeon Mobility 9100 IGP (U3), ATI Radeon XPRESS 200,
	ATI Radeon XPRESS 200M, ATI Radeon 9250, ATI Radeon 9200,
	ATI Radeon 9200SE, ATI FireMV 2200, ATI Radeon X300 (RV370),
	ATI Radeon X600 (RV370), ATI Radeon X550 (RV370),
	ATI FireGL V3100 (RV370), ATI FireMV 2200 PCIE (RV370),
	ATI Radeon Mobility 9200 (M9+), ATI Mobility Radeon X800 XT (M28),
	ATI Mobility FireGL V5100 (M28), ATI Mobility Radeon X800 (M28),
	ATI Radeon X850, ATI unknown Radeon / FireGL (R480),
	ATI Radeon X800XT (R423), ATI FireGL V5000 (RV410),
	ATI Radeon X700 XT (RV410), ATI Radeon X700 PRO (RV410),
	ATI Radeon X700 SE (RV410), ATI Radeon X700 (RV410),
	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 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 X1550 64-bit,
	ATI Mobility Radeon X1300, ATI Radeon X1300, ATI FireGL V3300,
	ATI FireGL V3350, ATI Mobility Radeon X1450,
	ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
	ATI FireMV 2250, ATI Radeon X1650, ATI Mobility FireGL V5200,
	ATI Mobility 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 Radeon X2300HD, ATI Mobility Radeon HD 2300,
	ATI Radeon X1950, ATI Radeon X1900, ATI AMD Stream Processor,
	ATI RV560, ATI Mobility Radeon X1900, ATI Radeon X1950 GT, ATI RV570,
	ATI FireGL V7400, ATI Radeon 9100 PRO IGP,
	ATI Radeon Mobility 9200 IGP, ATI Radeon X1200, ATI RS740,
	ATI RS740M, 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 HD 4850 x2, ATI FirePro V8750 (FireGL),
	ATI FirePro V7760 (FireGL), ATI Mobility RADEON HD 4850,
	ATI Mobility RADEON HD 4850 X2, ATI FirePro RV770,
	AMD FireStream 9270, AMD FireStream 9250, ATI FirePro V8700 (FireGL),
	ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
	ATI FirePro M7750, ATI M98, ATI Mobility Radeon HD 4650,
	ATI Radeon RV730 (AGP), ATI Mobility Radeon HD 4670,
	ATI FirePro M5750, 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 RV610,
	ATI Radeon HD 2400 XT, ATI Radeon HD 2400 Pro,
	ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, ATI Radeon HD 2350,
	ATI Mobility Radeon HD 2400 XT, ATI Mobility Radeon HD 2400,
	ATI RADEON E2400, ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
	ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
	ATI Mobility Radeon HD 3850 X2, ATI Mobility Radeon HD 3870,
	ATI Mobility Radeon HD 3870 X2, ATI Radeon HD3870 X2,
	ATI FireGL V7700, ATI Radeon HD3690, AMD Firestream 9170,
	ATI Radeon HD 4550, ATI Radeon RV710, ATI Radeon HD 4350,
	ATI Mobility Radeon 4300 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 3430, ATI FirePro V3700,
	ATI FireMV 2450, ATI Radeon HD 3600 Series, ATI Radeon HD 3650 AGP,
	ATI Radeon HD 3600 PRO, ATI Radeon HD 3600 XT,
	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 3300 Graphics, ATI Radeon 3000 Graphics, SUMO, SUMO2,
	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 6250 Graphics,
	AMD Radeon HD 6300 Series Graphics,
	AMD Radeon HD 6200 Series Graphics, PALM, CYPRESS,
	ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
	AMD Firestream 9350, ATI Radeon HD 5800 Series,
	ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
	ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
	ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
	ATI Radeon HD 5670, ATI Radeon HD 5570, ATI Radeon HD 5500 Series,
	REDWOOD, ATI Mobility Radeon Graphics, CEDAR, ATI FirePro 2270,
	ATI Radeon HD 5450, CAYMAN, AMD Radeon HD 6900 Series,
	AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS,
	AMD Radeon HD 6800 Series, AMD Radeon HD 6700 Series, TURKS, CAICOS,
	ARUBA, TAHITI, PITCAIRN, VERDE, OLAND, HAINAN, BONAIRE, KABINI,
	MULLINS, KAVERI, HAWAII
[   138.779] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32)
[   138.779] (--) using VT number 5
[   138.800] (II) [KMS] Kernel modesetting enabled.
[   138.800] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   138.800] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
[   138.800] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[   138.800] (==) RADEON(0): Default visual is TrueColor
[   138.800] (==) RADEON(0): RGB weight 888
[   138.800] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[   138.800] (--) RADEON(0): Chipset: "ATI Mobility Radeon HD 5000 Series" (ChipID = 0x68e0)
[   138.807] (II) Loading sub module "fb"
[   138.807] (II) LoadModule: "fb"
[   138.833] (II) Loading /usr/X11R7/lib/modules/libfb.so
[   138.850] (II) Module fb: vendor="X.Org Foundation"
[   138.850] 	compiled for 1.20.5, module version = 1.0.0
[   138.850] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   138.850] (II) Loading sub module "dri2"
[   138.850] (II) LoadModule: "dri2"
[   138.850] (II) Module "dri2" already built-in
[   139.802] (II) Loading sub module "glamoregl"
[   139.802] (II) LoadModule: "glamoregl"
[   139.817] (II) Loading /usr/X11R7/lib/modules/libglamoregl.so
[   139.824] (II) Module glamoregl: vendor="X.Org Foundation"
[   139.824] 	compiled for 1.20.5, module version = 1.0.1
[   139.824] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   140.510] (II) RADEON(0): glamor X acceleration enabled on softpipe
[   140.510] (II) RADEON(0): glamor detected, initialising EGL layer.
[   140.510] (II) RADEON(0): KMS Color Tiling: enabled
[   140.510] (II) RADEON(0): KMS Color Tiling 2D: enabled
[   140.510] (==) RADEON(0): TearFree property default: auto
[   140.510] (II) RADEON(0): KMS Pageflipping: enabled
[   140.512] (II) RADEON(0): Output LVDS using monitor section Monitor0
[   140.513] (II) RADEON(0): Output HDMI-0 has no monitor section
[   140.519] (II) RADEON(0): Output VGA-0 has no monitor section
[   140.521] (II) RADEON(0): EDID for output LVDS
[   140.526] (II) RADEON(0): Printing probed modes for output LVDS
[   140.526] (II) RADEON(0): Modeline "1600x900"x60.0  107.84  1600 1648 1680 1892  900 902 908 950 -hsync -vsync (57.0 kHz eP)
[   140.526] (II) RADEON(0): Modeline "1440x900"x59.9  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz)
[   140.526] (II) RADEON(0): Modeline "1280x854"x59.9   89.25  1280 1352 1480 1680  854 857 867 887 -hsync +vsync (53.1 kHz)
[   140.526] (II) RADEON(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz)
[   140.526] (II) RADEON(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz)
[   140.526] (II) RADEON(0): Modeline "1152x768"x59.8   71.75  1152 1216 1328 1504  768 771 781 798 -hsync +vsync (47.7 kHz)
[   140.526] (II) RADEON(0): Modeline "1024x768"x59.9   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync (47.8 kHz)
[   140.526] (II) RADEON(0): Modeline "800x600"x59.9   38.25  800 832 912 1024  600 603 607 624 -hsync +vsync (37.4 kHz)
[   140.526] (II) RADEON(0): Modeline "848x480"x59.7   31.50  848 872 952 1056  480 483 493 500 -hsync +vsync (29.8 kHz)
[   140.526] (II) RADEON(0): Modeline "720x480"x59.7   26.75  720 744 808 896  480 483 493 500 -hsync +vsync (29.9 kHz)
[   140.526] (II) RADEON(0): Modeline "640x480"x59.4   23.75  640 664 720 800  480 483 487 500 -hsync +vsync (29.7 kHz)
[   140.526] (II) RADEON(0): EDID for output HDMI-0
[   140.532] (II) RADEON(0): EDID for output VGA-0
[   140.532] (II) RADEON(0): Output LVDS connected
[   140.532] (II) RADEON(0): Output HDMI-0 disconnected
[   140.532] (II) RADEON(0): Output VGA-0 disconnected
[   140.532] (II) RADEON(0): Using exact sizes for initial modes
[   140.532] (II) RADEON(0): Output LVDS using initial mode 1600x900 +0+0
[   140.532] (II) RADEON(0): mem size init: gart size :3fdde000 vram size: s:20000000 visible:1f61c000
[   140.532] (==) RADEON(0): DPI set to (96, 96)
[   140.532] (==) RADEON(0): Using gamma correction (1.0, 1.0, 1.0)
[   140.532] (II) Loading sub module "ramdac"
[   140.532] (II) LoadModule: "ramdac"
[   140.532] (II) Module "ramdac" already built-in
[   140.549] (II) RADEON(0): [DRI2] Setup complete
[   140.549] (II) RADEON(0): [DRI2]   DRI driver: r600
[   140.549] (II) RADEON(0): [DRI2]   VDPAU driver: r600
[   140.549] (II) RADEON(0): Front buffer size: 5625K
[   140.549] (II) RADEON(0): VRAM usage limit set to 457623K
[   140.580] (II) RADEON(0): SYNC extension fences enabled
[   140.591] (II) RADEON(0): Present extension enabled
[   140.591] (II) RADEON(0): Can't initialize DRI3 because dri3.h not available at build time
[   140.591] (WW) RADEON(0): DRI3 disabled
[   140.591] (==) RADEON(0): Backing store enabled
[   140.591] (II) RADEON(0): Direct rendering enabled
[   141.052] (II) RADEON(0): Use GLAMOR acceleration.
[   141.053] (II) RADEON(0): Acceleration enabled
[   141.053] (==) RADEON(0): DPMS enabled
[   141.053] (==) RADEON(0): Silken mouse enabled
[   141.075] (II) RADEON(0): Set up textured video (glamor)
[   141.080] (II) RADEON(0): [XvMC] Associated with GLAMOR Textured Video.
[   141.080] (II) RADEON(0): [XvMC] Extension initialized.
[   141.097] (WW) RADEON(0): Option "Int10" is not used
[   141.098] (II) Initializing extension Generic Event Extension
[   141.099] (II) Initializing extension SHAPE
[   141.100] (II) Initializing extension MIT-SHM
[   141.101] (II) Initializing extension XInputExtension
[   141.112] (II) Initializing extension XTEST
[   141.113] (II) Initializing extension BIG-REQUESTS
[   141.114] (II) Initializing extension SYNC
[   141.115] (II) Initializing extension XKEYBOARD
[   141.126] (II) Initializing extension XC-MISC
[   141.127] (II) Initializing extension SECURITY
[   141.129] (II) Initializing extension XFIXES
[   141.130] (II) Initializing extension XFree86-Bigfont
[   141.131] (II) Initializing extension RENDER
[   141.132] (II) Initializing extension RANDR
[   141.134] (II) Initializing extension COMPOSITE
[   141.135] (II) Initializing extension DAMAGE
[   141.136] (II) Initializing extension MIT-SCREEN-SAVER
[   141.137] (II) Initializing extension DOUBLE-BUFFER
[   141.138] (II) Initializing extension RECORD
[   141.139] (II) Initializing extension DPMS
[   141.140] (II) Initializing extension Present
[   141.141] (II) Initializing extension X-Resource
[   141.142] (II) Initializing extension XVideo
[   141.143] (II) Initializing extension XVideo-MotionCompensation
[   141.144] (II) Initializing extension GLX
[   141.166] (II) AIGLX: Loaded and initialized r600
[   141.166] (II) GLX: Initialized DRI2 GL provider for screen 0
[   141.166] (II) Initializing extension XFree86-VidModeExtension
[   141.167] (II) Initializing extension XFree86-DGA
[   141.168] (II) Initializing extension XFree86-DRI
[   141.168] (II) Initializing extension DRI2
[   141.183] (II) RADEON(0): Setting screen physical size to 423 x 238
[   143.042] failed to add FB for modeset
[   143.042] (WW) RADEON(0): Failed to set mode on CRTC 0
[   143.470] (EE) RADEON(0): Failed to enable any CRTC
[   144.182] (II) Using input driver 'mouse' for 'Mouse0'
[   144.182] (**) Option "CorePointer"
[   144.182] (**) Mouse0: always reports core events
[   144.182] (**) Option "Protocol" "wsmouse"
[   144.182] (**) Option "Device" "/dev/wsmouse"
[   144.182] (**) Mouse0: Protocol: "wsmouse"
[   144.182] (**) Mouse0: always reports core events
[   144.317] (==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
[   144.317] (**) Option "ZAxisMapping" "4 5 6 7"
[   144.318] (**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
[   144.318] (**) Mouse0: Buttons: 11
[   144.318] (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE, id 6)
[   144.318] (**) Mouse0: (accel) keeping acceleration scheme 1
[   144.318] (**) Mouse0: (accel) acceleration profile 0
[   144.318] (**) Mouse0: (accel) acceleration factor: 2.000
[   144.318] (**) Mouse0: (accel) acceleration threshold: 4
[   144.452] (II) Using input driver 'kbd' for 'Keyboard0'
[   144.452] (**) Option "CoreKeyboard"
[   144.452] (**) Keyboard0: always reports core events
[   144.452] (**) Keyboard0: always reports core events
[   144.452] (**) Option "Protocol" "standard"
[   144.452] (**) Option "XkbRules" "base"
[   144.452] (**) Option "XkbModel" "pc105"
[   144.452] (**) Option "XkbLayout" "de"
[   144.452] (**) Option "XkbVariant" "nodeadkeys"
[   144.452] (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD, id 7)
[   178.115] (II) AIGLX: Suspending AIGLX clients for VT switch
[   316.093] (II) UnloadModule: "kbd"
[   316.093] (II) UnloadModule: "mouse"
[   316.122] (II) Server terminated successfully (0). Closing log file.


>How-To-Repeat:
s/a

>Fix:
n/a

>Audit-Trail:
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@netbsd.org
Cc: xsrc-manager@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org
Subject: re: xsrc/54265: X with MKLLVMRT=no not working
Date: Tue, 04 Jun 2019 14:58:46 +1000

 hmm, there's nothing in the log that would indicate what went
 wrong, it is as if the clients all went away and it exited..

 can you try ktrace or some additional logging to see what is
 happening?

 > I did a local build with MKLLVMRT=3Dno, thinking my machine would not be=
  affected
 > by the lost functionality (X log never mentioned AMDGPU or similar).
 > =

 > But the resulting system can not start X at all.
 > =

 > radeon0 at pci1 dev 0 function 0: vendor 1002 product 68e0 (rev. 0x00)
 > kern info: [drm] initializing kernel modesetting (CEDAR 0x1002:0x68E0 0x=
 1025:0x0347).

 i don't understand the comment about AMDGPU here.  all radeon
 (and unsupported amdgpu) will be affected by MKLLVMRT=3Dno.

 for me, it meant GL is slow, but Xvideo is there, so while it
 can't do "mpv -vo gpu" well, it can do "mpv -vo xv" fine.


 .mrg.

From: Martin Husemann <martin@duskware.de>
To: matthew green <mrg@eterna.com.au>
Cc: gnats-bugs@netbsd.org
Subject: Re: xsrc/54265: X with MKLLVMRT=no not working
Date: Tue, 4 Jun 2019 08:23:16 +0200

 On Tue, Jun 04, 2019 at 02:58:46PM +1000, matthew green wrote:
 > i don't understand the comment about AMDGPU here.  all radeon
 > (and unsupported amdgpu) will be affected by MKLLVMRT=no.

 The documentation in bsd.README is pretty much useless if you are not deep
 into graphic chip codenames. It sounds like only "AMGDPU" would be affected,
 and as my old logs did not mention that, I thought this machine would not
 be affected at all.

 I will get more debug info.

 Martin

From: Martin Husemann <martin@duskware.de>
To: matthew green <mrg@eterna.com.au>
Cc: gnats-bugs@NetBSD.org
Subject: Re: xsrc/54265: X with MKLLVMRT=no not working
Date: Tue, 4 Jun 2019 22:09:11 +0200

 On Tue, Jun 04, 2019 at 02:58:46PM +1000, matthew green wrote:
 > hmm, there's nothing in the log that would indicate what went
 > wrong, it is as if the clients all went away and it exited..
 > 
 > can you try ktrace or some additional logging to see what is
 > happening?

 Noticed this, probably at the time the X server tries to start:

 [    35.081855] radeon0: autoconfiguration error: error: No GEM object associated to handle 0x00000384, can't create framebuffer

 Same kernel with "full" X binaries works fine.

 Martin

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.