#asahi · 2022-12-23 00:33
tpw_rulesmkurz: that is a very vague question#asahi · 2022-12-23 00:33
tpw_rulesmalte: i think that is planned for further down the pipeline#asahi · 2022-12-23 00:31
mkurzIf I produce a ELF binary with a page size of 64k, in theory that should run on all aarch64 machines, no matter if their kernel has a page size of 4k, 16k or 64k. Is that correct?#asahi · 2022-12-22 23:52
maltehi all, is it possible to enable the top part of the display (left and right to the notch) on the M2 MBA? the new GPU driver works like a charm btw, thank you all so much for your efforts! <3#asahi · 2022-12-22 23:13
bcrumbi'll also throw apparmor at some point in there i guess and anything else that comes up#asahi · 2022-12-22 23:12
bcrumbit's just autopatching via my branch that i'll keep up to date as much as i need to #asahi · 2022-12-22 23:10
bcrumbhttps://github.com/b-crumb/asahi-infra so since sd-asahi probably isn't a good fit for the scripts i'll be mainting my downstream fork, the repo i linked is how i'm building my files for anyone interested#asahi · 2022-12-22 18:43
tpw_rulesbut it sounds like it#asahi · 2022-12-22 18:43
tpw_rulesi don't know anything about graalvm or the graal native image tool#asahi · 2022-12-22 18:31
j`eymight be a bug in the code, not graalvm itself?#asahi · 2022-12-22 18:29
mkurztpw_rules: so you are saying its a "bug" in graalvm? so I can do nothing about it, like passing params?#asahi · 2022-12-22 18:25
tpw_rulesthen there is something in graalvm which is measuring the system page size and compiling it in#asahi · 2022-12-22 18:25
j`eyso its using PAGE_SIZE at compile time#asahi · 2022-12-22 18:23
mkurzbut I think that should be normal (?)#asahi · 2022-12-22 18:23
mkurzSo if I run "readelf -l " for both binaries the align values are exactly the same, just the entry point differ and also the offsets#asahi · 2022-12-22 18:22
mkurzThe align value for both binaries is 0x10000, which is 64k#asahi · 2022-12-22 18:21
mkurzif I build it on on another aarch64 machine and copy the binary over it does not work#asahi · 2022-12-22 18:21
mkurzif I build it in asahi the binary works#asahi · 2022-12-22 18:21
mkurzcreated with graal native image tool#asahi · 2022-12-22 18:21
mkurzthis is a graalvm binary#asahi · 2022-12-22 18:13
tpw_rulesgoogle software in particular does that a lot#asahi · 2022-12-22 18:13
tpw_rulesif it has then you are almost guaranteed there are wrong assumptions in the software too and just increasing that will not be sufficient#asahi · 2022-12-22 18:12
tpw_rulesmkurz: https://github.com/AsahiLinux/docs/wiki/Broken-Software#why-does-not-work-sometimes-mean-instantly-segfault here is how you can check if the binary has deliberately been linked with a max-page-size of 4k#asahi · 2022-12-22 18:07
svenusually software doesn’t work on 16k pages because it implicitly makes a wrong page size assumption somewhere. grep-ing for mmap and/or mprotect is probably a good start#asahi · 2022-12-22 18:03
tpw_rulesso i don't think it's just because you built it on ubuntu#asahi · 2022-12-22 18:01
tpw_rulesgcc by default links things with a page size of 64kb#asahi · 2022-12-22 18:01
tpw_ruleswhat binary?#asahi · 2022-12-22 17:57
mkurzSorry I am a noob#asahi · 2022-12-22 17:56
mkurzI have a question about page sizes... I have a binary (ELF) which gets build with a pagesize of 4kb because it was build on a Ubuntu aarch64 machine. Now that binary does not execute on Asahi Linux. Is it enough to set the max-page size to 16, to make it run in Asahi, with e..g gcc .... -Wl,-z,max-page-size=0x10 - will that binary then also run on both systems?#asahi · 2022-12-22 12:30
mpsnvm, found one on apple site, https://support.apple.com/guide/apple-configurator-mac/revive-or-restore-a-mac-with-apple-silicon-apdd5f3c75ad/mac#asahi · 2022-12-22 12:24
mpsnow when my old mbp with broken display started to work I would like to 'restore' it and have machine for testing#asahi · 2022-12-22 12:23
mpsis there guide how to use DFU to fully restore macbook to factory state#asahi · 2022-12-22 11:16
bcrumbyeah, seems like it#asahi · 2022-12-22 11:11
waldimaybe because it wants to talk to the user#asahi · 2022-12-22 11:08
bcrumb*xrdb#asahi · 2022-12-22 11:08
bcrumbok, because i'm writing these apparmor rules and wondering why xrdv needs /dev/tty#asahi · 2022-12-22 11:08
waldiwithout it, you can't use X applications anymore#asahi · 2022-12-22 11:08
waldibcrumb: i'm pretty sure you'll run a Xwayland, so xrdb is still useful#asahi · 2022-12-22 10:59
bcrumbdoes the asahi wayland mesa setup require xrdb? that is X so I suppose not?#asahi · 2022-12-22 10:10
matrixtravelerGood day to you :)#asahi · 2022-12-22 10:10
matrixtravelerI'll follow the project on mastodon then#asahi · 2022-12-22 10:09
matrixtravelerwell, thanks for letting me know#asahi · 2022-12-22 10:09
matrixtraveleroh... that's inconvenient#asahi · 2022-12-22 10:03
armatrixtraveler: this is intentional, as there were problems with abusers using the matrix bridge#asahi · 2022-12-22 09:52
matrixtraveler(should this be mentioned in #asahi-offtopic?)#asahi · 2022-12-22 09:51
matrixtraveler> Could not join #asahi on 'irc.oftc.net': err_bannedfromchan#asahi · 2022-12-22 09:50
matrixtravelerIs anybody else having trouble connecting from Element/Matrix?#asahi · 2022-12-21 22:31
waldiwow. this is just a zip with java stuff in it#asahi · 2022-12-21 22:29
j`eyso maybe page size issue#asahi · 2022-12-21 22:29
mkurzj`ey: maybe