From owner-freebsd-x11@freebsd.org Wed Mar 25 05:22:46 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 D4485276402 for ; Wed, 25 Mar 2020 05:22:46 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48nGhv1pGcz4WL6 for ; Wed, 25 Mar 2020 05:22:39 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: by mailman.nyi.freebsd.org (Postfix) id EC5F92763FC; Wed, 25 Mar 2020 05:22:32 +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 E4C5A2763FB for ; Wed, 25 Mar 2020 05:22:32 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48nGhg0891z4WH2 for ; Wed, 25 Mar 2020 05:22:25 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by udns.ultimatedns.net (8.15.2/8.15.2) with ESMTPS id 02P5MjSY076580 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 24 Mar 2020 22:22:54 -0700 (PDT) (envelope-from bsd-lists@BSDforge.com) X-Mailer: Cypht MIME-Version: 1.0 Cc: In-Reply-To: <202003250133.02P1X7MS052075@kx.truefc.org> From: Chris Reply-To: bsd-lists@BSDforge.com To: KIRIYAMA Kazuhiko Subject: Re: Can't run ASPEED AST1180 with xf86-video-ast-1.1.5_3. Date: Tue, 24 Mar 2020 22:22:51 -0700 Message-Id: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48nGhg0891z4WH2 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.05 / 15.00]; NEURAL_HAM_MEDIUM(-0.71)[-0.706,0]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81]; NEURAL_HAM_LONG(-0.34)[-0.343,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 05:22:46 -0000 On Wed, 25 Mar 2020 10:33:07 +0900 KIRIYAMA Kazuhiko kiri@truefc=2Eorg said > Hi, all >=20 > I'm working with 13=2E0-CURRENT on Supermicro A2SDi-16C-HLN4F [1] server wh= ich > builtin on bord ASPEED video chip: >=20 > root@bk:~ # uname -a > FreeBSD bk=2Etruefc=2Eorg 13=2E0-CURRENT FreeBSD 13=2E0-CURRENT #0 r356739M: Tue = Jan > 28 21:49:59 JST 2020 root@msrvkx:/usr/obj/usr/src/amd64=2Eamd64/sys/XIJ= =20 > amd64 > root@bk:~ # pciconf -lv=20 > : > (snip) > : > pcib4@pci0:3:0:0: class=3D0x060400 rev=3D0x03 hdr=3D0x01 vendor=3D0= x1a03 > device=3D0x1150 subvendor=3D0x15d9 subdevice=3D0x0969 > vendor =3D 'ASPEED Technology, Inc=2E' > device =3D 'AST1150 PCI-to-PCI Bridge' > class =3D bridge > subclass =3D PCI-PCI > vgapci0@pci0:4:0:0: class=3D0x030000 rev=3D0x30 hdr=3D0x00 vendor=3D0= x1a03 > device=3D0x2000 subvendor=3D0x15d9 subdevice=3D0x0969 > vendor =3D 'ASPEED Technology, Inc=2E' > device =3D 'ASPEED Graphics Family' > class =3D display > subclass =3D VGA >=20 > I've installed xorg-7=2E7_3=2Etxz, xf86-video-ast-1=2E1=2E5_3=2Etxz and > xterm-353_1=2Etxz=2E Then xorg=2Econf setup as follows: >=20 > root@bk:~ # Xorg -version >=20 > X=2EOrg X Server 1=2E20=2E7 > X Protocol Version 11, Revision 0 > Build Operating System: FreeBSD 13=2E0-CURRENT amd64=20 > Current Operating System: FreeBSD bk=2Etruefc=2Eorg 13=2E0-CURRENT FreeBSD > 13=2E0-CURRENT #0 r356739M: Tue Jan 28 21:49:59 JST 2020 =20 > root@msrvkx:/usr/obj/usr/src/amd64=2Eamd64/sys/XIJ amd64 > Build Date: 13 March 2020 12:30:32PM >=20 > Current version of pixman: 0=2E38=2E4 > Before reporting problems, check http://wiki=2Ex=2Eorg > to make sure that you have the latest version=2E > root@bk:~ # Xorg -configure > root@bk:~ # cp xorg=2Econf=2Enew /etc/X11/xorg=2Econf > root@bk:~ # diff -u xorg=2Econf=2Enew /etc/X11/xorg=2Econf > --- xorg=2Econf=2Enew 2020-03-25 09:32:49=2E502646000 +0900 > +++ /etc/X11/xorg=2Econf 2020-03-25 09:37:09=2E245260000 +0900 > @@ -1,6 +1,6 @@ > Section "ServerLayout" > Identifier "X=2Eorg 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 >=20 > Then I've run startx, but screen freezed with cursor stop at left up=2E I > could see runnig X with ASPEED from remote machine: >=20 > root@bk:~ # ps -ax > PID TT STAT TIME COMMAND > 0 - DLs 0:00=2E86 [kernel] > 1 - ILs 0:00=2E42 /sbin/init > 2 - DL 0:00=2E00 [crypto] > : > (snip) > : > 2315 v0 Is 0:00=2E02 login [pam] (login) > 2349 v0 I 0:00=2E05 -tcsh (tcsh) > 2353 v0 I 0:00=2E01 su > 2354 v0 I 0:00=2E02 _su (csh) > 2356 v0 I+ 0:00=2E01 /bin/sh /usr/local/bin/startx > 2369 v0 I+ 0:00=2E00 xinit /usr/local/etc/X11/xinit/xinitrc -- > /usr/local/bin/X :0 -auth /root/=2E > 2370 v0 R< 23:52=2E00 /usr/local/bin/Xorg :0 -auth /root/=2Eserverauth=2E23= 56 > 2316 v1 Is+ 0:00=2E00 /usr/libexec/getty Pc ttyv1 > 2317 v2 Is+ 0:00=2E00 /usr/libexec/getty Pc ttyv2 > 2318 v3 Is+ 0:00=2E00 /usr/libexec/getty Pc ttyv3 > 2319 v4 Is+ 0:00=2E00 /usr/libexec/getty Pc ttyv4 > 2320 v5 Is+ 0:00=2E00 /usr/libexec/getty Pc ttyv5 > 2321 v6 Is+ 0:00=2E00 /usr/libexec/getty Pc ttyv6 > 2322 v7 Is+ 0:00=2E00 /usr/libexec/getty Pc ttyv7 > 2382 0 Is 0:00=2E05 -tcsh (tcsh) > 2387 0 I 0:00=2E01 su > 2388 0 S 0:00=2E07 _su (csh) > 2545 0 R+ 0:00=2E00 ps -ax > root@bk:~ # cat /var/log/Xorg=2E0=2Elog > [ 82=2E863]=20 > X=2EOrg X Server 1=2E20=2E7 > X Protocol Version 11, Revision 0 > [ 82=2E863] Build Operating System: FreeBSD 13=2E0-CURRENT amd64=20 > [ 82=2E864] Current Operating System: FreeBSD bk=2Etruefc=2Eorg 13=2E0-CURRENT > FreeBSD 13=2E0-CURRENT #0 r356739M: Tue Jan 28 21:49:59 JST 2020 =20 > root@msrvkx:/usr/obj/usr/src/amd64=2Eamd64/sys/XIJ amd64 > [ 82=2E864] Build Date: 13 March 2020 12:30:32PM > [ 82=2E864] =20 > [ 82=2E864] Current version of pixman: 0=2E38=2E4 > [ 82=2E864] =09Before reporting problems, check http://wiki=2Ex=2Eorg > =09to make sure that you have the latest version=2E > [ 82=2E864] Markers: (--) probed, (**) from config file, (=3D=3D) defaul= t > setting, > =09(++) from command line, (!!) notice, (II) informational, > =09(WW) warning, (EE) error, (NI) not implemented, (??) unknown=2E > [ 82=2E865] (=3D=3D) Log file: "/var/log/Xorg=2E0=2Elog", Time: Wed Mar 25 0= 9:42:36 > 2020 > [ 82=2E867] (=3D=3D) Using config file: "/etc/X11/xorg=2Econf" > [ 82=2E867] (=3D=3D) Using system config directory > "/usr/local/share/X11/xorg=2Econf=2Ed" > [ 82=2E868] (=3D=3D) ServerLayout "X=2Eorg Configured" > [ 82=2E868] (**) |-->Screen "Screen0" (0) > [ 82=2E868] (**) | |-->Monitor "Monitor0" > [ 82=2E869] (**) | |-->Device "Card0" > [ 82=2E869] (**) |-->Input Device "Mouse0" > [ 82=2E869] (**) |-->Input Device "Keyboard0" > [ 82=2E869] (=3D=3D) Automatically adding devices > [ 82=2E869] (=3D=3D) Automatically enabling devices > [ 82=2E869] (=3D=3D) Not automatically adding GPU devices > [ 82=2E870] (=3D=3D) Max clients allowed: 256, resource mask: 0x1fffff > [ 82=2E879] (**) FontPath set to: > =09/usr/local/share/fonts/misc/, > =09/usr/local/share/fonts/TTF/, > =09/usr/local/share/fonts/OTF/, > =09/usr/local/share/fonts/Type1/, > =09/usr/local/share/fonts/100dpi/, > =09/usr/local/share/fonts/75dpi/, > =09catalogue:/usr/local/etc/X11/fontpath=2Ed, > =09/usr/local/share/fonts/misc/, > =09/usr/local/share/fonts/TTF/, > =09/usr/local/share/fonts/OTF/, > =09/usr/local/share/fonts/Type1/, > =09/usr/local/share/fonts/100dpi/, > =09/usr/local/share/fonts/75dpi/, > =09catalogue:/usr/local/etc/X11/fontpath=2Ed > [ 82=2E879] (**) ModulePath set to "/usr/local/lib/xorg/modules" > [ 82=2E879] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse'= or > 'vmmouse' will be disabled=2E > [ 82=2E879] (WW) Disabling Mouse0 > [ 82=2E879] (WW) Disabling Keyboard0 > [ 82=2E879] (II) Loader magic: 0x435010 > [ 82=2E880] (II) Module ABI versions: > [ 82=2E880] =09X=2EOrg ANSI C Emulation: 0=2E4 > [ 82=2E880] =09X=2EOrg Video Driver: 24=2E1 > [ 82=2E880] =09X=2EOrg XInput driver : 24=2E1 > [ 82=2E880] =09X=2EOrg Server Extension : 10=2E0 > [ 82=2E880] (--) PCI:*(4@0:0:0) 1a03:2000:15d9:0969 rev 48, Mem @ > 0xde000000/16777216, 0xdf000000/131072, I/O @ 0x0000d000/128, BIOS @ > 0x????????/65536 > [ 82=2E881] (II) "glx" will be loaded=2E This was enabled by default and a= lso > specified in the config file=2E > [ 82=2E881] (II) LoadModule: "glx" > [ 82=2E883] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx=2Es= o > [ 82=2E909] (II) Module glx: vendor=3D"X=2EOrg Foundation" > [ 82=2E909] =09compiled for 1=2E20=2E7, module version =3D 1=2E0=2E0 > [ 82=2E909] =09ABI class: X=2EOrg Server Extension, version 10=2E0 > [ 82=2E909] (II) LoadModule: "ast" > [ 82=2E910] (II) Loading /usr/local/lib/xorg/modules/drivers/ast_drv=2Eso > [ 82=2E913] (II) Module ast: vendor=3D"X=2EOrg Foundation" > [ 82=2E913] =09compiled for 1=2E20=2E7, module version =3D 1=2E1=2E5 > [ 82=2E913] =09Module class: X=2EOrg Video Driver > [ 82=2E913] =09ABI class: X=2EOrg Video Driver, version 24=2E1 > [ 82=2E913] (II) AST: Driver for ASPEED Graphics Chipsets: ASPEED Graphi= cs > Family, > =09ASPEED Graphics Family, ASPEED AST1180 Graphics > [ 82=2E914] (--) Using syscons driver with X support (version 2=2E0) > [ 82=2E914] (--) using VT number 9 >=20 > [ 83=2E265] (WW) Falling back to old probe method for ast > [ 83=2E265] (--) Chipset ASPEED Graphics Family found > [ 83=2E265] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card > support > [ 83=2E265] (II) Loading sub module "vgahw" > [ 83=2E265] (II) LoadModule: "vgahw" > [ 83=2E266] (II) Loading /usr/local/lib/xorg/modules/libvgahw=2Eso > [ 83=2E271] (II) Module vgahw: vendor=3D"X=2EOrg Foundation" > [ 83=2E271] =09compiled for 1=2E20=2E7, module version =3D 0=2E1=2E0 > [ 83=2E272] =09ABI class: X=2EOrg Video Driver, version 24=2E1 > [ 83=2E272] (II) Loading sub module "fb" > [ 83=2E272] (II) LoadModule: "fb" > [ 83=2E272] (II) Loading /usr/local/lib/xorg/modules/libfb=2Eso > [ 83=2E279] (II) Module fb: vendor=3D"X=2EOrg Foundation" > [ 83=2E279] =09compiled for 1=2E20=2E7, module version =3D 1=2E0=2E0 > [ 83=2E279] =09ABI class: X=2EOrg ANSI C Emulation, version 0=2E4 > [ 83=2E279] (=3D=3D) AST(0): Depth 24, (--) framebuffer bpp 32 > [ 83=2E279] (=3D=3D) AST(0): Using gamma correction (1=2E0, 1=2E0, 1=2E0) > [ 83=2E279] (=3D=3D) AST(0): RGB weight 888 > [ 83=2E279] (=3D=3D) AST(0): Default visual is TrueColor > [ 83=2E279] (--) AST(0): Chipset: "ASPEED Graphics Family" > [ 83=2E279] (II) AST(0): Linear framebuffer at 0xDE000000 > [ 83=2E280] (II) AST(0): IO registers at addr 0xDF000000 >=20 > What happeds ? No mouse, or keyboard driver? I see no evidence of them in your Xorg=2Elog=2E Probably want to install, and configure them as needed=2E :) >=20 > Regards >=20 > [1] https://www=2Esupermicro=2Ecom/ja/products/motherboard/A2SDi-16C-HLN4F >=20 > --- > KIRIYAMA Kazuhiko > _______________________________________________ > freebsd-x11@freebsd=2Eorg mailing list > https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd=2Eorg"