From owner-freebsd-stable@freebsd.org Sat Aug 24 01:10:08 2019 Return-Path: Delivered-To: freebsd-stable@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 AECFBD3683 for ; Sat, 24 Aug 2019 01:10:08 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by mx1.freebsd.org (Postfix) with ESMTP id 46FgDG2Qprz4SdH for ; Sat, 24 Aug 2019 01:10:05 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ppp14-2-102-80.adl-apt-pir-bras32.tpg.internode.on.net (HELO midget.dons.net.au) ([14.2.102.80]) by ipmail06.adl2.internode.on.net with ESMTP; 24 Aug 2019 10:31:10 +0930 Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.15.2/8.15.2) with ESMTPS id x7O1126f054489 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 24 Aug 2019 10:31:02 +0930 (ACST) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.15.2/8.15.2/Submit) id x7O0bX8t036593 for ; Sat, 24 Aug 2019 10:07:33 +0930 (ACST) (envelope-from darius@dons.net.au) X-Authentication-Warning: midget.dons.net.au: mailnull set sender to using -f Received: from [10.0.2.38] ([10.0.2.38]) by ns.dons.net.au (envelope-sender ) (MIMEDefang) with ESMTP id x7O0bSsn036586; Sat, 24 Aug 2019 10:07:33 +0930 Content-Type: multipart/mixed; boundary="Apple-Mail=_F2301BC5-4EC1-4C14-9D00-7B3EF63E63E9" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: FreeBSD 12 Xorg vs X11SSH-F / AST From: "O'Connor, Daniel" In-Reply-To: <4dbdbf1e-b823-20e4-8516-55bb9fdfab88@nomadlogic.org> Date: Sat, 24 Aug 2019 10:07:28 +0930 Cc: freebsd-stable Message-Id: <7AC86383-2C8E-427D-88BD-48B91FE9ECBC@dons.net.au> References: <2EDB82D8-9EC5-4988-AD1C-21305E712E46@dons.net.au> <4dbdbf1e-b823-20e4-8516-55bb9fdfab88@nomadlogic.org> To: Pete Wright X-Mailer: Apple Mail (2.3445.104.11) X-Spam-Score: -1 () No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.1 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 46FgDG2Qprz4SdH X-Spamd-Bar: ++++++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of darius@dons.net.au has no SPF policy when checking 150.101.137.129) smtp.mailfrom=darius@dons.net.au X-Spamd-Result: default: False [10.60 / 15.00]; MV_CASE(0.50)[]; HAS_ATTACHMENT(0.00)[]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~,3:+,4:~,5:+]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RBL_NIXSPAM(4.00)[129.137.101.150.ix.dnsbl.manitu.net]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.99)[0.989,0]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[dons.net.au]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[129.137.101.150.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; GREYLIST(0.00)[pass,body]; IP_SCORE(2.11)[ip: (5.32), ipnet: 150.101.0.0/16(3.58), asn: 4739(1.63), country: AU(0.01)] X-Spam: Yes X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Aug 2019 01:10:08 -0000 --Apple-Mail=_F2301BC5-4EC1-4C14-9D00-7B3EF63E63E9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 24 Aug 2019, at 02:23, Pete Wright wrote: > On 8/23/19 7:30 AM, O'Connor, Daniel wrote: >> Hi, >> We have a Supermicro X11SSH-F motherboard which has a ASPEED AST2400 = video chipset with FreeBSD 12.0-RELEASE r341666 GENERIC amd64 on it. >> Unfortunately I am unable to get X working with it properly, I have = the xf86-video-ast package (version 1.1.5_2) installed, however X seems = to hang when started. >=20 > would you be able to share the Xorg.log from when it hangs? Ah yes of course :) I also see that xinit is stuck in 'pause' then goes to 'select': xauth: file /root/.serverauth.4556 does not exist X.Org X Server 1.18.4 Release Date: 2016-07-19 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 12.0-RELEASE-p9 amd64 Current Operating System: FreeBSD chumphon.gsoft.com.au 12.0-RELEASE = FreeBSD 12.0-RELEASE r341666 GENERIC amd64 Build Date: 08 August 2019 09:05:22AM Current version of pixman: 0.34.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (=3D=3D) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (=3D=3D) Log file: "/var/log/Xorg.1.log", Time: Sat Aug 24 00:23:15 2019 (=3D=3D) Using config directory: "/usr/local/etc/X11/xorg.conf.d" scfb trace: probe start scfb trace: probe done load: 0.49 cmd: xinit 4569 [pause] 7.42r 0.00u 0.00s 0% 2996k load: 0.49 cmd: xinit 4569 [pause] 10.50r 0.00u 0.00s 0% 2996k load: 0.66 cmd: xinit 4569 [select] 36.13r 0.00u 0.00s 0% 3184k load: 0.69 cmd: xinit 4569 [select] 37.16r 0.00u 0.00s 0% 3184k The screen looks like so: --Apple-Mail=_F2301BC5-4EC1-4C14-9D00-7B3EF63E63E9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii It appears to hang (I have to kill -9 Xorg and manually switch to a text = console) >> If I switch to the VESA driver (ie run X -configure, then change ast = to vesa) it works but is *quite* slow. > one other thing to try is use the "scfb" driver in xorg rather than = vesa (it's available as this pkg xf86-video-scfb-0.0.4_7). it's still a = software renderer but it may be more performant. I tried this but X complains: [ 61190.795] (II) Loading = /usr/local/lib/xorg/modules/drivers/scfb_drv.so [ 61190.795] (II) Module scfb: vendor=3D"X.Org Foundation" [ 61190.795] compiled for 1.18.4, module version =3D 0.0.4 [ 61190.795] ABI class: X.Org Video Driver, version 20.0 [ 61190.795] (II) scfb: driver for wsdisplay framebuffer: scfb [ 61190.795] (--) Using syscons driver with X support (version 0.x) [ 61190.795] (--) using VT number 9 [ 61191.150] (WW) Falling back to old probe method for scfb [ 61191.150] scfb trace: probe start [ 61191.150] scfb trace: probe done [ 61191.150] (EE) No devices detected. [ 61191.150] (EE) Fatal server error: [ 61191.150] (EE) no screens found(EE) ktrace shows: 4684 Xorg CALL = openat(AT_FDCWD,0x7fffffffe42c,0x6) 4684 Xorg NAMI "/dev/ttyv8" 4684 Xorg RET openat 6 4684 Xorg RET write 24/0x18 4684 Xorg CALL ioctl(0x6,FBIOGTYPE,0x7fffffffe8f0) 4684 Xorg RET ioctl -1 errno 25 Inappropriate ioctl for device 4684 Xorg CALL write(0x2,0x7fffffffe3a0,0x17) 4684 Xorg GIO fd 2 wrote 23 bytes "scfb trace: probe done " --Apple-Mail=_F2301BC5-4EC1-4C14-9D00-7B3EF63E63E9 Content-Disposition: attachment; filename=Xorg.0.log Content-Type: application/octet-stream; x-unix-mode=0644; name="Xorg.0.log" Content-Transfer-Encoding: 7bit [ 13.103] X.Org X Server 1.18.4 Release Date: 2016-07-19 [ 13.103] X Protocol Version 11, Revision 0 [ 13.103] Build Operating System: FreeBSD 12.0-RELEASE-p9 amd64 [ 13.103] Current Operating System: FreeBSD chumphon.gsoft.com.au 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 [ 13.103] Build Date: 08 August 2019 09:05:22AM [ 13.103] [ 13.104] Current version of pixman: 0.34.0 [ 13.104] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 13.104] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 13.104] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 23 07:34:39 2019 [ 13.288] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d" [ 13.341] (==) No Layout section. Using the first Screen section. [ 13.341] (==) No screen section available. Using defaults. [ 13.341] (**) |-->Screen "Default Screen Section" (0) [ 13.341] (**) | |-->Monitor "" [ 13.341] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 13.341] (==) Automatically adding devices [ 13.341] (==) Automatically enabling devices [ 13.341] (==) Not automatically adding GPU devices [ 13.341] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 13.436] (==) 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/ [ 13.436] (==) ModulePath set to "/usr/local/lib/xorg/modules" [ 13.436] (II) The server relies on devd to provide the list of input devices. If no devices become available, reconfigure devd or disable AutoAddDevices. [ 13.436] (II) Loader magic: 0x421020 [ 13.436] (II) Module ABI versions: [ 13.436] X.Org ANSI C Emulation: 0.4 [ 13.436] X.Org Video Driver: 20.0 [ 13.436] X.Org XInput driver : 22.1 [ 13.436] X.Org Server Extension : 9.0 [ 13.436] (--) PCI:*(0:4:0:0) 1a03:2000:15d9:0884 rev 48, Mem @ 0xde000000/16777216, 0xdf000000/131072, I/O @ 0x0000c000/128, BIOS @ 0x????????/65536 [ 13.436] (II) LoadModule: "glx" [ 13.453] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so [ 13.659] (II) Module glx: vendor="X.Org Foundation" [ 13.659] compiled for 1.18.4, module version = 1.0.0 [ 13.659] ABI class: X.Org Server Extension, version 9.0 [ 13.659] (==) AIGLX enabled [ 13.659] (==) Matched ast as autoconfigured driver 0 [ 13.659] (==) Matched modesetting as autoconfigured driver 1 [ 13.659] (==) Matched scfb as autoconfigured driver 2 [ 13.659] (==) Matched vesa as autoconfigured driver 3 [ 13.659] (==) Assigned the driver to the xf86ConfigLayout [ 13.659] (II) LoadModule: "ast" [ 13.659] (II) Loading /usr/local/lib/xorg/modules/drivers/ast_drv.so [ 13.660] (II) Module ast: vendor="X.Org Foundation" [ 13.660] compiled for 1.18.4, module version = 1.1.5 [ 13.660] Module class: X.Org Video Driver [ 13.660] ABI class: X.Org Video Driver, version 20.0 [ 13.661] (II) LoadModule: "modesetting" [ 13.661] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so [ 13.663] (II) Module modesetting: vendor="X.Org Foundation" [ 13.663] compiled for 1.18.4, module version = 1.18.4 [ 13.663] Module class: X.Org Video Driver [ 13.663] ABI class: X.Org Video Driver, version 20.0 [ 13.663] (II) LoadModule: "scfb" [ 13.663] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so [ 13.684] (II) Module scfb: vendor="X.Org Foundation" [ 13.684] compiled for 1.18.4, module version = 0.0.4 [ 13.684] ABI class: X.Org Video Driver, version 20.0 [ 13.684] (II) LoadModule: "vesa" [ 13.684] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so [ 13.692] (II) Module vesa: vendor="X.Org Foundation" [ 13.692] compiled for 1.18.4, module version = 2.4.0 [ 13.692] Module class: X.Org Video Driver [ 13.692] ABI class: X.Org Video Driver, version 20.0 [ 13.692] (II) AST: Driver for ASPEED Graphics Chipsets: ASPEED Graphics Family, ASPEED Graphics Family, ASPEED AST1180 Graphics [ 13.692] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 13.692] (II) scfb: driver for wsdisplay framebuffer: scfb [ 13.692] (II) VESA: driver for VESA chipsets: vesa [ 13.692] (--) Using syscons driver with X support (version 0.x) [ 13.692] (++) using VT number 9 [ 14.023] (WW) Falling back to old probe method for ast [ 14.023] (--) Assigning device section with no busID to primary device [ 14.023] (--) Chipset ASPEED Graphics Family found [ 14.023] (WW) Falling back to old probe method for modesetting [ 14.023] (EE) open /dev/dri/card0: No such file or directory [ 14.023] (WW) Falling back to old probe method for scfb [ 14.023] scfb trace: probe start [ 14.023] scfb trace: probe done [ 14.023] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 14.023] (II) Loading sub module "vgahw" [ 14.023] (II) LoadModule: "vgahw" [ 14.023] (II) Loading /usr/local/lib/xorg/modules/libvgahw.so [ 14.023] (II) Module vgahw: vendor="X.Org Foundation" [ 14.023] compiled for 1.18.4, module version = 0.1.0 [ 14.023] ABI class: X.Org Video Driver, version 20.0 [ 14.023] (II) Loading sub module "fb" [ 14.023] (II) LoadModule: "fb" [ 14.023] (II) Loading /usr/local/lib/xorg/modules/libfb.so [ 14.024] (II) Module fb: vendor="X.Org Foundation" [ 14.024] compiled for 1.18.4, module version = 1.0.0 [ 14.024] ABI class: X.Org ANSI C Emulation, version 0.4 [ 14.024] (II) AST(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 14.024] (==) AST(0): Depth 24, (--) framebuffer bpp 32 [ 14.024] (==) AST(0): Using gamma correction (1.0, 1.0, 1.0) [ 14.024] (==) AST(0): RGB weight 888 [ 14.024] (==) AST(0): Default visual is TrueColor [ 14.024] (--) AST(0): Chipset: "ASPEED Graphics Family" [ 14.024] (II) AST(0): Linear framebuffer at 0xDE000000 [ 14.024] (II) AST(0): IO registers at addr 0xDF000000 --Apple-Mail=_F2301BC5-4EC1-4C14-9D00-7B3EF63E63E9 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum --Apple-Mail=_F2301BC5-4EC1-4C14-9D00-7B3EF63E63E9--