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
WindowPain has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ten1572377432 has quit [Remote host closed the connection]
ten1572377432 has joined #asahi
vmeson has quit [Ping timeout: 480 seconds]
sawyer has joined #asahi
tertu has joined #asahi
DragoonAethis has quit [Quit: hej-hej!]
ourdumbfuture has joined #asahi
tertu2 has quit [Ping timeout: 480 seconds]
DragoonAethis has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi
gabuscus has quit []
osaka1990 has quit [Read error: Connection reset by peer]
gabuscus has joined #asahi
Dementor has quit [Quit: Ping timeout (120 seconds)]
Dementor has joined #asahi
possiblemeatball has joined #asahi
jeisom has quit [Ping timeout: 480 seconds]
sawyer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tristan2 has joined #asahi
tristan2_ has quit [Ping timeout: 480 seconds]
zerdox has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
stipa has joined #asahi
<marcan>
right now the colorspace stuff is pretty barebones
<marcan>
I think in general we set the DCP colorspace for laptops to what I think is "native/P3", however we don't advertise any colorimetry stuff IIRC
<marcan>
there's a whole subquest there: Apple generates ICC profiles from some plist metadata in a macOS daemon, and we need to re-create that process in Python to be able to generate ICCs ourselves properly (relying on Apple runtime stuff is something I'd like to avoid)
stipa is now known as Guest1990
stipa has joined #asahi
zerdox has joined #asahi
Guest1990 has quit [Ping timeout: 480 seconds]
ohmltb^ has joined #asahi
ave36309 has quit []
ave36309 has joined #asahi
crabbedhaloablut has joined #asahi
stipa has quit [Ping timeout: 480 seconds]
<marcan>
zerdox: nevermind, I spent way too much time on this and it looks like the correct color profile is Display P3, so we just need to load the right profile in userspace...
<zerdox>
marcan: yeah, i understand. i saw PR to wlrtoots implementing color management but it was closed about a year ago and no one picked it up
givtrah has joined #asahi
<zerdox>
whait.. maybe you mean linux userspace. if yes then i don't know anything about this
pent1ckel has quit [Remote host closed the connection]
pent1ckel has joined #asahi
milek7 has quit [Remote host closed the connection]
leitao has joined #asahi
BlueAether has quit [Ping timeout: 480 seconds]
milek7 has joined #asahi
leitao has quit [Ping timeout: 480 seconds]
mohit815 has quit [Quit: mohit815]
mohit815 has joined #asahi
chadmed has quit [Read error: Connection reset by peer]
chadmed has joined #asahi
givtrah has quit [Quit: leaving]
givtrah has joined #asahi
givtrah has quit []
givtrah has joined #asahi
givtrah has quit []
givtrah has joined #asahi
rayanamukami3 has quit [Remote host closed the connection]
rayanamukami3 has joined #asahi
lewurm has quit [Ping timeout: 480 seconds]
lewurm has joined #asahi
<zerdox>
anyone got libinput's touchpad "disable while typing" behavior working? my libinput list-devices shows "Apple Internal Keyboard / Trackpad" as touchpad and this setting enabled but in fact it doesn't work. I also have corresponding setting enabled in my WM
<zerdox>
marcan
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi
milek7 has quit [Remote host closed the connection]
krishbin has joined #asahi
krishbin has quit []
ydalton has joined #asahi
<ydalton>
hi, can flatpaks run on asahi linux with full graphics acceleration? my flatpak apps seem to always render in software
<zerdox>
ydalton: which app are you trying to run? if you install same app with not using flatpak, it works fine?
<j`ey>
ydalton: I think it's because the flatpaks have their own mesa etc
ten1572377432 has quit [Remote host closed the connection]
ten1572377432 has joined #asahi
gladiac has joined #asahi
gladiac has quit []
<j`ey>
https://termbin.com/gg9a can someone have a quick look. been a while since I messed with diskutil. I just deleted my old install and Im going to try the fedora install now, and want to make sure things are right before that
vmeson has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vmeson has joined #asahi
ourdumbfuture has joined #asahi
cylm has quit [Ping timeout: 480 seconds]
leitao has joined #asahi
jacksonchen666 has joined #asahi
leitao has quit []
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
completenoob has joined #asahi
<jannau>
j`ey: looks good, installer should offer "install to free space" immediately
ourdumbfuture has joined #asahi
<j`ey>
jannau: thanks! will give it a go
nyanpasu64_ has joined #asahi
<bluetail>
jannau the identified issue ... was it with u-boot about those usb disk enclosures... It's stale, correct? Not that it is of particular importance. I am just curious.
nyanpasu64_ is now known as nyanpasu64
<nyanpasu64>
i was told you'd know about how macos (not asahi) detects external monitors. do you know how macos picks up edid from external monitors, and specifically how to override it with a custom binary on the filesystem (without paying for BetterDisplay for something that's free on Windows and Linux)?
<jannau>
bluetail: that should be fixed in asahi's u-boot, patches still need to sent upstream
<bluetail>
nyanpasu64 I have the feeling there is a hardware related difference which cannot be overcome by changing EDID's. In particular my motivation for knowing how I'd do that, was to identify a software difference. What is your goal? I paid for Better Display but it did not solve any issue I got from how the hardware works. I assume it's the DPC.
<nyanpasu64>
i know what i'm doing. i want to add custom resolutions and modelines (manually controlling blanking/sync timings) to a VGA CRT for videos/gaming, through EDID emulation or another means to install resolutions. they work on windows (CRU EDID emulation), they work on linux (xrandr or EDID emulation).
milek7 has joined #asahi
zerdox has quit [Read error: No route to host]
<bluetail>
I do not know how to manually create a EDID on macOS. On asahi linux, modelines are unsupported iirc
zerdox has joined #asahi
<jannau>
nyanpasu64: I don't think anyone here has looked into that. Our interests is in the interface macOS uses to tell their display co-processor how to manage that. https://alinpanaitiu.com/blog/journey-to-ddc-on-m1-macs/ might be helpful, there was a short discussion about that 2 or 3 days ago with the author
<jannau>
the DCP interface appears to have methods to install a custom edid or custom modes and we're interested in how those work
<jannau>
but that will not really help to understand how that can be done from macOS
<nyanpasu64>
would reverse-engineering "better display" help, or is that not on the level you're interested in, or are you worried about legal?
<nyanpasu64>
(did asahi fix macbook air speakers yet?)
<jannau>
it's not a priority right now, not sure what would be needed to support that in the linux driver
<bluetail>
jannau I am enjoying this read. This is exactly how I would approach it \./
<j`ey>
damn, only 12mb/s when extracting root.img
<jannau>
the speaker safety daemon is not finished so the speakers are not yet supported
maximbaz has quit [Quit: bye]
<j`ey>
is this extracting also including downloading?
maximbaz has joined #asahi
<jannau>
yes, it's using urlcache.py. the CDN used for the fedora os images seems to have problems with caching range requests. fedora images from the alx.sh installer will use bunny cdn as the asahi alarm images right now
<j`ey>
too late i used the fedora installer!
<PaulFertser>
nyanpasu64: probably it's easier to literally flash an I2C EEPROM inside the VGA CRT or to make a connector for an external one?
<j`ey>
the installer is way nicer now, gj markan
<jannau>
j`ey: it's not live yet so there's nothing you could have done today
<j`ey>
wow i'm in fedora KDE!
<j`ey>
I assume fedora is using the gpu, but how can I check that?
<jannau>
`es2_info`
<j`ey>
GL_RENDERER: Apple M1 (G13G B1)
<j`ey>
I guess that's it, it doesn't say 'asahi' or anything anywhere / im not sure what it'd say on a software renderer! (maybe llvmpipe there)
<sven>
g13g is the gpu
<jannau>
yes, "G13G B1" is gpu and revision
jeisom has joined #asahi
delsol has joined #asahi
nyanpasu64 has quit [Quit: Page closed]
<j`ey>
sorry for all the questions, how do I interrupt grub? (so I can edit the boot options, live)
<jannau>
press esc (once) after u-boot boots
<j`ey>
ty
jacksonchen666 has quit [Remote host closed the connection]
<j`ey>
lol that was tough, there was no cursor, so I had to insert random 'a's to figure out where I was typing
<jannau>
especially the cursor support, the utf-8 support and terminus 16x32 for the HiDPI laptop displays
<j`ey>
that would be nice
<j`ey>
is simple-framebuffer failing to probe normal now?
<chadmed>
we did away with that when dcp was merged right
<jannau>
j`ey: maybe fall-out from the removal of the on-off gpio backlight
<jannau>
no, simpledrm is built-in and should be used during boot until dcp takes over
<j`ey>
simple-framebuffer 9e20dc000.framebuffer: [drm] *ERROR* could not acquire memory range [??? 0xffff6054ca703d00-0xfffffefffde0a244 flags 0x0]: -16
<jannau>
seems to fine here on 6.4.11-401.asahi.fc38.aarch64+16k m2 mbp 13"
<j`ey>
(this is j313 mba)
<jannau>
is that memory range directly from the device-tree? `hexdump -C /proc/device-tree/chosen/framebuffer@*/reg`
<jannau>
the font is the least interesting bit. the cursor and the correct utf-8 handling would be more important
<mps>
cursor would be very usable
<mps>
I have to check again but iirc I have cursor on peach pi chromebook in u-boot
<j`ey>
KDE is pretty decent so far, much easier to use than GNOME for me
<mps>
for some time I used Andre's patches but stopped few months ago, maybe should adapt cursor one
delsol has quit [Remote host closed the connection]
crabbedhaloablut has quit []
<mps>
no cursor on peach pi with mainline u-boot. must be that I had it when I used Andre's patches, but memory is fading
vmeson has quit [Ping timeout: 480 seconds]
ydalton has joined #asahi
<ydalton>
hi, there is a problem/bug with the headphone audio and i think it's to do with the sound codec cs42l84. when i plug in my headphones after booting the macbook, it sounds normal, but when i reboot it with the headphones plugged in, the sound is wayyy too loud. but when i plug it out and plug it back in it's back to normal. is this a known issue or should i file a bug report?
<ydalton>
when i look at pavucontrol when plugging out and plugging in my headphones, nothing changes but the audio is way down
sawyer has joined #asahi
<sawyer>
Very new to this so maybe a dumb question, but is it difficult to set up an initramfs + kernel cross compile that would work to get me all the way to a desktop? or should I just settle for the default "init with /bin/sh and no keyboard input" for now?
pg12_ has joined #asahi
pg12 has quit [Ping timeout: 480 seconds]
ydalton has left #asahi [ERC 5.5 (IRC client for GNU Emacs 29.0.90)]
pg12_ is now known as pg12
jeisom has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi
ten1572377432 has quit [Remote host closed the connection]
ten15723774326 has joined #asahi
MichaelLong has quit [Read error: Connection reset by peer]
MichaelLong has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeisom_ has joined #asahi
darkapex has quit [Remote host closed the connection]