#
…

2023-12-17

00:04jeisom has joined #asahi-alt
00:05jeisom has quit [Remote host closed the connection]
00:06jeisom has joined #asahi-alt
00:07john-cabaj has quit [Ping timeout: 480 seconds]
00:08jeisom has quit [Remote host closed the connection]
00:08jeisom has joined #asahi-alt
00:09mini_ has joined #asahi-alt
00:09jeisom has quit [Remote host closed the connection]
00:10jeisom has joined #asahi-alt
00:16jeisom has quit [Remote host closed the connection]
00:17jeisom has joined #asahi-alt
00:21jeisom has quit [Remote host closed the connection]
00:22jeisom has joined #asahi-alt
00:25jeisom has quit [Remote host closed the connection]
00:35jeisom has joined #asahi-alt
00:36jeisom has quit [Remote host closed the connection]
00:37jeisom has joined #asahi-alt
00:37ciara has quit [Remote host closed the connection]
00:38jeisom has quit [Remote host closed the connection]
00:42ciara has joined #asahi-alt
00:44jeisom has joined #asahi-alt
02:07fugi8 has joined #asahi-alt
02:07fugi has quit [Ping timeout: 480 seconds]
02:07fugi8 is now known as fugi
02:33eiln has joined #asahi-alt
02:52jeisom has quit [Quit: Leaving]
03:11betashell has joined #asahi-alt
03:13betashell has quit [Remote host closed the connection]
05:12possiblemeatball has quit [Quit: Quit]
06:04kidplayer666 has joined #asahi-alt
08:14kidplayer666 has quit [Quit: Connection closed for inactivity]
08:43millenialhacker has joined #asahi-alt
08:46millenialhacker_ has quit [Ping timeout: 480 seconds]
09:14millenialhacker has quit [Quit: Konversation terminated!]
09:44kidplayer666 has joined #asahi-alt
10:19eiln has quit [Quit: WeeChat 4.1.2]
10:48KxCORP has quit [Quit: Bye!]
10:49KxCORP has joined #asahi-alt
10:50_alice_ is now known as _alice
11:26chadmed has quit [Quit: Konversation terminated!]
11:26chadmed has joined #asahi-alt
11:44utsweetyfish has quit [Ping timeout: 480 seconds]
11:45ChaosPrincess has quit [Quit: ChaosPrincess]
11:45ChaosPrincess has joined #asahi-alt
12:29leiochadmed: am I missing something about libclc dep in mesa not being keyworded?
12:30chadmedjanneg: whats up with this actually
12:31sam_would recommend using the pkgcheck GH action in your overlay if not already
12:31sam_::haskell has a more comprehensive setup too
12:31leioI mean, I can get it keyworded, but I'm confused
12:33leioand portage was utterly confused too after I did something partially and it decided to just go with the earlier version instead
12:33jannegI forgot to file a keyword request. libclc is a build dependency for asahi since OpenGL 3.3
12:34leioon that note, lets get your package.accept_keywords empty overall if you've got something else there?
12:37janneganother minor issue is that llvm is only a build dependency for asahi but for simplicity I've just used the llvm use flag
12:38leiostuff like https://github.com/chadmed/asahi-overlay/commit/f753dc54958acfbcf6 should have a revbump for users to actually get it
12:39sam_just shout at me if you need me
12:39* sam_heading off
12:39leiosam_: ffmpeg! :P
12:40leioChaosPrincess: yes
12:40leioChaosPrincess: and tiny-dfr should be in main tree by now! :)
12:41ChaosPrincesssure, why not, i can make a pr
12:42j`eywhat about speakersafetyd etc
12:42j`eyand the other asahi-audio stuff
12:42leiocan I test it on J475? :)
12:42leionot that I could test tiny-dfr
12:43sam_my amd64 mac will im sure soon be reaching the end of its macos life so i will be able to soon (TM)
12:43leiobut I mean all of it except mesa, but might need some more buy-in from chadmed instead of just taking things and dumping them in ;)
12:44leiotiny-dfr works on very few laptops that actually have a touchbar, which are some old ones, iirc
12:44j`eywhat're the requirements to be included in the main tree?
12:45chadmedtiny-dfr _only_ works on the apple silicon macs with touchbar
12:45chadmedj`ey: theyre not that high, its the ongoing maintenance that is annoying that i dont want to deal with
12:45ChaosPrincesst2 people made it work on intel, but they never bothered to upstream those particular patches :P
12:45chadmedmirrored repos etc
12:46chadmedthe overlay is nice because as we've seen over the past couple of days with audio if shit hits the fan we can just push out fixes immediately and theres no mirroring, propagation, signing, QA etc required
12:46chadmedive always said once things settle down i will take the time to get them into ::gentoo
12:46chadmedbut i dont think that time is here just yet
12:46j`eyat least the number of packages is pretty small in the overlay
12:46j`eyand there will have to be an overlay for a long while anyway
12:46chadmedalso stupid bullshit like that lsp-plugins patch
12:47chadmedi can fix that kinda stuff in a matter of minutes instead of hours
12:48chadmed17 packages and that includes virtual/linux-sources. its really not that bad
12:48j`eyuntil markan starts finding more bugs :P
12:49chadmedi think we're done for audio at the very least thank goodness
12:49sven<chadmed> i think we're done for audio at the very least thank goodness <-- famous last words :D
12:49chadmed"done" meaning "no more major stupid bugs"
12:49chadmedi 100% expect we will be cutting a 1.6 at some point
12:51chadmedleio: i think that belongs on asahi-audio and not the kernel. the kernel has no specific dep on lsp-pugins, its our DSP that does
12:51leioit's a blocker, not a dep; to ensure no-one builds the kernel with the broken lsp-plugins
12:52sven<ChaosPrincess> t2 people made it work on intel, but they never bothered to upstream those particular patches :P <-- unfortunately that's true for most of their patches :(
12:52j`eyand ours >_>
12:52leiobut if you've got a >= somewhere on the fixed revision and expect everyone to have the package that has that, ok
12:53leiobrb, hopefully with some sweet OpenGL
12:53svenj`ey: fair enough
12:54chadmedwe upstream most (all?) of our userspace patches
12:54j`eysven: I think markan said he wants to try upstream more stuff after the fedora release
12:55j`eyI mean, it's totally fair enough, for the kernel to do it all downstream for a while. Im not complaining, just messing around :D
12:55sveni've also been saying that i'll upstream more stuff once the usb mess is finally sorted out but alas :(
12:55j`eychadmed: yeah, fixing bugs and stuff, for sure
12:55j`eysven: hey, you got the thunderbolt dart upstream!
12:55sventrue, atcphy also won't be issue once it's stable since that touches nothing in the core
12:56svenwe'll see about tipd and the actual thunderbolt changes
12:56chadmeddid we actually need tbt core changes?
12:56svenoh yes
12:56chadmedjust that NHI clusterfuck or is it even worse
12:56svenit's worse
12:57sveni'll also need a out-of-band notification to at least pcie
12:57chadmedoh dear :D
12:57svenpossibly to the display port tunnel thing as well
12:57svenand maybe also dwc3
12:58leiostill the gnome-shell race condition needing a manual gdm restart, and apparently also a huge cursor problem at places, making me ask what that https://github.com/chadmed/asahi-overlay/commit/f753dc54958acfbcf6 was about
12:58svenit also looks like i'll have to re-implement pcie hotplug because ofc the normal pcie hotplug won't work correctly
12:58j`eyleio: I think that was something liina found on stream
12:59j`eyleio: 189 GiB :o
12:59leioI'm guessing we don't have a cursor hardware plane yet then
13:00chadmedleio: we have one it just doesnt support cursors of the size kwin/mutter ask it to draw so it takes out dcp/dcpext
13:00leioe.g. in firefox at 300% HiDPI scale it's like it scales it up 3x and then up again another 3x; the cursor
13:00chadmedso you need to force sw cursors until we find a not-disgusting way to make that work
13:01jannegleio: no HW cursors with DCP. SW cursors are less tested and where buggy in Plasma but outright broken with kwin_wayland and multiple displays
13:02leiolooks like a problem with 300% scale; with 200% it looks correct
13:03chadmedi want to have another go at getting overlay planes working properly over the christmas break. i got vlc in weston to render its video out to one of them but it was pretty broken and i didnt get further
13:04leiojanneg: if you've got any package.accept_keywords stuff for stuff you use, just throw it in a pastebin or something and I'll take care of it; least I can do after HDMI here :) even if you don't really mind, but stuff that some people use can just get keyworded; we should reach and go above amd64 coverage!
13:04leioor anyone else really
13:10utsweetyfish has joined #asahi-alt
13:12ChaosPrincessif you are taking random requests for keywords, can i also get fonts-meta keyworded?
13:12j`eywhat does keyworded mean here, maybe unstable? or made stable?
13:13leiostable tree I must leave to the arch teams via bugs; I don't do stable anywhere :)
13:13leioso yes, talking of missing ~arm64 stuff
13:14leiojanneg: I don't think llvm can be build-time only in mesa, apple_dri.so links to libLLVM-17.so
13:14leiohere we go with the monitor flicker again, sigh
13:15leioafter getting AGX, I still don't have night light support. Missing GAMMA_LUT or whatever stuff? (yes, I know that's not the correct way to do that stuff, but it's what we have for now)
13:16j`eyleio: eys GNOME doesnt support CTM
13:16j`ey(kwin does)
13:16leiodon't know what that is
13:17leioI hope they figure out a better way together with HDR work, but is that a yes on "GAMMA_LUT or whatever support missing in AGX and that's why"? :)
13:17j`eyCurrent Transformation Matrix or something
13:17j`ey(I keep thinking COlour Temperature matrix but I think thats wrong)
13:17chadmedcolour transform matrix
13:19leiopushed libclc, looking at fonts-meta
13:19chadmedleio: agx has nothing to do with it, its a dcp thing
13:19chadmedand yes gamma_lut is missing and likely will be forever
13:20leiothat'd be a huge bunch of individual fonts keywordings or USE flag masking, going to the backlog for a bit
13:20j`eyI keep putting off looking at CTM for wlroots
13:21leioI did 17 for libclc and co; do we need 16?
13:21chadmedthe kwin implementation looks pretty nice but c++ makes my head spin so i didnt really study it further than "yeah that sure is a matrix with colour coefficients" so :p
13:21leiolack of night light is a big issue to me, could you guide me in making something for GNOME? :)
13:22leioand no, I would rather kill my eyes at night than use kwin/plasma
13:22janneg:17 is fine as well. I did :16 because I had llvm-16 installed when I did the change
13:22ChaosPrincessleio: https://pastebin.com/WK2syCzb those are the relevant ones
13:22j`eyI can link you to the kwin impl, and then you can try find where mutter does the gamma_lut stuff and see if you can figure out how
13:24leioChaosPrincess: it's a few more :) NonsolvableDepsInStable: version 3: nonsolvable depset(rdepend) keyword(~arm64) stable profile (default/linux/arm64/17.0) (12 total): solutions: [ media-fonts/courier-prime, media-fonts/crosextrafonts-caladea, media-fonts/crosextrafonts-carlito, media-fonts/ipaex, media-fonts/khmer, media-fonts/mikachan-font-otf, media-fonts/mikachan-font-ttf, media-fonts/monafont, media-fonts/nanum, media-fonts/oldstandard, media-fonts/
13:24leioopendesktop-fonts, media-fonts/paratype, media-fonts/paratype-astra, media-fonts/powerline-symbols, media-fonts/quivira, media-fonts/shinonome, media-fonts/signika, media-fonts/tibetan-machine-font, media-fonts/unfonts ]
13:24jannegleio: if you build with swrat and/or opencl there is a runtime dependency. Drivers are linked all together apple_dri.so is a lie^Whardlink
13:24leiojanneg: ack
13:25leioj`ey: sure, though I might give up fast too :)
13:25leiodone too much rust, might not feel like C++ to C conversion; hope the licenses are compatible
13:27leiothat looks like an awfully small commit
13:35j`eyleio: at least you could make a bug for GNOME
13:35eiln has joined #asahi-alt
13:35leiogiven the existing bugs with existing implementation, it really needs to come with a MR :)
13:35leiomonitor hotplugs just lose GAMMA_LUT setting for a connector until restart very often, etc
13:50possiblemeatball has joined #asahi-alt
13:56yukaIs there any way to upgrade to 13.5 firmware to get the HDMI output?
13:56yukaI'm on OS Firmware 12.3 according to asahi-diagnose
14:00eilnyuka: the installer doesn't support updates yet but marcan might be cooking something up
14:00ChaosPrincessinstall uefi-only, then use that to boot?
14:13yukaChaosPrincess: which menu point in the installer would I choose? I already have an installation, it only offers me to upgrade m1n1
14:13ChaosPrincessresize disk, then install into free space
14:22possiblemeatball has quit [Quit: Quit]
14:27yukabtw who else will be at 37c3? shall we do an asahi meetup? :)
14:27leiojanneg: pygit2 used for tortoisehg or something out of tree?
14:28leioand what for is intelhex
14:29leioah, intelhex provides binary tools too, good enough
14:29jannegleio: I don't remember, discard pygit2 I don't even have it installed anymore
14:30leiook, all done in that case
14:30jannegsame for intelhex
14:57possiblemeatball has joined #asahi-alt
17:04qyliss has quit [Quit: bye]
17:05eiln has quit [Quit: WeeChat 4.1.2]
17:07qyliss has joined #asahi-alt
17:13john-cabaj has joined #asahi-alt
19:19ciara has quit [Remote host closed the connection]
19:28ciara has joined #asahi-alt
19:36MichaelLongI've just updated my gentoo installation after a longer time and along with it, also installed linux-6.6.0-p12, but unfortunately HDMI output is not working, Is this expected?
19:39john-cabaj has quit [Ping timeout: 480 seconds]
19:51livj`ey: If I use `dracut` with `--hostmodules`, does it also include everything it includes without the `--hostmodules` option?
20:11leioMichaelLong: did you get a m1n1 update and put it into use (I think update-m1n1?)? Is it a real full HDMI port? What is the macOS firmware version on that install, I hear asahi-diagnose is supposed to tell that
20:17MichaelLongleio, thx for the hints, I'll check those. I was testing with the real HDMI port. It is working with the Fedora Asahi install though
20:28MichaelLongok ran update-m1n1 but rebooted but it didn't changed anything. asahi-diagnose says OS firmware: 12.3
20:33MichaelLongok running asahi-diagnose on my parallel fedora installations OS Firmware is on 13.5, that's probably the culprit
20:47jannegMichaelLong: yes, the HDMI output is only supported with OS firmware 13.5
20:48MichaelLongjanneg, k good to know, I'll check what's going wrong with the update on my gentoo install.
20:50jannegthat has nothing in particular with your gentoo installation to do. the OS firmware version is determined by the macOS version on the 2.5GB apfs partition created by the asahi installer. It's currently not possible to update that directly
20:55jacksonchen666 is now known as Guest10764
20:55jacksonchen666 has joined #asahi-alt
20:56Guest10764 has quit [Remote host closed the connection]
21:05jacksonchen666 has quit [Quit: WeeChat 4.1.2]
21:15jeisom has joined #asahi-alt
21:31ciara has quit [Remote host closed the connection]
21:40j`eyliv: Im not exactly sure what it does, just saw that thing with modprobe
21:58ciara has joined #asahi-alt
22:08hd73 has joined #asahi-alt
22:10hd73 has quit []
22:33livAh okay.
22:33livThanks :)
22:34j`eyliv: seems that it tries to create a smaller initramfs that works only on your machine
22:35j`eyyou could test by moving the current initramfs out the way and seeing if it works for you
22:35j`eyor try the alternative modprobe.d paths
22:40tpw_rulesjanneg: does the OS firmware matter? or just a firmware binary that needs to be extracted
22:41tpw_rulesit seems an awful lot like the first, would just like to confirm
22:42svenDCP needs to run firmware 13.5
22:42tpw_rulesokay, so the problem is the macos partition for sure
22:42* mpswould like to see color temperature work on asahi
22:43j`eymps: the apple drm driver supports CTM
22:43mpsj`ey: hm, how?
22:43j`eyKDE supports it, but not much else yet
22:44mpsah, that explains why it doesn't work in my case
22:44j`eypresumably redshift or whatever uses the GAMMA_LUT property, that the dcp doesnt support
22:44mpsnot sure if KDE on alpine will work
22:45j`ey(and GNOME uses gamma, not CTM, so doesnt work there yet either)
22:45mpsand I'm not fan of these big DEs
22:46mpsthough I'm testing sway to switch from xorg
22:46j`eysway (through wlroots) doesnt support it either yet :(
22:47mpsactually switched to sway on gru-kevin chromebook. it is lot better than with xorg
22:47j`eymps: switching to Modern Software :P
22:48mpsand I have sway in parallel with xorg macbooks
22:48mpsj`ey: yes :D
22:48mpseven installed pipewire
22:49mpsI managed to resist pulseadio
22:50mpsoh, forgot to announce that alpine now have speakersafetyd. Waiting for someone with knowledge about pipewire to test and teach me how to use all these 'batteries'
22:52mpsI managed to add all these thing to alpine and keep them up-to-date, except asahi-audio which I don't know to make properly
23:07mpsj`ey: OT but, when I studied about systems (any type) I learned that stability and security is inverse proportional to the number of elements (i.e. moving parts)
23:08mpsmore 'moving parts' less stability and less security
23:10mpsor as Leonardo da Vinci told 'perfection is not when you don't have to add anything more but when you don't have to remove anything more' or similar to this. writing from the had and translating from my bad english
23:10j`eytheres some truth to that of course, but if more maintenance/work is happening in the complex systems..
23:11mpsI like KISS (keep it simple stupid)
23:11j`ey(I do somewhat agree.. but I've also come round to systemds way of doing things soo)
23:12mpsyes, I understand that nowadays all things needs more functionalities and as such they are becoming more complex
23:15mpsmaybe I'm told earlier that I advocated switch to systemd on debian and after some time I saw that was a big mistake (shame on me)
23:20livj`ey: alternate modprobe.d paths didn't work :(
23:21j`eyliv: hm
23:21j`eyliv: run: cpio t < /boot/<path to initramfs> | grep modprobe
23:24livI might have found the solution, rebooting now...
23:29livokay I found the solution...
23:29livI did not mount /boot.
23:29livI feel so dumb right now...
23:29livanyhow I found the solution, ctrl/fn and alt/super have been swapped
23:30j`eydidnt mount it when? also why not just alwways mount it
23:30j`eywhat was the solution?
23:30livMounting /boot...
23:30j`eyoh, before running dracut?
23:32livyeah...
23:32livit didn't occur to me that it outputted to /boot/initramfs-*.img
23:33livThe notch display still doesn't work, however.
23:33j`eydepends what you mean
23:34j`eythe display is intentionally cut to below the notch
23:34j`ey(since userspace doesnt know about it)
23:35j`eyif you boot with: apple_dcp.show_notch=1 it will use the full screen
23:35livYeah I'd like to allow it to display "through" the notch
23:35livSince I have my bar there anyways
23:35j`eybut full screen wont "work"
23:35livit looks something like this: https://0x0.st/HYpv.png
23:36livwhat does that mean?
23:36livabout full screen?
23:37j`eyif you full screen, stuff will get hidden behind the notch
23:37livah okay
23:37livyeah that's obvious
23:38j`eythen use the kernel option :)
23:59livOh, btw, I already had `options apple_dcp show_notch=1` inside `/lib/modprobe.d/apple-dcp.conf`
23:59livdid not work
23:59livAlso in `/etc/modprobe.d/apple-dcp.conf`
…