Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2019 10:07:28 +0930
From:      "O'Connor, Daniel" <darius@dons.net.au>
To:        Pete Wright <pete@nomadlogic.org>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: FreeBSD 12 Xorg vs X11SSH-F / AST
Message-ID:  <7AC86383-2C8E-427D-88BD-48B91FE9ECBC@dons.net.au>
In-Reply-To: <4dbdbf1e-b823-20e4-8516-55bb9fdfab88@nomadlogic.org>
References:  <2EDB82D8-9EC5-4988-AD1C-21305E712E46@dons.net.au> <4dbdbf1e-b823-20e4-8516-55bb9fdfab88@nomadlogic.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <pete@nomadlogic.org> 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<O_RDWR|O_NONBLOCK>)
  4684 Xorg     NAMI  "/dev/ttyv8"
  4684 Xorg     RET   openat 6
<snip>
  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 "<default 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7AC86383-2C8E-427D-88BD-48B91FE9ECBC>