Hi, Dave how to use the modesetting dreiver? Ubuntu has no xserver-xorg-video-ast package, so if startx, the modesetting module (and the fbdev module) seems loading by default after the AST driver failed:
[ 2483.516] (II) LoadModule: "modesetting" [ 2483.516] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 2483.516] (II) Module modesetting: vendor="X.Org Foundation" [ 2483.516] compiled for 1.17.1, module version = 1.17.1 [ 2483.516] Module class: X.Org Video Driver [ 2483.516] ABI class: X.Org Video Driver, version 19.0 And the modesetting module seems working correctly, But there are no VGA output, I can change back to console by ctrl+alt+F*, also I tried vnc server, no success. [ 2483.517] (II) modeset(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 2483.517] (==) modeset(0): Depth 24, (==) framebuffer bpp 32 [ 2483.517] (==) modeset(0): RGB weight 888 [ 2483.517] (==) modeset(0): Default visual is TrueColor [ 2483.517] (II) Loading sub module "glamoregl" [ 2483.517] (II) LoadModule: "glamoregl" [ 2483.518] (II) Loading /usr/lib/xorg/modules/libglamoregl.so [ 2483.522] (II) Module glamoregl: vendor="X.Org Foundation" [ 2483.522] compiled for 1.17.1, module version = 1.0.0 [ 2483.522] ABI class: X.Org ANSI C Emulation, version 0.4 [ 2483.523] (II) glamor: OpenGL accelerated X.org driver based. [ 2483.527] (II) glamor: EGL version 1.4 (DRI2): [ 2483.527] EGL_MESA_drm_image required. [ 2483.527] (EE) modeset(0): glamor initialization failed [ 2483.527] (II) modeset(0): ShadowFB: preferred YES, enabled YES [ 2483.589] (II) modeset(0): Output VGA-0 has no monitor section [ 2483.650] (II) modeset(0): EDID for output VGA-0 [ 2483.650] (II) modeset(0): Manufacturer: BNQ Model: 7801 Serial#: 21573 [ 2483.650] (II) modeset(0): Year: 2007 Week: 42 [ 2483.650] (II) modeset(0): EDID Version: 1.3 2016-04-15 10:38 GMT+08:00 Dave Airlie <airl...@gmail.com>: > The Xorg modesetting driver should be fine on this hardware, you don't > need the -ast driver. > > Dave. > > On 15 April 2016 at 11:49, yu <kkn...@gmail.com> wrote: >> Dear Maintainers, >> >> >> I have a Tyan TN71-BP012 power8 server, and its graphic is Aspeed AST2400. >> http://tyan.com/Barebones_TN71-BP012_BSP012T71V14HR-4T-3 >> >> Recently I test Ubuntu 15.10 ppc64el on it, the kernel ast driver >> works OK, but when test X, I found that the ast_drv.so build from the >> xf86-video-ast can not work, here is the error message from X: >> >> [ 7498.243] (II) LoadModule: "ast" >> [ 7498.244] (II) Loading /usr/lib/xorg/modules/drivers/ast_drv.so >> [ 7498.244] (EE) Failed to load >> /usr/lib/xorg/modules/drivers/ast_drv.so: >> /usr/lib/xorg/modules/drivers/ast_drv.so: undefined symbol: ioBase >> [ 7498.244] (II) UnloadModule: "ast" >> [ 7498.244] (II) Unloading ast >> [ 7498.244] (EE) Failed to load module "ast" (loader failed, 7) >> >> I searched the "ioBase", it is defined in the compiler.h under the >> MACRO "__powerpc__", so I just change the MACRO to let the driver can >> be load, then error again: >> >> [ 26963.956] (WW) Falling back to old probe method for ast >> [ 26963.956] (--) Assigning device section with no busID to primary device >> [ 26963.956] (--) Assigning device section with no busID to primary device >> [ 26963.956] (WW) AST: More than one matching Device section found: >> Autoconfigured Video Device ast >> [ 26963.956] (--) Chipset ASPEED Graphics Family found >> [ 26963.956] (EE) ast: The PCI device 0x2000 at 07@01:00:0 has a >> kernel module claiming it. >> [ 26963.956] (EE) ast: This driver cannot operate until it has been unloaded. >> >> So I just comment the "pci_device_has_kernel_driver" in ast_driver.c >> to let the probe continue, then error again: >> >> [ 22795.892] (II) AST(0): Creating default Display subsection in Screen >> section >> "Default Screen Section" for depth/fbbpp 24/32 >> [ 22795.892] (==) AST(0): Depth 24, (--) framebuffer bpp 32 >> [ 22795.892] (==) AST(0): Using gamma correction (1.0, 1.0, 1.0) >> [ 22795.892] (==) AST(0): RGB weight 888 >> [ 22795.892] (==) AST(0): Default visual is TrueColor >> [ 22795.892] (--) AST(0): Chipset: "ASPEED Graphics Family" >> [ 22795.892] (II) AST(0): Linear framebuffer at 0x82000000 >> [ 22795.893] (II) AST(0): IO registers at addr 0x81800000 >> [ 22795.893] (EE) AST(0): Map Memory Map IO Failed >> >> >> It seems that the xf86-video-ast driver is for a 32bit system? is >> there other X driver for the power8 machine using AST chips? >> >> BTW: The xf86-video-vesa can't work on the machine either, the error >> message is also "undefined symbol: ioBase". >> >> cheers >> >> Yu >> _______________________________________________ >> xorg@lists.x.org: X.Org support >> Archives: http://lists.freedesktop.org/archives/xorg >> Info: https://lists.x.org/mailman/listinfo/xorg >> Your subscription address: %(user_address)s _______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: https://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s