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
systwi has quit [Ping timeout: 480 seconds]
holiday has quit [Quit: Leaving]
systwi has joined #asahi
cshbicos has joined #asahi
cshbicos has quit [Quit: Konversation terminated!]
jeisom has joined #asahi
kidplayer666 has quit [Quit: Connection closed for inactivity]
as400 has quit [Remote host closed the connection]
Bogdan513 has quit [Quit: The Lounge - https://thelounge.chat]
as400 has joined #asahi
Bogdan513 has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
r0ni has quit [Ping timeout: 480 seconds]
aead has quit [Read error: Connection reset by peer]
aead has joined #asahi
i509vcb has joined #asahi
capta1nt0ad has joined #asahi
hightower3 has joined #asahi
hightower2 has quit [Ping timeout: 480 seconds]
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
jeisom has quit [Ping timeout: 480 seconds]
john-cabaj has quit [Ping timeout: 480 seconds]
darkapex has quit [Remote host closed the connection]
darkapex has joined #asahi
nicolas17 has quit [Ping timeout: 480 seconds]
kidplayer666 has joined #asahi
Szadek636 has quit []
Szadek636 has joined #asahi
crabbedhaloablut has joined #asahi
holiday has joined #asahi
holiday has quit []
i509vcb has quit [Quit: Connection closed for inactivity]
flom84 has joined #asahi
capta1nt0ad has quit [Ping timeout: 480 seconds]
millefy has joined #asahi
holiday has joined #asahi
richyliu22 has joined #asahi
richyliu2 has quit [Ping timeout: 480 seconds]
richyliu22 is now known as richyliu2
kidplayer666 has quit [Quit: Connection closed for inactivity]
Moprius has joined #asahi
Brainium has joined #asahi
flom84 has quit [Ping timeout: 480 seconds]
kidplayer666 has joined #asahi
holiday has quit [Ping timeout: 480 seconds]
<pitust> hi! i'm trying to implement draw on the touchbar (via the DRM display pipe device), but i'm getting really weird color artifacts when setting every pixel to 0xcc
<pitust> i don't *think* i'm doing anything that could cause that? https://paste.sr.ht/~pitust/bc2af87720996cdc70a1acc0ec26612425a3f523
<pitust> this issue appears in the green and blue channels, but not in red - red is totally uniform
Cromulent has joined #asahi
c10l has quit [Read error: Connection reset by peer]
c10l has joined #asahi
<j`ey> could it be related to the pixel format?
<pitust> its xrgb888 right?
<pitust> *8888
<pitust> anyway memsetting it all to 0xcc still causes this to happen
<j`ey> yeah its xrgb8888
<pitust> okay then
mikee30008 has quit [Remote host closed the connection]
<pitust> i'm also having trouble width drawing things in the right place on the damn thing
mikee30008 has joined #asahi
<pitust> i have a loop that will place width * height pixels, and i can fill up the touchbar with 1600 pixels
<pitust> which makes approximately no sense
mikee30008 has quit []
mikee30008 has joined #asahi
<pitust> okay what the fuck
<pitust> i'm trying to figure out how to plot something at a given (x, y) value (as in, how to map (x, y) => offset into the buffer)
<pitust> i tried drawing every (x * a) * 4th pixel
<pitust> and i get straight lines at a=48
<pitust> which doesn't make much sense...
<pitust> alright, i am drawing 3 pixels
<pitust> and i get four on my touchbar!
SalimTerryLi has quit [Quit: ZNC - https://znc.in]
john-cabaj has joined #asahi
<pitust> okay incredible, tiny-dfr get -EACCES when trying to DRM_IOCTL_SET_MASTER
SalimTerryLi has joined #asahi
john-cabaj has quit [Quit: john-cabaj]
john-cabaj has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
zrhoffman has joined #asahi
<cy8aer> Which kernel version corresponds to mesa asahi-20231118? I tried 6.5-29 with a big crash when starting up gdm...
<janneg> asahi-6.5-28/29 (the latter contains just x86 build fixes), works here on m1 max
<janneg> pitust: sounds like you're missing tiny-dfr's udev rules to prevent the drm device from being grabbed by logind or whatever arbitrays master access
<pitust> janneg: ah no i chgrp'ed the DRI device to myself and didn't remove the permission drop at the start
Moprius has quit [Ping timeout: 480 seconds]
<pitust> it's as if the pitch isn't set correctly somewhere
<pitust> so if i write to 48*4, i get a pixel at (48, 0) and (0, 1)
jeisom has joined #asahi
roxfan has joined #asahi
holiday has joined #asahi
kidplayer666 has quit [Quit: Connection closed for inactivity]
Moprius has joined #asahi
Brainium has joined #asahi
nicolas17 has joined #asahi
<pitust> is there any touchbar calibration data anywhere on macOS?
Moprius has quit [Quit: bye]
rappet has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mps has left #asahi [#asahi]
rappet has joined #asahi
roxfan has quit [Read error: Connection reset by peer]
<zrhoffman> After installing Asahi Linux Minimal successfully several times, I chose option 3, "UEFI environment only (m1n1 + U-Boot + ESP)"
<zrhoffman> I followed the instructions, including after rebooting into recovery, and when it was done, it put me in my previous Asahi Linux install.
<zrhoffman> When I rebooted, trying to choose startup options gives me the "restore" screen as soon as I release the power button, and I can't seem to get it into DFU mode.
<zrhoffman> Is there any way to get it working again, other than restoring?
<janneg> zrhoffman: which device is this?
<janneg> booting into an existing asahi installation is expected for "UEFI environment only"
<zrhoffman> janneg: Early 2023 mbp, I believe (M2)
<zrhoffman> janneg: running macos 13.5 with 14.0 firmware and recovery
<janneg> macbook pro with hdmi port/promotion? so M2 Pro or Max
<zrhoffman> janneg: yes it has an hdmi port. I think just mbp
<janneg> you have a graphic recovery screen?
<zrhoffman> I did, but
<zrhoffman> I got it into DFU mode after all, I was holding down the power button for too long
<janneg> what happens if you reboot?
<zrhoffman> Rebooting with no additional buttons pressed puts me back on the recovery screen
<janneg> does it offer to select startup disk or to recover? Can you post a picture?
roxfan has joined #asahi
<janneg> it sounds if you get the recovery screen after too many failed boots
<zrhoffman> > does it offer to select startup disk? or to recover?
<zrhoffman> It does not, unfortunately
<zrhoffman> > Can you post a picture?
<zrhoffman> Sure, after the revive attempt completes
ydalton has joined #asahi
<ydalton> hey, a reliable way to check if a computer's model is an Apple Silicon Mac would be to cat /proc/device-tree/compatible and seeing if apple is there?
roxfan2 has joined #asahi
roxfan has quit [Read error: Connection reset by peer]
cdslooef^ has quit [Ping timeout: 480 seconds]
roxfan2 has quit [Read error: Connection reset by peer]
cdslooef^ has joined #asahi
<ydalton> j`ey: the reason why `krunvm start asahi-krun FEXBash -- /usr/bin/steam` doesn't work is if you pass a command to krunvm, it runs it as root in the microVM
<ydalton> i.e. `krunvm start asahi-krun /bin/bash` gives a root shell
<j`ey> why doesnt that work for FEXBash?
<ydalton> i think because there is no FEX rootfs for the root user
<ydalton> there is one for the steam user
<j`ey> hmm
<ydalton> i sent a long command for kidplayer666 to try, but he hasn't gotten back to me yet
kidplayer666 has joined #asahi
<ydalton> well, we have a different error, it complains libc is missing *shivers*
ydalton has left #asahi [ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.0.92)]
<kidplayer666> Even if manually it works
<kidplayer666> It’s just silly
<kidplayer666> I gotta do a script and set it to autostart inside the krunvm maybe
<kidplayer666> At this point I’ll just be happy with what I have
___nick___ has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
darkapex has quit [Remote host closed the connection]
darkapex has joined #asahi
ten157237743242 has joined #asahi
holiday has quit [Quit: WeeChat 4.1.1]
ten15723774324 has quit [Ping timeout: 480 seconds]
ten157237743242 is now known as ten15723774324
roxfan has joined #asahi
ten157237743243 has joined #asahi
ydalton has joined #asahi
<ydalton> kidplayer666: you could add the line to run steam in the .bash_profile of the microVM
ten15723774324 has quit [Ping timeout: 480 seconds]
ten157237743243 is now known as ten15723774324
ydalton has left #asahi [#asahi]
<j`ey> speakers sound good. I turned them way down, even at 10-15% theyre nearly as good as my old laptop speakers
<kidplayer666> Oh nice
<kidplayer666> I’m supposing m1 air
<j`ey> yup
<kidplayer666> ydalton: imma try it in a lil but
roxfan has quit [Read error: Connection reset by peer]
<kidplayer666> j`ey: how does it compare to Mac OS
<j`ey> dunno, havent used them on macOS
<j`ey> or at least not recently, I think I tried once a year or so ago and they were very loud
<kidplayer666> Try it pls I’m kinda curious
<j`ey> the speakers on my old intel mba are *so* weak
<kidplayer666> Yes
<kidplayer666> The pro models always had more pitch
<kidplayer666> *punch
<j`ey> Im not really knowledgeable enough to tell the 'small' differences in sound, really
<j`ey> shouldnt be too long for you to get support, hopefully :-)
<kidplayer666> j`ey: you don’t have to “know” what’s different
<kidplayer666> I’m just curious if you feel it’s better
<j`ey> maybe later, dont feel like rebooting into macOS rn
<j`ey> but for me, it's good enough, so that's all that matters!
<kidplayer666> Yeah!
<kidplayer666> I expect that macOS will have a more “fun” sound
<kidplayer666> Cause I’m pretty sure they crank the crap out of the base and the treble
<kidplayer666> Probably a strong V curve
<j`ey> fun.. I dont like fun
<j`ey> :P
<kidplayer666> Well
<kidplayer666> Linux probably is more flat
<kidplayer666> Sounding what the music actually should sound like
<kidplayer666> But you can still absolutely ruin it by EQing the crap out of it
<kidplayer666> I’ll probably do it :P
<kidplayer666> Same as on MacOS
<j`ey> I'll listen to some of my fave albums, but I'm likely to keep whatever the default is
<kidplayer666> I might have boosted the bass 7db…
<kidplayer666> Or some stupid amount like that
<kidplayer666> And also increased maximum volume
<kidplayer666> j`ey: if they’re bassy, they’ll probably sound meh
<kidplayer666> Tho I don’t expect bass extension to get better with eq
<PaulFertser> kidplayer666: it's not just the EQ https://social.treehouse.systems/@marcan/111351807108120657 "only one speaker is in charge of the higher frequencies" (yes, no stereo above 2 kHz)
<PaulFertser> (actually no, it's about two woofers _on one side_ close to each other)
phire_ has joined #asahi
phire is now known as Guest7539
phire_ is now known as phire
ydalton has joined #asahi
Guest7539 has quit [Ping timeout: 480 seconds]
<ydalton> j`ey: you have an m1 macbook air?
<kidplayer666> ydalton: he has
<kidplayer666> I immediately asked :P
<ydalton> lol
<ydalton> chat logs weren't refreshed
<ydalton> i'd love speakers on my model but there's no dsp on it yet :P
<j`ey> if you use GNOME, don't update mesa currently, there's a bug
<j`ey> gnoome and/or gdm
<ydalton> oh shit
<ydalton> there's a new mesa version?
<ydalton> yep, i'm gonna hold updating until i hear its fixed
SalimTer- has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
SalimTerryLi has quit [Ping timeout: 480 seconds]
Brainium has joined #asahi
Moprius has joined #asahi
cdslooef^ has quit [Remote host closed the connection]
Moprius has quit []
<kidplayer666> j`ey: how serious?
<j`ey> like, doesn't launch gnome serious
loki_val has joined #asahi
<kidplayer666> not great
___nick___ has quit []
crabbedhaloablut has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi
Cromulent has quit [Quit: Connection closed for inactivity]
<ydalton> j`ey: jeez, well i'm holding off until there is a fix
crabbedhaloablut has joined #asahi
___nick___ has quit [Ping timeout: 480 seconds]
loki_val has quit [Ping timeout: 480 seconds]
<kidplayer666> I’m guessing it only affects their compositor
<janneg> a single missing 'A'
<j`ey> janneg: huh??
<j`ey> nice catch
<j`ey> janneg: did you look at the diffs, or how did you find that/
Luj has quit [Quit: Ping timeout (120 seconds)]
Luj has joined #asahi
<nicolas17> A
<j`ey> nicolas17: F
<nicolas17> janneg: does that not give a compiler warning? x_x
<j`ey> macros can be undefined/0
<kidplayer666> loool
<kidplayer666> A single A borking systems
<kidplayer666> Always nice
<kidplayer666> And shouldn’t it fall back to software rendering?
jeisom has quit [Ping timeout: 480 seconds]
flom84 has joined #asahi
<ydalton> F
VasilisTheChu has quit [Quit: ZNC - https://znc.in]
VasilisTheChu has joined #asahi
crabbedhaloablut has quit []
ydalton has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.0.92)]
eiln has joined #asahi
<Nefsen402> PaulFertser: It's not mono above 2kHz. That modal has 4 speakers two identical speakers on each side
<Nefsen402> "The MacBook Pro 13" Touch Bar models have two identical speakers on either side" from the linked post
<Nefsen402> why do people not know how to read