Can't run ASPEED AST1180 with xf86-video-ast-1.1.5_3.

Chris bsd-lists at BSDforge.com
Wed Mar 25 05:22:46 UTC 2020


On Wed, 25 Mar 2020 10:33:07 +0900 KIRIYAMA Kazuhiko kiri at truefc.org said

> Hi, all
> 
> I'm working with 13.0-CURRENT on Supermicro A2SDi-16C-HLN4F [1] server which
> builtin on bord ASPEED video chip:
> 
> root at 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 at msrvkx:/usr/obj/usr/src/amd64.amd64/sys/XIJ 
> amd64
> root at bk:~ # pciconf -lv 
>  :
> (snip)
>  :
> pcib4 at 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 at 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 at 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 at 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 at bk:~ # Xorg -configure
> root at bk:~ # cp xorg.conf.new /etc/X11/xorg.conf
> root at 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"              # <str>
>         #Option     "DoubleShadow"             # [<bool>]
>        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 at 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 at 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 at 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 at 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 ?
No mouse, or keyboard driver?
I see no evidence of them in your Xorg.log. Probably want to install,
and configure them as needed. :)
> 
> Regards
> 
> [1] https://www.supermicro.com/ja/products/motherboard/A2SDi-16C-HLN4F
> 
> ---
> KIRIYAMA Kazuhiko <kiri at truefc.org>
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"




More information about the freebsd-x11 mailing list