marcan 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
ddxtanx has quit [Remote host closed the connection]
Georgemoody has quit [Remote host closed the connection]
Georgemoody has joined #asahi
pb17 has joined #asahi
ten1572377432463050 has quit [Remote host closed the connection]
Brainium has quit [Quit: Konversation terminated!]
ten1572377432463050 has quit [Remote host closed the connection]
ten1572377432463050 has joined #asahi
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #asahi
c10l75 has joined #asahi
c10l7 has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
rvalue has quit [Remote host closed the connection]
rvalue has joined #asahi
john-cabaj has quit [Ping timeout: 480 seconds]
IknoweD has joined #asahi
<IknoweD>
hi used pacman upgrade everything and I'm wedged at boot. The asahi boot log gets replaced with a cursor pointer. when i hit the mac power button, I get the following:
<IknoweD>
an fsck log and then brcmfmac: brcmf_msfbuf_delete_flowring: timed out waiting for txstatus
<IknoweD>
does anyone have any thoughts as to what i'm seeing and how i can get asahi to boot again?
Georgemoody has quit [Remote host closed the connection]
Graypup_ has quit [Quit: meow]
Graypup_ has joined #asahi
Graypup_ has quit [Quit: meow]
Graypup_ has joined #asahi
greguu has joined #asahi
ciara has quit [Remote host closed the connection]
chadmed_ has quit [Remote host closed the connection]
ciara has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
IknoweD has quit [Quit: Lost terminal]
IknoweD has joined #asahi
<IknoweD>
is there a way to bring up inet from a grub initiated root shell?
<PaulFertser>
IknoweD: you mean you used something like rdinit=/bin/sh or what exactly?
<PaulFertser>
Or proper full boot in single user mode?
<LarstiQ>
IknoweD: that sounds a little like what I had recently, graphical interface not coming up. fn-ctrl-option-1 would switch to a console I could log in, shut down sddm and start river by hand. Not sure how that got fixed in the end
<LarstiQ>
(If I were to guess it was caused by evdi/displaylink)
<PaulFertser>
LarstiQ: you had evdi installed but not with dkms?
<PaulFertser>
Someone here complained evdi made sound stutter no matter if via internal sound card or bluetooth whenever something on external display was changing (e.g. moving cursor). But that was on Fedora. Do you have no problems with sound on ALARM?
<LarstiQ>
the performance was bad anyway so I just disabled it for now
<PaulFertser>
LarstiQ: ah, so with NixOS I'm sure the kernel upgrade would have recompiled evdi properly prior to rebooting.
<LarstiQ>
yeah
<PaulFertser>
LarstiQ: re performance, you think it can be better?
confusomu has quit [Ping timeout: 480 seconds]
<LarstiQ>
PaulFertser: it used to be better last year. Newer kernels broke evdi, which since got fixed, but it's for a setup at work I don't have much patience to really debug (I use a hdmi cable instead)
<LarstiQ>
I try again from time to time
<PaulFertser>
LarstiQ: so redraw on external display with same resolution was considerably faster at some point with same USB port and everything, then evdi stopped building altogether, then it was fixed in the sense it was building again but the redraw speed became much slower, do I get it right?
<LarstiQ>
PaulFertser: yes. Although there are also other components that changed in the meantime (e.g. wlroots and river update) so I'm not 100% confident all factors are nailed down.
<LarstiQ>
and _possibly_ some hardware variance with different docks at different desks though I tend to sit in the same places
<LarstiQ>
I can test whether re-enabling evdi stops sddm showing up later today
ah- has quit [Ping timeout: 480 seconds]
<PaulFertser>
sddm? An X11 DM? How does it come into play at all?
<LarstiQ>
it's the Wayland greeter that allows me to pick a compositor to launch
<PaulFertser>
I see, it used to be X11 only.
ah- has joined #asahi
<PaulFertser>
Hm, so river is better than sway for someone used to xmonad?
<LarstiQ>
I've never used xmonad but I struggle without a dynamic tiling wm, sway has nice aspects but its manual nature doesn't work for me
<alicejustplaying>
upgraded to 40 today excitedly copied over the icc profile from mac but when i try to apply it i just get this terrible grain effect on the screen. tried several other profiles from mac, no dice https://usercontent.irccloud-cdn.com/file/dTn9zSGy/IMG_9249.JPG
pb17 has joined #asahi
<j`ey>
:|
<alicejustplaying>
i disabled all display effects possible bc i read some reports on reddit it may interfere but this is... new
<alicejustplaying>
all i want to set up is the colors not to be oversaturated
<PaulFertser>
It kinda looks cool though
<alice>
dirty paper screen
<PaulFertser>
How about trying one of the profiles suggested before from some website?
<PaulFertser>
Also I think you've forgotten to mention what Mesa says about your specific hardware model.
<alicejustplaying>
same issue with that one
<PaulFertser>
Like (example from unrelated board) "Device: Mali-T760 (Panfrost) (0xffffffff)"
<alicejustplaying>
i'll check the hw model
<PaulFertser>
Also, are you applying that profile in KDE specifically? Because the support for colour profiles is supposed to work only on compositor level by using pixel shaders.
<PaulFertser>
Do you probably notice any other problems with pixel shaders?
<chadmed>
kwin bug
<chadmed>
requires a full screen repaint
<chadmed>
lock your screen then unlock it to get rid of the effect
<chadmed>
colour management works as expected apart from that
<PaulFertser>
Not questioning the resolutin, but if it's really just some per-pixel transformation how does it result in that "grainy" picture?
<j`ey>
i need to look at wlroots colour management, would be nice try get the right profile
<PaulFertser>
But this one is implemented on kwin layer afaik
Linuxisnice has quit [Remote host closed the connection]
melonai has joined #asahi
<PaulFertser>
jannau: but why does it add non-uniformity to a previously uniform part of the picture?
jeisom has joined #asahi
<PaulFertser>
Like there on photo it looks like a solid white background where each pixel should be the same and after that switch somehow they're not the same anymore.
schroes has quit [Read error: Connection reset by peer]
SalimTer- has joined #asahi
schroes has joined #asahi
SalimTerryLi has quit [Ping timeout: 480 seconds]
<alicejustplaying>
sign out sign in works!
<alicejustplaying>
and colors look... right i think?? amazing
<alicejustplaying>
this is the reason i didnt use asahi before the oversaturation just hurt my eyes (metaphorically)
<alicejustplaying>
sometimes i can switch color profiles without logout login but unreliable. sometimes i get full screen white grain so strong i cant even find the logout button bc i cant see anything
<alicejustplaying>
but i'll live :)
<alicejustplaying>
is there any other place in the system i need to apply a color profile?
<chadmed>
nope thats it
<alicejustplaying>
and is it applied to everything and always?
<chadmed>
yeah its implemented as a shader. i would call it more colour correction than colour management though. your authoring/art applications wont be aware of it afaik
<alicejustplaying>
so like.. gimp or something?
<alicejustplaying>
also it seems like the colors are right but the white color specifically is off, but maybe it's just my comparision macbook has a warmer screen
pb17 has quit [Ping timeout: 480 seconds]
<chadmed>
i have a few display p3 screens, two of which are ~properly calibrated and applying the profile brings the macbook's internal screen very close to those
<chadmed>
so its definitely doing its job properly
<alicejustplaying>
cool
<alicejustplaying>
yeah this is a simple M1 Pro MBP
ddxtanx has quit [Quit: Konversation terminated!]
<chadmed>
yeah my 14" is a little on the pink side
<alicejustplaying>
hmm
<alicejustplaying>
rebooted to mac
<alicejustplaying>
it's def pinkish on asahi
<alicejustplaying>
it seems like it's less pink on mac but also somewhat dimmer? is it possible asahi drives it higher than what's 100% on mac?
matteo has joined #asahi
<alicejustplaying>
(i should be measuring this with some device instead of relying on my eyes but alas)
delsol has joined #asahi
pb17 has joined #asahi
matteo has quit [Remote host closed the connection]
SalimTerryLi has joined #asahi
SalimTer- has quit [Ping timeout: 480 seconds]
SalimTer- has joined #asahi
SalimTerryLi has quit [Ping timeout: 480 seconds]
sneak2 has joined #asahi
rvalue- has joined #asahi
<sneak2>
hi. perhaps a dumb question; how do i get the ECID of my M2 in a currently macos-normal-booted ultra? system_profiler doens't give it, and the small program given at https://www.theiphonewiki.com/wiki/ECID compiles but doesn't return data when run.
<sven>
ioreg -l might work
billak has joined #asahi
<sneak2>
sadly it does not. i guess i'll get a cable and put it in DFU mode
<sneak2>
thanks anyway
rvalue has quit [Ping timeout: 480 seconds]
<sneak2>
oh by the way (probably will disconnect/go idle soon): thanks again to everyone who works on this project. it's awesome.
jlco has quit [Ping timeout: 480 seconds]
<billak>
just tried to do fresh install and something didn't went well at the recovery after i entered the password and it started updating the policies and after few seconds it rebooted. tried again again the same thing happened. so doing second attempt just to make sure i did everything right.
cylm_ has joined #asahi
cylm has quit [Ping timeout: 480 seconds]
billak has quit []
bawj_ has joined #asahi
rvalue- has quit [Ping timeout: 480 seconds]
bawj_ has quit [Read error: Connection reset by peer]
matteo has joined #asahi
Juest has joined #asahi
rvalue has joined #asahi
<IknoweD>
PaulFertser: good morning. i tried # pacman -Syu
<PaulFertser>
IknoweD: good evening too
<IknoweD>
PaulFertser: that appeared to work. but on boot, i got wedged.
<IknoweD>
PaulFertser: got into a root shell via initrd that i'm using to back up any data files beofre i proceed.
<PaulFertser>
IknoweD: so basically you were chrooted into your target system, ok.
<IknoweD>
PaulFertser: asahi can handle an ext3 mkfs'ed on an ubuntu system for that backup
<IknoweD>
PaulFertser: i am not chrooted as the libraries are not available.
<PaulFertser>
IknoweD: in that case the easiest is to use wired Ethernet with a USB adapter I guess.
<PaulFertser>
Why not chroot? It doesn't depend on any libraries.
<IknoweD>
PaulFertser: i'm tarring my relevant directories onto an external hard disk. if ubunto can't read it, then i'll have to buy a wired usb adapter. i assume i can't use dhcp in this context?
<IknoweD>
i had to learn how to use grub to get to a root shell before it got too late last night. it is now 0830 PDT after a restless night, so i'm back at it.
<PaulFertser>
IknoweD: you should be able to use a dhcp client in any case
<IknoweD>
PaulFertser: whatever shell i've got does not grok ^Z or ^C
creechy has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
<IknoweD>
PaulFertser: so it is debatable whether the tarring will finish before i finish my coffee.
<PaulFertser>
IknoweD: can't you just boot your system as normal (without that additional foreign initramfs) but add some parameter to command line which tells it to go to text-only single user mode?
<IknoweD>
PaulFertser: I have no idea. this is the first time that i've needed to get under the hood of asahi, it has been functioning so well for me since september.
<PaulFertser>
IknoweD: but you're running ALARM, right?
<IknoweD>
PaulFertser: am I? what is ALARM?
<PaulFertser>
IknoweD: Arch Linux ARM
<IknoweD>
PaulFertser: I do not know. I did the default install if my recolleciton is accurate.
<PaulFertser>
IknoweD: either way both ALARM and Fedora are using systemd so you should be able to enter GRUB menu with Escape and then before booting press "e" and edit the kernel command line to contain "systemd.unit=rescue.target" (without quotes) and with Ctrl-x it should boot.
<PaulFertser>
Or probably there's already an entry and you just need to choose it.
<IknoweD>
there were 4 entries on the GRUB menu, asahi and asahi-edge
<IknoweD>
PaulFertser: I got into GRUB with a 'c' and then found the disks with the OS and was able to get a shell.
<PaulFertser>
GRUB shell?
<IknoweD>
PaulFertser: tried all 4, same result. yes, GRUB shell.
<IknoweD>
grub> set root=(hd0,1)
<IknoweD>
grub> linux /boot/vmlinuz-3.13.0-29-generic root=/dev/sda1
<PaulFertser>
IknoweD: In that one of four have you tried adding "systemd.unit=rescue.target" after "root=/dev/sda1 " ?
<IknoweD>
PaulFertser: but appropriate to asahi
<IknoweD>
PaulFertser: i'd not edited any of the grub options as i did not know this was possible until now.
<PaulFertser>
I just mentioned it a minute ago: "before booting press "e" and edit"
<IknoweD>
PaulFertser: yes but tar is still tarring and i must wait for it. thanks for the info, and once tar reliably finishes i'll attend to it.
<IknoweD>
PaulFertser: is there a service or a config somewhere where i can stop this from happening: brcmfmac: brcmf_msfbuf_delete_flowring: timed out waiting for txstatus
<PaulFertser>
OK, let's see. There's also "emergency.target" if that rescue doesn't work.
matteo has quit [Remote host closed the connection]
<IknoweD>
brcmfmac: brcmf_msfbuf_delete_flowring: timed out waiting for txstatus
<PaulFertser>
IknoweD: it's a message emitted by kernel driver for integrated wifi card. Do you think it really is harmful?
<IknoweD>
PaulFertser: that's the last thing on the last flash of the boot screen after i interrupt it being wedged with the power button. is it not failing on that or is that just the last issue it whines about?
<PaulFertser>
IknoweD: you can add "modprobe.blacklist=brcmfmac" to kernel command line but then you'll have internal wifi not working guaranteed.
<IknoweD>
PaulFertser: again, all i did was try to update without changing anything to my knowledge. why would it barf on wifi?
<PaulFertser>
IknoweD: I do not know, probably it's a harmless message and it was before too. Also, many people got fed up with ALARM introducing random breakage already.
<PaulFertser>
So no wonder Asahi Linux devs changed focus by now.
<IknoweD>
PaulFertser: is there a log other than syslog where i should look for clues?
<IknoweD>
PaulFertser: and if i need to reinstall, is it possible to reinstall asahi native from usb or do i need to get a macos shell with wifi to reinstall?
<PaulFertser>
IknoweD: if you installed long time ago probably it's better to reinstall using the current recommended macOS version etc, because the installer copies some firmware files for webcam and other things.
<IknoweD>
PaulFertser: can i do this from the recovery shell on macos or do in need to reinstall macos?
<PaulFertser>
IknoweD: I'd just try to boot in rescue shell first and connect to Internet and fully update with package manager.
<PaulFertser>
IknoweD: you got only recovery shell left?
<IknoweD>
PaulFertser: still waiting to tar off my data directory to an external hdd.
pb17 has joined #asahi
darkapex1 has joined #asahi
darkapex has quit [Remote host closed the connection]
jlco has joined #asahi
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #asahi
<IknoweD>
PaulFertser: in case we don't connect, thank you very much for sharing your wisdom.
<PaulFertser>
IknoweD: welcome, and I hope here you'll get help from people who's more familiar with that equipment and software, my suggestions so far are kinda vague.
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi
chadmed has quit []
chadmed has joined #asahi
chadmed has quit []
chadmed has joined #asahi
chadmed has quit []
chadmed has joined #asahi
chadmed has quit []
chadmed has joined #asahi
chadmed has quit []
chadmed has joined #asahi
chadmed has quit []
chadmed has joined #asahi
matteo has joined #asahi
sneak2 has quit [Quit: Connection closed for inactivity]
matteo has quit [Remote host closed the connection]
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi
hightower4 has joined #asahi
<nickchan>
I have an issue where audio stops working after a systemctl soft-reboot, any ideas?
<nickchan>
I am on the MacBook Pro J314s with fedora 40
Georgemoody has joined #asahi
hightower3 has quit [Ping timeout: 480 seconds]
<IknoweD>
PaulFertser: not having much luck in booting. had to use /dev/nvme0n1p5 to get it to read the root partition. but it still failed. this time it got through more of the boot screen log but then hung with the pointer cursor. hitting any key causes it to continue the boot and fail. i could not see the err msg as it flew by so fast. i should probably reinstall. can i do this through the macos recovery shell or
<IknoweD>
do i need to reinstall macos?
<mort_>
ever since I upgraded to f40, I'm greeted by a shell (uboot?) when booting and have to type 'boot' to make it boot heh
<PaulFertser>
IknoweD: do you mean you entered the screen where you edit an existing menu entry and you needed to change root device there?
<IknoweD>
i hit 'c' when it came to the boot options and got into grub. > set root (hd0,5) , linux /boot/vmlinuz ... root=/dev/nvme0n1p5 , initrd /boot/initrd ... , boot. i also tried with systemd.unit=rescue.target
<IknoweD>
the shell i was able to get into and tar off the data to the external hdd was the built in shell when it could not mount the devices.
<IknoweD>
all the easier tryna read the 1.5 point type.
<PaulFertser>
IknoweD: do /not/ hit c
<PaulFertser>
IknoweD: in the u-boot list of options press e
<IknoweD>
PaulFertser: ok
<PaulFertser>
EH grub I meant
<IknoweD>
PaulFertser: ok got a screen "setparams 'arch linux'"
<IknoweD>
PaulFertser: i'll add systemd.unit=rescue.target to the end of the linux directive/
<IknoweD>
?
<PaulFertser>
IknoweD: yes
<PaulFertser>
IknoweD: and then Ctrl-x to boot
<IknoweD>
PaulFertser: that fell back to the restart apple screen with the chime
<IknoweD>
PaulFertser: it is wanting to load linux-asahi-edge not linux-asahi. is this a problem?
<PaulFertser>
IknoweD: press "e" when you have the entry that "almost boots" selected
<IknoweD>
PaulFertser: e brings me into the GRUB setparams
<PaulFertser>
IknoweD: there should be about 20 lines there, yes. For the currently selected entry
<IknoweD>
PaulFertser: 20 lines in the boot loader or 20 lines in setparams? 2 lines in boot loader, asahi and -edge and 12 or so in setparams
<PaulFertser>
IknoweD: have you deleted the main macOS container btw, why are you talking about reinstalling it?
<PaulFertser>
IknoweD: 12 in "setparams" after you press e
<PaulFertser>
So select non-edge entry and press e.
<PaulFertser>
I hope someone here who has the device handy with ALARM can try and give you exact directions, I'm not in the right position, sorry.
<IknoweD>
np thx
<IknoweD>
PaulFertser: it might be better to just reinstall. if i get to the macos recovery keeping the power button down at boot and go to the options menu, can i pull up a terminal with wifi and do the reinstall there?
<PaulFertser>
IknoweD: afaik running the install script from recovery is not officially supported.
Georgemoody_ has joined #asahi
Georgemoody_ has quit [Remote host closed the connection]
<IknoweD>
PaulFertser: install from recovery shell says wrong macos version.
jonathanbuys has joined #asahi
jonathanbuys is now known as jonathan_prime
cylm has joined #asahi
Georgemoody_ has joined #asahi
Georgemoody has quit [Ping timeout: 480 seconds]
Georgemoody_ is now known as Georgemoody
cylm__ has joined #asahi
cylm_ has quit [Ping timeout: 480 seconds]
cylm has quit [Ping timeout: 480 seconds]
delsol has quit [Remote host closed the connection]