ChanServ changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | "Does XXX work yet?": https://alx.sh/fs | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
<felixphew>
hi! after upgrading to the latest KDE packages (6.1.3) on Fedora 40, my desktop is (almost unusably) laggy, with kwin_wayland using large amounts of CPU
<felixphew>
anyone else seen this / know what causes it or what it might relate to?
zzywysm_ has joined #asahi
<chaos_princess>
Update to latest kernel and mesa, and reboot.
<felixphew>
oh yeah, I meant to mention that: the latest kernel was hanging or panicing for me yesterday
<felixphew>
on boot*
zzywysm has quit [Ping timeout: 480 seconds]
<felixphew>
I only have a very blurry photo of the report, will post it in a sec
<felixphew>
just tried it a few more times - no panic report, it just freezes 2-3s into boot
<felixphew>
ok, after repeatedly retrying, 6.9.12-400 (which usually panics) booted fine, and no performance issues once booted
<felixphew>
any tips for troubleshooting the kernels hanging / panicing in early boot? I unfortunately don't have a good way to collect the boot logs (unless it maybe comes up far enough to output to a usb serial console? I didn't check)
jeisom has quit [Quit: Leaving]
<felixphew>
for the record, it's 6.9.12-400 (usually) panics with an SError interrupt, and 6.9.12-401 (usually) hangs after ~2s, both on an M1 Pro mbp 14"
jeisom has joined #asahi
KxCORP58940 has quit [Quit: Bye!]
leo60228- has joined #asahi
KxCORP589400 has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
leo60228 has quit [Ping timeout: 480 seconds]
vx has quit [Quit: G-Line: User has been permanently banned from this network.]
vx has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
<felixphew>
ok, I think I can arrange to get a console one way or another; won't do it today, though, as everything's booted and working and I have no idea how easy it'll be to get back to that
<chadmed>
felixphew: you need to blacklist the sdhci driver, one sec
<chadmed>
modprobe.blacklist=sdhci_pci
<chadmed>
add that to your kernel command line
<felixphew>
chadmed: thanks :)
<chadmed>
no problem :)
<chadmed>
assuming that this is the issue, the problem is that theres some race in the pcie power management stuff, so the sdhci driver tries to do something to the sd card reader while it's unpowered/gated which results in the serror
<chadmed>
i _think_ theres a fix floating around somewhere, just hasnt been incorporated into the kernel yet
<felixphew>
since it seems to be pretty reproducible for me on these particular kernels, if anyone looking into the bug wants me to collect any logs or anything, lmk
leo60228- has quit [Ping timeout: 480 seconds]
<felixphew>
chadmed: is the sequencing issue only in early boot - i.e. is manually loading sdhci later safe?
<chadmed>
havent tested but it _might_ be? feel free to try if you want
<felixphew>
ok, I'll file that under "don't test with unsaved work open" :-P
wm50 has joined #asahi
pb17 has joined #asahi
wm5 has quit [Ping timeout: 480 seconds]
wm50 is now known as wm5
jeisom has quit [Ping timeout: 480 seconds]
leo60228 has joined #asahi
cylm has quit [Ping timeout: 480 seconds]
sprokkel2 has joined #asahi
sprokkel has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
vx has quit [Quit: G-Line: User has been permanently banned from this network.]
vx has joined #asahi
i509vcb has joined #asahi
shiggitay has joined #asahi
niko has joined #asahi
creechy has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
creechy has joined #asahi
niko has quit [Ping timeout: 480 seconds]
niko has joined #asahi
niko has quit [Quit: leaving]
pb17 has quit [Ping timeout: 480 seconds]
shiggitay has quit [Ping timeout: 480 seconds]
<jannau>
felixphew: sounds like the sdcard reader autosuspend issue. Does `systemd-hwdb query pci:v000017A0d00009755` report "ID_AUTOSUSPEND=0"? looks like we might have some issue getting that info into the initramfs
pb17 has joined #asahi
<felixphew>
jannau: on my currently booted system it prints ID_AUTOSUSPEND=1
<felixphew>
(this was booted without the module blacklisted; was just a lucky boot that didn't panic)
<felixphew>
and 6.9.12-400, not -401, in case that's relevant
xadammr has joined #asahi
<jannau>
felixphew: does /usr/lib/udev/hwdb.d/65-autosuspend-override-asahi.hwdb exists?
<jannau>
what does `rpm -q fedora-asahi-remix-scripts` report?
<felixphew>
ah. doesn't exist, and package isn't installed
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi
<felixphew>
that'd do it, quite possibly
<felixphew>
this is an old manual install from before fedora was the official asahi distro; I thought I brought it in line with the standard setup, but it's very possible I missed something
<felixphew>
oh, now I remember looking at this package when I switched the install over
<felixphew>
and at the time it was entirely stuff I didn't need and/or that wouldn't work on my install (e.g. I'm not on btrfs)
<jannau>
I think the only part which assumes btrfs is the swap creation script (should fail gracefully). please install fedora-asahi-remix-scripts, asahi-platform-metapackage. the rest should be already installed. you will have to regenerate the initramfs after installing fedora-asahi-remix-scripts
<felixphew>
asahi-platform-metapackage is already installed
sprokkel has joined #asahi
sprokkel2 has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
i509vcb has quit [Quit: Connection closed for inactivity]
ddxtanx has joined #asahi
ddxtanx_ has quit [Ping timeout: 480 seconds]
jeisom has joined #asahi
jeisom has quit [Quit: Leaving]
SalimTerryLi has quit [Read error: Connection reset by peer]
SalimTerryLi has joined #asahi
opticron has quit [Read error: Connection reset by peer]
opticron has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi
chadmed has quit []
chadmed has joined #asahi
pb17 has joined #asahi
jeisom has joined #asahi
vx has quit [Quit: G-Line: User has been permanently banned from this network.]
vx has joined #asahi
Moprius has joined #asahi
axt has joined #asahi
jacksonchen666 has joined #asahi
cylm has joined #asahi
vx has quit [Quit: G-Line: User has been permanently banned from this network.]
vx has joined #asahi
Halian has joined #asahi
ten15723774324630506612 has joined #asahi
sprokkel has quit [Ping timeout: 480 seconds]
ten1572377432463050661 has quit [Ping timeout: 480 seconds]
ten15723774324630506612 is now known as ten1572377432463050661
jacksonchen666 has quit [Quit: WeeChat 4.3.2]
cylm_ has joined #asahi
cylm has quit [Ping timeout: 480 seconds]
cylm has joined #asahi
cylm_ has quit [Ping timeout: 480 seconds]
ChaiTRex has quit [Quit: ChaiTRex]
ChaiTRex has joined #asahi
thelounge96 has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
axt has quit [Quit: Leaving.]
pb17 has joined #asahi
Brainium has joined #asahi
vx has quit [Quit: G-Line: User has been permanently banned from this network.]
vx has joined #asahi
nicolas17 has quit [Remote host closed the connection]
nicolas17 has joined #asahi
sprokkel has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
Brainium has joined #asahi
Moprius has quit [Ping timeout: 480 seconds]
Brainium has quit [Ping timeout: 480 seconds]
Moprius has joined #asahi
Brainium has joined #asahi
JayBeeFOSS has quit [Remote host closed the connection]