ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cylm_ has quit [Ping timeout: 480 seconds]
ourdumbfuture has joined #asahi-dev
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
jurplel has quit [Ping timeout: 480 seconds]
jurplel has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
jurplel has quit [Ping timeout: 480 seconds]
jurplel has joined #asahi-dev
gabuscus has quit []
jurplel has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi-dev
baozich has joined #asahi-dev
baozich has quit [Ping timeout: 480 seconds]
<eiln> > 522: Does not support 1 plane for Skye WARP
<eiln> no luck
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #asahi-dev
bgb has joined #asahi-dev
chadmed has joined #asahi-dev
crabbedhaloablut has joined #asahi-dev
darkapex1 has joined #asahi-dev
darkapex has quit [Remote host closed the connection]
eiln has quit [Ping timeout: 480 seconds]
kit_ty_kate1 has quit [Quit: WeeChat 3.6]
jacksonchen666 has quit [Ping timeout: 480 seconds]
Z750 has quit [Quit: Ping timeout (120 seconds)]
Z750 has joined #asahi-dev
stipa has quit [Remote host closed the connection]
<marcan> chadmed: any chance it's an audio format issue? can you identify any specific signal threshold where it clips?
<marcan> fun fact: i2s and left-justified audio formats are identical except for a one-bit shift in the msb, which means LJ going into an i2s-configured codec will wrap around nastily at 1/2 full scale
<marcan> eiln: no 1-plane mode is unfortunate, but it is what it is. means we need to fix up libcamera / whatever else doesn't support it
<marcan> thankfully desktop linux is moving towards that and PipeWire as abstractions so most modern apps should be fixable in just one or two global places
<marcan> and besides multiplanar is a better format anyway
baozich has joined #asahi-dev
<jannau> pitty, that would have increased compatibility simply by doing what most other HW does
baozich has quit [Ping timeout: 480 seconds]
<jannau> a little unexpected that the sensor or isp does only 4:2:0
<jannau> eiln: thanks for looking
darkapex1 has quit [Remote host closed the connection]
darkapex1 has joined #asahi-dev
WindowPa- has quit [Remote host closed the connection]
WindowPain has joined #asahi-dev
darkapex1 has quit [Remote host closed the connection]
darkapex1 has joined #asahi-dev
darkapex1 has quit []
darkapex has joined #asahi-dev
jacksonchen666 has joined #asahi-dev
cylm has joined #asahi-dev
dylanchapell has quit [Read error: Connection reset by peer]
bgb has quit [Read error: Connection reset by peer]
baozich has joined #asahi-dev
midou has joined #asahi-dev
dylanchapell has joined #asahi-dev
baozich has quit [Ping timeout: 480 seconds]
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<chadmed> marcan: a sine wave at 160 hz will cause hard digital clipping at 65% going straight into the woofers
<chadmed> an A4 sine wave does not
<chadmed> furthermore the 160hz sine wave contains very audible harmonics so the digital side of the chip seems to be saturated
<chadmed> as i said last night the quirks povik added to sound/ivsense-improvements seem to do *something* but i didnt get around to doing much testing on that branch
<sven> huh, maybe i shoud've based my work on asahi instead of torvald's tree. lots of conflicts in the pcie stuff
<sven> guess that means only the new usb3 code for now :D
<jannau> yes, pre-brought up ports (by u-boot) and t602x* support are not yet submitted upstream
<sven> make sense. let me just split off the new usb3 work for now then so that people can test at first
<sven> and then thunderbolt afterwards
<chadmed> i should note that it doesnt matter if the sine wave is being generated at 0 dBFS or less, its definitely a codec thing
yuchanns has joined #asahi-dev
kit_ty_kate has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
eiln has joined #asahi-dev
ellyq has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeisom has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
dextaa6 has joined #asahi-dev
dextaa6 has quit [Remote host closed the connection]
dextaa6 has joined #asahi-dev
dextaa has quit [Ping timeout: 480 seconds]
arix has joined #asahi-dev
<arix> sv3n: do you mind posting at least wrong-based version of usb4 stuff? It'd be curious to see that while it probably won't be testable by non-professionals
<arix> Almost no blog posts from you (and very little from Janne), while you both truly do amazing job with display/io stack
<jannau> sigh
arix has quit [Remote host closed the connection]
<sven> 🙃
<jeisom> I'd love to see a blog post about the TB3/usb stuff AFTER you have gotten it all worked out and merged for testing at least. Would be interesting from a challeges of RE that and getting it working reliably.
<sven> sure
jacksonchen666 has quit [Ping timeout: 480 seconds]
<marcan> chadmed: could it be some kind of interaction with mechanical resonance? if it's frequency dependent it feels weird that it'd be strictly a codec issue
<marcan> like at certain frequencies the voltage ends up higher and hits the rails or something
<marcan> (I'm not terribly familiar with the phase response/etc of typical speakers but it feels there could be something going on there)
<marcan> if codec quirks improve it though, then maybe not
<chadmed> its certainly possible and its something i can and will test once the visense stuff is merged
<chadmed> though the fact that we start getting harmonics in the output of a pure sine wave just before we turn the volume up enough to get the noise (and the fact that its a hard cut in) suggests that the digital side of the amp is saturated to me
<chadmed> ill upload some videos hang on
<chadmed> OH thats right macos is also prone to this!
<chadmed> when i was running frequency sweeps in macos for fun ages ago i hit it
yuchanns has quit [Quit: The Lounge - https://thelounge.chat]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
lynndotpy has quit [Quit: bye bye]
lynndotpy has joined #asahi-dev
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-dev
ciara has quit [Read error: Connection reset by peer]
ciara has joined #asahi-dev
<sven> maz: did you ever see the pass-through usb connection of the central scrutinizer falling back to full speed only? it doesn't seem to want to do high speed anymore for me
<sven> (and full speed isn't supported in m1n1 right now I think)
jeisom has quit [Quit: Leaving]
jeisom has joined #asahi-dev
<sven> can't seem to get it back to high speed even with different cables right now :(
<sven> unfortunately I also don't have anything fast enough to actually look at what's going on with D+/D-
<sven> I guess the usb2 chirp doesn't reach the other side for some reason
jjanzic1 has quit [Quit: Bridge terminating on SIGTERM]
jjanzic has joined #asahi-dev
shaoze has joined #asahi-dev
baozich has joined #asahi-dev
Shaoze7 has joined #asahi-dev
baozich has quit [Ping timeout: 480 seconds]
Shaoze7 has quit []
Shaoze8 has joined #asahi-dev
Shaoze8 has quit []
roxfan has quit [Ping timeout: 480 seconds]
Shaoze8 has joined #asahi-dev
Shaoze8 has left #asahi-dev [#asahi-dev]
ShaozeChen has joined #asahi-dev
jeisom has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ciara has quit [Read error: Connection reset by peer]
ciara has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
<maz> sven: odd. I'm pretty sure the impedance matching of the USB lines is... iffy, but it always worked on the 3 machines I use that directly boot over the USB pass-through.
<maz> has it worked before? or is it the first time you're trying to make use of it?
jacksonchen666 has joined #asahi-dev
jacksonchen666 has quit []
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
c10l has quit [Quit: Bye o/]
ellyq has quit [Read error: No route to host]
<sven> it has worked before. last time I used it I had to use an additional hub and blamed the raspberry pi it was connected to though
<maz> I'm definitely going through a hub too (too many machines connected to the console server). given that the version you have has no active compotents between the two ends of the D+/D- lines, it must be related to the dodgy impedance of the tracks... :-/
<maz> components*
<sven> :/
<sven> oh well. back to direct connection to my MacBook for now
WindowPain has quit [Quit: ZNC 1.8.2 - https://znc.in]
WindowPain has joined #asahi-dev
<sven> I’ll take a look at the connectors under a microscope tomorrow, could also be iffy solder joints I guess
<maz> could you inspect the solder pads on both ends? I can also post you a more recent version, to work out whether it is something that magically improved.
<sven> is that pcb 2 or 4 layers btw?
<maz> 2 layers only.
<sven> I think you can do usb 2 on two layers but it’s more tricky iirc
<sven> I’ll check the solder joints tomorrow
<maz> OK, thanks. I'll see if I can learn how to route these signals in a better way.
<sven> I’m far from an expert in signal integrity and pcb so I’m probably not the right person to listen to ;)
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<sven> *pcbs
<maz> hey, you raised the issue. you're the expecrt for now! :D
<maz> expert*
<sven> uh oh
<maz> oh, interesting. thanks for the pointer. I always wondered how much I could get away with not caring too much about that, but I guess I now know... ;-)
<maz> FTR, I just booted a machine with the USB pass-through directly attached to the server, and it went into full speed without any issue.
<maz> s/full/high/
<maz> (i.e. it booted fine).
<maz> no hub involved. but a sample of one doesn't mean much.
<sven> yeah, it could just be a bad solder joint on my board after all
<sven> with all the crappy usb 2 cables out there those signals can probably take a lot of abuse
<maz> I've had a number of quality issues with JLCPCB -- one batch of CS (v3) was a total dud...
<sven> wow.. 7$ for a 5 4 layer boards according to their quote tool
<sven> not surprised they might have quality issues at that price
ourdumbfuture has joined #asahi-dev
ciara has quit [Read error: No route to host]
<maz> yup. the level of QC is... terrible. on that batch, I have components that are literally off by a mm... they just give you a coupon to respin it.
ciara has joined #asahi-dev
gladiac has joined #asahi-dev
gladiac is now known as Guest9387
Guest9387 has quit [Read error: Connection reset by peer]
gladiac has joined #asahi-dev
ciara has quit [Read error: Connection reset by peer]
gladiac is now known as Guest9389
Guest9389 has quit [Read error: Connection reset by peer]
gladiac has joined #asahi-dev
linuxgemini has quit [Quit: getting (hopefully fresh) air o/]
linuxgemini has joined #asahi-dev
dylanchapell has quit [Quit: ZNC - https://znc.in]
jacksonchen666 has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
jacksonchen666 has quit [Remote host closed the connection]
jacksonchen666 has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeisom has joined #asahi-dev
bisko has joined #asahi-dev
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crabbedhaloablut has quit []
dylanchapell has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
zerdox has joined #asahi-dev
<zerdox> hi everyone. not sure, if this is the right place to ask, but i got no response in #asahi-alt. i moved to 6.4.0 and updated mesa in order to get new gpu drivers, but everything broke and now wayland doesn't work without software rendering. i found out that some modules like appledrm and apple_dcb are not loaded due to "No such device" error. zcat on config.gz gives me =m on both DRM_APPLE and DRM_ASAHI. i always assume that i did something wrong on my side
<zerdox> but i already spent a few days trying to get my GPU work. and yes, i did reload, uname gives me 6.4.0 and modules appear in /lib/modules
<jannau> zerdox: this is not the place, let's continue in #asahi-alt. please upload your kernel (outout of dmesg after boot) log somewhere
zerdox has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
zerdox has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi-dev
baozich has joined #asahi-dev
jacksonchen666 has quit [Quit: WeeChat 3.8]
baozich has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cylm_ has joined #asahi-dev
cylm has quit [Ping timeout: 480 seconds]
zerdox has quit [Ping timeout: 480 seconds]
<amarioguy> hrm seems like when i install the m1n1 custom boot object on a ventura partition, doesn't seem to set up the boot time framebuffer correctly? (even w/ a display connected it keeps using the fake framebuffer) (note that i do have a sonoma partition on this mac so the first stage iboot is the sonoma one)
<jannau> on which device? m1 mac mini / m1* studio?
<jannau> amarioguy: ^^^
<jannau> hmm, doesn't that sound more like if m1n1's display init code fails
<jannau> if possible provide serial log of the display init (either by using the HW serial or a 1st stage m1n1 which skips display init)
<jannau> that way it's possible to look at the display init under HV
<amarioguy> jannau: m1 ultra studio
<amarioguy> getting that log, one sec