#
…

2021-11-08

00:02mburge has quit [Quit: Leaving]
00:04bgb_ has quit [Ping timeout: 480 seconds]
00:13bgb_ has joined #asahi
00:21bgb_ has quit [Ping timeout: 480 seconds]
00:30bgb_ has joined #asahi
00:38bgb_ has quit [Ping timeout: 480 seconds]
00:46bgb_ has joined #asahi
00:54bgb_ has quit [Ping timeout: 480 seconds]
01:05bgb_ has joined #asahi
01:13bgb_ has quit [Ping timeout: 480 seconds]
01:23bgb_ has joined #asahi
01:23linearcannon has joined #asahi
01:31bgb_ has quit [Ping timeout: 480 seconds]
01:34bgb_ has joined #asahi
01:42bgb_ has quit [Ping timeout: 480 seconds]
02:00bgb_ has joined #asahi
02:05yuyichao has quit [Ping timeout: 480 seconds]
02:24yuyichao has joined #asahi
02:34riker77_ has joined #asahi
02:39riker77 has quit [Ping timeout: 480 seconds]
02:39riker77_ is now known as riker77
02:39DarkShadow44 has quit [Quit: ZNC - https://znc.in]
02:41mustache_ride__ has quit [Ping timeout: 480 seconds]
02:42aeroraptor has quit [Ping timeout: 480 seconds]
02:42tardyp_ has joined #asahi
02:43DarkShadow44 has joined #asahi
02:43tardyp has quit [Ping timeout: 480 seconds]
02:43tardyp_ is now known as tardyp
02:44DarkShadow44 has quit []
02:45aeroraptor has joined #asahi
02:46bgb_ has quit [Ping timeout: 480 seconds]
02:50guan has quit [Read error: Connection reset by peer]
02:50enomem has quit [Remote host closed the connection]
02:50tardyp has quit [Remote host closed the connection]
02:51saintdev has quit [Read error: Connection reset by peer]
02:51jabashque has quit [Read error: Connection reset by peer]
02:51aeroraptor has quit [Read error: Connection reset by peer]
02:51NekomimiScience has quit [Read error: Connection reset by peer]
02:54DarkShadow44 has joined #asahi
02:55DarkShadow44 has quit []
03:02DarkShadow44 has joined #asahi
03:02mustache_ride__ has joined #asahi
03:02bgb_ has joined #asahi
03:03bgb has joined #asahi
03:04aeroraptor has joined #asahi
03:05saintdev has joined #asahi
03:05guan has joined #asahi
03:06jabashque has joined #asahi
03:06NekomimiScience has joined #asahi
03:06enomem has joined #asahi
03:06tardyp has joined #asahi
03:08DarkShadow44 has quit [Quit: ZNC - https://znc.in]
03:10bgb_ has quit [Ping timeout: 480 seconds]
03:11bgb has quit [Ping timeout: 480 seconds]
03:14DarkShadow44 has joined #asahi
03:19tardyp has quit [Ping timeout: 480 seconds]
03:19mustache_ride__ has quit [Ping timeout: 480 seconds]
03:21aeroraptor has quit [Ping timeout: 480 seconds]
03:21DarkShadow44 has quit [Quit: ZNC - https://znc.in]
03:22saintdev has quit [Ping timeout: 480 seconds]
03:22jabashque has quit [Ping timeout: 480 seconds]
03:22guan has quit [Ping timeout: 480 seconds]
03:22NekomimiScience has quit [Ping timeout: 480 seconds]
03:22enomem has quit [Ping timeout: 480 seconds]
03:24DarkShadow44 has joined #asahi
03:24saintdev has joined #asahi
03:26DarkShadow44 has quit []
03:29DarkShadow44 has joined #asahi
03:30DarkShadow44 has quit []
03:39DarkShadow44 has joined #asahi
03:40DarkShadow44 has quit []
03:41DarkShadow44 has joined #asahi
03:42DarkShadow44 has quit []
03:45DarkShadow44 has joined #asahi
03:45DarkShadow44 has quit []
03:45tardyp has joined #asahi
03:50DarkShadow44 has joined #asahi
03:51DarkShadow44 has quit []
03:51DarkShadow44 has joined #asahi
03:52DarkShadow44 has quit []
03:54PhilippvK has joined #asahi
03:54DarkShadow44 has joined #asahi
03:55DarkShadow44 has quit []
03:55DarkShadow44 has joined #asahi
03:55mustache_ride__ has joined #asahi
03:56DarkShadow44 has quit []
03:57phiologe has quit [Ping timeout: 480 seconds]
04:02DarkShadow44 has joined #asahi
04:02nkaretnikov has quit [Read error: Connection reset by peer]
04:02tom-w has quit [Read error: Connection reset by peer]
04:02brinly has quit [Read error: Connection reset by peer]
04:02ZLSA_ has joined #asahi
04:02tom-w has joined #asahi
04:02brinly has joined #asahi
04:02robher_ has joined #asahi
04:02maennich_ has joined #asahi
04:02Chainsaw_ has joined #asahi
04:03saintdev_ has joined #asahi
04:03kendfinger_ has joined #asahi
04:03enomem has joined #asahi
04:03nkaretnikov has joined #asahi
04:03maennich_ is now known as maennich1
04:04daniels has quit [Ping timeout: 480 seconds]
04:04daniels has joined #asahi
04:05ZLSA has quit [Ping timeout: 480 seconds]
04:05ZLSA_ is now known as ZLSA
04:06kendfinger has quit [Ping timeout: 480 seconds]
04:06kendfinger_ is now known as kendfinger
04:06saintdev has quit [Ping timeout: 480 seconds]
04:06saintdev_ is now known as saintdev
04:06maennich has quit [Ping timeout: 480 seconds]
04:06maennich1 is now known as maennich
04:06aeroraptor has joined #asahi
04:07robher has quit [Ping timeout: 480 seconds]
04:07Chainsaw has quit [Ping timeout: 480 seconds]
04:07Chainsaw_ is now known as Chainsaw
04:11jabashque has joined #asahi
04:12NekomimiScience has joined #asahi
04:12guan has joined #asahi
04:38yuyichao has quit [Ping timeout: 480 seconds]
04:56dsrt^ has quit [Ping timeout: 480 seconds]
04:58marvin24_ has joined #asahi
05:01marvin24 has quit [Ping timeout: 480 seconds]
05:46marcanpushed 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
05:46marcanhaven't tested the build yet though :)
05:46marcanso in principle macOS should work as a host for m1n1 development now, which should be handy for those using macvdmtool
05:46marcansven: can you test whatever your setup was to make sure I didn't break anything?
06:15tertu2 has joined #asahi
06:20tertu has quit [Ping timeout: 480 seconds]
06:49bgb__ has joined #asahi
07:06bgb has joined #asahi
07:11VinDuvmarcan: I think you didn’t push your changes to asm.py
07:12bgb__ has quit [Ping timeout: 480 seconds]
07:23bgb_ has joined #asahi
07:28svenmarcan: it uses llvm instead of my random gcc toolchain but seems to still work otherwise
07:29bgb__ has joined #asahi
07:29bgb_ has quit [Quit: WeeChat 3.3]
07:30bgb has quit [Ping timeout: 480 seconds]
07:44bgb__ has quit [Ping timeout: 480 seconds]
07:46bgb__ has joined #asahi
08:02bgb__ has quit [Ping timeout: 480 seconds]
08:03bgb__ has joined #asahi
08:05bgb has joined #asahi
08:19bgb__ has quit [Ping timeout: 480 seconds]
08:23bgbmarcan, 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.
08:23svendo you see any messages on the m1n1 serial output?
08:23marcanah derp, yeah, I didn't I guess. dammit.
08:24marcanbgb: remember hotplug doesn't work, you need to reboot after one attempt
08:24bgbyeah, I just reboot m1n1 every time
08:25bgbmy serial interface is broken, but I saw message on fb, nothin special
08:26bgbI tried 3 machines, just one typec port(super speed) of one works
08:28bgb__ has joined #asahi
08:28marcanVinDuv: pushed now
08:28bgbI just don't know if it's hw issue or not :(
08:29marcanbgb: what devices are you connecting?
08:29marcanm1n1 does not use superspeed fwiw
08:30bgbmarcan: just a laptop with typec port
08:30marcanto what mac?
08:30marcanhow are you connecting the A-C cable?
08:33bgbthe working one is c port, so I just use C-C cable
08:33marcanyeah but how were you trying the A-C cable?
08:33bgball A ports on my host did not work
08:33marcanso C-C does work on one port?
08:33j_ey(fwiw I use C-A on M1 MBA <-> rpi4)
08:34marcanthat's kind of weird
08:35bgbfor A-C case. I tried: 1: A to host, C to mini; 2: A to mini, C to host
08:36jannauthe type A port on the mac mini are not supposed to work
08:36bgbI also tried A to mini with C-A hub
08:37marcanthat won't work either
08:38jannauthe hub connected to the mini's type c port?
08:38marcanA can never go to the mini
08:39jannauand the type c ports on the mini need to connected to allow device mode on the mini
08:40bgbgot it
08:42bgbit just didn't work with C to mini and A/C to host, feel very frastrated :(
08:42marcanthat should work
08:43marcancould be a cable issue
08:43bgbmarcan: just normal A-C or C-C right?
08:43jannaudo you see dart-usb[01] and USB[01] messages at the end of m1n1's fb output?
08:43marcanyes, but I mean it could be a bad cable
08:44marcanjannau: he said it works with one specific cable/host
08:44bgbjannau: yeah
08:44bgbmarcan: i tried more than 4 cables
08:45j_eybgb: and this used to work?
08:45bgbj_ey: no
08:46jannaudo they have working usb2 data transfer with a different usb-c device?
08:48marcanbgb: shut down the mac mini, power it up holding the power button, and leave it on the boot picker
08:48marcanat that point it should show up in dmesg as an "Apple Inc. Mac mini" if your cable is good
08:48marcanif it doesn't show up then more than likely your cable or host is bad
08:48marcanin that state you can hotplug as much as you like
08:48marcan(mostly)
08:49bgbok, try now
08:53bgbsorry typo. just nothing in dmesg
08:54marcanthen the problem isn't with m1n1/the mac, it is almost certainly with your cable or host
08:54marcanyou might have a charge-only cable
08:54j_eybgb: got a USBC phone or anything?
08:55j_eybgb: does that show up in dmesg?
08:56bgb__ has quit [Ping timeout: 480 seconds]
08:56bgbyes, same A-C cable
08:56bgbhost detects my phone
08:56bgbwith the same A-C cable
09:00marcanmaybe your host and the mini's dwc3 controller hate each other...
09:00marcanbgb: does it show up as SuperSpeed or High Speed?
09:05bgb_ has joined #asahi
09:06bgb_marcan: all A ports I tried are super speed
09:06bgb has quit [Ping timeout: 480 seconds]
09:06marcanyes but does the *phone* show up as superspeed?
09:07bgb_high speed
09:08marcanok, then I'm out of ideas
09:08marcanwouldn't be the first time some host controller/cable/device combination don't get along though
09:09jannautested here on mini and 14" macbook pro and works except on the 3rd usb-c port which is not yet set up properly
09:11Chol has joined #asahi
09:14Cholmarcan: is this what you are doing when you take a day off from M1? :D https://twitter.com/fail0verflow/status/1457526453105569793
09:14marcanI don't even have a PS5
09:15CholI am hoping for a Console hacking CCC talk... do you plan to give a talk on M1?
09:16marcanno idea, maybe some day?
09:16marcanprobably at some point, but at least until international travel stops being a pain I'm not particularly interested in in-person conferences
09:17Cholokay, so apparently not this year ;)
09:18marcanyeah, they canceled the in-person event
09:18marcanif they do remote talks I might consider that, depending on schedule
09:21Cholwould be great to have some more reverse engineering talks again. I also hope tmbinc does one about his recent Mercedes investigations.
09:21jannauis 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
09:23jannauseems to be expected, also happens after shutdown from 1tr
09:32bgb_ has quit [Quit: WeeChat 3.3]
09:34gabuscus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
09:42kettenisit powers on if you open the lid as well
09:43kettenisso they've obviously wired up some of the wakeup gpios to power on the machine
09:55bgb has joined #asahi
09:57gabuscus has joined #asahi
09:57bgbjannau: so, you mean not all ports work on your host?
09:58gabuscus has quit []
10:01Chol has quit [Quit: Leaving]
10:03gabuscus has joined #asahi
10:04bps has joined #asahi
10:05gabuscus has quit []
10:07bgb_ has joined #asahi
10:07gabuscus has joined #asahi
10:08_jannau_bgb: no, the third port of macbook pro 2021 is not setup up in m1n1 to work as device
10:08bgb has quit [Ping timeout: 480 seconds]
10:10bgb_jannau: I see. so your host works fine
10:13bgb_I'm so unlucky, all ports of two hosts do not work :(
10:19robinp[m]kode54: thanks
11:00marcanbgb_: this sounds like a hardware problem; either your hosts, or the mac, or the cable, are bad or out of spec
11:00marcancan't really know without sticking a USB analyzer in the middle...
11:01marcanbut 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...
11:08j_eybgb_: do you have an rpi4 you could test with?
11:13bgb__ has joined #asahi
11:20bgb_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
11:22bgb_marcan: what kind of USB analyzer? like your glassgow?
11:27bgb__ has quit [Ping timeout: 480 seconds]
11:37bgb_ has quit [Quit: WeeChat 3.3]
11:58confusomu has quit [Ping timeout: 480 seconds]
11:59marcanlike my openvizsla
12:05gabuscus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
12:06gabuscus has joined #asahi
12:26gabuscus_ has joined #asahi
12:28egavinc has quit [Remote host closed the connection]
12:29egavinc has joined #asahi
12:33gabuscus has quit [Ping timeout: 480 seconds]
12:47aleasto has joined #asahi
12:50yuyichao has joined #asahi
12:51robinp[m] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:51gabuscus_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
12:53gabuscus has joined #asahi
12:53robinp[m] has joined #asahi
12:57mpscan 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)?
12:57mps(need to know before order, I need my eyes)
12:59egavinc has quit [Remote host closed the connection]
13:17robinp[m] has quit [Quit: Textual IRC Client: www.textualapp.com]
14:05pwn has joined #asahi
14:34Dcow has joined #asahi
14:38pwnblanks has joined #asahi
14:39yuyichao has quit [Ping timeout: 480 seconds]
14:39pwn has quit [Ping timeout: 480 seconds]
14:50pwnblanks has quit [Remote host closed the connection]
14:59yuyichao has joined #asahi
15:03minimps: it feels about the same to look at as my older 2018 15" personally
15:03miniI know that's not the direct comparison you asked about, but hey :)
15:04miniand my 2019 16", too (for anti-glare, I mean)
15:09pwn has joined #asahi
15:14mpsmini: aha, thanks
15:16mpsmy main reason to by it is retina display and its anti-glare quality
15:23Dcowis linux/m1 display controller support 5k resolution? I am using Lg Ultrafine 5k display (thunderbolt)
15:27DcowAFAIK it is tiled monitor
15:40miniDcow: not yet :) thunderbolt support hasn't been done at all yet
15:40miniit works on my m1 mac running macOS though, so I imagine it's a case of 'watch this space'
15:41Dcowyeah I know it's working on macOS
15:42Dcowthank you for the response ;)
15:51Namidairo has quit [Quit: ZNC - https://znc.in]
15:52Namidairo has joined #asahi
15:54pwn has quit [Ping timeout: 480 seconds]
16:00X-Scale has joined #asahi
16:03pwn has joined #asahi
16:05X-Scale` has quit [Ping timeout: 480 seconds]
16:13pwn has quit [Ping timeout: 480 seconds]
16:34sailorek1234 has joined #asahi
16:35sailorek1234 has quit []
16:37jammie[m] is now known as JamieMagee[m]
17:26dottedmagDcow: 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.
17:40DcowWorks good under intel+Gnome
17:41DcowKDE think it is 2 separated monitors, so 2 panels and other annoying stuff
17:42DcowAFAIK works with NVIDIA proprietary and some of AMD drivers
17:43Dcowwell, works good, but not great. some tearing between two halves happen sometimes.
17:44Dcownothing criminal though
17:45Dcownothing critical though
18:02___nick___ has joined #asahi
18:03___nick___ has quit []
18:04___nick___ has joined #asahi
18:31marcanmeanwhile apparently what *doesn't* work on macOS is simultaneous USB3+DP
18:31marcanon 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)
18:32marcanput that one on the "things we should make linux do better than macos" list, if it's not some weirdo hardware limitation
18:47TheLinkthey got fed up with usb stuff and settled with "good enough" ;)
18:54svenI don’t blame them..
19:06Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
19:08Dcow has joined #asahi
20:00VinDuvmarcan: 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.
20:01VinDuvThe only small annoyance is that MacPorts puts clang in /opt/local/bin, but since it’s in the PATH I just set TOOLCHAIN=''
20:09egavinc has joined #asahi
20:34gladiac is now known as Guest5374
20:34gladiac has joined #asahi
20:36aleasto has quit [Remote host closed the connection]
20:37Guest5374 has quit [Ping timeout: 480 seconds]
20:48jannauLinus has merged i2c-pasemi-platform
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:09nobodynada has joined #asahi
21:09skipwich has quit [Quit: DISCONNECT]
22:41minecrell has quit [Quit: Ping timeout (120 seconds)]
22:42minecrell has joined #asahi
23:27yuyichao has quit [Ping timeout: 480 seconds]
23:32Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
23:39myon9821 has joined #asahi
23:43myon98 has quit [Ping timeout: 480 seconds]
23:49yuyichao has joined #asahi
…