Page 1 of 1

Latest kernel crashes X windows

PostPosted: Aug 10th, '23, 21:22
by richard17
With Kernel 5.15.122 and 5.15.120 the login screen appears briefly then the screen goes black and there is no response to the keyboard. Kernel 5.15.177 works normally. Looking at the error log in /var/log/kernel X window it reports:
[drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:47:crtc-0] flip_done timed out.
That line also appears in the syslog. It occurs at a time stamp of 85 seconds after starting the kernel, and X crashes at 75 seconds, so presumably there was a 10 second timeout. I have an AMD CPU with integrated graphics that appears like a Radeon R7, and the driver is ATI Volcanic Islands and later (amdgpu).
Any thoughts on a cure? I don't want to upgrade to Mageia 9 if it is going to do the same thing.

Re: Latest kernel crashes X windows

PostPosted: Aug 10th, '23, 22:11
by doktor5000
Hi there, it would probably help if you could add the output of
Code: Select all
lspcidrake -v
and a full journalctl -ab output after a fresh boot after X crashed.
You can switch to a different tty with e.g. Ctrl+Alt+F2 then login, and as root run
Code: Select all
journalctl -ab > /tmp/journal.log
and later attach the resulting file /tmp/journal.log here.

Re: Latest kernel crashes X windows

PostPosted: Aug 10th, '23, 22:29
by morgano
richard17 wrote:I don't want to upgrade to Mageia 9 if it is going to do the same thing.


You could try a Live Mageia 9, and with persistence so it can have updates.
https://wiki.mageia.org/en/Persistent_live_systems

Re: Latest kernel crashes X windows

PostPosted: Aug 10th, '23, 23:01
by richard17
Thank you, that had not occurred to me, but I was not intending to until the release version was ready. Meanwhile it would be nice to find a fix for the present version. Maybe a different driver...

Re: Latest kernel crashes X windows

PostPosted: Aug 10th, '23, 23:11
by richard17
OK thanks, can do that tomorrow, but it's 1000+ lines!

Re: Latest kernel crashes X windows

PostPosted: Aug 11th, '23, 09:30
by morgano
Very little will be changed from current cauldron to mga9 release version.
So if an updated Live works, an install/upgrade should too.
Remember to read release notes and errata before upgrade/install.
And as ever, if problems, we are here to help :)

As for attaching big text files, try compress it, i.e in command line

Code: Select all
xz thefile.txt


Or zip it, whatever :)

Re: Latest kernel crashes X windows

PostPosted: Aug 11th, '23, 15:32
by doktor5000
It does not need to be compressed, just attach it like it is. The forum software only allows for a predefined list of file formats to be attached ...

Re: Latest kernel crashes X windows

PostPosted: Aug 11th, '23, 16:44
by richard17
Thank you both.
I suppose the files are not large by present standards, so I'll attach the pci listing and the journal listing uncompressed. I'll add Xorg.0.log in case it is useful although it stops just before the crash.
I started kernel 5.15.122 at 14:29:00, then X appeared and died about 62 seconds later, then I turned it off at 14:31:00.
I see the time stamps can lag some time behind the events, presumably they are buffered - I also have the output from syslog and messages and they give the time in seconds after the start, which looks accurate. The [....flip_done timed out] message comes at 71.5 seconds, time stamped at 14:30:13. I also have the journal and Xorg for the follow up session using kernel 5.15.117, in case they are helpful for comparison.