X11 not working on 11-STABLE with AMDGPU

Piotr Kubaj via freebsd-stable <[email protected]>
Newsgroups gmane.os.freebsd.stable,gmane.os.freebsd.devel.x11
Message-ID <20180801092849.GA75303@KGPE-D16>
Hi,

I use FreeBSD 11.2-STABLE (from 23.07). After recent updates, I am unable to start X11 (Xorg.0.log is attached). I have rebuilt drm-next-kmod and Xorg-related ports. Xorg fails to start both with amdgpu kernel driver with amdgpu Xorg driver and without amdgpu kerner driver (vesa is then used).

When using amdgpu, the X process starts (even though there's no display), but it looks like zombie - only reboot is able to kill it.

Was there some regression recently?


-- 
 _________________________________________ 
/ Extreme fear can neither fight nor fly. \
|                                         |
| -- William Shakespeare, "The Rape of    |
\ Lucrece"                                /
 ----------------------------------------- 
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
Xorg.0.log (text/plain, 15.3 KB)
[   890.789] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[   890.790] X Protocol Version 11, Revision 0
[   890.790] Build Operating System: FreeBSD 11.2-STABLE amd64 
[   890.790] Current Operating System: FreeBSD KGPE-D16 11.2-STABLE FreeBSD 11.2-STABLE #29  b15a075c8a9(stable/11/master): Mon Jul 23 13:44:10 CEST 2018     pkubaj@KGPE-D16:/usr/obj/usr/src/sys/DESKTOP1 amd64
[   890.791] Build Date: 31 July 2018  10:25:40AM
[   890.791]  
[   890.791] Current version of pixman: 0.34.0
[   890.791] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   890.791] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   890.793] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug  1 11:15:25 2018
[   890.794] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   890.794] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[   890.795] (==) No Layout section.  Using the first Screen section.
[   890.795] (==) No screen section available. Using defaults.
[   890.795] (**) |-->Screen "Default Screen Section" (0)
[   890.795] (**) |   |-->Monitor "<default monitor>"
[   890.795] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   890.795] (**) |   |-->Device "AMD"
[   890.795] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   890.796] (==) Automatically adding devices
[   890.796] (==) Automatically enabling devices
[   890.796] (==) Not automatically adding GPU devices
[   890.796] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   890.797] (WW) The directory "/usr/local/share/fonts/ecofont" does not exist.
[   890.797] 	Entry deleted from font path.
[   890.799] (**) FontPath set to:
	/usr/local/share/fonts/CharisSIL/,
	/usr/local/share/fonts/DoulosSIL/,
	/usr/local/share/fonts/GentiumBasic/,
	/usr/local/share/fonts/GentiumPlus/,
	/usr/local/share/fonts/Lohit/,
	/usr/local/share/fonts/anonymous-pro/,
	/usr/local/share/fonts/ChromeOS/,
	/usr/local/share/fonts/Caladea/,
	/usr/local/share/fonts/Carlito/,
	/usr/local/share/fonts/misc/,
	/usr/local/share/fonts/75dpi/,
	/usr/local/share/fonts/cyr-rfx-koi8-o/,
	/usr/local/share/fonts/dejavu/,
	/usr/local/share/fonts/Droid/,
	/usr/local/share/fonts/google-fonts/,
	/usr/local/share/fonts/Hana/,
	/usr/local/share/fonts/koi8-u-gemini/,
	/usr/local/share/fonts/Liberation/,
	/usr/local/share/fonts/LinLibertineG/,
	/usr/local/share/fonts/ParaType/,
	/usr/local/share/fonts/roboto-fonts-ttf/,
	/usr/local/share/fonts/SourceCodePro/,
	/usr/local/share/fonts/SourceSansPro/,
	/usr/local/share/fonts/SourceSerifPro/,
	/usr/local/share/fonts/stix/,
	/usr/local/share/fonts/terminus-font/,
	/usr/local/share/fonts/ubuntu-font/,
	/usr/local/
[   890.799] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[   890.799] (II) The server relies on devd to provide the list of input devices.
	If no devices become available, reconfigure devd or disable AutoAddDevices.
[   890.799] (II) Loader magic: 0x14854a0
[   890.799] (II) Module ABI versions:
[   890.799] 	X.Org ANSI C Emulation: 0.4
[   890.800] 	X.Org Video Driver: 20.0
[   890.800] 	X.Org XInput driver : 22.1
[   890.800] 	X.Org Server Extension : 9.0
[   890.800] (--) PCI:*(0:5:0:0) 1002:67ef:1da2:e348 rev 229, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xf8200000/262144, I/O @ 0x00003000/256, BIOS @ 0x????????/65536
[   890.801] (II) LoadModule: "glx"
[   890.802] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[   890.811] (II) Module glx: vendor="X.Org Foundation"
[   890.811] 	compiled for 1.18.4, module version = 1.0.0
[   890.812] 	ABI class: X.Org Server Extension, version 9.0
[   890.812] (==) AIGLX enabled
[   890.812] (II) LoadModule: "amdgpu"
[   890.813] (II) Loading /usr/local/lib/xorg/modules/drivers/amdgpu_drv.so
[   890.815] (II) Module amdgpu: vendor="X.Org Foundation"
[   890.815] 	compiled for 1.18.4, module version = 1.3.0
[   890.815] 	Module class: X.Org Video Driver
[   890.815] 	ABI class: X.Org Video Driver, version 20.0
[   890.816] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[   890.816] (--) Using syscons driver with X support (version 29685050396114946.0)
[   890.816] (--) using VT number 9

[   890.817] (II) [KMS] Kernel modesetting enabled.
[   890.857] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   890.858] (II) AMDGPU(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   890.858] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[   890.858] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[   890.858] (==) AMDGPU(0): Default visual is TrueColor
[   890.858] (==) AMDGPU(0): RGB weight 888
[   890.858] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[   890.858] (--) AMDGPU(0): Chipset: "Radeon RX 560 Series" (ChipID = 0x67ef)
[   890.858] (II) Loading sub module "fb"
[   890.859] (II) LoadModule: "fb"
[   890.859] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[   890.923] (II) Module fb: vendor="X.Org Foundation"
[   890.923] 	compiled for 1.18.4, module version = 1.0.0
[   890.923] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   890.923] (II) Loading sub module "dri2"
[   890.924] (II) LoadModule: "dri2"
[   890.924] (II) Module "dri2" already built-in
[   897.146] (II) Loading sub module "glamoregl"
[   897.146] (II) LoadModule: "glamoregl"
[   897.147] (II) Loading /usr/local/lib/xorg/modules/libglamoregl.so
[   897.393] (II) Module glamoregl: vendor="X.Org Foundation"
[   897.393] 	compiled for 1.18.4, module version = 1.0.0
[   897.393] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   897.394] (II) glamor: OpenGL accelerated X.org driver based.
[   897.512] (II) glamor: EGL version 1.5 (DRI2):
[   897.710] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[   897.710] (==) AMDGPU(0): TearFree property default: auto
[   897.710] (II) AMDGPU(0): KMS Pageflipping: enabled
[   897.729] (II) AMDGPU(0): Output DisplayPort-0 has no monitor section
[   897.730] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[   897.761] (II) AMDGPU(0): Output DVI-D-0 has no monitor section
[   897.791] (II) AMDGPU(0): EDID for output DisplayPort-0
[   897.792] (II) AMDGPU(0): EDID for output HDMI-A-0
[   897.824] (II) AMDGPU(0): EDID for output DVI-D-0
[   897.824] (II) AMDGPU(0): Manufacturer: IVM  Model: 6101  Serial#: 16843009
[   897.824] (II) AMDGPU(0): Year: 2009  Week: 42
[   897.824] (II) AMDGPU(0): EDID Version: 1.3
[   897.824] (II) AMDGPU(0): Digital Display Input
[   897.825] (II) AMDGPU(0): DFP 1.x compatible TMDS
[   897.825] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 52  vert.: 30
[   897.825] (II) AMDGPU(0): Gamma: 2.20
[   897.825] (II) AMDGPU(0): DPMS capabilities: Off
[   897.825] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[   897.825] (II) AMDGPU(0): First detailed timing is preferred mode
[   897.826] (II) AMDGPU(0): redX: 0.647 redY: 0.334   greenX: 0.284 greenY: 0.607
[   897.826] (II) AMDGPU(0): blueX: 0.151 blueY: 0.071   whiteX: 0.313 whiteY: 0.329
[   897.826] (II) AMDGPU(0): Supported established timings:
[   897.826] (II) AMDGPU(0): 720x400@70Hz
[   897.826] (II) AMDGPU(0): 640x480@60Hz
[   897.826] (II) AMDGPU(0): 640x480@67Hz
[   897.826] (II) AMDGPU(0): 640x480@72Hz
[   897.826] (II) AMDGPU(0): 640x480@75Hz
[   897.826] (II) AMDGPU(0): 800x600@56Hz
[   897.827] (II) AMDGPU(0): 800x600@60Hz
[   897.827] (II) AMDGPU(0): 800x600@72Hz
[   897.827] (II) AMDGPU(0): 800x600@75Hz
[   897.827] (II) AMDGPU(0): 832x624@75Hz
[   897.827] (II) AMDGPU(0): 1024x768@60Hz
[   897.827] (II) AMDGPU(0): 1024x768@70Hz
[   897.827] (II) AMDGPU(0): 1024x768@75Hz
[   897.827] (II) AMDGPU(0): 1280x1024@75Hz
[   897.827] (II) AMDGPU(0): 1152x864@75Hz
[   897.828] (II) AMDGPU(0): Manufacturer's mask: 0
[   897.828] (II) AMDGPU(0): Supported standard timings:
[   897.828] (II) AMDGPU(0): #0: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[   897.828] (II) AMDGPU(0): #1: hsize: 1600  vsize 1200  refresh: 60  vid: 16553
[   897.828] (II) AMDGPU(0): #2: hsize: 1440  vsize 900  refresh: 60  vid: 149
[   897.828] (II) AMDGPU(0): #3: hsize: 1280  vsize 1024  refresh: 75  vid: 36737
[   897.828] (II) AMDGPU(0): #4: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[   897.828] (II) AMDGPU(0): #5: hsize: 1440  vsize 900  refresh: 75  vid: 3989
[   897.829] (II) AMDGPU(0): #6: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[   897.829] (II) AMDGPU(0): #7: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[   897.829] (II) AMDGPU(0): Supported detailed timing:
[   897.829] (II) AMDGPU(0): clock: 148.5 MHz   Image Size:  521 x 293 mm
[   897.829] (II) AMDGPU(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[   897.829] (II) AMDGPU(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[   897.829] (II) AMDGPU(0): Supported detailed timing:
[   897.829] (II) AMDGPU(0): clock: 85.5 MHz   Image Size:  521 x 293 mm
[   897.830] (II) AMDGPU(0): h_active: 1360  h_sync: 1424  h_sync_end 1536 h_blank_end 1792 h_border: 0
[   897.830] (II) AMDGPU(0): v_active: 768  v_sync: 771  v_sync_end 777 v_blanking: 795 v_border: 0
[   897.830] (II) AMDGPU(0): Ranges: V min: 55 V max: 76 Hz, H min: 29 H max: 81 kHz, PixClock max 175 MHz
[   897.830] (II) AMDGPU(0): Monitor name: PLE2407HDSD
[   897.830] (II) AMDGPU(0): EDID (in hex):
[   897.830] (II) AMDGPU(0): 	00ffffffffffff0026cd016101010101
[   897.831] (II) AMDGPU(0): 	2a13010381341e782aeed5a555489b26
[   897.831] (II) AMDGPU(0): 	125054bfef80b300a9409500818f8180
[   897.831] (II) AMDGPU(0): 	950f714f81c0023a801871382d40582c
[   897.831] (II) AMDGPU(0): 	450009252100001e662150b051001b30
[   897.831] (II) AMDGPU(0): 	4070360009252100001e000000fd0037
[   897.831] (II) AMDGPU(0): 	4c1d5111000a202020202020000000fc
[   897.831] (II) AMDGPU(0): 	00504c4532343037484453440a200010
[   897.831] (II) AMDGPU(0): Printing probed modes for output DVI-D-0
[   897.832] (II) AMDGPU(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[   897.832] (II) AMDGPU(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[   897.832] (II) AMDGPU(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[   897.832] (II) AMDGPU(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[   897.832] (II) AMDGPU(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[   897.832] (II) AMDGPU(0): Modeline "1440x900"x75.0  136.75  1440 1536 1688 1936  900 903 909 942 -hsync +vsync (70.6 kHz e)
[   897.832] (II) AMDGPU(0): Modeline "1440x900"x59.9   88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[   897.832] (II) AMDGPU(0): Modeline "1360x768"x60.0   85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz e)
[   897.833] (II) AMDGPU(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[   897.833] (II) AMDGPU(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[   897.833] (II) AMDGPU(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[   897.833] (II) AMDGPU(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[   897.834] (II) AMDGPU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   897.834] (II) AMDGPU(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[   897.834] (II) AMDGPU(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[   897.834] (II) AMDGPU(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[   897.834] (II) AMDGPU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   897.835] (II) AMDGPU(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[   897.835] (II) AMDGPU(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[   897.835] (II) AMDGPU(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[   897.835] (II) AMDGPU(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[   897.835] (II) AMDGPU(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[   897.836] (II) AMDGPU(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[   897.836] (II) AMDGPU(0): Output DisplayPort-0 disconnected
[   897.836] (II) AMDGPU(0): Output HDMI-A-0 disconnected
[   897.836] (II) AMDGPU(0): Output DVI-D-0 connected
[   897.836] (II) AMDGPU(0): Using exact sizes for initial modes
[   897.836] (II) AMDGPU(0): Output DVI-D-0 using initial mode 1920x1080 +0+0
[   897.837] (II) AMDGPU(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[   897.837] (II) AMDGPU(0): mem size init: gart size :3fe87d800 vram size: s:7d403000 visible:d403000
[   897.837] (==) AMDGPU(0): DPI set to (96, 96)
[   897.837] (II) Loading sub module "ramdac"
[   897.837] (II) LoadModule: "ramdac"
[   897.838] (II) Module "ramdac" already built-in
[   897.838] (--) Depth 24 pixmap format is 32 bpp
[   897.852] (II) AMDGPU(0): [DRI2] Setup complete
[   897.853] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi
[   897.853] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi
[   897.854] (II) AMDGPU(0): Front buffer pitch: 7680 bytes
[   897.882] (II) AMDGPU(0): SYNC extension fences enabled
[   897.883] (II) AMDGPU(0): Present extension enabled
[   897.883] (==) AMDGPU(0): DRI3 enabled
[   897.883] (==) AMDGPU(0): Backing store enabled
[   897.884] (II) AMDGPU(0): Direct rendering enabled
[   898.258] (II) AMDGPU(0): Use GLAMOR acceleration.
[   898.258] (II) AMDGPU(0): Acceleration enabled
[   898.258] (==) AMDGPU(0): DPMS enabled
[   898.258] (==) AMDGPU(0): Silken mouse enabled
[   898.259] (II) AMDGPU(0): Set up textured video (glamor)
[   898.259] (II) AMDGPU(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[   898.303] (--) RandR disabled
[   898.337] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   898.337] (II) AIGLX: enabled GLX_ARB_create_context
[   898.337] (II) AIGLX: enabled GLX_ARB_create_context_profile
[   898.337] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[   898.338] (II) AIGLX: enabled GLX_INTEL_swap_event
[   898.338] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[   898.338] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[   898.338] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[   898.338] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[   898.338] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[   898.338] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[   898.344] (II) AIGLX: Loaded and initialized radeonsi
[   898.344] (II) GLX: Initialized DRI2 GL provider for screen 0
[   898.346] (II) AMDGPU(0): Setting screen physical size to 508 x 285
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAlthfU4ACgkQelmbhSCD
nJ34rQ/9GYprRroutN5Sfclsj3iUu2UgEC25USoWTtVPsy8Rgwy0DkYkfipPy91g
jNfF5/yueIRL29ZdifeZoRd+NaAyvS8EaSzZtHv7S65SRhABsCrLW+IKJNvbwUpu
6Jfj6am73CWqD/vrVq9SVBl1dJHisD7qz3JDpxzXmvqQ5lFwLQWa0TQujXOIFKlK
VgJH255ke5M2k3i23PSg1t0+fvRQqHwakHeVoCClEd1CAA8EmT0pRkuWQ8b3nFXY
Q/lKK/2hrx0zJvyYIvsjQrzq9n8g3lJnhPL3c5IWICYFXtkYC+0+hR5OXZtkDokS
ZA3uurG8hggBQVtyLWQ/XVVZQrTMsvHMM4gts8hyY7wSWyjry8QDOprcrXBa58wU
b2QQCmyHpF8f9TN4cnLus6qD79b178DW4FRBOGQtKUzNZiJsCV3E5Gtm03H+ep5A
C/qmZrYzwRpphPmOuDshGchO+te5Ph3EeXYCNRUkiowFtZgzT8wB5KujDxWfPseQ
LKkRc9eV6P9RsDQo/3B3+mkC7A928FDVhPzkhz/tnVnZziKJ2EPfIamfU7Avz8C/
YE1rhgq4s14UCkGCSvA9NJpJZ27Nf8MhXu14/S8eA1WSndWkJc7AenxOANPEIXZJ
8NVDltmf+mFMUtpPVytcdZZXvrpy861IDsKBbaKq4EeCjYRpD0A=
=g4Do
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.