|
|
Log in / Subscribe / Register

Systemd discusses its kernel-version needs

Systemd discusses its kernel-version needs

Posted Mar 31, 2022 12:25 UTC (Thu) by jafd (subscriber, #129642)
Parent article: Systemd discusses its kernel-version needs

Case in point to pinning a particular kernel. I have two AMD GPUs in my system, and it seems like kernels starting with 5.17 really, REALLY, don't like this setup. The current 5.18 tree doesn't boot at all, panicking as soon as the amdgpu module is inserted. So I'm pretty much contemplating running 5.16.x or even 5.15.x forever.

When I read about what's new in the amdgpu land, it's always churn to support the newest and shiniest GPUs. Regressions are almost never fixed. Old bugs are almost never being fixed. You have a WX5100? Be damned, you luddite! We're busy bolting on support for the latest RX and W series.


to post comments

Systemd discusses its kernel-version needs

Posted Mar 31, 2022 19:51 UTC (Thu) by Ranguvar (subscriber, #56734) [Link] (2 responses)

Huh. I have a WX 5100 but haven't tried 5.17.x yet.

I use a second GPU but it's an NVIDIA card I use vfio-pci with.

I'll report back if any trouble tonight.

Systemd discusses its kernel-version needs

Posted Apr 1, 2022 0:53 UTC (Fri) by Ranguvar (subscriber, #56734) [Link] (1 responses)

Yep, 5.17.1 seems to break video output on boot.

I was able to login blind, but will add an LTS kernel to my boot options for future use.

Systemd discusses its kernel-version needs

Posted Apr 1, 2022 20:24 UTC (Fri) by jafd (subscriber, #129642) [Link]

Imagine all the fun if you have two AMD GPUs in your system and one is for VFIO purposes. 5.17 breaks it because it allocates its memory for simplefb no matter what you tell it. I also had a corruption where the passed through display ended up showing, in UEFI environment, garbled parts of the display manager running on the other GPU.

I would understand (but not forgive) it if the GPUs were identical, but they were not.

Systemd discusses its kernel-version needs

Posted Apr 11, 2022 22:23 UTC (Mon) by nix (subscriber, #2304) [Link]

Even when you have a well-supported one... GPUs are complex and change fast and the fallout of associated bugs seems to be almost continuous. I hit one every few weeks, breaking something or other.

The most recent... I upgraded from 5.16.14 to 5.16.17 on the 26th March. All 3D-using Steam games abruptly stopped rendering anything. I thought it just possible that might be Mesa-related, since I upgraded to staging/22.0 Mesa after restarting X the last time but long before rebooting. I know this means that if it breaks I get to keep the shattered bits, but I'm doing it anyway because Mesa 22.x finally did something to fix the game Big Pharma such that it produces readable pixmaps rather than chopped-up messes. (This particular game is really picky and has rendered only black screens or garbage for so many years on so many different platforms that I'd given up hope that it would ever work anywhere again, so I was very happy to try it and find it working at last.)

I upgraded again yesterday, to 5.16.19, without touching Mesa, and everything is working again! I speculated at the time of the reboot that this may be unanticipated fallout of the recent DMA security mess, but I just looked and amdgpu uses none of the affected calls, and none of the amdgpu code changed in suspicious-looking ways between the kernel releases in question.

Is this actually even a regression or not? I have no idea... maybe I was lucky, and it'll go wrong again on the next boot, or the next X restart, or the next Steam restart. I have no idea. I don't even know how to begin finding out.

I have several more bugs like this still live, with different games that don't work, most of which have never worked well, some of which have never worked at all. I should report some of them... not sure where to, though. Mesa's bugzilla? The drm layer's? These are all non-free and most haven't been updated in years, so quite possibly the game is just doing something evil and wrong and unfixable.

(I don't play games much. All this breakage means it's too much like work.)


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds