#
…

2021-11-23

00:02gladiac is now known as Guest6553
00:02gladiac has joined #asahi
00:04gladiac is now known as Guest6554
00:04gladiac has joined #asahi
00:07Guest6553 has quit [Ping timeout: 480 seconds]
00:10Guest6554 has quit [Ping timeout: 480 seconds]
00:23jmr2 has quit [Remote host closed the connection]
00:26chamomile has joined #asahi
00:27_chamomile has quit [Ping timeout: 480 seconds]
00:37cth451_desktopI'm not sure if it's just me or Mac OS has HDCP encryption on all the time.
00:38cth451_desktopHooked my mac mini to a hdmi capture card. Even in 1TR the capture card says the signal carries HDCP encrypted conteng.
00:39cth451_desktopbut apparently no such weirdness occurs under m1n1 / linux kernel
00:39gladiac is now known as Guest6556
00:39gladiac has joined #asahi
00:43kode54my HDMI capture card negotiates HDCP
00:43cth451_desktopUgh. Probably should get one that terminates HDCP.
00:44cth451_desktopEven nintendont switch knows that HDCP is only for youtube
00:45kode54I periodically have HDCP negotiation failure with my secondary monitor, resulting in rainbow static
00:45kode54I have to sleep the displays and wake them again when that happens
00:45cth451_desktopThat's annoying
00:45Guest6556 has quit [Ping timeout: 480 seconds]
00:46kode54doesn't happen that often, and usually only when waking from lengthy display sleep
00:46kode54I have system sleep disabled because sleep failures happened occasionally, resulting in watchdog timeouts and kernel panics
00:47cth451_desktopUnder mac os or linux?
00:49kode54I haven't tried running linux on it yet
00:54cth451_desktop(if that sounds a bit ridiculous
00:55cth451_desktop* if that's mac os it sounds
01:12gladiac is now known as Guest6559
01:12gladiac has joined #asahi
01:15gladiac is now known as Guest6560
01:15gladiac has joined #asahi
01:18Guest6559 has quit [Ping timeout: 480 seconds]
01:21Guest6560 has quit [Ping timeout: 480 seconds]
01:50gladiac is now known as Guest6563
01:50gladiac has joined #asahi
01:56Guest6563 has quit [Ping timeout: 480 seconds]
02:39gabuscus_ has joined #asahi
02:46gabuscus has quit [Ping timeout: 480 seconds]
02:49Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
02:54gladiac is now known as Guest6569
02:54gladiac has joined #asahi
03:00Guest6569 has quit [Ping timeout: 480 seconds]
03:01skipwich has quit [Quit: DISCONNECT]
03:01skipwich has joined #asahi
03:14PhilippvK has joined #asahi
03:15coderobe has quit [Quit: '); DROP TABLE users;--]
03:17coderobe has joined #asahi
03:18phiologe has quit [Ping timeout: 480 seconds]
03:42jmr2 has joined #asahi
03:44jmr2 has quit []
03:50kov has quit [Quit: Coyote finally caught me]
03:54cth451_desktopI guess M1 minis would not have sound over HDMI until GNU driver gets fully implemented?
04:06ServerStatsDiscoverertraveler4 has left #asahi [#asahi]
04:23marvin24_ has joined #asahi
04:25gabuscus has joined #asahi
04:25gabuscus_ has quit [Read error: Connection reset by peer]
04:27marvin24 has quit [Ping timeout: 480 seconds]
04:40loki_val has joined #asahi
04:43crabbedhaloablut has quit [Ping timeout: 480 seconds]
05:00c10l has quit [Quit: The Lounge - https://thelounge.chat]
05:00c10l has joined #asahi
05:07kov has joined #asahi
05:10chadmed has quit [Quit: Konversation terminated!]
05:28yuyichao_ has joined #asahi
05:31aeroraptor has quit [Read error: Connection reset by peer]
05:31aeroraptor has joined #asahi
05:37daniels has quit [Ping timeout: 480 seconds]
05:38daniels has joined #asahi
05:48VinDuv_ has joined #asahi
05:52VinDuv has quit [Ping timeout: 480 seconds]
05:52VinDuv_ is now known as VinDuv
06:58the_lanetly_052 has joined #asahi
07:39reillyeon has quit [Quit: The Lounge - https://thelounge.github.io]
07:39reillyeon has joined #asahi
07:47chamomile has quit [Ping timeout: 480 seconds]
08:12austriancoder has quit [Read error: Connection reset by peer]
08:13austriancoder has joined #asahi
08:36jncth451_desktop: i find that unlikely. in ARM SoCs, the different parts that would make up a desktop graphics card (3D engine, display controller, audio stuff) are usually dissolved, independent components
08:37jnfor example, there is already a working display controller driver, even though the GPU (3D) driver wasn't started
08:38jnin the same way, i guess the audio-over-HDMI driver could be finished independently of any GPU functionality
08:38cth451_desktopAh thanks for the explanation
08:38cth451_desktopSounds like it would be an independent digital audio output device
08:39cth451_desktopand the audio would get muxed in by some sort of HDMI controller
08:40jnthis last step might involve the display controller
08:40jnnot sure
08:46svenpossibly even the mess that will be the type c phy (atc-phy)
09:02Dcow has joined #asahi
09:08chadmed has joined #asahi
09:25steev has quit [Read error: Connection reset by peer]
09:25steev has joined #asahi
09:29cth451_desktop has quit [Remote host closed the connection]
09:34crabbedhaloablut has joined #asahi
09:36gabuscus has quit [Ping timeout: 480 seconds]
09:37loki_val has quit [Ping timeout: 480 seconds]
09:41loki_val has joined #asahi
09:44crabbedhaloablut has quit [Ping timeout: 480 seconds]
10:34minecrell has quit [Quit: :( ]
10:47kenzie41 has quit []
10:48kenzie41 has joined #asahi
11:16minecrell has joined #asahi
11:27minecrell has quit [Quit: :( ]
11:30minecrell has joined #asahi
11:40chamomile has joined #asahi
11:48chamomile has quit [Ping timeout: 480 seconds]
11:56Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
12:05gabuscus has joined #asahi
12:09Dcow has joined #asahi
12:16chadmed has quit [Quit: Konversation terminated!]
12:41marcanthe HDCP thing is a longstanding macos stupidity
12:42marcanit greedily enables HDCP, always, if the sink supports it
12:42marcanwhich means that capture cards that have HDCP for passthrough only are unusable with macOS
12:42marcanI had to get an HDCP stripper for the Euskal Encounter streaming/capture rig for this reason. dude showed up with a Mac and we couldn't capture it.
12:45marcanHDMI audio on the Mini would not involve ATC
12:45marcanthere are some dpaudio blocks IIRC which I assume are in charge of this
12:45marcannot sure if they hook up to the MCA audio stuff or are independent
12:51mini has quit [Quit: ZNC closing...]
12:51povikmarcan: seems they are independent. the sio coprocessor is involved for dma, so it is a different path altogether
12:53svendid you look into sio in detail? i'm curious if it's really just a co-processor that just reades/writes the registers in busy loops and then pretends it's actually DMA for the main CPU
12:53mini has joined #asahi
12:53povika little at the very beginning, before i realized sio is not in the loop for the speaker :D
12:53svenfair :D
12:54sveni know it's also involved in what macOS claims to be SPI DMA
12:54svenbut i kinda suspect it really just uses the normal SPI regs to allow off-loading the busy loop
12:54poviki didn't even succeed in getting a sign of life back then, although i didn't spend much time at it
12:54povikhm, interesting
13:06marcansven: and yeah, I strongly suspect sio is just that
13:06marcanthe firmware just has a pile of strings for each of the generic serial interfaces
13:06marcanand is otherwise quite tiny
13:06svenyeah, exactly
13:07svenand the protocol seems to be just sending a message with a IOVA, a size and some flags afaict
13:07j_eysounds Very Smart
13:07svenwhich really smells like "just read data from $interface and put it into $buffer"
13:07marcanwhy have 500 lines of verilog to do DMA when you can have a whole ARMv8-A CPU!
13:08sailorek1234 has joined #asahi
13:12bingoChecker has joined #asahi
13:26nkaretnikov has quit [Read error: Connection reset by peer]
13:26nkaretnikov has joined #asahi
13:36Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
13:52WhyNotHugo has quit [Read error: Connection reset by peer]
13:52WhyNotHugo has joined #asahi
14:03aleasto has joined #asahi
14:15Dcow has joined #asahi
14:15Dcow has quit []
14:16sailorek1234 has quit []
14:33jbowen has joined #asahi
14:37yuyichao_ has quit [Ping timeout: 480 seconds]
14:54yuyichao_ has joined #asahi
15:13Dcow has joined #asahi
15:31the_lanetly_052 has quit [Remote host closed the connection]
15:37leo60228are the progress reports still monthly? i've been looking forward to the october one
15:55leo60228_ has joined #asahi
15:59marcanin theory... once I catch up on kernel stuff...
15:59marcanoctober was busier than usual
16:05leo60228_ has quit [Quit: leaving]
16:06Ariadne has quit [Ping timeout: 480 seconds]
16:06jkkm has quit [Ping timeout: 480 seconds]
16:06austriancoder has quit [Ping timeout: 480 seconds]
16:06arnd_ has quit [Read error: Connection reset by peer]
16:06cptcobalt has quit [Ping timeout: 480 seconds]
16:06jabashque has quit [Ping timeout: 480 seconds]
16:06austriancoder has joined #asahi
16:06arnd_ has joined #asahi
16:07Chainsaw has quit [Ping timeout: 480 seconds]
16:07Ariadne has joined #asahi
16:07jabashque has joined #asahi
16:07jkkm has joined #asahi
16:08cptcobalt has joined #asahi
16:08Darksecond has quit [Quit: The Lounge - https://thelounge.chat]
16:08Chainsaw has joined #asahi
16:08Darksecond has joined #asahi
16:11Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
16:15as400 has joined #asahi
16:17Dcow has joined #asahi
16:17as400I have another question - I'm reading the channel for a few days what gives me an idea what is happening. But one thing is a mystery for me. What is the current status of gpu drivers ? Asking because I don't know - should I buy macbook now or wait ?
16:17j_eythere's no kernel side GPU driver
16:19as400ok - I guess this is one of the biggest challenges ?
16:20jnrather, as i understand it, it's something that noone has seriously started yet
16:22jn(the userspace (mesa) side is a different question — it already works, but only on macos)
16:22JTLthat's what I was about to say :P
16:23as400ok - thx for the info.
16:24jnas400: and display output is yet another question
16:25jnsimple (not non-ideal) display output has worked almost since the beginning, better display output (using the DCP driver) is somewhere close to done too, i thin
16:26jns/not/but/
16:26as400ok, display output is separate from gpu itself, right ?
16:34opticronIIRC, alyssa (the person that did the userland GPU shader compiler work) has been dogfooding either the air or the 13" MBP and runs a full desktop env
16:35opticronand has nothing but good things to say about it even without GPU acceleration
16:38as400Nice. I'm thinking of macbook as it seems to be really great piece of hardware engineering.
16:39as400I obviously will not use macos so will have to wait for Linux. That's why I'm asking these questions.
16:39as400It would be just stupid to buy it and then put it away.
16:40opticronI'm of the same opinion
16:40opticronI'm going to get a 14" probably M1P model in the near future as my daily driver and I don't even really care about GPU for the most part
16:42as400Well - I use my private laptop for work. So I have to go on a teams meeting from time to time and stuff like that. I wonder how things like that would work without gpu acceleration.
16:43j_eypretty sure alyssa was watching 1080p videos without gpu accel
16:43as400j_ey - really ? And it just worked ?
16:44as400Now i'm shocked. On an average x86 box without vaapi enabled CPU is just going mad.
16:44_jannau_software decoding/encoding should not be problem
16:45opticronalso, video decoding is a separate engine from GPU
16:46_jannau_what do you mean with mad? a running fan? software decoding is for x86 CPU also not a problem
16:47_jannau_the M1 Pro/Max can decode higher bitrate 4k AV1 video with ~300fps
16:48as400jannau: I mean with vaapi enabled my x86 laptop cpu's are doing almost nothing - like few percent of utilization. Without it utilization goes up to 70% with 1080p60
16:48chamomile has joined #asahi
16:49_jannau_I however don't think HW support is yet far enough to be used normal notebook
16:51as400 jannau: that's why I'm asking these questions - just to make some wise decisions. Although I would like to have it now :)
16:51_jannau_70% seems high for 1080@60 but without details CPU, video codec and bitrate it's impossible to say anything
16:51Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
16:52Dcow has joined #asahi
16:53as400It's ryzen 4800U - don't remember a codec.
16:58_jannau_the 70% were on a single CPU core? we're drifting into off-topic though. SW decoding works but can use quite a lot of CPU. that's the reason why there are accelerators for video decoding
17:03Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
17:05as400 has left #asahi [#asahi]
17:12leo60228jn: "rather, as i understand it, it's something that noone has seriously started yet" i feel like alyssa was tweeting about basic compute shaders working a day or two ago? i thought she meant on linux but mb she meant that she was implementing compute shaders in mesa
17:14leo60228actually i think she was maybe debugging compute shaders on mali?
17:15j_eyyeah that was about panfrost
17:20_chamomile has joined #asahi
17:20svenyeah, no one has started to look at the kernel side yet
17:20Dcow has joined #asahi
17:20sventhere's still enough other stuff to be done to make upstream useable on these machines
17:23mpsI contemplated about 9-10 months to buy or not buy m1 macbook as daily driver machine and finaly bought it, running linux in qemu VM on macos for now
17:25mpsmain reason for me is the good display and not mirrors (practically) as I have on my two chromebooks which are unusable outside room
17:26chamomile has quit [Ping timeout: 480 seconds]
17:28mpsI'm only missing sound card driver to switch to using linux daily instead to boot macos
17:29mpsapple software is terrible for me but hardware is good enough
17:35bingoChecker has quit [Quit: Leaving]
17:44gladiac has quit [Quit: k thx bye]
17:44gladiac has joined #asahi
17:46Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
17:46X-Scale has joined #asahi
17:49X-Scale` has quit [Ping timeout: 480 seconds]
17:54fredix771 has joined #asahi
18:05fredix771 has quit [Ping timeout: 480 seconds]
18:05jbowen has quit [Read error: Connection reset by peer]
18:28Dcow has joined #asahi
18:30cth451_desktop has joined #asahi
18:30aleasto has quit [Quit: Konversation terminated!]
18:31aleasto has joined #asahi
18:54nafod has quit [Remote host closed the connection]
19:10nafod has joined #asahi
19:10nafod has quit [Remote host closed the connection]
19:12nafod has joined #asahi
19:27firefox317_ has joined #asahi
19:43marcanI don't even expect the GPU kernel driver to be that hard to write, but yeah, we just have enough other stuff on our plate right now
20:09aleasto has quit [Remote host closed the connection]
20:09firefox317_ has quit [Quit: Page closed]
21:35krbtgtGPU driver will the cherry on top
21:35krbtgtnot the whole cake
21:37gabuscus_ has joined #asahi
21:40gabuscus has quit [Ping timeout: 480 seconds]
21:52m6wiq has joined #asahi
22:26m6wiq has quit [Quit: Leaving]
22:33phiologe has joined #asahi
22:35PhilippvK has quit [Read error: No route to host]
23:42yuyichao_ has quit [Ping timeout: 480 seconds]
…