marcan changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
philm has quit [Ping timeout: 480 seconds]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gamma has quit [Quit: Textual IRC Client: www.textualapp.com]
user982492 has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Read error: Connection reset by peer]
chadmed has joined #asahi-dev
<chadmed> povik: i can amend the commit message and force push later today when i boot back into linux, no big deal there. i didnt see the comment you made about it until i woke up today so thats my bad
neon has joined #asahi-dev
neon is now known as neonic
neonic has quit []
chadmed has quit [Remote host closed the connection]
alyssa has joined #asahi-dev
<alyssa> povik: re the custom firmware idea, is your goal to LEAPfrog over the AOP? :-p
nulla has joined #asahi-dev
roblg has quit [Quit: Page closed]
nulla has quit [Quit: Textual IRC Client: www.textualapp.com]
alchemyst has joined #asahi-dev
alchemyst is now known as cypher
cypher is now known as cipher
cipher is now known as crypt
crypt is now known as alchemyst
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
alchemyst is now known as subatomic
subatomic has quit [Quit: Textual IRC Client: www.textualapp.com]
subatomic has joined #asahi-dev
user982492 has joined #asahi-dev
subatomic has quit [Quit: Textual IRC Client: www.textualapp.com]
subatomic has joined #asahi-dev
<marcan> jannau: keep in mind the notchless modes work by just offsetting into the framebuffer, so the beginning will be black
Etrien_ has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jn has quit [Remote host closed the connection]
riker77 has quit [Read error: Connection reset by peer]
jn has joined #asahi-dev
bluetail8 has joined #asahi-dev
Etrien has quit [Ping timeout: 480 seconds]
bluetail has quit [Ping timeout: 480 seconds]
bluetail8 is now known as bluetail
riker77 has joined #asahi-dev
Etrien has joined #asahi-dev
Etrien__ has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
Etrien__ has quit [Read error: Connection reset by peer]
Etrien__ has joined #asahi-dev
Etrien_ has quit [Ping timeout: 480 seconds]
Etrien has quit [Ping timeout: 480 seconds]
subatomic is now known as uniq
uniq is now known as subatmic
subatmic is now known as subatomic
subatomic has quit [Quit: Textual IRC Client: www.textualapp.com]
subatomic has joined #asahi-dev
Etrien__ has quit [Read error: Connection reset by peer]
Etrien has joined #asahi-dev
subatomic has quit [Quit: Textual IRC Client: www.textualapp.com]
nicolas17 has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
Etrien_ has joined #asahi-dev
Etrien has quit [Read error: Connection reset by peer]
Etrien has joined #asahi-dev
Etrien_ has quit [Ping timeout: 480 seconds]
hmonn has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c10l has quit [Quit: Bye o/]
c10l has joined #asahi-dev
Etrien_ has joined #asahi-dev
Etrien has quit [Ping timeout: 480 seconds]
thelounge7571340 has joined #asahi-dev
<jannau> marcan: the boot framebuffer isn't involved anymore. this is a completely new framebuffer as far as drm and dcp are concerned. writing into the first mapped page fills the first line below the notch as expected
thelounge7571340 has quit [Remote host closed the connection]
<marcan> jannau: oh, you mean there's a mismatch with the brand new framebuffer that was just set?
<jannau> yes, screen goes black when dcp takes over from simpledrm. as far as I can tell that's a new framebuffer. mapped physical memory is normal memory from the beginning instead of the carveout from the end
<jannau> without notch avoidance it looks the same except that the framebuffer has 74 more lines
Etrien has joined #asahi-dev
Etrien_ has quit [Ping timeout: 480 seconds]
hmonn has quit [Remote host closed the connection]
chadmed has joined #asahi-dev
SSJ_GZ has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
chadmed has quit [Quit: Konversation terminated!]
<jannau> m1n1 PR to fix the dcpext carveouts on m1 pro filed, also saves the notch height for dcp's use
<jannau> dcp notchless patch if anyone wants to play https://www.jannau.net/asahi/gpu_drm_apple_notchless.mbox
capta1nt0ad has quit [Quit: Konversation terminated!]
capta1nt0ad has joined #asahi-dev
chadmed has joined #asahi-dev
chadmed has quit []
chadmed has joined #asahi-dev
<chadmed> jannau: dcp working both builtin and as a module on j314
<chadmed> cursor plane is a bit dodgy and wayland renders at less than 1 fps but the wayland thing might be mesa since it was behaving oddly after an update on simpledrm too
<jannau> what do you mean by dodgy? is that just a result of the low framerate or did I leave in the broken cursor handling? does the cursor break (scaled weirdly) when moved off screen?
<chadmed> no scaling issues, but it is very slow to draw relative to everything else on screen and flickers on movement
<jannau> I see the framerate dropping to 10fps if the full screen needs to be repainted
<jannau> that sounds more like an mesa issue
<chadmed> yeah thought so, all good! nice to have 120hz finally
<jannau> behavior is less nice on plasma/wayland since in addition to slow painting you now have additional wait on dcp swapping framebuffers
<chadmed> yeah, but thats fine bc a mesa update broke scaling on wayland anyway so its unusable either way
<jannau> it's not realy 120Hz, dcp limits swaps still to 60Hz
<jannau> I haven't looked into what's necessary for 120Hz, either just setting a flag or using timestamps
<chadmed> ack, definitely feels smoother regardless. was simpledrm limited to the minimum refresh rate of the displays?
chadmed has quit [Quit: Konversation terminated!]
<_jannau_> simpledrm might has an additional 8-bit to 10-bit conversion step in the kernel
capta1nt0ad has quit [Quit: Konversation terminated!]
thepigguy has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
thepigguy has quit [Quit: thepigguy]
philm has joined #asahi-dev
chengsun has quit [Ping timeout: 480 seconds]
chengsun has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
chipxxx has quit [Read error: Connection reset by peer]
chipxxx has joined #asahi-dev
chipxxx has quit [Remote host closed the connection]
<povik> alyssa: :D, very nice
chipxxx has joined #asahi-dev
IcaroDextris has quit [Quit: Connection closed for inactivity]
philm has quit [Ping timeout: 480 seconds]
<sven> and ofc atcphy breaks when I move the setup to the mux set instead of the phy set_mode callback *sigh*
<sven> i hope I can somehow fix that. otherwise we'll have to do some very ugly hacks in the DT to make sure this all runs in the right order :/
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
<sven> [ 30.067385] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
<sven> okay, that was a surprisingly quick fix :)
<marcan> well lol, I just discovered "diskutil apfs resizeContainer <foo> limits"
<marcan> was that always there?
<marcan> that's going to solve all the stupid installer diskutil failure bug reports
<marcan> (well the non-corruption ones anyway)
<marcan> sven: nice! :D
<marcan> looks like it works on 12.3... lol
<marcan> okay, time for an installer update then
<marcan> I also need to add the xHCI firmware extraction macOS version, might as well do that now
<sven> nice! :D
<sven> looks like today is a good day for solving annoying problems very quickly :P
philm has joined #asahi-dev
duban6 has quit []
duban6 has joined #asahi-dev
chipxxx has quit [Remote host closed the connection]
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
<marcan> also implemented the lzfse stuff on the installer
<marcan> (for macos)
<marcan> I guess next up I might as well do the new CPIO thing I've been wanting to push
<jannau> I hope drm's fbdev emulation / fbcon remembers that tonight
<jannau> sven: nice, starting with DP integration in atcphy.c?
<sven> yup
<jannau> firmware cpio would be nice, I should file the concatenated initramfs payload change
<jannau> and post instructions to boot kernel with modules and firmware via run_guest_kernel.sh
phil_ has joined #asahi-dev
philm has quit [Ping timeout: 480 seconds]
<marcan> yeah :)
<marcan> cpio stuff implemented in asahi_firmware, now just need to package it for linux and update the initramfs mess to use it instead
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
<povik> marcan: i've invited you to povik/alsa-ucm-conf-asahi so you can push any fixes you have. feel free to recreate the repo under AsahiLinux (or we can do a transfer so there's a redirect, but i would need repo-creation permissions for the ocassion)
<_jannau_> yes
<_jannau_> err, wrong window
phil_ has quit [Remote host closed the connection]
Gaspare has joined #asahi-dev
shl-60422 has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
IcaroDextris has joined #asahi-dev
nela has quit [Ping timeout: 480 seconds]
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
Gaspare has quit [Quit: Gaspare]
nela has joined #asahi-dev
caleb has joined #asahi-dev
caleb has quit []
r0ni has joined #asahi-dev
r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
r0ni has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
nicolas17 has joined #asahi-dev
IcaroDextris has quit [Quit: Connection closed for inactivity]
chengsun_ has joined #asahi-dev
chengsun has quit [Ping timeout: 480 seconds]
chengsun_ has quit [Quit: Quit]
chengsun has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
chengsun has quit [Ping timeout: 480 seconds]
r0ni has quit [Quit: Leaving]
chengsun has joined #asahi-dev
chengsun_ has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
chengsun has quit [Ping timeout: 480 seconds]
chengsun has joined #asahi-dev
chengsun_ has quit [Ping timeout: 480 seconds]
<marcan> looks like the pkgrel upgrade 3 days ago for qt5-webengine in ALARM just broke that package entirely
<marcan> probably a builder problem too, since the actual change is trivial
<marcan> so now konqueror and other parts of KDE are broken, lovely
<marcan> urge to switch to Fedora increasing...
Gaspare has joined #asahi-dev
<marcan> I'm going to try to build that package overnight, see if it comes out good, and I can inject it into asahi if so. sigh...
<marcan> meanwhile: just pushed new asahi-scripts/asahi-fwextract/m1n1/linux-asahi
<marcan> they implement the new cpio-based firmware mechanism
<j`ey> its just the same contents are the tarball right?
<marcan> yes, plus the manifest, under a vendorfw/ subdirectory
<marcan> by default, it will do a hybrid thing where the initramfs extracts the firmware as usual from the tar, but copies it to a tmpfs mounted on /new_root/lib/firmware/vendor (and the package upgrade stuff will delete your old persistent vendor firmware)
<marcan> but if you have a /boot as ESP setup, you can do this in /etc/default/grub: GRUB_EARLY_INITRD_LINUX_STOCK=vendorfw/firmware.cpio
<marcan> and then it will have GRUB load the vendorfw and the initramfs will just copy it to the final tmpfs as needed
<marcan> eventually I want to automate the migration to /boot as ESP and just upgrade everyone automatically, but for now that bit is manual
r0ni has joined #asahi-dev
<marcan> the kernel doesn't have DCP enabled, it's still the "stable" build variant. I'll add another package for enabling DCP later.
<marcan> (but it does have the new /lib/firmware/vendor load path which is required for all this to work)
<j`ey> does fedore have boot as ESP?
<marcan> I think so, but I forget :)
<jannau> I'm hitting tps6598x / i2c irq issue now on the studio as well. I didn't hit it yesterday at all
<marcan> with the new kernel?
<marcan> I'm off to sleep, let's see if the webkit stuff builds properly...
<jannau> asahi-wip from yesterday with dcp enabled, efbcbf2614e459da041cd84f9cdba13cfd1eb462
<jannau> good night
<sven> it’s a bit annoying that tps chip is so fragile
<sven> can’t reproduce it here though with t8103 even without the hv
<jannau> only change which fixes it reliably is a 'msleep(1)' after the interrupt but I haven't tried reduce the delay. usleep(100); was not enough
<marcan> (also update-vendor-firmware is largely pointless now, it will probably go away soon, but I didn't want to make too big a change)
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
bluetail has quit [Ping timeout: 480 seconds]
r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
nicolas17 has quit [Quit: power outage]
jluthra_ has quit [Remote host closed the connection]
jluthra_ has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
irth has quit [Remote host closed the connection]
irth has joined #asahi-dev
bluetail has joined #asahi-dev
r0ni has joined #asahi-dev
___nick___ has quit [Ping timeout: 480 seconds]
theKH has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
axboe has quit [Remote host closed the connection]
theKH has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
theKH has joined #asahi-dev
theKH has quit [Ping timeout: 480 seconds]
millenialhacker has quit [Quit: Konversation terminated!]
theKH has joined #asahi-dev
theKH has quit [Remote host closed the connection]
theKH has joined #asahi-dev
chengsun has quit [Ping timeout: 480 seconds]
chengsun has joined #asahi-dev
Etrien__ has joined #asahi-dev
Etrien has quit [Ping timeout: 480 seconds]
SSJ_GZ has quit [Ping timeout: 480 seconds]
Etrien__ has quit [Read error: Connection reset by peer]
Etrien has joined #asahi-dev
chengsun has quit [Quit: Quit]
chengsun has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
nicolas17 has joined #asahi-dev
chengsun_ has joined #asahi-dev
chengsun has quit [Ping timeout: 480 seconds]
chengsun has joined #asahi-dev
chengsun_ has quit [Ping timeout: 480 seconds]
CME_ has joined #asahi-dev
CME has quit [Ping timeout: 480 seconds]
lkron has joined #asahi-dev
lkron has quit [Quit: Reconnecting]
lkron has joined #asahi-dev
lkron has quit [Quit: leaving]
bluetail has quit [Ping timeout: 480 seconds]
Gaspare has quit [Quit: Gaspare]
Etrien__ has joined #asahi-dev
amarioguy2 has joined #asahi-dev
* amarioguy2 sees tps being annoying again
<amarioguy2> jannau: i'll see if i can look at the bug closer this weekend
<amarioguy2> (the tps bug)
<amarioguy2> what exactly is the bug btw? seems to involve the read loop and i2c transactions over the irq path being too fast iirc but want to clarify it
<amarioguy2> (i'm already working on sep this weekend so i don't mind tacking this on the todo list for the weekend)
Etrien has quit [Ping timeout: 480 seconds]
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
nsklaus has quit [Quit: Textual IRC Client: www.textualapp.com]
psanford has quit [Ping timeout: 480 seconds]
nsklaus has joined #asahi-dev
nicolas17 has quit [Quit: Konversation terminated!]
nicolas17 has joined #asahi-dev
amarioguy2 has quit [Ping timeout: 480 seconds]
nicolas17 has quit [Quit: Konversation terminated!]
nicolas17 has joined #asahi-dev
chengsun_ has joined #asahi-dev
chengsun has quit [Ping timeout: 480 seconds]
Etrien has joined #asahi-dev
Etrien___ has joined #asahi-dev
Etrien has quit [Remote host closed the connection]
chengsun_ has quit [Quit: Quit]
chengsun has joined #asahi-dev
Etrien__ has quit [Ping timeout: 480 seconds]
Etrien has joined #asahi-dev
Etrien has quit [Read error: Connection reset by peer]
Etrien has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]