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

Chris <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
On Tue, 24 Mar 2020 22:22:51 -0700 [email protected] said

> On Wed, 25 Mar 2020 10:33:07 +0900 KIRIYAMA Kazuhiko [email protected] 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@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"              # <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@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 ?
> No mouse, or keyboard driver?
> I see no evidence of them in your Xorg.log. Probably want to install,
> and configure them as needed. :)
I'm sorry. Please disregard that. I see them further up.
Sorry for the noise. :(
> > 
> > Regards
> > 
> > [1] https://www.supermicro.com/ja/products/motherboard/A2SDi-16C-HLN4F
> > 
> > ---
> > KIRIYAMA Kazuhiko <[email protected]>
> > _______________________________________________
> > [email protected] mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> > To unsubscribe, send any mail to "[email protected]"
> 
> 
> _______________________________________________
> [email protected] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "[email protected]"


_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.