Guest1962 has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
vx is now known as Guest2182
dorkbutt has quit [Read error: Connection reset by peer]
jamespmorgan has joined #asahi
derzahl has joined #asahi
jamespmo_ has quit [Ping timeout: 480 seconds]
derzahl has quit [Ping timeout: 480 seconds]
riker77_ has joined #asahi
derzahl has joined #asahi
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
swaggie has quit [Remote host closed the connection]
___nick___ has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
malte has quit [Ping timeout: 480 seconds]
<Tramtrist>
macos update came out it seems
<Tramtrist>
safe to upgrade ? sorry if this was covered
c10l has quit [Read error: Connection reset by peer]
c10l has joined #asahi
pjakobsson has joined #asahi
pjakobsson_ has quit [Ping timeout: 480 seconds]
amarioguy has joined #asahi
amarioguy has quit [Remote host closed the connection]
amarioguy has joined #asahi
malte has joined #asahi
derzahl has quit [Ping timeout: 480 seconds]
eroc1990 is now known as Guest2191
eroc1990 has joined #asahi
Guest2191 has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi
<unixgeek>
i am in the market for a new laptop and I am looking at getting an macbook air/pro to tinker around with Asahi and possibly work on some of the installer and other utility features (not ready to look at kernel/device coding again). Are there any general recommendations on specs to aim at (other than as much RAM as possible)? thank you and sorry if this is covered in the wiki/site as I didn't see it.
<amarioguy>
unixgeek: in terms of what to get - depends on what you want to do, a lot can be done with just the base m1 macbook air
<amarioguy>
even an m2 one would be fine enough
<amarioguy>
if you want any sort of intense virt - definitely want a MBP (the real pros, not the pro badged touch bar one)
<amarioguy>
(tho in fairness if asahi's the concern anything goes, even a m1 mac mini works fine if desktops ever come in scope)
<amarioguy>
specs wise focus a lot more on disk space than CPU
swaggie has joined #asahi
julio7359 has joined #asahi
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
unixgeek has quit [Remote host closed the connection]
unixgeek has joined #asahi
unixgeek has quit [Remote host closed the connection]
Techcable has quit [Ping timeout: 480 seconds]
Techcable has joined #asahi
unixgeek has joined #asahi
pjakobsson_ has joined #asahi
WindowPain_ is now known as WindowPain
pjakobsson has quit [Ping timeout: 480 seconds]
<unixgeek>
amarioguy: thank you. that is helpful.
evanzheng has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
___nick___ has quit [Ping timeout: 480 seconds]
evanzheng has quit [Remote host closed the connection]
eroc1990 is now known as Guest2205
eroc1990 has joined #asahi
Guest2205 has quit [Ping timeout: 480 seconds]
swaggie has quit [Remote host closed the connection]
julio7359 has quit [Ping timeout: 480 seconds]
c10l has quit [Quit: Ping timeout (120 seconds)]
swaggie has joined #asahi
c10l has joined #asahi
swaggie has quit [Ping timeout: 480 seconds]
swaggie has joined #asahi
ptudor has joined #asahi
Xscale has joined #asahi
<marcan>
at this point the only interesting distinction between the models relevant to us, other than the obvious specs, is the touch bar
<marcan>
I would avoid touch bar models as that is likely to be an annoyance not to have working for quite a while, and will probably never work as nicely as on macOS as that would need a whole ecosystem created
unixgeek has quit [Ping timeout: 480 seconds]
<marcan>
(unless you want to work on that yourself :))
Xscale has quit []
<ChaosPrincess>
not like that ecosystem exists even on macos :P
lanodan has quit [Ping timeout: 480 seconds]
guillaume_g has joined #asahi
c10l has quit [Quit: Ping timeout (120 seconds)]
SSJ_GZ has joined #asahi
lanodan has joined #asahi
c10l has joined #asahi
ggardet has joined #asahi
galileo has joined #asahi
guillaume_g has quit [Ping timeout: 480 seconds]
gladiac has joined #asahi
c10l has quit [Ping timeout: 480 seconds]
galileo has quit [Remote host closed the connection]
galileo has joined #asahi
c10l has joined #asahi
rvalue has quit [Remote host closed the connection]
rvalue has joined #asahi
galileo has quit [Remote host closed the connection]
galileo has joined #asahi
galileo has quit [Remote host closed the connection]
galileo has joined #asahi
<Cyrinux>
Hi here, I was not able to find the information so sorry if I make you repeat. Is it possible something "kvm" driver like come on macbook plateform that will make qemu x86_64 faster ? Is is possible that there is a diff also around this topic between macbook air m2 vs m2 pro?
<maz>
Cyrinux: KVM works on M1/M2. it just won't help when it comes to x86 emulation.
<j`ey>
there is a TSO mode that could theoretically be used, but no userspace apps use it yet, and Im not sure if the upstream kernel would accept a patch to enable it anyway
galileo has quit [Remote host closed the connection]
<Cyrinux>
thanks maz, i will retry, i would like at least to be able to cross compil docker image for example, with qemu-user and podman in the theory this should be enought. I tried qemu system after beating with package building but it was slow as hell, not really able to full start a basic ubuntu x86 for example.
<Cyrinux>
j`ey , something that should be done in qemu for example ? That can be something to report to qemu project? Do you have more informations / links about this TSO ?
<j`ey>
not something to report to qemu. I dont have any links either
<maz>
Cyrinux: there is nothing to retry. you're trying to run x86 emulation. without extra support for this mythical TSO mode, it will always be slow as hell.
<maz>
KVM will give you arm64 virtualisation. not emulation.
<Nabsi>
Hey, I was wondering how does the M1 chip assembly code differs from generic ARM if at all, I thought I'd ask the question here since I do not really know any other place for general information about the M1 platform.
<maz>
it doesn't.
c10l has quit [Ping timeout: 480 seconds]
galileo has quit [Remote host closed the connection]
<Nabsi>
Oh that's fantastic thanks for the quick response.
mps_ has joined #asahi
<Nabsi>
I assume it is ARM64, no?
<j`ey>
it is arm64 yep
mps has quit [Ping timeout: 480 seconds]
c10l has joined #asahi
<Nabsi>
I was just wondering whenever you could use something like Unicorn2 to run M1 code on a Intel Mac but thinking about it futher it is kinda stupid isn't it?
<j`ey>
well that is what emulators are for!
<Nabsi>
If you have heard of "PlayCover" that is essentially a way to play iOS M1 games on your M1 Macbook I was thinking whenever it was possible to add extra layer there which would allow M1 games to run also on non M1 platforms which I think would be pretty cool.
<ChaosPrincess>
playcover is just a few calls to already existing apis
bcrumb has joined #asahi
galileo has joined #asahi
testtest has joined #asahi
<testtest>
quick question..
<testtest>
how can i access a S3_2_c15_c0_0 register?
<Nabsi>
"playcover is just a few calls to already existing apis" I had honestly no clue but if that's the case the idea I had is most likely rendered invalid because those APIs most likely are just for the M1 platform.
<ChaosPrincess>
m1 support for ios apps is a platform feature, playcover just bypasses the 'supported apps' whitelist
<j`ey>
testtest: in what context?
<testtest>
#define PMC0 "s3_2_c15_c0_0"
<j`ey>
still too vague, Im going to assume C code in m1n1, you can call mrs(PMC0)
<testtest>
oops.. it may be called in kernel mode!
lanodan has quit [Quit: WeeChat 3.6]
swaggie has quit [Ping timeout: 480 seconds]
galileo has quit [Remote host closed the connection]
bcrumb has quit [Quit: WeeChat 3.7.1]
galileo has joined #asahi
bcrumb has joined #asahi
<bcrumb>
does someone use apparmor here?
<bcrumb>
basically actually setting apparmor into enforce mode breaks boot for me
<bcrumb>
just wanted to mention
<bcrumb>
i probably mentioned this already yesterday, I'm trying to set up apparmor rules for this...
<Cyrinux>
I will be interested if you find bcrumb, i planned to enable enforce too so thx for the alert ;)
cylm_ has joined #asahi
lanodan has joined #asahi
<bcrumb>
Cyrinux: I am using a systemd setup but I don't think it's because of that because obviously 100% there is no apparmor.d rules for asahi needs... You can probably do it, but then somewhere during boot if it hangs try entering console before the hang and then log into root and disable
karpouzi has joined #asahi
<karpouzi>
is it expected behavior for an m1 mini (last booted into asahi) to jump back to OSX when booted without a display attached
<bcrumb>
karpouzi: is default boot set to OSX?
<bcrumb>
on m1 at least you can set default boot disk (partition) to the one you need under 1TR
<karpouzi>
hmm, that might be it
<marcan>
hold option while choosing the boot OS
<karpouzi>
ty. that fixes it
bcrumb has quit [Read error: Connection reset by peer]
<karpouzi>
aka the "choose startup disk" picker
<karpouzi>
s/aka/also accomplished by
galileo has quit [Remote host closed the connection]
c10l has quit [Quit: Ping timeout (120 seconds)]
swaggie has joined #asahi
Moprius has joined #asahi
swaggie has quit [Ping timeout: 480 seconds]
galileo has joined #asahi
janrinze has quit [Ping timeout: 480 seconds]
c10l has joined #asahi
galileo has quit [Remote host closed the connection]
galileo has joined #asahi
galileo has quit [Remote host closed the connection]
galileo has joined #asahi
janrinze has joined #asahi
galileo has quit [Remote host closed the connection]
guillaume_g has joined #asahi
bcrumb has joined #asahi
ggardet has quit [Ping timeout: 480 seconds]
galileo has joined #asahi
galileo has quit [Remote host closed the connection]
<testtest>
how to install kernel headers? the kernel ver. is 6.1.0-rc6-asahi-4-1-ARCH
galileo has quit [Remote host closed the connection]
karpouzi_ is now known as karpouzi
karpouzi has quit [Quit: leaving]
<as400>
sudo pacman -S linux-asahi-headers
galileo has joined #asahi
karpouzi has joined #asahi
<testtest>
as400: Thanks!
Moprius has quit [Quit: bye]
galileo has quit [Remote host closed the connection]
Agua has quit [Read error: No route to host]
Agua has joined #asahi
<testtest>
sss
<testtest>
/bin/sh: line 1: scripts/basic/fixdep: No such file or directory ?
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
giskard has joined #asahi
<testtest>
cannot compile kernel module
bcrumb has quit [Ping timeout: 480 seconds]
galileo has joined #asahi
galileo has quit [Remote host closed the connection]
Gaspare has quit [Quit: Gaspare]
galileo has joined #asahi
galileo has quit [Remote host closed the connection]
galileo has joined #asahi
karpouzi has left #asahi [#asahi]
<testtest>
how to compile kernel module?
galileo has quit [Remote host closed the connection]
galileo has joined #asahi
galileo has quit [Remote host closed the connection]
testtest has quit [Quit: Page closed]
Nabsi has quit [Quit: Page closed]
galileo has joined #asahi
galileo has quit []
iaguis has joined #asahi
gladiac has quit [Quit: k thx bye]
gladiac has joined #asahi
<iaguis>
hm, I noticed YouTube on Firefox draws ~13W on my M2 Air with edge when watching in "regular mode" but ~5W in "theater mode" (pressing T) which seems... weird?
<ChaosPrincess>
are you using the light or dark theme?
<iaguis>
dark
<ChaosPrincess>
weird
<ChaosPrincess>
on mini-led screens it would make sense that the power use is less if less of the screen is lit up
<iaguis>
I can sort of reproduce on Chromium (with MESA_LOADER_DRIVER_OVERRIDE=asahi) but values are ~11W and ~8W
<iaguis>
yeah, that was a good guess!
<iaguis>
hadn't thought about that
<iaguis>
I usually watch videos in theater mode or fullscreen (which also draws ~5W) so not a big issue for me :D
gladiac has quit [Quit: k thx bye]
Agua has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Read error: Connection reset by peer]
jamespmo_ has joined #asahi
swaggie has joined #asahi
<piroko>
iaguis: chromium is actually starting the GPU process for you?
<piroko>
I get: DRM_IOCTL_ASAHI_GET_PARAM(0) failed: Invalid argument
jamespmorgan has quit [Ping timeout: 480 seconds]
<piroko>
I also had to mess with permissions on /usr/lib/dri/*: changed to root:video 775
swaggie has quit [Ping timeout: 480 seconds]
<iaguis>
piroko: I get that too, but somehow chrome://gpu shows "Hardware accelerated" and I see a "/usr/lib/chromium/chromium --type=gpu-process" process
<axboe>
this is what I get from a manual launch of chromium
<mps_>
hm
<mps_>
also I've got some of these
swaggie has quit [Ping timeout: 480 seconds]
<axboe>
poking at strace...
<axboe>
it does find the asahi_dri
<mps_>
but with firefox it works fine
<mps_>
looks like chromium needs vulkan
<axboe>
FF does show it as active
<iaguis>
I don't get these: "[127519:127519:1215/090925.770356:ERROR:gpu_process_host.cc(990)] GPU process exited unexpectedly: exit_code=11" and I can see the cube in https://get.webgl.org/
<axboe>
well kind of
<axboe>
glxtest: DRM device has no render node
<axboe>
hw compositing: blocked by env: Acceleration blocked by platform
<axboe>
yeah ff startup from a terminal gives me:
<axboe>
[GFX1-]: glxtest: DRM device has no render node
<axboe>
[GFX1-]: No GPUs detected via PCI
<axboe>
yeah doesn't seem to work in FF either, checked one of the webgl samples (acquarium) and it runs at ~14 fps
<Glanzmann>
axboe: I also added a lot of scripts to the m1-debian repository to build rust, kernel, m1n1, u-boot and mesa
bdju has joined #asahi
<axboe>
Glanzmann: let me try your packages...
<axboe>
Glanzmann: are you building xfce 4.18 as well? :)
<iaguis>
ah, are you all running Debian?
<Glanzmann>
iaguis: Not all, but axboe and few others are.
<Glanzmann>
axboe: Let me try to build xfce 4.18.
<axboe>
Glanzmann: no difference :/
<axboe>
I had rebuilt the mesa packages from the c1738bbe4eebde4d5392b1c14e2926f95e7655fd sha
<Glanzmann>
axboe: I have the tip of asahi.
<axboe>
Glanzmann: same, right?
<Glanzmann>
axboe: Nope, I have: 3fc6e787ce9da1b5e323974ca134647d69dd2573
<axboe>
ok that's just a few fixes back
swaggie has quit [Ping timeout: 480 seconds]
<Glanzmann>
axboe: Do you still have the chromium command line that jannau gave us?
<axboe>
Glanzmann: yep, it's loading with the driver override and --ignore-gpu-blocklist
<Glanzmann>
this works for me, but jannau had a better one: LIBGL_ALWAYS_SOFTWARE=1 chromium
<iaguis>
I use this: "MESA_LOADER_DRIVER_OVERRIDE=asahi chromium --enable-features=UseOzonePlatform --ozone-plaform=wayland --ignore-gpu-blocklist"
<Glanzmann>
iaguis: We're not on wayland.
<iaguis>
then I guess drop the wayland bits :D
<axboe>
Glanzmann: with the sw add, I get:
<axboe>
[9615:9615:1215/094821.184821:ERROR:gpu_process_host.cc(990)] GPU process exited unexpectedly: exit_code=6
<axboe>
ENXIO
<axboe>
hmm
<Glanzmann>
axboe: That starts for me: MESA_LOADER_DRIVER_OVERRIDE=asahi chromium --ignore-gpu-blocklist
<Glanzmann>
axboe: Might be possible that you have some old mesa lying around in /usr/local/lib? YOu can check with ldd /usr/bin/mpv | grep local
<axboe>
Glanzmann: nope...
<axboe>
without the ALWAYS_SOFTWARE, I get: [13746:13746:1215/095330.580579:ERROR:gpu_process_host.cc(990)] GPU process exited unexpectedly: exit_code=11
<Glanzmann>
axboe: But he has a newer version than we have.
<Glanzmann>
axboe: ALso I noticed that the chromioum package in Debian testing was update from 107 to 108.
<axboe>
Glanzmann: hmm yes, that does look like it's working for him
<axboe>
but he also don't get the errors that I see
<Glanzmann>
Maybe I'm missing a commandline argument for mesa?
jamespmorgan has joined #asahi
iaguis has quit [Quit: leaving]
jamespmo_ has quit [Ping timeout: 480 seconds]
<Glanzmann>
I checked the mesa options again but did not find any differnce.
swaggie has joined #asahi
<axboe>
adding some debug to mesa dri2/3 creation to see if it fails but then succeeds
<axboe>
but it does seem fatal since chromium ends up running with:
<axboe>
--disable-gpu-compositing
<Glanzmann>
axboe: No, idea. Maybe jannau has an idea. I'm brb groceries.
swaggie has quit [Ping timeout: 480 seconds]
LinuxM1 has quit [Quit: Leaving]
Guest2182 has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
vx is now known as Guest2251
ten157237 has quit [Remote host closed the connection]
ten157237 has joined #asahi
ptudor has quit [Quit: Strict-Transport-Security: max-age=48211200; preload]
bcrumb has joined #asahi
bcrumb has quit []
Guest2251 has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
vx is now known as Guest2257
Glanzmann has quit [Quit: EOF]
ptudor has joined #asahi
bcrumb has joined #asahi
renatorabelo has joined #asahi
bluetail has quit [Read error: Connection reset by peer]
bluetail has joined #asahi
bluetail3 has joined #asahi
bluetail has quit [Read error: Connection reset by peer]
bluetail3 is now known as bluetail
<bcrumb>
yeah so apparmor doesn't work at all and it's kind of too much for me, it's breaking something at bootup which leads to the following: http://ix.io/4iHj
<bcrumb>
that is selected errors that were painted during boot in red, most likely doesn't mean much but hey who knows someone might accidentally know something
Gaspare has joined #asahi
bcrumb has quit [Quit: WeeChat 3.7.1]
bcrumb has joined #asahi
<j`ey>
those errors are normal
<bcrumb>
with "at all" meaning - if i start it after boot without systemd, it confines processes, but doesn't like to apparmor.d rules, and i'm not sure which processes are all confined. If enable systemd, then the following may occur: if in --complain mode, boot freezes after unlocking cryptsetup, if in enforce, boot errors that it can't load something (it was something trivial), and tty2 is
<bcrumb>
accessible, unlike the former
<bcrumb>
*load the, not "like to"
<bcrumb>
what i'm wondering about is how complain mode is freezing boot
<bcrumb>
j`ey: thanks, interesting
bcrumb has quit [Quit: WeeChat 3.7.1]
Gaspare has quit [Quit: Gaspare]
bcrumb has joined #asahi
bluetail has quit [Ping timeout: 480 seconds]
<bcrumb>
where is the diff between the linux-asahi and linux-asahi edge preset?