#
…

2023-12-18

00:01j`eycat /sys/module/apple_dcp/parameters/show_notch
00:02livreturns "N"
00:02livCan I just echo "Y" inside that file to test it?
00:03livDoes not change anything
00:03j`eyyoud have to rmmod and insmod it, but im not 100% sure if dcp can do that
00:05livAh okay, it does not work, however.
00:05livIt should be included in the initramfs, can I check?
00:05j`eyyeah with that grep I showed before
00:06livYeah I tried that:
00:06livcpio: You must specify one of -oipt options.
00:06livah wait if I prepend `-` to the t it returns something
00:09livit returns a load of `cpio: Malformed number ` and then some characters
00:09livrunning it as root ofc
00:11j`eyoh, you probs need to gzip -d it
00:11j`eysomething like: gzip -dc initramfs | cpio -t | grep modprob
00:15livI think I use zstd
00:15livbecause gzip returns that it's "not in gzip format"
00:15j`eyfile initramfs will tell you
00:15j`ey`file initramfs`
00:18livzstandard compressed data
00:18livso yeah
00:24j`eyyou can always just test it on the kernel command line
00:24j`eybut decompress and check too
00:25livI might do that first
00:25j`eywell you have the data there :P
00:54livNotch doesn't work, probably because of my lack of knowledge.
00:54livI wouldn't know how to read out my initramfs, but I'll sleep first.
01:02kidplayer666 has quit [Quit: Connection closed for inactivity]
02:39jeisom has quit [Quit: Leaving]
02:40jeisom has joined #asahi-alt
02:47jeisom has quit [Remote host closed the connection]
02:48jeisom has joined #asahi-alt
03:02jeisom has quit [Remote host closed the connection]
03:02jeisom has joined #asahi-alt
03:11jeisom has quit [Ping timeout: 480 seconds]
05:18possiblemeatball has quit [Quit: Quit]
06:04DevEthann has joined #asahi-alt
06:05DevEthann has quit []
06:58pjakobsson has joined #asahi-alt
07:51mpsin 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
07:52jannegit has to be set at device probe time
07:53mpsI didn't set it at all
07:53mpsoh sorry, it is in kernel cmdline
07:54mpsBOOT_IMAGE=/boot/vmlinuz-asahi-edge root=/dev/nvme0n1p6 ro rootwait console=tty1 apple_dcp.show_notch=1, in grub.conf
08:23Dementor has quit [Quit: The Lounge - https://thelounge.chat]
08:25Dementor9 has joined #asahi-alt
09:08leiohttps://gitlab.gnome.org/GNOME/mutter/-/issues/2318 is the existing issue about CTM for GNOME
09:27eiln has joined #asahi-alt
09:36livmps: does it work once I add that to grub.conf?
09:38mpsliv: it should but I'm not sure. it works on my m1pro (j316) but not on old m1 (j293)
09:44livYou use fedora?
09:44kidplayer666 has joined #asahi-alt
09:47mpsliv: no, I use alpine linux
09:48livI never knew Alphine had support for aarch64
09:48livGuess I learn something every day :)
09:49mpsalpine have aarch64 long time and it is first class arch, lot before all 'famous' distros
09:52mpspeople are mislead by alpine popularity for docker and other containers and most don't know it is very good on bare metal
09:54j`eyliv: what model do you have?
09:57mpsliv: and I forgot to tell that alpine was first distro used as daily driver on m1
10:03j`eyliv: also when you try from the command line does it show Y in that sys/parameters file I asked about before?
10:17livMBP 14" M2 Pro 2023
10:18livSo that's J414 I think
10:18livmps: ah nice, didn't know :)
10:19livj`ey: no but that's probably because I did it wrong :P
10:19livI opened a cmdline inside grub, entered the command, exitted and booted
10:20j`eythat should work.. cat /proc/cmdline will tell you if you got that right
10:26livI rebooted since then
10:26livI'll do it sometime today
10:54jannegmps: are you expecting a notch on j293? there is no notch on the old designs (j293, j313 and j493)
11:07chadmedliv: you have to pass it as an option to the kernel command line
11:12janrinze has quit [Ping timeout: 480 seconds]
11:14mpsjanneg: no, I don't need it. actually it bothers me. But iirc it worked earlier on j293, though may memory could be wrong
11:25livchadmed: would that be fixed by adding `GRUB_CMDLINE_LINUX="apple_dcp.show_notch=1"` inside /etc/default/grub?
11:26chadmedyep then re-run grub-mkconfig
11:26livyes, did that, rebooting now :)
11:28livworked!
11:30livamazing! thanks!
11:35chadmedno problemo :)
11:40chadmed has quit [Remote host closed the connection]
11:43chadmed has joined #asahi-alt
11:45jannegmps: j293 has no notch. that option never did anything on j293
11:48mpsjanneg: ok, so my memory is wrong
11:58janrinze has joined #asahi-alt
12:21jeisom has joined #asahi-alt
12:32kidplayer666 has quit [Quit: Connection closed for inactivity]
12:37aead has quit [Ping timeout: 480 seconds]
12:43kidplayer666 has joined #asahi-alt
12:46aead has joined #asahi-alt
14:01jeisom has quit [Quit: Leaving]
14:06jeisom has joined #asahi-alt
14:36possiblemeatball has joined #asahi-alt
18:03jeisom has quit [Quit: Leaving]
18:08jeisom has joined #asahi-alt
18:31possiblemeatball has quit [Quit: Quit]
18:38possiblemeatball has joined #asahi-alt
20:00hightower2 has joined #asahi-alt
21:05eiln has quit [Ping timeout: 480 seconds]
22:22hightower2 has quit [Read error: Connection reset by peer]
23:53vLily9 has quit [Ping timeout: 480 seconds]
…