marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
kenzie4 has quit [Read error: Connection reset by peer]
jmr2 has joined #asahi
<jmr2>
FireFox317: FYI, I just did the pull request. Thanks again.
jmr2 has quit []
ganpa[m] has left #asahi [#asahi]
_chamomile has quit [Ping timeout: 480 seconds]
arahael3 has joined #asahi
<marcan>
cth451_desktop: you can skip aq_nic_is_valid_ether_addr in the platform path, that's just something about weird engineering samples of the cards
<cth451_desktop>
i.e. assuming DT won't supply such weird MACs
<marcan>
yes
<marcan>
other than that looks good to me, want to send it upstream? :)
<cth451_desktop>
Sure. The patch has been update
<cth451_desktop>
* updated
<marcan>
check the commit summary to make sure it is formatted the same way as others for that file
<marcan>
(probably needs some net/ethernet prefix or so)
<marcan>
looks like net: atlantic:
<marcan>
also if you made the edit to the patch by hand, make sure it applies. if you remove a line you need to change the thunk header.
<cth451_desktop>
I'm working in a git tree so yeah amended commit and did another format-patch
sailorek1234 has joined #asahi
<marcan>
ah, cool :)
tomtastic_ has joined #asahi
tomtastic has quit [Ping timeout: 480 seconds]
linearcannon has joined #asahi
cth451_desktop has quit [Remote host closed the connection]
<mps>
kettenis: iiuc I can put grub-efi in boot partition?
<mps>
or I can put extlinux.conf file
<kettenis>
yes
<kettenis>
(I don't do Linux and I am baffled by the infinity ways to boot Linux)
<kettenis>
apparently cool kids use systemd now to boot linux
<mps>
I usually have to mark boot partition for arm SBCs with boot-able flag for u-boot to find them
* mps
swithed from debian to alpine linux because of systemd 'hell'
<mps>
switched*
sailorek1234 has quit []
sailorek1234 has joined #asahi
V has quit [Remote host closed the connection]
V has joined #asahi
Dcow_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jbowen has joined #asahi
sailorek1234 has quit []
yuyichao_ has quit [Ping timeout: 480 seconds]
dottedmag has joined #asahi
as400 has left #asahi [#asahi]
yuyichao_ has joined #asahi
darkapex2 has joined #asahi
darkapex1 has quit [Ping timeout: 480 seconds]
darkapex3 has joined #asahi
gladiac is now known as Guest6521
gladiac has joined #asahi
method_ has joined #asahi
darkapex2 has quit [Ping timeout: 480 seconds]
Guest6521 has quit [Ping timeout: 480 seconds]
Method has quit [Ping timeout: 480 seconds]
the_lanetly_052 has joined #asahi
the_lanetly_052 has quit []
the_lanetly_052 has joined #asahi
jbowen has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi
yuyichao_ has quit [Ping timeout: 480 seconds]
yuyichao_ has joined #asahi
gladiac is now known as Guest6527
gladiac has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
Guest6527 has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi
<mps>
simpledrm works, typing right now in terminal on it
<mps>
touchpad is 'dead'
the_lanetly_052 has quit [Remote host closed the connection]
<mps>
if I have sound I don't need to boot macos anymore
<povik>
mps: working on it
<mps>
povik: thanks. in evtest it shows moves and touch buttons but doesn't show anything in xev
<povik>
i meant sound, not touchpad :)
<mps>
ah, that is also good news
<j_ey>
that sounds like a configuration problem then (touchpad)
<mps>
j_ey: hm, let me remove config and test
<j_ey>
I havent tried the touchpad yet, but if it's getting stuff in evtest, doesnt sound like a driver issue
<mps>
j_ey: no, even without config file it doesn't work
<mps>
I'm using xf86-input-libinput driver
<_jannau_>
possible a missing power-domain although strange that just the trackpad does not work. without the pmgr driver the commits from j_ey were working on a 14" macbook pro
<_jannau_>
forget that. if it were a missing power-domain issue spi woudn't work at all
<mps>
ok, anyway I'm excited how well all works.
<mps>
most programs works fine, except firefox which starts without any error but don't displays its window
<mps>
many thanks to you all who works on porting linux (and BSD) on these machine
<j_ey>
probably a distro/build issue, ff is working for others
<mps>
j_ey: ff works fine on my other two arm64 and one armv7 chromebooks
<kov>
ff works for me on the macbook air
chamomile has joined #asahi
<mps>
kov: with simpledrm?
<kov>
mps, yeah
<kov>
debian 11
<mps>
maybe missing sound card blocks it?
<kov>
there is no sound driver on my air either, so I'd doubt it
<mps>
hmm, have to look more what can be cause
<kov>
though maybe if it is trying to use alsa directly? or you got pulseaudio?
<mps>
no, alsa directly
<kov>
yeah, that sounds more likely then, strace should be able to tell you
as400 has joined #asahi
<as400>
mps: did you try chromium ?
jbowen has quit [Ping timeout: 480 seconds]
<mps>
kov: could be, mpv also starts but it is stuck on audio
<mps>
ah, yes, strace shows that it is polling something
<unrelentingtech>
i don't think audio backends in firefox have the ability to prevent the window from showing up. not having any sound devices should definitely be supported with any backend
<mps>
as400: no, I can't install chromiun because of dependencies conflict
<kov>
yeah I wonder if it could be a library that tries to open the audio device and never returns from a call though, strace should be able to clear that one up
<kov>
but I agree the media backend of the web engine itself should not be blocking the ui at startup
<unrelentingtech>
failing to open should be an instant ENOENT
<mps>
and it is EAGAIN as I see in strace
<kov>
mps, on what?
<mps>
stracing ff
<kov>
mps, I mean on what syscall you are getting EAGAIN?
<kov>
is it an open()? if so of what path? =)
<mps>
read and write
<kov>
the first paramter should be the file descriptor, you can use lsof to figure out what path the fd refers to, if any
<mps>
write(26, "\372", 1)
<kov>
mps, yeah, lsof should tell you what 26 refers to
<mps>
thanks all for help, I must go now, will continue testing tomorrow
jbowen has joined #asahi
chamomile has joined #asahi
HardWall has joined #asahi
RealityVoid has quit [Ping timeout: 480 seconds]
jbowen has quit [Ping timeout: 480 seconds]
SmileyKeith has joined #asahi
jmr2 has joined #asahi
<jmr2>
jannau: for my understanding, what is your audience for your apple-m1-exp* branches ? Only you, (and perfect if it's of interest for others), or are you trying to build a reference tree of everything Asahi has worked on so far ?
Dcow has joined #asahi
Dcow has quit []
Dcow has joined #asahi
<jannau>
jmr2: I'm not sure. it is certainly intended for public use but I'm unsure which standard to use for including patches
X-Scale` has joined #asahi
aleasto has quit [Quit: Konversation terminated!]
X-Scale has quit [Ping timeout: 480 seconds]
tertu2 has joined #asahi
tertu has quit [Ping timeout: 480 seconds]
_chamomile has joined #asahi
chamomile has quit [Ping timeout: 480 seconds]
<jmr2>
jannau: OK, thanks. Mine's still too messy to share, but I'm starting to think that we're duplicating efforts. I might propose something later, once I'll have clean it up - and my mind at the same time.
<j_ey>
jmr2: share it anyway!
<jmr2>
j_ey: Glad to see the interest, but it's really too messy at this time. Soon.
<jmr2>
(and the reality is that it doesn't contain anything new - it just merge bits that I haven't seen in the same branch yet)
<j_ey>
jmr2: fair :)
<sven>
:D
<jmr2>
sven: since you're here: what's the correct source for your latest NVME patches?
<sven>
There’s no correct source yet
<jmr2>
I've seen two versions where an ID was changing... let me try to recall what it was.
<jmr2>
Well... latest draft, let's say?
<j_ey>
genctr?
<sven>
i actually understand the nvme subsystem at this point and am working on a version locally right now
<sven>
but so far it can only bring up the admin queue and crash then
<sven>
until that’s ready it probably doesn’t matter what version you use. the two that are around should be very similar
<j_ey>
jmr2: i would say look at asahi t6000/bringup-work
<jmr2>
OK. I'll probably just keep nvme out, as it is currently. I'm still ooting from USB2.
<j_ey>
sven: so youre going for a complete rewrite?
<jmr2>
*booting
<sven>
j_ey: yes. that was the only way for me to understand how the driver actually works
<sven>
it should also recover correctly from timeouts etc. now that I can actually reset the co-processor
<j_ey>
sven: cool, i look foward to the branch!
<sven>
It also looks simpler now. (Except for that fact that it just crashes right now, but that’s details :D)
<j_ey>
:3
<sven>
and I can explain what all those custom Apple register so now :-)
<sven>
already much happier than I was with the previous one so far
<j_ey>
sven: how many LOC so far? (not a great measure, but still..)
<sven>
1200 or so
<j_ey>
sven: 'it crashes' was ANS, or linux?
<sven>
linux
<sven>
likely something dumb, just need to find some time to debug it
<j_ey>
🙏 good luck1
Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]