ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
<j`ey> cat /sys/module/apple_dcp/parameters/show_notch
<liv> returns "N"
<liv> Can I just echo "Y" inside that file to test it?
<liv> Does not change anything
<j`ey> youd have to rmmod and insmod it, but im not 100% sure if dcp can do that
<liv> Ah okay, it does not work, however.
<liv> It should be included in the initramfs, can I check?
<j`ey> yeah with that grep I showed before
<liv> Yeah I tried that:
<liv> cpio: You must specify one of -oipt options.
<liv> ah wait if I prepend `-` to the t it returns something
<liv> it returns a load of `cpio: Malformed number ` and then some characters
<liv> running it as root ofc
<j`ey> oh, you probs need to gzip -d it
<j`ey> something like: gzip -dc initramfs | cpio -t | grep modprob
<liv> I think I use zstd
<liv> because gzip returns that it's "not in gzip format"
<j`ey> file initramfs will tell you
<j`ey> `file initramfs`
<liv> zstandard compressed data
<liv> so yeah
<j`ey> you can always just test it on the kernel command line
<j`ey> but decompress and check too
<liv> I might do that first
<j`ey> well you have the data there :P
<liv> Notch doesn't work, probably because of my lack of knowledge.
<liv> I wouldn't know how to read out my initramfs, but I'll sleep first.
kidplayer666 has quit [Quit: Connection closed for inactivity]
jeisom has quit [Quit: Leaving]
jeisom has joined #asahi-alt
jeisom has quit [Remote host closed the connection]
jeisom has joined #asahi-alt
jeisom has quit [Remote host closed the connection]
jeisom has joined #asahi-alt
jeisom has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
DevEthann has joined #asahi-alt
DevEthann has quit []
pjakobsson has joined #asahi-alt
<mps> in my case `cat /sys/module/apple_dcp/parameters/show_notch` says 'Y' but notch is not shown. not important because I don't want it, just noted
<janneg> it has to be set at device probe time
<mps> I didn't set it at all
<mps> oh sorry, it is in kernel cmdline
<mps> BOOT_IMAGE=/boot/vmlinuz-asahi-edge root=/dev/nvme0n1p6 ro rootwait console=tty1 apple_dcp.show_notch=1, in grub.conf
Dementor has quit [Quit: The Lounge - https://thelounge.chat]
Dementor9 has joined #asahi-alt
<leio> https://gitlab.gnome.org/GNOME/mutter/-/issues/2318 is the existing issue about CTM for GNOME
eiln has joined #asahi-alt
<liv> mps: does it work once I add that to grub.conf?
<mps> liv: it should but I'm not sure. it works on my m1pro (j316) but not on old m1 (j293)
<liv> You use fedora?
kidplayer666 has joined #asahi-alt
<mps> liv: no, I use alpine linux
<liv> I never knew Alphine had support for aarch64
<liv> Guess I learn something every day :)
<mps> alpine have aarch64 long time and it is first class arch, lot before all 'famous' distros
<mps> people are mislead by alpine popularity for docker and other containers and most don't know it is very good on bare metal
<j`ey> liv: what model do you have?
<mps> liv: and I forgot to tell that alpine was first distro used as daily driver on m1
<j`ey> liv: also when you try from the command line does it show Y in that sys/parameters file I asked about before?
<liv> MBP 14" M2 Pro 2023
<liv> So that's J414 I think
<liv> mps: ah nice, didn't know :)
<liv> j`ey: no but that's probably because I did it wrong :P
<liv> I opened a cmdline inside grub, entered the command, exitted and booted
<j`ey> that should work.. cat /proc/cmdline will tell you if you got that right
<liv> I rebooted since then
<liv> I'll do it sometime today
<janneg> mps: are you expecting a notch on j293? there is no notch on the old designs (j293, j313 and j493)
<chadmed> liv: you have to pass it as an option to the kernel command line
janrinze has quit [Ping timeout: 480 seconds]
<mps> janneg: no, I don't need it. actually it bothers me. But iirc it worked earlier on j293, though may memory could be wrong
<liv> chadmed: would that be fixed by adding `GRUB_CMDLINE_LINUX="apple_dcp.show_notch=1"` inside /etc/default/grub?
<chadmed> yep then re-run grub-mkconfig
<liv> yes, did that, rebooting now :)
<liv> worked!
<liv> amazing! thanks!
<chadmed> no problemo :)
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-alt
<janneg> mps: j293 has no notch. that option never did anything on j293
<mps> janneg: ok, so my memory is wrong
janrinze has joined #asahi-alt
jeisom has joined #asahi-alt
kidplayer666 has quit [Quit: Connection closed for inactivity]
aead has quit [Ping timeout: 480 seconds]
kidplayer666 has joined #asahi-alt
aead has joined #asahi-alt
jeisom has quit [Quit: Leaving]
jeisom has joined #asahi-alt
possiblemeatball has joined #asahi-alt
jeisom has quit [Quit: Leaving]
jeisom has joined #asahi-alt
possiblemeatball has quit [Quit: Quit]
possiblemeatball has joined #asahi-alt
hightower2 has joined #asahi-alt
eiln has quit [Ping timeout: 480 seconds]
hightower2 has quit [Read error: Connection reset by peer]
vLily9 has quit [Ping timeout: 480 seconds]