#
…

2023-03-06

00:16aratuk has quit []
00:22jhan has quit [Ping timeout: 480 seconds]
00:30jhan has joined #asahi
00:44jamespmorgan has joined #asahi
00:49jhan has quit [Ping timeout: 480 seconds]
00:49jamespmo_ has quit [Ping timeout: 480 seconds]
00:59jhan has joined #asahi
01:07Soni has quit [Ping timeout: 480 seconds]
01:07vmeson has joined #asahi
01:07jhan has quit [Ping timeout: 480 seconds]
01:09ZeroineDoes anyone know what kernel module is responsible for dealing with the touchpad?
01:10jhan has joined #asahi
01:10ZeroineI tried grepping all kinds of things but couldn't find anything touchpad related
01:12user982492 has joined #asahi
01:12ZeroineI'm asking because I want to configure the sensitivity because it's causing me some issues. I'm using GNOME Wayland by the way. I know libinput is used by GNOME but it's not very configurable when using wayland from what I understand.
01:16zotanmew has quit [Quit: goodbye: ~zotan via destiny.zotan.network]
01:19zotanmew has joined #asahi
01:22Guest6581 has quit [Quit: G-line: User has been permanently banned from this network.]
01:23vx has joined #asahi
01:24vx is now known as Guest6706
01:48jhan has quit [Remote host closed the connection]
02:03rvalue has quit [Ping timeout: 480 seconds]
02:08rvalue has joined #asahi
02:16Sid has joined #asahi
02:20axt has left #asahi [#asahi]
02:23Soni has joined #asahi
02:25dax has joined #asahi
02:31confusom1 is now known as confusomu
02:38Hibyehello has quit [Ping timeout: 480 seconds]
02:41zef has joined #asahi
02:47zef_ has quit [Ping timeout: 480 seconds]
03:03jhan has joined #asahi
03:05Sid has quit [Quit: Page closed]
03:14Retr0idif anyone is interested, I now have spotify working via the web player (kinda) https://github.com/AsahiLinux/docs/issues/63#issuecomment-1455373735
03:15Retr0idit's only a tiny bit janky, it spoofs the presence of widevine so that the web interface can start up, allowing you to select a locally-running spotifyd instance as a playback device
03:19Hibyehello has joined #asahi
03:25Hibyehello_ has joined #asahi
03:27Hibyehello has quit [Ping timeout: 480 seconds]
03:30kesslerd has quit [Remote host closed the connection]
03:41ptudor has quit [Ping timeout: 480 seconds]
03:42Hibyehello_ has quit [Ping timeout: 480 seconds]
03:43ptudor has joined #asahi
03:52Hibyehello has joined #asahi
04:00Hibyehello has quit [Ping timeout: 480 seconds]
04:07Zopolis4 has joined #asahi
04:15jhan has quit [Remote host closed the connection]
04:18snowcra5h has quit [Remote host closed the connection]
04:19snowcra5h has joined #asahi
04:25Zeroine has quit [Quit: Connection closed for inactivity]
04:25jhan_ has joined #asahi
04:27jhan has joined #asahi
04:27jhan_ has quit [Read error: Connection reset by peer]
04:27jhan has quit [Read error: Connection reset by peer]
04:30Hibyehello has joined #asahi
04:32DarkShadow44 has quit [Quit: ZNC - https://znc.in]
04:32DarkShadow44 has joined #asahi
04:42Hibyehello has quit [Ping timeout: 480 seconds]
04:45Retr0idI've just learnt that there's a beta chromeos image that ships an aarch64 widevine CDM. unfortunately, it's built for 4k page alignment, but perhaps I can hack things up to work around that
04:47possiblemeatball has quit [Quit: Quit]
04:48r0ni has joined #asahi
04:56marvin24 has joined #asahi
04:59marvin24_ has quit [Ping timeout: 480 seconds]
05:05jhan has joined #asahi
05:11r0ni has quit [Quit: Leaving]
05:12r0ni has joined #asahi
05:16snowcra5h has left #asahi [WeeChat 3.8]
05:20Zopolis4i thought chromeos still had armv7 userland?
05:24Retr0idthat changed about a month ago apparently
05:25Retr0idraspbian has an aarch64 widevine package now https://forums.raspberrypi.com/viewtopic.php?t=347736
05:25Retr0idafaict using the bins pulled from chromeos
05:28Zopolis4nothing i can find seems to suggest actual 64bit userland
05:28Zopolis4maybe widevine does something weird?
05:28Zopolis4because like
05:29Zopolis4even the "Lenovo Slim 3 Chromebook 14", released around 2 months ago, still is listed as having armv7 userland
05:31Zopolis4and certain things do bypass the userland
05:31Zopolis4like crostini
05:31Zopolis4so im guessing widevine does that aswell
05:33Hibyehello has joined #asahi
05:38Zopolis4probably some interaction with the kernel that ignores the user abi? (out of my depth here)
05:42Zopolis4for some reason, theres no documentation on how widevine works :p
05:42user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:44Retr0idthere are chromebooks with 64bit userland now
05:45marcanI looked at the rpios repos and I can't find the package at all, but I don't have an actual insall to verify
05:46Retr0idone sec, let me track down the link to where I got the libwidevinecdm.so that's currently in my download folder lol
05:47Zopolis4there are 64-bit programs on 32-bit userland chromeos's
05:47Zopolis4like crostini
05:47Zopolis4the script u posted talks about armhf
05:47Retr0id$ file _platform_specific/cros_arm64/libwidevinecdm.so
05:47Retr0id_platform_specific/cros_arm64/libwidevinecdm.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[sha1]=b71fd3342a03fdb140e1f7a757960df219d63625, stripped
05:49Zopolis4this will drastically affect the fishing season
05:49Zopolis4and chromebrew
05:49Zopolis4although we got time until/if it makes its way into stable
05:49marcanfound it
05:51Retr0idI'm currently trying to patch it into working, can't tell if my current segfault in ld.so is due to glibc version incompat or because my hexedits are bad (I am intimately familiar with widevine's self-integrity checks, this isn't that, yet)
05:52Retr0idwill try starting from the raspbian packages (looks like they're pre-applied glibc fixups)
05:53Hibyehello has quit [Ping timeout: 480 seconds]
05:56Retr0idoops yes my hexedits were bad
05:56Retr0idI've been meaning to write a """proper""" tool for fixing 4k-aligned ELFs into 16k aligned ELFs
06:01Retr0idalthough I think widevine will probably explode at runtime anyway on 16k pages
06:39waldiobjcopy cant do that?
06:39Hibyehello has joined #asahi
06:46Retr0idif it can, I have no idea how to tell it to
06:50Retr0idit's a non-trivial thing to do
07:00Hibyehello has quit [Ping timeout: 480 seconds]
07:12JTL has quit [Remote host closed the connection]
07:13JTL has joined #asahi
07:19JTL has quit [Remote host closed the connection]
07:20JTL has joined #asahi
07:23eroux has quit [Quit: Textual IRC Client: www.textualapp.com]
07:25jhan has quit [Remote host closed the connection]
07:27jhan has joined #asahi
07:35jhan has quit [Ping timeout: 480 seconds]
07:36mixi has quit [Quit: quit]
07:36mixi has joined #asahi
07:39ari just hope the next base distro isn't going to be fedora, with all of their "let's break the user experience and pretend everything's fine" approach to codecs, antialiasing, or anything else that may vaguely smell of patents
07:50bisko has joined #asahi
07:50Hibyehello has joined #asahi
07:57bluetail9me neither. arch as a base was a godsend, although next time I dont install the UI :D
07:57bluetail9kde-plasma ... has some quirks/kinks
07:58chadmedRetr0id: dont bother its LOAD sections are 0x1000 aligned
07:58chadmed(i already tried(
07:58Retr0idI'm trying harder :P
07:59Retr0iddoing some elf header rewriting
08:00Retr0idalthough I would be curious to know if it works on an asahi compiled for 4k pages (is that easy to do?)
08:00chadmedit involves some horrific patches and bypassing some DARTs but it is possible
08:00guillaume_g has joined #asahi
08:00chadmedbut no ones maintained the patches since 5.19
08:01chadmed has quit [Remote host closed the connection]
08:04chadmed has joined #asahi
08:05bluetail9if somebody asks, dont use gparted for formatting disks on aarch64v8, it creates 16k sectors. fdisk does add sane values. Though I manually forced 4k sectors cause I have many large files
08:05bluetail9it appears that pagesize=sectorsize in gparted
08:06thansen has quit [Read error: Connection reset by peer]
08:09thansen has joined #asahi
08:16Zopolis4 has quit []
08:19thansen has quit [Remote host closed the connection]
08:20thansen has joined #asahi
08:21pjakobsson has joined #asahi
08:37thansen has quit [Read error: Connection reset by peer]
08:42eroux has joined #asahi
08:48thansen has joined #asahi
08:59thansen has quit [Read error: Connection reset by peer]
09:04Retr0idI have the elf getting mapped at least now, just need to debug how I broke relocations along the way...
09:11jhan has joined #asahi
09:23thansen has joined #asahi
09:25jhan has quit [Ping timeout: 480 seconds]
09:32thansen has quit [Read error: Connection reset by peer]
09:33veeyee has joined #asahi
09:33Retr0idanyone know if alarm's glibc supports RELR relocations? It would certainly explain some things if it doesn't...
09:34DarkShadow44 has quit [Quit: ZNC - https://znc.in]
09:35DarkShadow44 has joined #asahi
09:36svenif you don’t need pcie (Bluetooth, WiFi, usb a ports on the mini) or the gpu you can just boot a 4K page kernel and see if it even works there
09:37Retr0idseems like the answer is no, it doesn't support DT_RELR yet, rip https://sourceware.org/bugzilla/show_bug.cgi?id=27924
09:37veeyee has quit []
09:37Retr0idI may try a 4k kernel at some point *but* I feel like I'm pretty close to having this working once I convert these relocs into a different type
09:38Retr0idor maybe upgrade my glibc heh
09:38Retr0idalso iiuc this relr issue would still be a problem on 4k
09:39stickytoffee has quit [Quit: brb]
09:39DarkShadow44 has joined #asahi
09:40nzzz_ is now known as nzzz
09:40chadmedyou could install gentoo :P
09:46thansen has joined #asahi
10:00stickytoffee has joined #asahi
10:07nyilas has joined #asahi
10:33thansen has quit [Read error: Connection reset by peer]
10:33thansen has joined #asahi
10:44thansen has quit [Read error: Connection reset by peer]
10:46thansen has joined #asahi
10:50r0ni has quit [Quit: Leaving]
10:57thansen has quit [Read error: Connection reset by peer]
10:59thansen has joined #asahi
11:03jhan has joined #asahi
11:12jhan has quit [Ping timeout: 480 seconds]
11:26DarkShadow44 has quit [Quit: ZNC - https://znc.in]
11:26DarkShadow44 has joined #asahi
11:41jhan has joined #asahi
11:47mkurzmarcan: or the call to GetNetworkListImpl in line 505
11:49jhan has quit [Ping timeout: 480 seconds]
11:50Zopolis4 has joined #asahi
11:51rvalue has quit [Ping timeout: 480 seconds]
11:52jhan has joined #asahi
11:55MajorBiscuit has joined #asahi
11:56Retr0idTIL there is a glibc-widevine package in the AUR with RELR support https://aur.archlinux.org/packages/glibc-widevine
11:56Retr0idhope I don't brick my system...
11:57rvalue has joined #asahi
12:01jhan has quit [Ping timeout: 480 seconds]
12:03kode54 has quit [Quit: Ping timeout (120 seconds)]
12:03kode54 has joined #asahi
12:06hightower2 has joined #asahi
12:18pent1ckel has quit [Remote host closed the connection]
12:22pent1ckel has joined #asahi
12:26Raito_Bezarius has quit [Remote host closed the connection]
12:33Raito_Bezarius has joined #asahi
12:40jhan has joined #asahi
12:41possiblemeatball has joined #asahi
12:51jhan has quit [Ping timeout: 480 seconds]
12:57jhan has joined #asahi
13:01kujeger has quit [Quit: ZNC 1.8.2 - https://znc.in]
13:01kujeger has joined #asahi
13:04kujeger has quit []
13:04kujeger has joined #asahi
13:06benoyelq has joined #asahi
13:11mort_glibc-widevine? What relationship does glibc and widevine have?
13:12jhan has quit [Ping timeout: 480 seconds]
13:12mort_ah widevine depends on DL_RELR support from the lbic doesn't it
13:14mort_the DRM situation is so dreadful, it could never be good but Google's handling of widevine makes it so much worse than it has to be
13:17benoyelq has quit []
13:24Fischmiep has quit [Ping timeout: 480 seconds]
13:25ximet has quit [Quit: The Lounge - https://thelounge.chat]
13:25ximet has joined #asahi
13:44Retr0id>>> wv.GetCdmVersion()
13:44Retr0idb'4.10.2557.0'
13:44Retr0id>>> wv.InitializeCdmModule_4()
13:44jhan has joined #asahi
13:44hightower2 has quit [Remote host closed the connection]
13:44Retr0idnow to see if it actually runs, in a browser
13:47Retr0idalthough I forget where I'm supposed to drop the files to make firefox see it, ugh
13:47povikis that some python binding, or you wrote ctypes wrappers?
13:49le0n has quit [Ping timeout: 480 seconds]
13:49Retr0idI set `wv.GetCdmVersion.restype = c_char_p` if that counts as a ctypes wrapper lol
13:49bluetail9 has quit [Ping timeout: 480 seconds]
13:56le0n has joined #asahi
14:05Fischmiep has joined #asahi
14:06amarioguy has joined #asahi
14:08Retr0idit works!!!111!
14:09ChaosPrincess has quit [Quit: WeeChat 3.8]
14:10ChaosPrincess has joined #asahi
14:12svennice :D
14:13Retr0idfor some reason netflix logs me out the moment I try to watch anything, but spotify works, as do demo reels
14:17Retr0idI'm going to guess that since the cdm is from a beta chromeos image, it's not trusted by netflix
14:19Fischmiep has quit [Ping timeout: 480 seconds]
14:35mort_I actually just ended up using YouTube Music instead of Spotify, YouTube Music apparently works without DRM
14:35Retr0idnetflix works with a chromeos useragent, nice
14:35mort_what's up with user agent sniffing, why do companies still do ith
14:36mort_so many websites work perfectly fine as long as you pretend to be using some Google product
14:37Retr0idyou can even get 1080p with a browser extension that asks for it nicely
14:39mort_speaking of resolutions, I've noticed that YouTube defaults to really low resolutions like 480p on asahi, even though the machine is more than capable of playing 4k
14:41bluetail9 has joined #asahi
14:41mort_I got a plugin to automatically select a higher resolution, but it's weird since I haven't had that issue with other systems. Maybe it detects that it's software decoded instead of hardware decoded and chooses a lower quality based on that?
14:51Whatdidyouexpect has joined #asahi
14:52Whatdidyouexpectso m2 does work with asahi right
14:52Whatdidyouexpectlike with gpu drivers too
14:53possiblemeatball has quit [Remote host closed the connection]
14:53Whatdidyouexpectok got it it does work
14:53Whatdidyouexpect has quit []
14:56Zopolis4 has quit []
15:05pranavbluetail9: It turns out that the problem was actually systemd generating broken resolv.conf everytime. I fixed it by following this stackoverflow post https://unix.stackexchange.com/a/533786
15:07delsol has joined #asahi
15:07jhan has quit [Remote host closed the connection]
15:21jhan has joined #asahi
15:23jhan has quit [Remote host closed the connection]
15:30axboe has joined #asahi
15:30bluetail9thats a tricky one! I wouldnt had imagined this was the case. Well done!
15:31axboeanyone run into the Xorg not starting on debian with unw_get_proc_info(): no unwind info found [-10]?
15:31axboeseems reminiscent of the older libunwind8 issue, but don't see any recent updates there
15:31axboethis is in debian fwiw
15:32axboeand of course I'm traveling :/
15:39hightower2 has joined #asahi
15:42axboelooks like user error, going back to my old kernel and it's fine (though I don't get why, but for another day...)
15:45jannauthe is the new kernel based on the recent 6.2 final tag? if you're using the gpu driver it needs a different mesa since the gpu uabi changed
15:48jhan has joined #asahi
15:51axboejannau: ah gotcha - yes this is the 6.2 based kernel. I did check the mesa repo, but no updates. perhaps they moved somewhere else?
15:52jannaumesa update is not ready. there were still a few regressions as of a few hours ago
15:53axboeI'll watch this space :)
15:54axboesticking with my home rolled -rc8 based kernel for now
15:54axboethanks jannau
15:56jhan has quit [Ping timeout: 480 seconds]
15:56jannauhttps://github.com/AsahiLinux/PKGBUILDs/ is probably the best place to llok for tags which have seen at least a little testing
15:58amarioguy has quit [Ping timeout: 480 seconds]
16:07axboejannau: perfect, thanks
16:07dax has left #asahi [#asahi]
16:26jhan has joined #asahi
16:28as400I have problems with ms teams voice calls on the latest chromium. Anyone with similar problems ? I wonder whether it could be something related to what markan was describing in his toots.
16:29jhan has quit []
16:40kesslerd has joined #asahi
16:42bluetail9 has quit [Ping timeout: 480 seconds]
16:48MajorBiscuit has quit [Ping timeout: 480 seconds]
16:51guillaume_g has quit []
17:01bluetail9 has joined #asahi
17:03amarioguy has joined #asahi
17:09delsol has quit [Remote host closed the connection]
17:16mort_Lina has been writing about WebRTC issues lately, mostly with Firefox but there was something with Chromium too
17:20mort_Oh, I remember! Lina figured out that Chromium assumes a 4k buffer size for some networking stuff, and it's 16k on Asahi because the kernel gives you page-sized buffers
17:23mx08 has joined #asahi
17:28julio7359 has quit [Remote host closed the connection]
17:33julio7359 has joined #asahi
17:48luceneraI installed Asahi on MacBook Air with M2. I am running linux kernel 6.1.0-asahi-2-2-edge. Firefox runs are with WebRender Software. Is this normal?
18:04mlq_ has quit [Ping timeout: 480 seconds]
18:22julio7359 has quit [Ping timeout: 480 seconds]
18:26mlq_ has joined #asahi
18:29mixi"it's 16k on Asahi because the kernel gives you page-sized buffers" <-- it's not 4k for >16k page size, but the kernel limits it at min(PAGE_SIZE, 8k) + overhead
18:29mixi(see the NLMSG_GOODSIZE macro in include/linux/netlink.h)
18:30mort_lucenera: It is. There are some environment settings you can set to trick Firefox into thinking the GPU supports a newer OpenGL than it actually reports, which will make Firefox enable hw accelerated WebRender
18:40mort_mixi: that's really good info which should provably be part of the mastodon discussion
18:41mixiI put it as a comment on the proposed patch github gist, as I do not have any mastodon account, but feel free to relay it there as well
19:04delsol has joined #asahi
19:11amarioguy has quit [Ping timeout: 480 seconds]
19:14amarioguy has joined #asahi
19:22roxfan has quit [Ping timeout: 480 seconds]
19:24Moprius has joined #asahi
19:27giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
19:30snyanz has joined #asahi
19:31mohit8 has quit []
19:31mohit8 has joined #asahi
19:35opotin65 has joined #asahi
19:35TheLink7 has joined #asahi
19:35redlegion_ has joined #asahi
19:36VinDuv_ has joined #asahi
19:36thevar1able_ has joined #asahi
19:36m42uko_ has joined #asahi
19:36psykose_ has joined #asahi
19:36snuck has joined #asahi
19:36m5zs7k_ has joined #asahi
19:36johey_ has joined #asahi
19:36maz_ has joined #asahi
19:37merry_ has joined #asahi
19:37Misthios1 has joined #asahi
19:37TellowKrinkle_ has joined #asahi
19:37grange_c68 has joined #asahi
19:37fugi1 has joined #asahi
19:37das_j_ has joined #asahi
19:37YJSNPI5 has joined #asahi
19:37timefractal5 has joined #asahi
19:37milek7_ has joined #asahi
19:37coderobe0 has joined #asahi
19:37Mary6 has joined #asahi
19:37petterroea_ has joined #asahi
19:37pbsds3 has joined #asahi
19:37jnn has joined #asahi
19:37lawrence6 has joined #asahi
19:37Dominika has joined #asahi
19:37antonio__ has joined #asahi
19:37V_ has joined #asahi
19:37SoniEx2 has joined #asahi
19:37minecrell4 has joined #asahi
19:38akemin-dayo has joined #asahi
19:38Zopolis4 has joined #asahi
19:38vup2 has joined #asahi
19:38Xesxen_ has joined #asahi
19:38Yamakaja has joined #asahi
19:38dabaum|2er0_ has joined #asahi
19:38merry has quit [Ping timeout: 480 seconds]
19:38TellowKrinkle has quit [Ping timeout: 480 seconds]
19:38ah- has quit [Remote host closed the connection]
19:38Fanfwe has quit [Read error: Connection reset by peer]
19:38das_j has quit [Ping timeout: 480 seconds]
19:38the_CLA_2 has quit [Remote host closed the connection]
19:38kettenis_ has joined #asahi
19:38the_CLA has joined #asahi
19:38lewurm_ has quit [Remote host closed the connection]
19:38thasti_ has quit [Remote host closed the connection]
19:38ah-_ has joined #asahi
19:38lewurm has joined #asahi
19:38kettenis has quit [Remote host closed the connection]
19:38thasti has joined #asahi
19:38VasilisTheChu has joined #asahi
19:38trepatudo has quit [Read error: Connection reset by peer]
19:38redlegion has quit [Read error: Connection reset by peer]
19:38redlegion_ is now known as redlegion
19:38JoshuaAs- has joined #asahi
19:38stipa_ has joined #asahi
19:38trepatudo has joined #asahi
19:38Esmil has quit [Remote host closed the connection]
19:38kit_ty_kate2 has joined #asahi
19:39zef has quit [Remote host closed the connection]
19:39Esmil has joined #asahi
19:39ChaosPrincess has quit [Remote host closed the connection]
19:39arekm has quit [Remote host closed the connection]
19:39zef has joined #asahi
19:39sneak has quit [Write error: connection closed]
19:39ligma_toad has quit [Read error: Connection reset by peer]
19:39arekm has joined #asahi
19:39VasilisT- has quit [Read error: Connection reset by peer]
19:39ChaosPrincess has joined #asahi
19:39JoshuaAshton has quit [Read error: Connection reset by peer]
19:39j`ey_ has quit [Remote host closed the connection]
19:39j`ey has joined #asahi
19:39grange_c6 has quit [Read error: Connection reset by peer]
19:39m42uko has quit [Write error: connection closed]
19:39grange_c68 is now known as grange_c6
19:39ligma_toad has joined #asahi
19:39thevar1able has quit [Ping timeout: 480 seconds]
19:39milek7 has quit [Read error: Connection reset by peer]
19:39Soni has quit [Read error: No route to host]
19:39kit_ty_kate1 has quit [Read error: Connection reset by peer]
19:39timefractal has quit [Read error: No route to host]
19:39timefractal5 is now known as timefractal
19:39j`ey has quit [reticulum.oftc.net helix.oftc.net]
19:39Esmil has quit [reticulum.oftc.net helix.oftc.net]
19:39kit_ty_kate2 has quit [reticulum.oftc.net helix.oftc.net]
19:39snyanz has quit [reticulum.oftc.net helix.oftc.net]
19:39nyilas has quit [reticulum.oftc.net helix.oftc.net]
19:39bisko has quit [reticulum.oftc.net helix.oftc.net]
19:39mixi has quit [reticulum.oftc.net helix.oftc.net]
19:39stipa_ has quit [reticulum.oftc.net helix.oftc.net]
19:39psykose has quit [reticulum.oftc.net helix.oftc.net]
19:39Misthios has quit [reticulum.oftc.net helix.oftc.net]
19:39Mary has quit [reticulum.oftc.net helix.oftc.net]
19:39fugi has quit [reticulum.oftc.net helix.oftc.net]
19:39coderobe has quit [reticulum.oftc.net helix.oftc.net]
19:39YJSNPI has quit [reticulum.oftc.net helix.oftc.net]
19:39johey has quit [reticulum.oftc.net helix.oftc.net]
19:39Xesxen has quit [reticulum.oftc.net helix.oftc.net]
19:39Yamakaja_ has quit [reticulum.oftc.net helix.oftc.net]
19:39opotin6 has quit [reticulum.oftc.net helix.oftc.net]
19:39TheLink has quit [reticulum.oftc.net helix.oftc.net]
19:39V has quit [reticulum.oftc.net helix.oftc.net]
19:39m5zs7k has quit [reticulum.oftc.net helix.oftc.net]
19:39pbsds has quit [reticulum.oftc.net helix.oftc.net]
19:39petterroea has quit [reticulum.oftc.net helix.oftc.net]
19:39lucus has quit [reticulum.oftc.net helix.oftc.net]
19:39maz has quit [reticulum.oftc.net helix.oftc.net]
19:39stipa has quit [reticulum.oftc.net helix.oftc.net]
19:39akemin_dayo has quit [reticulum.oftc.net helix.oftc.net]
19:39minecrell has quit [reticulum.oftc.net helix.oftc.net]
19:39VinDuv has quit [reticulum.oftc.net helix.oftc.net]
19:39vup has quit [reticulum.oftc.net helix.oftc.net]
19:39jn has quit [reticulum.oftc.net helix.oftc.net]
19:39lawrence has quit [reticulum.oftc.net helix.oftc.net]
19:39manawyrm has quit [reticulum.oftc.net helix.oftc.net]
19:39Shiz has quit [reticulum.oftc.net helix.oftc.net]
19:39agraf has quit [reticulum.oftc.net helix.oftc.net]
19:39dabaum|2er0 has quit [reticulum.oftc.net helix.oftc.net]
19:39sdomi has quit [reticulum.oftc.net helix.oftc.net]
19:39TheLink7 is now known as TheLink
19:39VinDuv_ is now known as VinDuv
19:39coderobe0 is now known as coderobe
19:39Misthios1 is now known as Misthios
19:39fugi1 is now known as fugi
19:39YJSNPI5 is now known as YJSNPI
19:39lawrence6 is now known as lawrence
19:39Fanfwe has joined #asahi
19:40lucus16 has joined #asahi
19:40Esmil has joined #asahi
19:40j`ey has joined #asahi
19:40stipa_ has joined #asahi
19:40kit_ty_kate2 has joined #asahi
19:40snyanz has joined #asahi
19:40nyilas has joined #asahi
19:40mixi has joined #asahi
19:40Mary has joined #asahi
19:40psykose has joined #asahi
19:40Yamakaja_ has joined #asahi
19:40V has joined #asahi
19:40opotin6 has joined #asahi
19:40johey has joined #asahi
19:40petterroea has joined #asahi
19:40pbsds has joined #asahi
19:40minecrell has joined #asahi
19:40lucus has joined #asahi
19:40akemin_dayo has joined #asahi
19:40vup has joined #asahi
19:40jn has joined #asahi
19:40Shiz has joined #asahi
19:40agraf has joined #asahi
19:40manawyrm has joined #asahi
19:40dabaum|2er0 has joined #asahi
19:40mort_I love that when plasma crashes, I can just kstart5 plasmashell even if on wayland. When gnome crashes I'm booted to gdm unless I'm running X11
19:41minecrell has quit [Max SendQ exceeded]
19:41V has quit [Max SendQ exceeded]
19:41snyanz has quit [Ping timeout: 494 seconds]
19:41petterroea has quit [Ping timeout: 484 seconds]
19:41psykose has quit [Ping timeout: 484 seconds]
19:41opotin6 has quit [Ping timeout: 484 seconds]
19:41nyilas has quit [Ping timeout: 484 seconds]
19:41Mary has quit [Ping timeout: 484 seconds]
19:41dabaum|2er0 has quit [Ping timeout: 484 seconds]
19:41johey has quit [Ping timeout: 484 seconds]
19:41Yamakaja_ has quit [Ping timeout: 484 seconds]
19:41akemin_dayo has quit [Ping timeout: 484 seconds]
19:41pbsds has quit [Ping timeout: 484 seconds]
19:41jn has quit [Ping timeout: 484 seconds]
19:41lucus has quit [Ping timeout: 484 seconds]
19:41vup has quit [Ping timeout: 484 seconds]
19:41Xesxen_ is now known as Xesxen
19:42TellowKrinkle_ is now known as TellowKrinkle
19:44possiblemeatball has joined #asahi
19:47psykose_ has quit [Remote host closed the connection]
20:05amarioguy has quit [Ping timeout: 480 seconds]
20:08j`ey_ has joined #asahi
20:08giskard has joined #asahi
20:08stipa has joined #asahi
20:08mixi_ has joined #asahi
20:08j`ey has quit [Remote host closed the connection]
20:08stipa_ has quit [Read error: Connection reset by peer]
20:08mixi has quit [Ping timeout: 480 seconds]
20:09kit_ty_kate3 has joined #asahi
20:09Esmil has quit [Remote host closed the connection]
20:09kit_ty_kate2 has quit [Read error: Connection reset by peer]
20:09Esmil has joined #asahi
20:09manawyrm has quit [reticulum.oftc.net helix.oftc.net]
20:09lucus16 has quit [reticulum.oftc.net helix.oftc.net]
20:09Shiz has quit [reticulum.oftc.net helix.oftc.net]
20:09agraf has quit [reticulum.oftc.net helix.oftc.net]
20:10manawyrm has joined #asahi
20:10lucus has joined #asahi
20:10Shiz has joined #asahi
20:10lucus16 has joined #asahi
20:10agraf has joined #asahi
20:11lucus16 has quit [Ping timeout: 482 seconds]
20:11minecrell4 has quit []
20:11minecrell has joined #asahi
20:16giskard has quit [Ping timeout: 480 seconds]
20:20agarttha has joined #asahi
20:20agartthaHi. Is there support for automatically hibernating when the battery is too low?
20:23agartthaAlso is it possible to mount and use the macos /Users directory as /home in linux?
20:24agartthaAnd thank you!
20:24opticronagarttha, there is no hibernation support right now
20:29agartthathat means we can suspend to ram but not yet to disk?
20:31ChaosPrincesswe cant 'suspend' to ram either
20:33opticronsuspend is a work in progress
20:39agartthai think i don't understand the different sleep states. what is the name of suspend/sleep state available in asahi-edge? i couldn't find this information on the feature support page.
20:41ChaosPrincesss2idle, but it also does not quite work
20:42ChaosPrincessas in, it does things that some userspace does not expect
20:42ChaosPrincessand that userspace then proceeds to die in a fire
20:42agartthasleep with caution
20:48opticronspicy sleep
20:52mort_specifically, it keeps the monotonic clock going, so Linux will report to userspace that time has passed according to the monotonic clock during sleep, which apparently systemd doesn't like
20:55agartthaso a cronjob would try to execute?
20:57mort_I don't know the details of why systemd breaks when the monotonic clock is running during sleep
21:08agartthaand for my second question, it looks like write support for APFS is experimental...so NO
21:08opticronand MacOS can't read ext4!
21:08opticron(without doing horrible things)
21:08ChaosPrincessExfat exists
21:09ChaosPrincessthere is also zfs, but that needs kernel modules on both sides
21:11aratuk has joined #asahi
21:13aratukThe "good" ext4 module for macOS is paid / proprietary from Paragon 🫤
21:13opticronI used the other option
21:14opticronsomething like that, it was quite a while back
21:14opticronhad to disable security to load a kernel module
21:15ari wonder how viable it would be to run a linux vm with a disk passthrough, and share the drive back over nfs or samba to the host os…
21:15roxfan has joined #asahi
21:16confusomuthere is macFUSE/osxfuse for mounting ext4 filesystems on macOS
21:16opticronyeah, it was macfuse
21:16opticronit worked
21:17opticronit was just a not-user-friendly process due to having to disable security to install that kernel module and such
21:17confusomuyeah, installing it isn't user friendly
21:17mort_what exactly is the mechanism which makes a cpuidle driver necessary for the monotonic clock to stop during s2idle?
21:17opticronI should have just spun up a VM to do it
21:18opticronmort_, iirc, the default cpuidle driver doesn't poke the things necessary on apple hardware to turn that clock off
21:18opticronso you'd need a custom one specifically for AS to make that happen
21:19mort_and the difficulty is in doing that in an upstreamable way
21:19opticronbut I also think that's one of multiple possible solutions
21:19mort_can we make a userspace thing poke the right hardware?
21:27aratuk has quit []
21:28antonio__ has quit [Remote host closed the connection]
21:29svenit’s about poking hardware, it’s just that the suspend code path expects a cpuidle driver to work correctly
21:30svenyou could probably write a dummy driver that essentially does nothing and make it work as a hack
21:30aratuk has joined #asahi
21:32mort_I read marcan proposed doing that
21:40poviksven: to clarify, you meant to write it's *not* about poking hardware, right?
21:40hightower2 has quit [Remote host closed the connection]
21:42psanford has quit [Ping timeout: 480 seconds]
21:42mort_I'm guessing the job of a cpuidle driver is to do all the stuff that's required to put a CPU into an idle state; and that we don't actually need that for s2idle, since the normal power management stuff does it pretty well when the CPU is in its normal state
21:45mort_if that assumption is correct, it seems like a rather serious bug in Linux that it doesn't handle s2idle on devices without a cpuidle driver, since the whole point of s2idle is that it shouldn't require entering an actual CPU idle state
21:48mort_wouldn't it make sense to look at making an upstreamable fix for that, rather than to block sleep behind getting cpuidle-psci to work with the M1?
21:49svenpovik: yes, typing from a phone here and I guess autocorrect somehow ate the „not“
21:51svenyou really just need „wfi“ for s2idle and the code should already do that
21:52svenmort_: sure, I dunno how complex that fix would be though
21:52mort_even if wifi didn't get turned off -- even if no hardware was disabled at all -- working s2idle would be useful simply because that stupid tracking script in that tab in firefox would no longer eat your CPU
21:52svennot wifi
21:52mort_wfi, sorry, misread
21:52svenwfi is a cpu instruction
21:53sven„wait for interrupt“
21:55mort_which the generic arm64 code handles in cpu_do_idle
21:55giskard has joined #asahi
21:56Retr0idHere's my widevine fixup script, if anyone is interested: https://gist.github.com/DavidBuchanan314/c6b97add51b97e4c3ee95dc890f9e3c8
22:00mort_I'm used to messing with the kernel and adding prints and stuff to dig into how stuff works but I'm not really used to doing that when the target machine and the dev machine is the same computer...
22:00mort_sven: how do you people usually do it? Do you do virtualization or do you compile your new kernel, install it, reboot and pray for the best?
22:01j`ey_they dont make the target and dev machine the same computer!
22:01svenyeah, I have two machines
22:01svenone for development and one where I run the kernels on
22:02mort_very sensible
22:02svenif I weren’t writing hardware drivers I’d probably use virtualization instead
22:04mort_I feel like this sleep mode stuff might be both close to my skill level (i.e not very difficult) and the most important blocker for me to seriously use asahi on my laptop so I think I'll actually try to fix it, and see if I can get anywhere before someone else has fixed the psci stuff
22:05julio7359 has joined #asahi
22:05giskard has quit [Ping timeout: 480 seconds]
22:06mort_yeah I saw that, those patches are going in the wrong direction imo
22:09minecrell9 has joined #asahi
22:13minecrell has quit [reticulum.oftc.net helix.oftc.net]
22:13manawyrm has quit [reticulum.oftc.net helix.oftc.net]
22:13lucus has quit [reticulum.oftc.net helix.oftc.net]
22:13Shiz has quit [reticulum.oftc.net helix.oftc.net]
22:13agraf has quit [reticulum.oftc.net helix.oftc.net]
22:15manawyrm has joined #asahi
22:15agraf has joined #asahi
22:17Shiz has joined #asahi
22:18Moprius has quit [Quit: bye]
22:18lucus16 has joined #asahi
22:28mort_or, I suppose it would be acceptable if there's a dummy cpuidle driver
22:31aratuk has quit [Remote host closed the connection]
22:31aratuk has joined #asahi
22:31mort_sven: do you know why we can't use the cpuidle-arm driver? It seems extremely generic, and seems to only assume the wfi idle state
22:32mort_I'll throw some idle states compatible with arm,idle-state at the devicetree and see what happens
22:35aratuk has quit [Remote host closed the connection]
22:36aratuk has joined #asahi
22:36mort_oh, no, that does seem to assume psci, at least the idle-states devicetree node requires idle-states = "psci"
22:39benoyelq has joined #asahi
22:39benoyelq has quit []
22:43agarttha has quit [Ping timeout: 480 seconds]
22:52redscience has joined #asahi
22:54redscience has quit []
23:01minecrell9 has quit []
23:01minecrell9 has joined #asahi
23:02aratuk has quit [Remote host closed the connection]
23:06ah-_Retr0id: awesome, spotify works with that!
23:06Retr0idthanks, spotify was my original goal tbh
23:19Mary6 has quit []
23:19Mary6 has joined #asahi
23:20psanford has joined #asahi
23:25aratuk has joined #asahi
23:27Zopolis4 has quit []
23:33aratuk has quit [Ping timeout: 480 seconds]
23:35mort_it seems to me like the arm cpuidle driver could be changed pretty easily to support arm devices without more idle states than wfi. I believe it would sort of just work if we remove this check: https://github.com/torvalds/linux/blob/8ca09d5fa3549d142c2080a72a4c70ce389163cd/drivers/cpuidle/cpuidle-arm.c#L97-L100
23:38mort_Though then the driver would probably always be enabled, even when there's a better match? We'll need a way for the device tree to say, "I have no more idle states to provide, just use the wfi one; but I do support the arm_idle driver"
23:39jole_ has quit [Remote host closed the connection]
23:45jole has joined #asahi
23:48delsol has quit [Remote host closed the connection]
23:50mort_https://p.mort.coffee/FB2 I guess I'm not doing this
23:51j`ey_if you hack it to not build the edge version, you wont need the rust stuff
23:52mort_I want the GPU stuff which requires rust afaik
23:52j`ey_was just thinking if youw anted to try hack the idle stuff, that shouldnt matter
23:54mort_I'm guessing it'll work if I get an old rust toolchain, but man do I find rust annoying to work with -- in general, not just in the kernel
23:55aratuk has joined #asahi
…