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
mburge has quit [Quit: Leaving]
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
linearcannon has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi
riker77_ has joined #asahi
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
mustache_ride__ has quit [Ping timeout: 480 seconds]
aeroraptor has quit [Ping timeout: 480 seconds]
tardyp_ has joined #asahi
DarkShadow44 has joined #asahi
tardyp has quit [Ping timeout: 480 seconds]
tardyp_ is now known as tardyp
DarkShadow44 has quit []
aeroraptor has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
guan has quit [Read error: Connection reset by peer]
enomem has quit [Remote host closed the connection]
tardyp has quit [Remote host closed the connection]
saintdev has quit [Read error: Connection reset by peer]
jabashque has quit [Read error: Connection reset by peer]
aeroraptor has quit [Read error: Connection reset by peer]
NekomimiScience has quit [Read error: Connection reset by peer]
DarkShadow44 has joined #asahi
DarkShadow44 has quit []
DarkShadow44 has joined #asahi
mustache_ride__ has joined #asahi
bgb_ has joined #asahi
bgb has joined #asahi
aeroraptor has joined #asahi
saintdev has joined #asahi
guan has joined #asahi
jabashque has joined #asahi
NekomimiScience has joined #asahi
enomem has joined #asahi
tardyp has joined #asahi
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
bgb_ has quit [Ping timeout: 480 seconds]
bgb has quit [Ping timeout: 480 seconds]
DarkShadow44 has joined #asahi
tardyp has quit [Ping timeout: 480 seconds]
mustache_ride__ has quit [Ping timeout: 480 seconds]
aeroraptor has quit [Ping timeout: 480 seconds]
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
saintdev has quit [Ping timeout: 480 seconds]
jabashque has quit [Ping timeout: 480 seconds]
guan has quit [Ping timeout: 480 seconds]
NekomimiScience has quit [Ping timeout: 480 seconds]
enomem has quit [Ping timeout: 480 seconds]
DarkShadow44 has joined #asahi
saintdev has joined #asahi
DarkShadow44 has quit []
DarkShadow44 has joined #asahi
DarkShadow44 has quit []
DarkShadow44 has joined #asahi
DarkShadow44 has quit []
DarkShadow44 has joined #asahi
DarkShadow44 has quit []
DarkShadow44 has joined #asahi
DarkShadow44 has quit []
tardyp has joined #asahi
DarkShadow44 has joined #asahi
DarkShadow44 has quit []
DarkShadow44 has joined #asahi
DarkShadow44 has quit []
PhilippvK has joined #asahi
DarkShadow44 has joined #asahi
DarkShadow44 has quit []
DarkShadow44 has joined #asahi
mustache_ride__ has joined #asahi
DarkShadow44 has quit []
phiologe has quit [Ping timeout: 480 seconds]
DarkShadow44 has joined #asahi
nkaretnikov has quit [Read error: Connection reset by peer]
tom-w has quit [Read error: Connection reset by peer]
brinly has quit [Read error: Connection reset by peer]
ZLSA_ has joined #asahi
tom-w has joined #asahi
brinly has joined #asahi
robher_ has joined #asahi
maennich_ has joined #asahi
Chainsaw_ has joined #asahi
saintdev_ has joined #asahi
kendfinger_ has joined #asahi
enomem has joined #asahi
nkaretnikov has joined #asahi
maennich_ is now known as maennich1
daniels has quit [Ping timeout: 480 seconds]
daniels has joined #asahi
ZLSA has quit [Ping timeout: 480 seconds]
ZLSA_ is now known as ZLSA
kendfinger has quit [Ping timeout: 480 seconds]
kendfinger_ is now known as kendfinger
saintdev has quit [Ping timeout: 480 seconds]
saintdev_ is now known as saintdev
maennich has quit [Ping timeout: 480 seconds]
maennich1 is now known as maennich
aeroraptor has joined #asahi
robher has quit [Ping timeout: 480 seconds]
Chainsaw has quit [Ping timeout: 480 seconds]
Chainsaw_ is now known as Chainsaw
jabashque has joined #asahi
NekomimiScience has joined #asahi
guan has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
dsrt^ has quit [Ping timeout: 480 seconds]
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
<marcan> pushed some changes to m1n1 to make it build on macOS (at least on arm64), and also fixed up asm.sh. You do need llvm (and the other deps, imagemagick and dtc) from homebrew, since xcode llvm is missing some tools
<marcan> haven't tested the build yet though :)
<marcan> *asm.py
<marcan> so in principle macOS should work as a host for m1n1 development now, which should be handy for those using macvdmtool
<marcan> sven: can you test whatever your setup was to make sure I didn't break anything?
tertu2 has joined #asahi
tertu has quit [Ping timeout: 480 seconds]
bgb__ has joined #asahi
bgb has joined #asahi
<VinDuv> marcan: I think you didn’t push your changes to asm.py
bgb__ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
<sven> marcan: it uses llvm instead of my random gcc toolchain but seems to still work otherwise
bgb__ has joined #asahi
bgb_ has quit [Quit: WeeChat 3.3]
bgb has quit [Ping timeout: 480 seconds]
bgb__ has quit [Ping timeout: 480 seconds]
bgb__ has joined #asahi
bgb__ has quit [Ping timeout: 480 seconds]
bgb__ has joined #asahi
bgb has joined #asahi
bgb__ has quit [Ping timeout: 480 seconds]
<bgb> marcan, sven: my linux machine cannot dectect m1n1 usb device ttyACMx, neither A-C nor C-C works, nothing shows in dmesg. But USB-Serial adapter or ACM device like Arduino works well.
<sven> do you see any messages on the m1n1 serial output?
<marcan> ah derp, yeah, I didn't I guess. dammit.
<marcan> bgb: remember hotplug doesn't work, you need to reboot after one attempt
<bgb> yeah, I just reboot m1n1 every time
<bgb> my serial interface is broken, but I saw message on fb, nothin special
<bgb> I tried 3 machines, just one typec port(super speed) of one works
bgb__ has joined #asahi
<marcan> VinDuv: pushed now
<bgb> I just don't know if it's hw issue or not :(
<marcan> bgb: what devices are you connecting?
<marcan> m1n1 does not use superspeed fwiw
<bgb> marcan: just a laptop with typec port
<marcan> to what mac?
<bgb> mini
<marcan> how are you connecting the A-C cable?
<bgb> the working one is c port, so I just use C-C cable
<marcan> yeah but how were you trying the A-C cable?
<bgb> all A ports on my host did not work
<marcan> ok
<bgb> oh
<marcan> so C-C does work on one port?
<j_ey> (fwiw I use C-A on M1 MBA <-> rpi4)
<bgb> yes
<marcan> that's kind of weird
<bgb> for A-C case. I tried: 1: A to host, C to mini; 2: A to mini, C to host
<jannau> the type A port on the mac mini are not supposed to work
<jannau> ports
<bgb> I also tried A to mini with C-A hub
<marcan> that won't work either
<jannau> the hub connected to the mini's type c port?
<marcan> A can never go to the mini
<bgb> ok
<jannau> and the type c ports on the mini need to connected to allow device mode on the mini
<bgb> got it
<bgb> it just didn't work with C to mini and A/C to host, feel very frastrated :(
<marcan> that should work
<marcan> could be a cable issue
<bgb> marcan: just normal A-C or C-C right?
<jannau> do you see dart-usb[01] and USB[01] messages at the end of m1n1's fb output?
<marcan> yes, but I mean it could be a bad cable
<marcan> jannau: he said it works with one specific cable/host
<bgb> jannau: yeah
<bgb> marcan: i tried more than 4 cables
<j_ey> bgb: and this used to work?
<bgb> j_ey: no
<jannau> do they have working usb2 data transfer with a different usb-c device?
<marcan> bgb: shut down the mac mini, power it up holding the power button, and leave it on the boot picker
<marcan> at that point it should show up in dmesg as an "Apple Inc. Mac mini" if your cable is good
<marcan> if it doesn't show up then more than likely your cable or host is bad
<marcan> in that state you can hotplug as much as you like
<marcan> (mostly)
<bgb> ok, try now
<bgb>
<bgb>
<j_ey>
<bgb> sorry typo. just nothing in dmesg
<marcan> then the problem isn't with m1n1/the mac, it is almost certainly with your cable or host
<marcan> you might have a charge-only cable
<j_ey> bgb: got a USBC phone or anything?
<bgb> yes
<j_ey> bgb: does that show up in dmesg?
bgb__ has quit [Ping timeout: 480 seconds]
<bgb> yes, same A-C cable
<bgb> host detects my phone
<bgb> with the same A-C cable
<marcan> maybe your host and the mini's dwc3 controller hate each other...
<marcan> bgb: does it show up as SuperSpeed or High Speed?
bgb_ has joined #asahi
<bgb_> marcan: all A ports I tried are super speed
bgb has quit [Ping timeout: 480 seconds]
<marcan> yes but does the *phone* show up as superspeed?
<bgb_> high speed
<marcan> ok, then I'm out of ideas
<marcan> wouldn't be the first time some host controller/cable/device combination don't get along though
<jannau> tested here on mini and 14" macbook pro and works except on the 3rd usb-c port which is not yet set up properly
Chol has joined #asahi
<Chol> marcan: is this what you are doing when you take a day off from M1? :D https://twitter.com/fail0verflow/status/1457526453105569793
<marcan> nope :p
<marcan> I don't even have a PS5
<Chol> I am hoping for a Console hacking CCC talk... do you plan to give a talk on M1?
<marcan> no idea, maybe some day?
<marcan> probably at some point, but at least until international travel stops being a pain I'm not particularly interested in in-person conferences
<Chol> okay, so apparently not this year ;)
<Chol> it will be remote again this year https://events.ccc.de/2021/10/13/remote-chaos-experience/
<marcan> yeah, they canceled the in-person event
<marcan> if they do remote talks I might consider that, depending on schedule
<Chol> would be great to have some more reverse engineering talks again. I also hope tmbinc does one about his recent Mercedes investigations.
<jannau> is it expected that macbook pro powers on on keypresses? turned off by holding the power button until the screen turns blank while m1n1 is loaded
<jannau> seems to be expected, also happens after shutdown from 1tr
bgb_ has quit [Quit: WeeChat 3.3]
gabuscus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<kettenis> it powers on if you open the lid as well
<kettenis> so they've obviously wired up some of the wakeup gpios to power on the machine
bgb has joined #asahi
gabuscus has joined #asahi
<bgb> jannau: so, you mean not all ports work on your host?
gabuscus has quit []
Chol has quit [Quit: Leaving]
gabuscus has joined #asahi
bps has joined #asahi
gabuscus has quit []
bgb_ has joined #asahi
gabuscus has joined #asahi
<_jannau_> bgb: no, the third port of macbook pro 2021 is not setup up in m1n1 to work as device
bgb has quit [Ping timeout: 480 seconds]
<bgb_> jannau: I see. so your host works fine
<bgb_> I'm so unlucky, all ports of two hosts do not work :(
<robinp[m]> kode54: thanks
<marcan> bgb_: this sounds like a hardware problem; either your hosts, or the mac, or the cable, are bad or out of spec
<marcan> can't really know without sticking a USB analyzer in the middle...
<marcan> but as I said this isn't exactly uncommon; I once made a USB widget work on a Mac by changing the D+/D- resistors to a different value...
<j_ey> bgb_: do you have an rpi4 you could test with?
bgb__ has joined #asahi
<bgb_> j_ey: no, but I think if your rpi4 works well, so will mine. there are many kinds of x86 PC HWs, but rpi does not
<bgb_> marcan: what kind of USB analyzer? like your glassgow?
bgb__ has quit [Ping timeout: 480 seconds]
bgb_ has quit [Quit: WeeChat 3.3]
confusomu has quit [Ping timeout: 480 seconds]
<marcan> like my openvizsla
gabuscus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
gabuscus has joined #asahi
gabuscus_ has joined #asahi
egavinc has quit [Remote host closed the connection]
egavinc has joined #asahi
gabuscus has quit [Ping timeout: 480 seconds]
aleasto has joined #asahi
yuyichao has joined #asahi
robinp[m] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gabuscus_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
gabuscus has joined #asahi
robinp[m] has joined #asahi
<mps> can someone tell me is the display on M1 Pro/Max 14" better than 2020 M1 pro? I mean is the anti-glare better (or worse)?
<mps> (need to know before order, I need my eyes)
egavinc has quit [Remote host closed the connection]
robinp[m] has quit [Quit: Textual IRC Client: www.textualapp.com]
pwn has joined #asahi
Dcow has joined #asahi
pwnblanks has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
pwn has quit [Ping timeout: 480 seconds]
pwnblanks has quit [Remote host closed the connection]
yuyichao has joined #asahi
<mini> mps: it feels about the same to look at as my older 2018 15" personally
<mini> I know that's not the direct comparison you asked about, but hey :)
<mini> and my 2019 16", too (for anti-glare, I mean)
pwn has joined #asahi
<mps> mini: aha, thanks
<mps> my main reason to by it is retina display and its anti-glare quality
<Dcow> is linux/m1 display controller support 5k resolution? I am using Lg Ultrafine 5k display (thunderbolt)
<Dcow> AFAIK it is tiled monitor
<mini> Dcow: not yet :) thunderbolt support hasn't been done at all yet
<mini> it works on my m1 mac running macOS though, so I imagine it's a case of 'watch this space'
<Dcow> yeah I know it's working on macOS
<Dcow> thank you for the response ;)
Namidairo has quit [Quit: ZNC - https://znc.in]
Namidairo has joined #asahi
pwn has quit [Ping timeout: 480 seconds]
X-Scale has joined #asahi
pwn has joined #asahi
X-Scale` has quit [Ping timeout: 480 seconds]
pwn has quit [Ping timeout: 480 seconds]
sailorek1234 has joined #asahi
sailorek1234 has quit []
jammie[m] is now known as JamieMagee[m]
<dottedmag> Dcow: have you got it working properly under x86/Linux? It shows up for me, but compositors (both gnome-shell and sway) still think it's two separate panels.
<Dcow> Works good under intel+Gnome
<Dcow> KDE think it is 2 separated monitors, so 2 panels and other annoying stuff
<Dcow> AFAIK works with NVIDIA proprietary and some of AMD drivers
<Dcow> well, works good, but not great. some tearing between two halves happen sometimes.
<Dcow> nothing criminal though
<Dcow> nothing critical though
<Dcow> *
___nick___ has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
<marcan> meanwhile apparently what *doesn't* work on macOS is simultaneous USB3+DP
<marcan> on a DP1.4 4K60 display it always seems to negotiate 4 lanes and downgrade USB to 2.0, no matter what resolution/refresh rate you set (4K30 should work with DP1.2 and 4K60 with DP1.4)
<marcan> put that one on the "things we should make linux do better than macos" list, if it's not some weirdo hardware limitation
<sven> :D
<TheLink> they got fed up with usb stuff and settled with "good enough" ;)
<sven> I don’t blame them..
Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Dcow has joined #asahi
<VinDuv> marcan: I tried building and running m1n1 under macOS with clang 11 from MacPorts and it worked fine, thanks! I ran chainload.py it twice without issues.
<VinDuv> The only small annoyance is that MacPorts puts clang in /opt/local/bin, but since it’s in the PATH I just set TOOLCHAIN=''
egavinc has joined #asahi
gladiac is now known as Guest5374
gladiac has joined #asahi
aleasto has quit [Remote host closed the connection]
Guest5374 has quit [Ping timeout: 480 seconds]
<jannau> Linus has merged i2c-pasemi-platform
___nick___ has quit [Ping timeout: 480 seconds]
nobodynada has joined #asahi
skipwich has quit [Quit: DISCONNECT]
minecrell has quit [Quit: Ping timeout (120 seconds)]
minecrell has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
myon9821 has joined #asahi
myon98 has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi