You are not logged in.

#1 2023-11-28 17:29:08

dalu
Banned
Registered: 2014-04-16
Posts: 108

ASPEED Technology, Inc. ASPEED Graphics Family (ast)

It's a bad title but, there's not a lot of search engine hits if one searches, ast, xorg with aspeed, xrdp, xvnc...

Essentially I have this computer, my old workstation.
Asus P10S-E 4/L
/home and all its configuration was replaced by a blank drive
The former Nvidia GPU was removed and the onboard Aspeed GPU was enabled via motherboard pin.

I control it, for now, via IPMI, some javaws app that I need to download every time I'd like a new session.

The system was never able to successfully run gdm, it always ran sddm.
The old default DE was cinnamon.
Along cinnamon, Gnome and Plasma are installed.

Currently sddm only runs Gnome on Wayland without crashing.
Plasma works but has viewport issues, also mouse via IPMI app.

I have removed gdm, cleared /etc/gdm and installed it again.

Goals:
- Have Cinnamon as the default DE or alternatively
- Have VNC or better, RDP working, always, with the same password.

02:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 30) (prog-if 00 [VGA controller])
<...>
	Kernel driver in use: ast
	Kernel modules: ast
pacman -Q|grep ast
ast-dkms 1.14.2-2
ast-firmware 501-1

also I have manually complied xf86-video-ast, which installs into /usr/local/lib/xorg/modules/drivers/
the files
ast_drv.la  ast_drv.so
I have copied those files to /lib/xorg/modules/drivers/
The source is available here: https://gitlab.freedesktop.org/xorg/dri … -video-ast



Issues:
1.
Xorg starts with startx or on its own.
That is works fine.

But it segfaults when ran via sddm or better put, when cinnamon or gnome (as there is no plasma entry) is started on xorg.

I don't know why

systemd-coredump[2368]: [?] Process 1921 (Xorg) of user 0 dumped core.
                                                       
                                                       Stack trace of thread 1921:
                                                       #0  0x00007fbd6144883c n/a (libc.so.6 + 0x8e83c)
                                                       #1  0x00007fbd613f8668 raise (libc.so.6 + 0x3e668)
                                                       #2  0x00007fbd613e04b8 abort (libc.so.6 + 0x264b8)
                                                       #3  0x000055aeda5bc600 OsAbort (Xorg + 0x153600)
                                                       #4  0x000055aeda5bdfeb FatalError (Xorg + 0x154feb)
                                                       #5  0x000055aeda5c4466 n/a (Xorg + 0x15b466)
                                                       #6  0x00007fbd613f8710 n/a (libc.so.6 + 0x3e710)
                                                       #7  0x00007fbd6144883c n/a (libc.so.6 + 0x8e83c)
                                                       #8  0x00007fbd613f8668 raise (libc.so.6 + 0x3e668)
                                                       #9  0x00007fbd613e04b8 abort (libc.so.6 + 0x264b8)
                                                       #10 0x00007fbd613e03dc n/a (libc.so.6 + 0x263dc)
                                                       #11 0x00007fbd613f0d26 __assert_fail (libc.so.6 + 0x36d26)
                                                       #12 0x000055aeda640b55 n/a (Xorg + 0x1d7b55)
                                                       #13 0x000055aeda6421d6 DRI2Authenticate (Xorg + 0x1d91d6)
                                                       #14 0x000055aeda6478e1 n/a (Xorg + 0x1de8e1)
                                                       #15 0x000055aeda4a7fae n/a (Xorg + 0x3efae)
                                                       #16 0x00007fbd613e1cd0 n/a (libc.so.6 + 0x27cd0)
                                                       #17 0x00007fbd613e1d8a __libc_start_main (libc.so.6 + 0x27d8a)
                                                       #18 0x000055aeda4a8565 _start (Xorg + 0x3f565)
                                                       
                                                       Stack trace of thread 1967:
                                                       #0  0x00007fbd614cabf6 epoll_wait (libc.so.6 + 0x110bf6)
                                                       #1  0x000055aeda5bc20b n/a (Xorg + 0x15320b)
                                                       #2  0x000055aeda5bfe29 n/a (Xorg + 0x156e29)
                                                       #3  0x00007fbd614469eb n/a (libc.so.6 + 0x8c9eb)
                                                       #4  0x00007fbd614ca7cc n/a (libc.so.6 + 0x1107cc)
                                                       ELF object binary architecture: AMD x86-64

I guess it has something to do with ast, since there were no issues with nvidia.
The intel on cpu e3-1275v5 igp is nowhere to be found.
Yes, I checked BIOS and toggled all possible settings.
Without jumper that enables the Aspeed GPU the system fails to POST.
So it has to be enabled.

Xorg :0 --configure
configures X11 with vnc, which may or may not be desired.
But vnc login fails because no password is set (even if it is).
Disabling vnc has no effect on stability.

2. gnome screen sharing password is a new one every time a new session is started
I installed Centos 9 Stream on this machine on another drive, and it's possible to set the same password, persistently.
But on this version of Gnome on Arch I can't do it.
And I have to enter my keyring password every time I access the password settings.

This computer should just be a dumb remote terminal that runs JDownloader2 and VMs and acts as a file server, occasionally run Firefox too.

3. cinnamon via startx
I added
`exec cinnamon-session` to ~/xinitrc
it crashes or shuts down.
when ran with --debug it actually runs fine. (well then, so run it with --debug on! maybe not)

So what I'm looking for is to have a remote login with X or wayland, ideally with cinnamon, if it can't be helped with Gnome, where I don't have to do anything on the server side to be able to log in and use the remote session.

This IPMI is nice, I can setup BIOS, I can attach a CD or HDD or Floppy, very convenient,
but the Aspeed GPU just awful, however inserting an old nvidia would probably drive up energy cost and this system should be turned on 24/7.

I'm posting this after 8 hours of banging my head against the issues. I'm mentally exhaused for today.

Offline

Board footer

Powered by FluxBB