#
…

2023-04-01

00:00steven has quit [Quit: ZNC 1.8.2 - https://znc.in]
00:01steven has joined #asahi-dev
00:06Urriellu has quit [Ping timeout: 480 seconds]
00:22seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:22seeeath has joined #asahi-dev
00:36Urriellu has joined #asahi-dev
01:16Urriellu has quit [Ping timeout: 480 seconds]
01:20Emantor has quit [Quit: ZNC - http://znc.in]
01:20Emantor has joined #asahi-dev
01:27derzahl has joined #asahi-dev
01:50seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:51seeeath has joined #asahi-dev
01:55Urriellu has joined #asahi-dev
02:01Urriellu has quit [Remote host closed the connection]
02:14user982492 has joined #asahi-dev
02:44YungRaj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:51maria2 has joined #asahi-dev
02:51maria has quit [Ping timeout: 480 seconds]
03:19chadmed has quit [Remote host closed the connection]
04:07user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:26seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:29seeeath has joined #asahi-dev
04:31seeeath has quit []
04:33seeeath has joined #asahi-dev
04:52Urriellu has joined #asahi-dev
05:03derzahl has quit [Remote host closed the connection]
05:50seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:55seeeath has joined #asahi-dev
06:01seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:02seeeath has joined #asahi-dev
06:30nicolas17 has quit [Ping timeout: 480 seconds]
07:06seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:08seeeath has joined #asahi-dev
07:24chadmed has joined #asahi-dev
07:34seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:59dubiousness has joined #asahi-dev
08:14maria28 has joined #asahi-dev
08:20maria2 has quit [Ping timeout: 480 seconds]
08:32jnn has joined #asahi-dev
08:35jn has quit [Ping timeout: 480 seconds]
08:35Urriellu has quit [Ping timeout: 480 seconds]
08:55stipa is now known as Guest9577
08:55stipa has joined #asahi-dev
08:56Guest9577 has quit [Read error: Connection reset by peer]
09:23nyilas has joined #asahi-dev
09:25nyilas has quit [Remote host closed the connection]
09:28nyilas has joined #asahi-dev
09:34psykose has quit [Remote host closed the connection]
09:35psykose has joined #asahi-dev
09:44i509vcb has quit [Quit: Connection closed for inactivity]
09:47maria285 has joined #asahi-dev
09:54maria28 has quit [Ping timeout: 480 seconds]
10:34darkapex1 has quit []
10:35darkapex has joined #asahi-dev
10:53jannaupovik: what's your success rate of getting sio to boot with the dcp audio PR? here it's at most 1 in 4 boots (on top of current asahi-wip with dcp 13.2 support and dcpext)
11:15povikbetter than that, maybe 1 in 2
11:16povikjannau: do you get the u-boot reservation errors?
11:16povikmaybe it's related
11:19jannaubooting without uboot
11:20povikhuh, so it's something else then
11:21jannaudart.dump_all looks sensible
11:23jannaueven if sio boots playback doesn't work. audio elements look ok, just 16, 20 and 24 bit stereo with my displays
11:24povikwhat happens when it doesn't work?
11:24povikcan the PCM be opened, but it's silent?
11:33jannaunevermind, just broken with pipewire. playback with aplay on the device works
11:34povikok, good
11:34povikweird that it doesn't work with the fallback profile in pipewire
11:34povikit can be a driver fault still, if it doesn't advertise the pcm right
11:36povikthe interesting question is: does it work with dcpext OOTB?
11:39jannaudebugfs complains with dcpext
11:44jannauI have 2 DisplayPort cards in /proc/asound/cards but neither works
11:48jannaudebugfs complaints like "debugfs: Directory 'DCPAVAudioInterface' with parent 'avep' already present!" are the only obvious problems though
11:49povikah, i think those were happening after a plug-in cycle at one point, not sure if i fixed it
11:54povikso when the dcpext cards don't work, does it let you open the pcm? does it fetch the elements?
11:55poviki am forgetting you need to do ~4 boots to try it out
11:55jannauone problem is that afk_populate_service_debugfs tries to create debugfs files for every ep and service
11:55povikmaybe we postpone it until i get the reliable sio boot fixed
11:55povikjannau: well, that's by design. though it should remove them when the service is teared down
11:55jannauboth displayport pcm devices are broken
11:56povikas in, opening them returns ENXIO?
11:56povikthat should happen if the driver doesn't see a cable plugged in
11:56jannauit shouldn't create them for other endpoits which haven't set ep->debugfs_root
11:56povikok, i will look into that
11:57jannaualready fixed locally
11:57povikit breaks with the dcpext services, right?
11:58poviksince there were no epic services other than audio on the dcp when i wrote it
11:58jannauyes, it breaks with dcpext
11:58jannaualso I added an empty "dcpav-interface" to shut the afk log up
12:02povikif you feel like it, please push the rebase and any fixups when you're done playing with it
12:07povik13:56 < povik> as in, opening them returns ENXIO?
12:07povik13:56 < povik> that should happen if the driver doesn't see a cable plugged in
12:07povikactually, that might be the reason pipewire gives up on the device in fallback profile
12:07povikit will try to open it a couple times, if it's not ready yet those opens will fail, and pipewire gives up
12:13jannausomething is strange with dcpext. in /proc/asound everything looks ok but alsa userspace doesn't see either dcp audio devices
12:15povik'aplay -l' doesn't list it?
12:15povikthat would be very strange indeed
12:16jannau"aplay: device_list:274: no soundcards found..."
12:17jannaucat /proc/asound/{cards,devices,pcm} https://paste.debian.net/1275990/
12:18povikyeah, looks as it should
12:18povikpuzzling
12:21povikyou don't see the macaudio devices in 'aplay -l' either, btw
12:22jannaubreaks with dcpext dp audio. commented the "apple,audio-xmitter = <&dpaudio0>;" for dcp and I just have a single DisplayPort card
12:23jannauand aplay -l still reports no sound cards found
12:23povikaha, so that paste was from earlier?
12:24povikor rather dcpext causes all cards to be hidden from 'aplay -l'?
12:25jannausigh, permission problem
12:25jannaudcpext crashes sio
12:25povikthat's more like it :D
12:27jannauShim DMA unavailable error: MASK tx: 0x00000000 MASK rx: 0x00000000 RAW tx: 0x08000000 RAW rx: 0x00000000 MASKED tx: 0x08000000 MASKED rx: 0x00000000
12:28poviki assume you added a dpaudio1 node
12:28povikcan i see it?
12:28povikanyway there should be a dma 66 index, i think?
12:29povikah, 0x66
12:29povikwhile it's 0x64 for dpaudio0
12:29jannauyes, I added the dpaudio1 node to dcpext
12:30jannauwith dcp and dcpext audio no crash, dcp works and dcpext fails with "aplay: set_params:1416: Unable to install hw params:"
12:33poviki forgot i wrote the dpaudio1 node in DT
12:33povikthought you had to write that in
12:33povikso only the audio-xmitter reference was missing
12:35povik14:30 < jannau> with dcp and dcpext audio no crash, dcp works and dcpext fails with "aplay: set_params:1416: Unable to install hw params:"
12:36povikmy guess is the sio not crashing in this case is not the effect of dcp audio enabled, but because dcpext fails before it gets a chance to crash sio
12:36povikand it fails earlier maybe becase the cable was plugged in at a different point in time?
12:53bcrumb has joined #asahi-dev
12:56bcrumb has quit []
12:57jannauno, dcpext is plugged in from boot. and I had now a sio crash on dcpext with both enabled
13:02seeeath has joined #asahi-dev
13:07bcrumb has joined #asahi-dev
13:10bcrumb has quit []
13:12rithulk has joined #asahi-dev
13:14rithulkI'm interested in the progress for HDMI support on the 13" M1
13:36rithulk has quit [Quit: WeeChat 3.8]
13:37jannausigh, apple: "dispext4294967295:dcpav-video-i" and "dispext4294967295:dcpav-audio-i"
13:41povikhaha, i think i have seen those
13:43jannauI see those with the dcp firmware from macos 13.2
13:44jannauat least it's consistent on all afk/epic endpoints now
13:46jannauwith that fixed dp audio still works on the 13.2 fw
13:48jannauI guess we should just ignore '^dispext[0-9]+:' for the service matching
14:16jannaubut there are of course variable length suffixes
14:17jannauI wonder if they fixed this in 13.3 or 13.4 beta
15:05jannauI guess we want to use EPICProviderClass instead of interface-name
15:31user982492 has joined #asahi-dev
15:45mkurz has quit [Ping timeout: 480 seconds]
16:08seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:09seeeath has joined #asahi-dev
16:24user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:27user982492 has joined #asahi-dev
16:33jnn has quit [Remote host closed the connection]
16:34jn has joined #asahi-dev
16:35cylm_ has joined #asahi-dev
16:35seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:36cylm has quit [Ping timeout: 480 seconds]
16:36seeeath has joined #asahi-dev
16:48user982492 has quit [Read error: Connection reset by peer]
16:49user982492_ has joined #asahi-dev
17:57seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:00seeeath has joined #asahi-dev
18:00seeeath has quit []
18:04Urriellu has joined #asahi-dev
18:05seeeath has joined #asahi-dev
18:05seeeath has quit []
18:10seeeath has joined #asahi-dev
18:10seeeath has quit []
18:11seeeath has joined #asahi-dev
18:13Tramtrist has quit [Quit: [TLS] Client upgrade]
18:13Tramtrist has joined #asahi-dev
18:14bcrumb has joined #asahi-dev
18:15elvishjerricco has quit [Ping timeout: 480 seconds]
18:15seeeath has quit []
18:16bcrumb has quit []
18:19jlco has joined #asahi-dev
18:20seeeath has joined #asahi-dev
18:25jlco_ has quit [Ping timeout: 480 seconds]
18:27i509vcb has joined #asahi-dev
18:38elvishjerricco has joined #asahi-dev
18:43seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:43mkurz has joined #asahi-dev
18:57cylm has joined #asahi-dev
19:02cylm_ has quit [Ping timeout: 480 seconds]
20:17cylm has quit [Ping timeout: 480 seconds]
20:18chipxxx has joined #asahi-dev
20:28Urriellu has quit [Ping timeout: 480 seconds]
20:31user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:36Urriellu has joined #asahi-dev
20:50user982492 has joined #asahi-dev
20:54chipxxx has quit [Ping timeout: 480 seconds]
20:55user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:56chipxxx has joined #asahi-dev
20:56user982492 has joined #asahi-dev
21:01user982492 has quit []
21:12chipxxx has quit [Ping timeout: 480 seconds]
21:14chipxxx has joined #asahi-dev
21:14chipxxx has quit [Remote host closed the connection]
21:14chipxxx has joined #asahi-dev
21:31chipxxx has quit [Ping timeout: 480 seconds]
21:32Urriellu has quit [Ping timeout: 480 seconds]
21:34chipxxx has joined #asahi-dev
21:43hightower2 has joined #asahi-dev
21:50Urriellu has joined #asahi-dev
21:57chipxxx has quit [Ping timeout: 480 seconds]
22:02nyilas has quit [Remote host closed the connection]
22:11chipxxx has joined #asahi-dev
22:11chipxxx has quit [Remote host closed the connection]
22:11chipxxx has joined #asahi-dev
22:13darkapex1 has joined #asahi-dev
22:14darkapex has quit [Ping timeout: 480 seconds]
22:22chipxxx has quit [Ping timeout: 480 seconds]
22:24user982492 has joined #asahi-dev
22:27chipxxx has joined #asahi-dev
22:36Urriellu has quit [Ping timeout: 480 seconds]
22:40chadmed has quit [Remote host closed the connection]
22:42chipxxx has quit []
22:43Urriellu has joined #asahi-dev
23:39tobhe has joined #asahi-dev
23:43tobhe_ has quit [Ping timeout: 480 seconds]
23:46nicolas17 has joined #asahi-dev
…