From owner-freebsd-x11@freebsd.org Wed Mar 25 01:42:51 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9220D2718C8 for ; Wed, 25 Mar 2020 01:42:51 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48n9q64dLvz48Vq for ; Wed, 25 Mar 2020 01:42:42 +0000 (UTC) (envelope-from kiri@truefc.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6B63827136B; Wed, 25 Mar 2020 01:33:28 +0000 (UTC) Delivered-To: x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5AA1827136A for ; Wed, 25 Mar 2020 01:33:28 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (1.212.52.36.ap.yournet.ne.jp [36.52.212.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp", Issuer "smtp" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48n9cJ3yZLz44wW for ; Wed, 25 Mar 2020 01:33:19 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (kx.truefc.org [202.216.24.26]) by kx.truefc.org (8.15.2/8.15.2) with ESMTP id 02P1X7MS052075; Wed, 25 Mar 2020 10:33:07 +0900 (JST) (envelope-from kiri@kx.truefc.org) Message-Id: <202003250133.02P1X7MS052075@kx.truefc.org> Date: Wed, 25 Mar 2020 10:33:07 +0900 From: KIRIYAMA Kazuhiko To: x11@freebsd.org Cc: kiri@truefc.org Subject: Can't run ASPEED AST1180 with xf86-video-ast-1.1.5_3. User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 MULE XEmacs/21.4 (patch 24) (Standard C) (amd64--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 48n9cJ3yZLz44wW X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kiri@truefc.org has no SPF policy when checking 36.52.212.1) smtp.mailfrom=kiri@truefc.org X-Spamd-Result: default: False [1.33 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.01)[-0.006,0]; URIBL_BLOCKED(0.00)[x.org.multi.uribl.com,conf.new.multi.uribl.com,truefc.org.multi.uribl.com,supermicro.com.multi.uribl.com]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0]; IP_SCORE(0.12)[asn: 10013(0.57), country: JP(0.04)]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[truefc.org]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.31)[0.310,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:10013, ipnet:36.52.208.0/21, country:JP]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; SH_EMAIL_ZRD(0.00)[0.0.0.0] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2020 01:42:51 -0000 Hi, all I'm working with 13.0-CURRENT on Supermicro A2SDi-16C-HLN4F [1] server which builtin on bord ASPEED video chip: root@bk:~ # uname -a FreeBSD bk.truefc.org 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r356739M: Tue Jan 28 21:49:59 JST 2020 root@msrvkx:/usr/obj/usr/src/amd64.amd64/sys/XIJ amd64 root@bk:~ # pciconf -lv : (snip) : pcib4@pci0:3:0:0: class=0x060400 rev=0x03 hdr=0x01 vendor=0x1a03 device=0x1150 subvendor=0x15d9 subdevice=0x0969 vendor = 'ASPEED Technology, Inc.' device = 'AST1150 PCI-to-PCI Bridge' class = bridge subclass = PCI-PCI vgapci0@pci0:4:0:0: class=0x030000 rev=0x30 hdr=0x00 vendor=0x1a03 device=0x2000 subvendor=0x15d9 subdevice=0x0969 vendor = 'ASPEED Technology, Inc.' device = 'ASPEED Graphics Family' class = display subclass = VGA I've installed xorg-7.7_3.txz, xf86-video-ast-1.1.5_3.txz and xterm-353_1.txz. Then xorg.conf setup as follows: root@bk:~ # Xorg -version X.Org X Server 1.20.7 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 13.0-CURRENT amd64 Current Operating System: FreeBSD bk.truefc.org 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r356739M: Tue Jan 28 21:49:59 JST 2020 root@msrvkx:/usr/obj/usr/src/amd64.amd64/sys/XIJ amd64 Build Date: 13 March 2020 12:30:32PM Current version of pixman: 0.38.4 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. root@bk:~ # Xorg -configure root@bk:~ # cp xorg.conf.new /etc/X11/xorg.conf root@bk:~ # diff -u xorg.conf.new /etc/X11/xorg.conf --- xorg.conf.new 2020-03-25 09:32:49.502646000 +0900 +++ /etc/X11/xorg.conf 2020-03-25 09:37:09.245260000 +0900 @@ -1,6 +1,6 @@ Section "ServerLayout" Identifier "X.org Configured" - Screen 0 "Screen0" 0 0 + Screen 0 "Screen0" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection @@ -53,7 +53,7 @@ #Option "ZaphodHeads" # #Option "DoubleShadow" # [] Identifier "Card0" - Driver "modesetting" + Driver "ast" BusID "PCI:4:0:0" EndSection Then I've run startx, but screen freezed with cursor stop at left up. I could see runnig X with ASPEED from remote machine: root@bk:~ # ps -ax PID TT STAT TIME COMMAND 0 - DLs 0:00.86 [kernel] 1 - ILs 0:00.42 /sbin/init 2 - DL 0:00.00 [crypto] : (snip) : 2315 v0 Is 0:00.02 login [pam] (login) 2349 v0 I 0:00.05 -tcsh (tcsh) 2353 v0 I 0:00.01 su 2354 v0 I 0:00.02 _su (csh) 2356 v0 I+ 0:00.01 /bin/sh /usr/local/bin/startx 2369 v0 I+ 0:00.00 xinit /usr/local/etc/X11/xinit/xinitrc -- /usr/local/bin/X :0 -auth /root/. 2370 v0 R< 23:52.00 /usr/local/bin/Xorg :0 -auth /root/.serverauth.2356 2316 v1 Is+ 0:00.00 /usr/libexec/getty Pc ttyv1 2317 v2 Is+ 0:00.00 /usr/libexec/getty Pc ttyv2 2318 v3 Is+ 0:00.00 /usr/libexec/getty Pc ttyv3 2319 v4 Is+ 0:00.00 /usr/libexec/getty Pc ttyv4 2320 v5 Is+ 0:00.00 /usr/libexec/getty Pc ttyv5 2321 v6 Is+ 0:00.00 /usr/libexec/getty Pc ttyv6 2322 v7 Is+ 0:00.00 /usr/libexec/getty Pc ttyv7 2382 0 Is 0:00.05 -tcsh (tcsh) 2387 0 I 0:00.01 su 2388 0 S 0:00.07 _su (csh) 2545 0 R+ 0:00.00 ps -ax root@bk:~ # cat /var/log/Xorg.0.log [ 82.863] X.Org X Server 1.20.7 X Protocol Version 11, Revision 0 [ 82.863] Build Operating System: FreeBSD 13.0-CURRENT amd64 [ 82.864] Current Operating System: FreeBSD bk.truefc.org 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r356739M: Tue Jan 28 21:49:59 JST 2020 root@msrvkx:/usr/obj/usr/src/amd64.amd64/sys/XIJ amd64 [ 82.864] Build Date: 13 March 2020 12:30:32PM [ 82.864] [ 82.864] Current version of pixman: 0.38.4 [ 82.864] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 82.864] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 82.865] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 25 09:42:36 2020 [ 82.867] (==) Using config file: "/etc/X11/xorg.conf" [ 82.867] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d" [ 82.868] (==) ServerLayout "X.org Configured" [ 82.868] (**) |-->Screen "Screen0" (0) [ 82.868] (**) | |-->Monitor "Monitor0" [ 82.869] (**) | |-->Device "Card0" [ 82.869] (**) |-->Input Device "Mouse0" [ 82.869] (**) |-->Input Device "Keyboard0" [ 82.869] (==) Automatically adding devices [ 82.869] (==) Automatically enabling devices [ 82.869] (==) Not automatically adding GPU devices [ 82.870] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 82.879] (**) 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 [ 82.879] (**) ModulePath set to "/usr/local/lib/xorg/modules" [ 82.879] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. [ 82.879] (WW) Disabling Mouse0 [ 82.879] (WW) Disabling Keyboard0 [ 82.879] (II) Loader magic: 0x435010 [ 82.880] (II) Module ABI versions: [ 82.880] X.Org ANSI C Emulation: 0.4 [ 82.880] X.Org Video Driver: 24.1 [ 82.880] X.Org XInput driver : 24.1 [ 82.880] X.Org Server Extension : 10.0 [ 82.880] (--) PCI:*(4@0:0:0) 1a03:2000:15d9:0969 rev 48, Mem @ 0xde000000/16777216, 0xdf000000/131072, I/O @ 0x0000d000/128, BIOS @ 0x????????/65536 [ 82.881] (II) "glx" will be loaded. This was enabled by default and also specified in the config file. [ 82.881] (II) LoadModule: "glx" [ 82.883] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so [ 82.909] (II) Module glx: vendor="X.Org Foundation" [ 82.909] compiled for 1.20.7, module version = 1.0.0 [ 82.909] ABI class: X.Org Server Extension, version 10.0 [ 82.909] (II) LoadModule: "ast" [ 82.910] (II) Loading /usr/local/lib/xorg/modules/drivers/ast_drv.so [ 82.913] (II) Module ast: vendor="X.Org Foundation" [ 82.913] compiled for 1.20.7, module version = 1.1.5 [ 82.913] Module class: X.Org Video Driver [ 82.913] ABI class: X.Org Video Driver, version 24.1 [ 82.913] (II) AST: Driver for ASPEED Graphics Chipsets: ASPEED Graphics Family, ASPEED Graphics Family, ASPEED AST1180 Graphics [ 82.914] (--) Using syscons driver with X support (version 2.0) [ 82.914] (--) using VT number 9 [ 83.265] (WW) Falling back to old probe method for ast [ 83.265] (--) Chipset ASPEED Graphics Family found [ 83.265] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 83.265] (II) Loading sub module "vgahw" [ 83.265] (II) LoadModule: "vgahw" [ 83.266] (II) Loading /usr/local/lib/xorg/modules/libvgahw.so [ 83.271] (II) Module vgahw: vendor="X.Org Foundation" [ 83.271] compiled for 1.20.7, module version = 0.1.0 [ 83.272] ABI class: X.Org Video Driver, version 24.1 [ 83.272] (II) Loading sub module "fb" [ 83.272] (II) LoadModule: "fb" [ 83.272] (II) Loading /usr/local/lib/xorg/modules/libfb.so [ 83.279] (II) Module fb: vendor="X.Org Foundation" [ 83.279] compiled for 1.20.7, module version = 1.0.0 [ 83.279] ABI class: X.Org ANSI C Emulation, version 0.4 [ 83.279] (==) AST(0): Depth 24, (--) framebuffer bpp 32 [ 83.279] (==) AST(0): Using gamma correction (1.0, 1.0, 1.0) [ 83.279] (==) AST(0): RGB weight 888 [ 83.279] (==) AST(0): Default visual is TrueColor [ 83.279] (--) AST(0): Chipset: "ASPEED Graphics Family" [ 83.279] (II) AST(0): Linear framebuffer at 0xDE000000 [ 83.280] (II) AST(0): IO registers at addr 0xDF000000 What happeds ? Regards [1] https://www.supermicro.com/ja/products/motherboard/A2SDi-16C-HLN4F --- KIRIYAMA Kazuhiko