marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | "Does XXX work yet?": https://alx.sh/fs | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
aratuk has quit []
jhan has quit [Ping timeout: 480 seconds]
jhan has joined #asahi
jamespmorgan has joined #asahi
jhan has quit [Ping timeout: 480 seconds]
jamespmo_ has quit [Ping timeout: 480 seconds]
jhan has joined #asahi
Soni has quit [Ping timeout: 480 seconds]
vmeson has joined #asahi
jhan has quit [Ping timeout: 480 seconds]
<Zeroine> Does anyone know what kernel module is responsible for dealing with the touchpad?
jhan has joined #asahi
<Zeroine> I tried grepping all kinds of things but couldn't find anything touchpad related
user982492 has joined #asahi
<Zeroine> I'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.
zotanmew has quit [Quit: goodbye: ~zotan via destiny.zotan.network]
zotanmew has joined #asahi
Guest6581 has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
vx is now known as Guest6706
jhan has quit [Remote host closed the connection]
rvalue has quit [Ping timeout: 480 seconds]
rvalue has joined #asahi
Sid has joined #asahi
axt has left #asahi [#asahi]
Soni has joined #asahi
dax has joined #asahi
confusom1 is now known as confusomu
Hibyehello has quit [Ping timeout: 480 seconds]
zef has joined #asahi
zef_ has quit [Ping timeout: 480 seconds]
jhan has joined #asahi
Sid has quit [Quit: Page closed]
<Retr0id> if anyone is interested, I now have spotify working via the web player (kinda) https://github.com/AsahiLinux/docs/issues/63#issuecomment-1455373735
<Retr0id> it'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
Hibyehello has joined #asahi
Hibyehello_ has joined #asahi
Hibyehello has quit [Ping timeout: 480 seconds]
kesslerd has quit [Remote host closed the connection]
ptudor has quit [Ping timeout: 480 seconds]
Hibyehello_ has quit [Ping timeout: 480 seconds]
ptudor has joined #asahi
Hibyehello has joined #asahi
Hibyehello has quit [Ping timeout: 480 seconds]
Zopolis4 has joined #asahi
jhan has quit [Remote host closed the connection]
snowcra5h has quit [Remote host closed the connection]
snowcra5h has joined #asahi
Zeroine has quit [Quit: Connection closed for inactivity]
jhan_ has joined #asahi
jhan has joined #asahi
jhan_ has quit [Read error: Connection reset by peer]
jhan has quit [Read error: Connection reset by peer]
Hibyehello has joined #asahi
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi
Hibyehello has quit [Ping timeout: 480 seconds]
<Retr0id> I'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
possiblemeatball has quit [Quit: Quit]
r0ni has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
jhan has joined #asahi
r0ni has quit [Quit: Leaving]
r0ni has joined #asahi
snowcra5h has left #asahi [WeeChat 3.8]
<Zopolis4> i thought chromeos still had armv7 userland?
<Retr0id> that changed about a month ago apparently
<Retr0id> raspbian has an aarch64 widevine package now https://forums.raspberrypi.com/viewtopic.php?t=347736
<Retr0id> afaict using the bins pulled from chromeos
<Zopolis4> nothing i can find seems to suggest actual 64bit userland
<Zopolis4> maybe widevine does something weird?
<Zopolis4> because like
<Zopolis4> even the "Lenovo Slim 3 Chromebook 14", released around 2 months ago, still is listed as having armv7 userland
<Zopolis4> and certain things do bypass the userland
<Zopolis4> like crostini
<Zopolis4> so im guessing widevine does that aswell
Hibyehello has joined #asahi
<Zopolis4> probably some interaction with the kernel that ignores the user abi? (out of my depth here)
<Zopolis4> for some reason, theres no documentation on how widevine works :p
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Retr0id> there are chromebooks with 64bit userland now
<marcan> I looked at the rpios repos and I can't find the package at all, but I don't have an actual insall to verify
<Retr0id> one sec, let me track down the link to where I got the libwidevinecdm.so that's currently in my download folder lol
<Zopolis4> there are 64-bit programs on 32-bit userland chromeos's
<Zopolis4> sorta
<Zopolis4> like crostini
<Zopolis4> also
<Zopolis4> the script u posted talks about armhf
<Retr0id> $ file _platform_specific/cros_arm64/libwidevinecdm.so
<Retr0id> _platform_specific/cros_arm64/libwidevinecdm.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[sha1]=b71fd3342a03fdb140e1f7a757960df219d63625, stripped
<Zopolis4> hrm
<Zopolis4> this will drastically affect the fishing season
<Zopolis4> and chromebrew
<Zopolis4> although we got time until/if it makes its way into stable
<marcan> found it
<Retr0id> I'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)
<Retr0id> will try starting from the raspbian packages (looks like they're pre-applied glibc fixups)
Hibyehello has quit [Ping timeout: 480 seconds]
<Retr0id> oops yes my hexedits were bad
<Retr0id> I've been meaning to write a """proper""" tool for fixing 4k-aligned ELFs into 16k aligned ELFs
<Retr0id> although I think widevine will probably explode at runtime anyway on 16k pages
<Retr0id> ah, finally re-found the place I got hold of the chromeos-extracted aarch64 cdm https://gist.github.com/teacupx/9393507ad6250429707f0318b04f1a3b?permalink_comment_id=4471161#gistcomment-4471161
<waldi> objcopy cant do that?
Hibyehello has joined #asahi
<Retr0id> if it can, I have no idea how to tell it to
<Retr0id> it's a non-trivial thing to do
Hibyehello has quit [Ping timeout: 480 seconds]
JTL has quit [Remote host closed the connection]
JTL has joined #asahi
JTL has quit [Remote host closed the connection]
JTL has joined #asahi
eroux has quit [Quit: Textual IRC Client: www.textualapp.com]
jhan has quit [Remote host closed the connection]
jhan has joined #asahi
jhan has quit [Ping timeout: 480 seconds]
mixi has quit [Quit: quit]
mixi has joined #asahi
<ar> i 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
bisko has joined #asahi
Hibyehello has joined #asahi
<bluetail9> me neither. arch as a base was a godsend, although next time I dont install the UI :D
<bluetail9> kde-plasma ... has some quirks/kinks
<chadmed> Retr0id: dont bother its LOAD sections are 0x1000 aligned
<chadmed> (i already tried(
<Retr0id> I'm trying harder :P
<chadmed> :D
<Retr0id> doing some elf header rewriting
<Retr0id> although I would be curious to know if it works on an asahi compiled for 4k pages (is that easy to do?)
<chadmed> it involves some horrific patches and bypassing some DARTs but it is possible
guillaume_g has joined #asahi
<chadmed> but no ones maintained the patches since 5.19
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi
<bluetail9> if 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
<bluetail9> it appears that pagesize=sectorsize in gparted
thansen has quit [Read error: Connection reset by peer]
thansen has joined #asahi
Zopolis4 has quit []
thansen has quit [Remote host closed the connection]
thansen has joined #asahi
pjakobsson has joined #asahi
thansen has quit [Read error: Connection reset by peer]
eroux has joined #asahi
thansen has joined #asahi
thansen has quit [Read error: Connection reset by peer]
<Retr0id> I have the elf getting mapped at least now, just need to debug how I broke relocations along the way...
jhan has joined #asahi
thansen has joined #asahi
jhan has quit [Ping timeout: 480 seconds]
thansen has quit [Read error: Connection reset by peer]
veeyee has joined #asahi
<Retr0id> anyone know if alarm's glibc supports RELR relocations? It would certainly explain some things if it doesn't...
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi
<sven> if 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
<Retr0id> seems like the answer is no, it doesn't support DT_RELR yet, rip https://sourceware.org/bugzilla/show_bug.cgi?id=27924
veeyee has quit []
<Retr0id> I 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
<Retr0id> or maybe upgrade my glibc heh
<Retr0id> also iiuc this relr issue would still be a problem on 4k
stickytoffee has quit [Quit: brb]
DarkShadow44 has joined #asahi
nzzz_ is now known as nzzz
<chadmed> you could install gentoo :P
thansen has joined #asahi
stickytoffee has joined #asahi
nyilas has joined #asahi
thansen has quit [Read error: Connection reset by peer]
thansen has joined #asahi
thansen has quit [Read error: Connection reset by peer]
thansen has joined #asahi
r0ni has quit [Quit: Leaving]
thansen has quit [Read error: Connection reset by peer]
thansen has joined #asahi
jhan has joined #asahi
jhan has quit [Ping timeout: 480 seconds]
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi
jhan has joined #asahi
<mkurz> marcan: or the call to GetNetworkListImpl in line 505
jhan has quit [Ping timeout: 480 seconds]
Zopolis4 has joined #asahi
rvalue has quit [Ping timeout: 480 seconds]
jhan has joined #asahi
MajorBiscuit has joined #asahi
<Retr0id> TIL there is a glibc-widevine package in the AUR with RELR support https://aur.archlinux.org/packages/glibc-widevine
<Retr0id> hope I don't brick my system...
rvalue has joined #asahi
jhan has quit [Ping timeout: 480 seconds]
kode54 has quit [Quit: Ping timeout (120 seconds)]
kode54 has joined #asahi
hightower2 has joined #asahi
pent1ckel has quit [Remote host closed the connection]
pent1ckel has joined #asahi
Raito_Bezarius has quit [Remote host closed the connection]
Raito_Bezarius has joined #asahi
jhan has joined #asahi
possiblemeatball has joined #asahi
jhan has quit [Ping timeout: 480 seconds]
jhan has joined #asahi
kujeger has quit [Quit: ZNC 1.8.2 - https://znc.in]
kujeger has joined #asahi
kujeger has quit []
kujeger has joined #asahi
benoyelq has joined #asahi
<mort_> glibc-widevine? What relationship does glibc and widevine have?
jhan has quit [Ping timeout: 480 seconds]
<mort_> ah widevine depends on DL_RELR support from the lbic doesn't it
<mort_> 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
benoyelq has quit []
Fischmiep has quit [Ping timeout: 480 seconds]
ximet has quit [Quit: The Lounge - https://thelounge.chat]
ximet has joined #asahi
<Retr0id> >>> wv.GetCdmVersion()
<Retr0id> 0
<Retr0id> b'4.10.2557.0'
<Retr0id> >>> wv.InitializeCdmModule_4()
<Retr0id> w00t
jhan has joined #asahi
hightower2 has quit [Remote host closed the connection]
<Retr0id> now to see if it actually runs, in a browser
<Retr0id> although I forget where I'm supposed to drop the files to make firefox see it, ugh
<povik> is that some python binding, or you wrote ctypes wrappers?
le0n has quit [Ping timeout: 480 seconds]
<Retr0id> I set `wv.GetCdmVersion.restype = c_char_p` if that counts as a ctypes wrapper lol
<povik> :D
bluetail9 has quit [Ping timeout: 480 seconds]
le0n has joined #asahi
Fischmiep has joined #asahi
amarioguy has joined #asahi
<Retr0id> it works!!!111!
ChaosPrincess has quit [Quit: WeeChat 3.8]
ChaosPrincess has joined #asahi
<sven> nice :D
<Retr0id> for some reason netflix logs me out the moment I try to watch anything, but spotify works, as do demo reels
<Retr0id> I'm going to guess that since the cdm is from a beta chromeos image, it's not trusted by netflix
Fischmiep has quit [Ping timeout: 480 seconds]
<mort_> I actually just ended up using YouTube Music instead of Spotify, YouTube Music apparently works without DRM
<Retr0id> netflix works with a chromeos useragent, nice
<mort_> what's up with user agent sniffing, why do companies still do ith
<mort_> so many websites work perfectly fine as long as you pretend to be using some Google product
<Retr0id> you can even get 1080p with a browser extension that asks for it nicely
<mort_> 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
bluetail9 has joined #asahi
<mort_> 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?
Whatdidyouexpect has joined #asahi
<Whatdidyouexpect> so m2 does work with asahi right
<Whatdidyouexpect> like with gpu drivers too
possiblemeatball has quit [Remote host closed the connection]
<Whatdidyouexpect> ok got it it does work
Whatdidyouexpect has quit []
Zopolis4 has quit []
<pranav> bluetail9: 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
delsol has joined #asahi
jhan has quit [Remote host closed the connection]
jhan has joined #asahi
jhan has quit [Remote host closed the connection]
axboe has joined #asahi
<bluetail9> thats a tricky one! I wouldnt had imagined this was the case. Well done!
<axboe> anyone run into the Xorg not starting on debian with unw_get_proc_info(): no unwind info found [-10]?
<axboe> seems reminiscent of the older libunwind8 issue, but don't see any recent updates there
<axboe> this is in debian fwiw
<axboe> and of course I'm traveling :/
hightower2 has joined #asahi
<axboe> looks like user error, going back to my old kernel and it's fine (though I don't get why, but for another day...)
<jannau> the 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
jhan has joined #asahi
<axboe> jannau: ah gotcha - yes this is the 6.2 based kernel. I did check the mesa repo, but no updates. perhaps they moved somewhere else?
<jannau> mesa update is not ready. there were still a few regressions as of a few hours ago
<axboe> I'll watch this space :)
<axboe> sticking with my home rolled -rc8 based kernel for now
<axboe> thanks jannau
jhan has quit [Ping timeout: 480 seconds]
<jannau> https://github.com/AsahiLinux/PKGBUILDs/ is probably the best place to llok for tags which have seen at least a little testing
amarioguy has quit [Ping timeout: 480 seconds]
<axboe> jannau: perfect, thanks
dax has left #asahi [#asahi]
jhan has joined #asahi
<as400> I 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.
jhan has quit []
kesslerd has joined #asahi
bluetail9 has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
guillaume_g has quit []
bluetail9 has joined #asahi
amarioguy has joined #asahi
delsol has quit [Remote host closed the connection]
<mort_> Lina has been writing about WebRTC issues lately, mostly with Firefox but there was something with Chromium too
<mort_> 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
mx08 has joined #asahi
julio7359 has quit [Remote host closed the connection]
julio7359 has joined #asahi
<lucenera> I 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?
mlq_ has quit [Ping timeout: 480 seconds]
julio7359 has quit [Ping timeout: 480 seconds]
mlq_ has joined #asahi
<mixi> "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
<mixi> *=16k
<mixi> (see the NLMSG_GOODSIZE macro in include/linux/netlink.h)
<mort_> 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
<mort_> mixi: that's really good info which should provably be part of the mastodon discussion
<mixi> I 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
delsol has joined #asahi
amarioguy has quit [Ping timeout: 480 seconds]
amarioguy has joined #asahi
roxfan has quit [Ping timeout: 480 seconds]
Moprius has joined #asahi
giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
snyanz has joined #asahi
mohit8 has quit []
mohit8 has joined #asahi
opotin65 has joined #asahi
TheLink7 has joined #asahi
redlegion_ has joined #asahi
VinDuv_ has joined #asahi
thevar1able_ has joined #asahi
m42uko_ has joined #asahi
psykose_ has joined #asahi
snuck has joined #asahi
m5zs7k_ has joined #asahi
johey_ has joined #asahi
maz_ has joined #asahi
merry_ has joined #asahi
Misthios1 has joined #asahi
TellowKrinkle_ has joined #asahi
grange_c68 has joined #asahi
fugi1 has joined #asahi
das_j_ has joined #asahi
YJSNPI5 has joined #asahi
timefractal5 has joined #asahi
milek7_ has joined #asahi
coderobe0 has joined #asahi
Mary6 has joined #asahi
petterroea_ has joined #asahi
pbsds3 has joined #asahi
jnn has joined #asahi
lawrence6 has joined #asahi
Dominika has joined #asahi
antonio__ has joined #asahi
V_ has joined #asahi
SoniEx2 has joined #asahi
minecrell4 has joined #asahi
akemin-dayo has joined #asahi
Zopolis4 has joined #asahi
vup2 has joined #asahi
Xesxen_ has joined #asahi
Yamakaja has joined #asahi
dabaum|2er0_ has joined #asahi
merry has quit [Ping timeout: 480 seconds]
TellowKrinkle has quit [Ping timeout: 480 seconds]
ah- has quit [Remote host closed the connection]
Fanfwe has quit [Read error: Connection reset by peer]
das_j has quit [Ping timeout: 480 seconds]
the_CLA_2 has quit [Remote host closed the connection]
kettenis_ has joined #asahi
the_CLA has joined #asahi
lewurm_ has quit [Remote host closed the connection]
thasti_ has quit [Remote host closed the connection]
ah-_ has joined #asahi
lewurm has joined #asahi
kettenis has quit [Remote host closed the connection]
thasti has joined #asahi
VasilisTheChu has joined #asahi
trepatudo has quit [Read error: Connection reset by peer]
redlegion has quit [Read error: Connection reset by peer]
redlegion_ is now known as redlegion
JoshuaAs- has joined #asahi
stipa_ has joined #asahi
trepatudo has joined #asahi
Esmil has quit [Remote host closed the connection]
kit_ty_kate2 has joined #asahi
zef has quit [Remote host closed the connection]
Esmil has joined #asahi
ChaosPrincess has quit [Remote host closed the connection]
arekm has quit [Remote host closed the connection]
zef has joined #asahi
sneak has quit [Write error: connection closed]
ligma_toad has quit [Read error: Connection reset by peer]
arekm has joined #asahi
VasilisT- has quit [Read error: Connection reset by peer]
ChaosPrincess has joined #asahi
JoshuaAshton has quit [Read error: Connection reset by peer]
j`ey_ has quit [Remote host closed the connection]
j`ey has joined #asahi
grange_c6 has quit [Read error: Connection reset by peer]
m42uko has quit [Write error: connection closed]
grange_c68 is now known as grange_c6
ligma_toad has joined #asahi
thevar1able has quit [Ping timeout: 480 seconds]
milek7 has quit [Read error: Connection reset by peer]
Soni has quit [Read error: No route to host]
kit_ty_kate1 has quit [Read error: Connection reset by peer]
timefractal has quit [Read error: No route to host]
timefractal5 is now known as timefractal
j`ey has quit [reticulum.oftc.net helix.oftc.net]
Esmil has quit [reticulum.oftc.net helix.oftc.net]
kit_ty_kate2 has quit [reticulum.oftc.net helix.oftc.net]
snyanz has quit [reticulum.oftc.net helix.oftc.net]
nyilas has quit [reticulum.oftc.net helix.oftc.net]
bisko has quit [reticulum.oftc.net helix.oftc.net]
mixi has quit [reticulum.oftc.net helix.oftc.net]
stipa_ has quit [reticulum.oftc.net helix.oftc.net]
psykose has quit [reticulum.oftc.net helix.oftc.net]
Misthios has quit [reticulum.oftc.net helix.oftc.net]
Mary has quit [reticulum.oftc.net helix.oftc.net]
fugi has quit [reticulum.oftc.net helix.oftc.net]
coderobe has quit [reticulum.oftc.net helix.oftc.net]
YJSNPI has quit [reticulum.oftc.net helix.oftc.net]
johey has quit [reticulum.oftc.net helix.oftc.net]
Xesxen has quit [reticulum.oftc.net helix.oftc.net]
Yamakaja_ has quit [reticulum.oftc.net helix.oftc.net]
opotin6 has quit [reticulum.oftc.net helix.oftc.net]
TheLink has quit [reticulum.oftc.net helix.oftc.net]
V has quit [reticulum.oftc.net helix.oftc.net]
m5zs7k has quit [reticulum.oftc.net helix.oftc.net]
pbsds has quit [reticulum.oftc.net helix.oftc.net]
petterroea has quit [reticulum.oftc.net helix.oftc.net]
lucus has quit [reticulum.oftc.net helix.oftc.net]
maz has quit [reticulum.oftc.net helix.oftc.net]
stipa has quit [reticulum.oftc.net helix.oftc.net]
akemin_dayo has quit [reticulum.oftc.net helix.oftc.net]
minecrell has quit [reticulum.oftc.net helix.oftc.net]
VinDuv has quit [reticulum.oftc.net helix.oftc.net]
vup has quit [reticulum.oftc.net helix.oftc.net]
jn has quit [reticulum.oftc.net helix.oftc.net]
lawrence has quit [reticulum.oftc.net helix.oftc.net]
manawyrm has quit [reticulum.oftc.net helix.oftc.net]
Shiz has quit [reticulum.oftc.net helix.oftc.net]
agraf has quit [reticulum.oftc.net helix.oftc.net]
dabaum|2er0 has quit [reticulum.oftc.net helix.oftc.net]
sdomi has quit [reticulum.oftc.net helix.oftc.net]
TheLink7 is now known as TheLink
VinDuv_ is now known as VinDuv
coderobe0 is now known as coderobe
Misthios1 is now known as Misthios
fugi1 is now known as fugi
YJSNPI5 is now known as YJSNPI
lawrence6 is now known as lawrence
Fanfwe has joined #asahi
lucus16 has joined #asahi
Esmil has joined #asahi
j`ey has joined #asahi
stipa_ has joined #asahi
kit_ty_kate2 has joined #asahi
snyanz has joined #asahi
nyilas has joined #asahi
mixi has joined #asahi
Mary has joined #asahi
psykose has joined #asahi
Yamakaja_ has joined #asahi
V has joined #asahi
opotin6 has joined #asahi
johey has joined #asahi
petterroea has joined #asahi
pbsds has joined #asahi
minecrell has joined #asahi
lucus has joined #asahi
akemin_dayo has joined #asahi
vup has joined #asahi
jn has joined #asahi
Shiz has joined #asahi
agraf has joined #asahi
manawyrm has joined #asahi
dabaum|2er0 has joined #asahi
<mort_> 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
minecrell has quit [Max SendQ exceeded]
V has quit [Max SendQ exceeded]
snyanz has quit [Ping timeout: 494 seconds]
petterroea has quit [Ping timeout: 484 seconds]
psykose has quit [Ping timeout: 484 seconds]
opotin6 has quit [Ping timeout: 484 seconds]
nyilas has quit [Ping timeout: 484 seconds]
Mary has quit [Ping timeout: 484 seconds]
dabaum|2er0 has quit [Ping timeout: 484 seconds]
johey has quit [Ping timeout: 484 seconds]
Yamakaja_ has quit [Ping timeout: 484 seconds]
akemin_dayo has quit [Ping timeout: 484 seconds]
pbsds has quit [Ping timeout: 484 seconds]
jn has quit [Ping timeout: 484 seconds]
lucus has quit [Ping timeout: 484 seconds]
vup has quit [Ping timeout: 484 seconds]
Xesxen_ is now known as Xesxen
TellowKrinkle_ is now known as TellowKrinkle
possiblemeatball has joined #asahi
psykose_ has quit [Remote host closed the connection]
amarioguy has quit [Ping timeout: 480 seconds]
j`ey_ has joined #asahi
giskard has joined #asahi
stipa has joined #asahi
mixi_ has joined #asahi
j`ey has quit [Remote host closed the connection]
stipa_ has quit [Read error: Connection reset by peer]
mixi has quit [Ping timeout: 480 seconds]
kit_ty_kate3 has joined #asahi
Esmil has quit [Remote host closed the connection]
kit_ty_kate2 has quit [Read error: Connection reset by peer]
Esmil has joined #asahi
manawyrm has quit [reticulum.oftc.net helix.oftc.net]
lucus16 has quit [reticulum.oftc.net helix.oftc.net]
Shiz has quit [reticulum.oftc.net helix.oftc.net]
agraf has quit [reticulum.oftc.net helix.oftc.net]
manawyrm has joined #asahi
lucus has joined #asahi
Shiz has joined #asahi
lucus16 has joined #asahi
agraf has joined #asahi
lucus16 has quit [Ping timeout: 482 seconds]
minecrell4 has quit []
minecrell has joined #asahi
giskard has quit [Ping timeout: 480 seconds]
agarttha has joined #asahi
<agarttha> Hi. Is there support for automatically hibernating when the battery is too low?
<agarttha> Also is it possible to mount and use the macos /Users directory as /home in linux?
<agarttha> And thank you!
<opticron> agarttha, there is no hibernation support right now
<agarttha> that means we can suspend to ram but not yet to disk?
<ChaosPrincess> we cant 'suspend' to ram either
<opticron> suspend is a work in progress
<agarttha> i 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.
<ChaosPrincess> s2idle, but it also does not quite work
<ChaosPrincess> as in, it does things that some userspace does not expect
<ChaosPrincess> and that userspace then proceeds to die in a fire
<agarttha> sleep with caution
<opticron> spicy sleep
<mort_> 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
<agarttha> so a cronjob would try to execute?
<mort_> I don't know the details of why systemd breaks when the monotonic clock is running during sleep
<agarttha> and for my second question, it looks like write support for APFS is experimental...so NO
<opticron> and MacOS can't read ext4!
<opticron> (without doing horrible things)
<ChaosPrincess> Exfat exists
<ChaosPrincess> there is also zfs, but that needs kernel modules on both sides
aratuk has joined #asahi
<aratuk> The "good" ext4 module for macOS is paid / proprietary from Paragon 🫤
<opticron> I used the other option
<aratuk> fuse?
<opticron> something like that, it was quite a while back
<opticron> had to disable security to load a kernel module
<ar> i 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…
roxfan has joined #asahi
<confusomu> there is macFUSE/osxfuse for mounting ext4 filesystems on macOS
<opticron> yeah, it was macfuse
<opticron> it worked
<opticron> it was just a not-user-friendly process due to having to disable security to install that kernel module and such
<confusomu> yeah, installing it isn't user friendly
<mort_> what exactly is the mechanism which makes a cpuidle driver necessary for the monotonic clock to stop during s2idle?
<opticron> I should have just spun up a VM to do it
<opticron> mort_, iirc, the default cpuidle driver doesn't poke the things necessary on apple hardware to turn that clock off
<mort_> ah
<opticron> so you'd need a custom one specifically for AS to make that happen
<mort_> and the difficulty is in doing that in an upstreamable way
<opticron> but I also think that's one of multiple possible solutions
<mort_> can we make a userspace thing poke the right hardware?
<opticron> no idea
aratuk has quit []
antonio__ has quit [Remote host closed the connection]
<sven> it’s about poking hardware, it’s just that the suspend code path expects a cpuidle driver to work correctly
<sven> you could probably write a dummy driver that essentially does nothing and make it work as a hack
aratuk has joined #asahi
<mort_> I read marcan proposed doing that
<povik> sven: to clarify, you meant to write it's *not* about poking hardware, right?
hightower2 has quit [Remote host closed the connection]
psanford has quit [Ping timeout: 480 seconds]
<mort_> 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
<mort_> 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
<mort_> 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?
<sven> povik: yes, typing from a phone here and I guess autocorrect somehow ate the „not“
<sven> you really just need „wfi“ for s2idle and the code should already do that
<sven> mort_: sure, I dunno how complex that fix would be though
<mort_> 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
<sven> not wifi
<mort_> wfi, sorry, misread
<sven> wfi is a cpu instruction
<sven> „wait for interrupt“
<mort_> which the generic arm64 code handles in cpu_do_idle
giskard has joined #asahi
<Retr0id> Here's my widevine fixup script, if anyone is interested: https://gist.github.com/DavidBuchanan314/c6b97add51b97e4c3ee95dc890f9e3c8
<mort_> 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...
<mort_> 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?
<j`ey_> they dont make the target and dev machine the same computer!
<sven> yeah, I have two machines
<sven> one for development and one where I run the kernels on
<mort_> very sensible
<sven> if I weren’t writing hardware drivers I’d probably use virtualization instead
<mort_> 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
julio7359 has joined #asahi
giskard has quit [Ping timeout: 480 seconds]
<mort_> yeah I saw that, those patches are going in the wrong direction imo
minecrell9 has joined #asahi
minecrell has quit [reticulum.oftc.net helix.oftc.net]
manawyrm has quit [reticulum.oftc.net helix.oftc.net]
lucus has quit [reticulum.oftc.net helix.oftc.net]
Shiz has quit [reticulum.oftc.net helix.oftc.net]
agraf has quit [reticulum.oftc.net helix.oftc.net]
manawyrm has joined #asahi
agraf has joined #asahi
Shiz has joined #asahi
Moprius has quit [Quit: bye]
lucus16 has joined #asahi
<mort_> or, I suppose it would be acceptable if there's a dummy cpuidle driver
aratuk has quit [Remote host closed the connection]
aratuk has joined #asahi
<mort_> 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
<mort_> I'll throw some idle states compatible with arm,idle-state at the devicetree and see what happens
aratuk has quit [Remote host closed the connection]
aratuk has joined #asahi
<mort_> oh, no, that does seem to assume psci, at least the idle-states devicetree node requires idle-states = "psci"
benoyelq has joined #asahi
benoyelq has quit []
agarttha has quit [Ping timeout: 480 seconds]
redscience has joined #asahi
redscience has quit []
minecrell9 has quit []
minecrell9 has joined #asahi
aratuk has quit [Remote host closed the connection]
<ah-_> Retr0id: awesome, spotify works with that!
<Retr0id> thanks, spotify was my original goal tbh
Mary6 has quit []
Mary6 has joined #asahi
psanford has joined #asahi
aratuk has joined #asahi
Zopolis4 has quit []
aratuk has quit [Ping timeout: 480 seconds]
<mort_> 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
<mort_> 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"
jole_ has quit [Remote host closed the connection]
jole has joined #asahi
delsol has quit [Remote host closed the connection]
<mort_> https://p.mort.coffee/FB2 I guess I'm not doing this
<j`ey_> if you hack it to not build the edge version, you wont need the rust stuff
<mort_> I want the GPU stuff which requires rust afaik
<j`ey_> yup
<j`ey_> was just thinking if youw anted to try hack the idle stuff, that shouldnt matter
<mort_> 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
aratuk has joined #asahi