Just to be sure, I tried setting the video driver in 50-device.conf and then booting both WITH and WITHOUT “nomodeset”. In BOTH cases all I get is a blinking screen (probably as X tries to initialize over and over)…
If I’m reading the associated logs (Xorg.0.log) properly:
booting with driver set in 50-device.conf and WITHOUT “nomodeset” still says “kernel has device claiming it” and then stops abruptly with “No devices detected”
I’ve been watching this thread, and while 5 years back I attempted to help a user with AST hardware, its not clear to me how successful my efforts may have been. I think with ‘nomodeset’ together with ‘ast’ in the 50-device.conf, some progress was made. The nomodeset allows an attempt at loading the ast driver (via the 50-device.conf), and we can now look in to that. Having typed that, I suspect this current thread issue is beyond my expertise to help.
Still, I think I could learn some things and I have a dumb question, based on my assuming no resolution appeared to have worked. … I am curious, was your monitor correctly identified? I note from the xorg.conf.log file:
62.059] (II) AST(0): Manufacturer: SNY Model: 2670 Serial#: 16843009
...
62.060] (II) AST(0): Monitor name: SDM-X73
Assuming a correct monitor identification, I note when you boot without ‘nomodest’ and without a custom ‘50-device’ conf (and obtain a frame buffer (?)) setup, I see this in the xorg.conf.log file you posted:
Would specifying the resolution modelines with a correct frequency in a configuration file work around that memory map failure ? I don’t know enough about this to say whether that even a relevant suggestion.
What little I know about the ast driver came from here…
With this being a server-oriented graphics chip, the AST KMS driver design is a bit different from the other Linux KMS drivers and it ends up putting the KMS console into system RAM since the video RAM on these chips tend to be low capacity. The driver then does dirty updates to a copy in the video RAM. When user-space sets a new scanout buffer it then forcefully evicts the video RAM console so X can create a frame-buffer using all of the video RAM.
The AST DRM/KMS driver is using TTM for video memory management.
There isn’t going to be a user-space driver for the ASpeed hardware but rather this driver is intended to go with the xf86-video-modesetting DDX driver.
That says the AST driver is a KMS driver. Cmdline option nomodeset disables KMS. X drivers Amdgpu, ATI, Intel, Modesetting and Nouveau are all disabled by the nomodeset option. Thus I fully expect the same with the AST driver, and effort to get the AST driver working with nomodeset on cmdline to be wasted effort.
xf86-video-modesetting no longer exits dating back IIRC to 42.1, as it was merged directly into the Xorg server. Its use in 15.0 should be automatic absent something that explicitly disables it.
Given comment #1 it seems to have worked for 42.3, it seems time to file an openSUSE bug to get “SLE” devs to look at this.
After reading the bug I put more thought into this. The bug’s Xorg.0.log indicates modeset is engaged as expected. It looks to me like
50.733] (EE) ast: The PCI device 0x2000 at 02@00:00:0 has a kernel module claiming it.
50.733] (EE) ast: This driver cannot operate until it has been unloaded.
may be less important than
(EE) modeset(0): glamor initialization failed
since this is a performance problem, not a pass/fail problem. Glamor is an OpenGL X acceleration module.
[ul]
[li]there is the kernel drm driver “ast.ko” … see /lib/modules/yourkernelversion/kernel/drivers/gpu/drm/ast[/li][LIST]
[li]it’s a KMS (kernel mode setting) based driver by default [/li][li]it apparently still has UMS (user mode setting) support … see “/usr/sbin/modinfo ast” … i.e. enable/disable modesetting [/li][/ul]
[li]and then there is the userland xorg driver “ast_drv.so” … see /usr/lib64/xorg/modules/drivers/[/li][ul]
[li]“but I can’t find it there!” you say … well, as reported earlier in the thread, it was apparently there in prior leap editions … and you can get/d/l one from aspeed anyways [/li][li]it is apparently only UMS based [/li][/ul]
[li]and then there is also the userland, now built into X server, modesetting driver[/li][ul]
[li]it’s to be used with KMS based kernel drivers [/li][/ul]
[/LIST]
Results
[ul]
[li]Using the ast.ko in KMS mode + dumbass ast_drv.so xorg driver installed in place + modesetting driver = glamor not initializing so performance falls back to sloooooow motion [/li][/ul]
whereas
[ul]
[li]using ast.ko in UMS mode (i.e. nomodeset on kernel cmdline) + dumbass ast xorg driver = a modesetting problem [/li][/ul]
Recommendation
[ul]
[li]Use KMS mode [/li][li]ditch the ast xorg driver … remove all traces/mention of it from any xorg configuration file and allow the system to automagically configure itself [/li][/ul]
If glamor initializing problem persists: bug xorg people … hit them with a stick.
and then there is the userland xorg driver “ast_drv.so” … see /usr/lib64/xorg/modules/drivers/
“but I can’t find it there!” you say … well, as reported earlier in the thread, it was apparently there in prior leap editions … and you can get/d/l one from aspeed anyways
it is apparently only UMS based
The Xorg driver component is available via the xf86-video-ast driver package…