2022-01-23
00:07thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
00:10aleasto has quit [Remote host closed the connection]
00:14vx has quit [Server closed connection]
00:14vx has joined #asahi
00:16KDDLB has quit [Server closed connection]
00:16KDDLB has joined #asahi
00:16leo60228- has quit [Server closed connection]
00:17leo60228 has joined #asahi
00:19user982492 has joined #asahi
00:22tertu2 has quit [Server closed connection]
00:22tertu has joined #asahi
00:27tbodt_ has quit [Server closed connection]
00:27tbodt has joined #asahi
00:31thevar1able has joined #asahi
00:44thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
00:49thevar1able has joined #asahi
01:07thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
01:17user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:27thevar1able has joined #asahi
02:00yamii has quit [Quit: WeeChat 3.3]
02:02aead has quit [Server closed connection]
02:03aead has joined #asahi
02:06ihaveamac has quit [Server closed connection]
02:06ihaveamac has joined #asahi
02:12user982492 has joined #asahi
02:20thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
02:25aa has joined #asahi
02:26aa has quit [Remote host closed the connection]
02:28jbowen has quit [Quit: leaving]
02:30Method has quit [Server closed connection]
02:31Method has joined #asahi
02:34skipwich has quit [Server closed connection]
02:34skipwich has joined #asahi
02:37emptynine has quit [Server closed connection]
02:37emptynine has joined #asahi
02:42nafod has quit [Server closed connection]
02:42nafod has joined #asahi
02:43user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:47thevar1able has joined #asahi
02:57user982492 has joined #asahi
03:04krbtgt has quit [Server closed connection]
03:04krbtgt has joined #asahi
03:05tmlind has quit [Server closed connection]
03:05tmlind has joined #asahi
03:15bdju has quit [Server closed connection]
03:15bdju has joined #asahi
03:20opticron has quit [Server closed connection]
03:20opticron has joined #asahi
03:23PhilippvK has joined #asahi
03:26phiologe has quit [Ping timeout: 480 seconds]
03:59kov has quit [Quit: Coyote finally caught me]
03:59kov has joined #asahi
04:01rbenua has quit [Server closed connection]
04:01rbenua has joined #asahi
04:01klange has quit [Server closed connection]
04:01klange has joined #asahi
04:09gruetzkopf has quit [Server closed connection]
04:09gruetzkopf has joined #asahi
04:24balrog has quit [Server closed connection]
04:26balrog has joined #asahi
04:31mps has quit [Ping timeout: 480 seconds]
05:01user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:11thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
05:27vnogueira has quit [Ping timeout: 480 seconds]
06:00TheFirst has quit [Server closed connection]
06:00TheFirst has joined #asahi
06:07jeffmiw has quit [Remote host closed the connection]
06:08jeffmiw has joined #asahi
06:17linuxgemini has quit [Server closed connection]
06:17linuxgemini has joined #asahi
06:23akemin_dayo has quit [Ping timeout: 480 seconds]
06:35kallsyms has quit [Server closed connection]
06:35kallsyms has joined #asahi
06:36rossy has quit [Server closed connection]
06:36rossy has joined #asahi
06:44mps has joined #asahi
07:23Chinese_soup has quit [Server closed connection]
07:24Chinese_soup has joined #asahi
08:15djsrv has quit [Server closed connection]
08:17djsrv has joined #asahi
08:48mustache_ride___ has quit [Server closed connection]
08:48mustache_ride___ has joined #asahi
08:50enomem has quit [Server closed connection]
08:50enomem has joined #asahi
09:11eichin has quit [Server closed connection]
09:11eichin has joined #asahi
09:28ovf has quit [Server closed connection]
09:28ovf has joined #asahi
09:29thevar1able has joined #asahi
09:31espo has joined #asahi
09:55esden has quit [Server closed connection]
09:55esden has joined #asahi
09:56thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
10:01ZLSA has quit [Server closed connection]
10:01ZLSA has joined #asahi
10:25steev has quit [Server closed connection]
10:25steev has joined #asahi
10:28aleasto has joined #asahi
10:44austriancoder has quit [Server closed connection]
10:44austriancoder has joined #asahi
10:46gabuscus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
10:46gabuscus has joined #asahi
11:06pFalken has quit [Server closed connection]
11:06pFalken has joined #asahi
11:12espo has quit [Remote host closed the connection]
11:22stblassitude has quit [Server closed connection]
11:22stblassitude has joined #asahi
11:38maennich has quit [Server closed connection]
11:38maennich has joined #asahi
11:38Ariadne has quit [Server closed connection]
11:39Ariadne has joined #asahi
11:57akemin_dayo has joined #asahi
12:28philpax_ has quit [Server closed connection]
12:28philpax_ has joined #asahi
12:36jabashque_ has quit [Server closed connection]
12:36jabashque_ has joined #asahi
12:42tardyp has quit [Server closed connection]
12:42tardyp has joined #asahi
13:02psykose has quit [Remote host closed the connection]
13:07psykose has joined #asahi
13:13Vaughn has quit [Server closed connection]
13:13Vaughn has joined #asahi
13:26thevar1able has joined #asahi
13:33gladiac has quit [Read error: Connection reset by peer]
13:35gladiac has joined #asahi
13:37yamii has joined #asahi
13:45thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
13:50thevar1able has joined #asahi
13:59thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
14:22thevar1able has joined #asahi
14:25MajorBiscuit has joined #asahi
14:26MajorBiscuit has quit []
14:34thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
14:36Jamie[m]1some failing to decode in a case where ffmpeg would recover, some with differences in decoded output
14:37StupidYui has joined #asahi
14:41jannauJamie[m]1: what do you mean with recover? I wouldn't expect tests with brokens bitstream to behave the same with hw-accel
14:48Jamie[m]1I've just been looking at h.264, https://gist.github.com/JJJollyjim/0e071fb1af446441139e5b388c075015
14:49* Jamie[m]1uploaded an image: (168KiB) < https://matrix.org/_matrix/media/r0/download/memes.nz/hiypPhEVGWrTAeKCgipNSqch/Screen%20Shot%202022-01-24%20at%203.49.18%20AM.png >
14:49Jamie[m]1I converted one of them to sequence-of-pnm with both decoders and diffed them, it is indeed subtly different
14:50Jamie[m]1(and it isn't just a frame-sequence-off-by-one thing, no pairs of frames match up across the hw and sw runs)
14:51Jamie[m]1In the case of brokensps, The filters 'graph 0 input from stream 0:0' and 'Parsed_format_0' do not have a common format and automatic conversion is disabled. Error Reinitializing filters.
14:51Jamie[m]1In the case of all(?) the others that fail to produce frames, it's [h264 @ 0x137e0ebc0] hardware accelerator failed to decode picture
14:53thevar1able has joined #asahi
14:54jannauI would not expect a full bitstream HW decoder to produce bit-exact (or any at all) output with a sample with a broken SPS
14:56jannauI don't remember what the conformance samples are testing, it's possible that they require features not supported by the HW decoder but the list is longer than what I woud expect
14:57jannauthe samples with pixel differences are unexpected, either something wrong in how ffmpeg uses vtb or vtb does some addtional processing
15:03skoobasteeve_ has quit [Server closed connection]
15:03skoobasteeve has joined #asahi
15:06raiaq_ has quit [Remote host closed the connection]
15:06raiaq has joined #asahi
15:12Jamie[m]1and for vp9, none fail outright, but 158 produce incorrect output, and 1 fails early after only 3 frames
15:12raiaq has quit [Remote host closed the connection]
15:12raiaq has joined #asahi
15:15* Jamie[m]1uploaded an image: (414KiB) < https://matrix.org/_matrix/media/r0/download/memes.nz/LzPTyJzJBhoQZngoJASDRzXT/Screen%20Shot%202022-01-24%20at%204.15.41%20AM.png >
15:23JTL has quit [Server closed connection]
15:23JTL has joined #asahi
15:25raiaq has quit [Remote host closed the connection]
15:25raiaq has joined #asahi
15:48jannauJamie[m]1: the problem for h264-conformance-aud_mw_e is that VTB outputs nv12 instead of yuv420
16:00jkkm has quit [Server closed connection]
16:00jkkm has joined #asahi
16:08ciggi has quit [Ping timeout: 480 seconds]
16:08ciggi has joined #asahi
16:16akemin_dayo has quit [Ping timeout: 480 seconds]
16:21___nick___ has joined #asahi
16:21___nick___ has quit []
16:22___nick___ has joined #asahi
16:23ids1024 has quit [Server closed connection]
16:23ids1024 has joined #asahi
16:27thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
16:32user982492 has joined #asahi
16:39jabashque_ is now known as jabashque
16:47thevar1able has joined #asahi
17:14akemin_dayo has joined #asahi
17:30NekomimiScience has quit [Server closed connection]
17:30NekomimiScience has joined #asahi
17:31nkaretnikov has quit [Server closed connection]
17:31nkaretnikov has joined #asahi
17:35saintdev_ has quit [Server closed connection]
17:35saintdev_ has joined #asahi
17:37thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
17:40cptcobalt has quit [Server closed connection]
17:40cptcobalt has joined #asahi
18:24eroux has joined #asahi
18:24sorear has quit [Server closed connection]
18:24sorear has joined #asahi
18:28aeroraptor has quit [Server closed connection]
18:28aeroraptor has joined #asahi
18:32snek has quit [Server closed connection]
18:32snek has joined #asahi
18:33user982492 has quit [Remote host closed the connection]
18:33user982492 has joined #asahi
18:38DarkShadow4444 has quit [Quit: ZNC - https://znc.in]
18:38DarkShadow44 has joined #asahi
18:43Glanzmannjannau: Is the dcp driver in a state that I can try it on my mini or should I wait? Does it have hdmi replug support? Does screenblanking work? Have you tried rotation?
18:50malvo has quit [Ping timeout: 480 seconds]
18:51amarioguy has joined #asahi
18:56user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:04amarioguy has quit [Ping timeout: 480 seconds]
19:11sjg1 has quit [Server closed connection]
19:11sjg1 has joined #asahi
19:15taowa_ has quit [Server closed connection]
19:15taowa_ has joined #asahi
19:20jannauGlanzmann: now that that m1n1 inits the display there is no reason to use the dcp in itss current state
19:24jannaureplugging is still broken, screen blanking is powering the display off? if so it doesn't work. it dims my display thoguh
19:29amarioguy has joined #asahi
19:32arnd_ has quit [Server closed connection]
19:32arnd_ has joined #asahi
19:47Glanzmannjannau: I see. I also used the dcp driver to set the right resolution and to rotate my screen 90 degrees.
19:55aleasto has quit [Remote host closed the connection]
20:01Glanzmannjannau: How does the screen dimming work, is that done automatically or is there some magic userland utility for it?
20:04Glanzmannjannau: Also, what is the best way to build it, should I pull https://github.com/jannau/linux/tree/bits/200-dcp into asahi + the two spi patches + poviks sound patch?
20:08ChaosPrincessfor dcp driver, how to make sure the display is going via dcp, not efi framebuffer
20:13jannauGlanzmann: use asahi-dcp, it also needs patches for rtkit and nvme (dependency of the rtkit changes)
20:13ChaosPrincessno, not what config it is, how to verify that it actually started and working
20:14ChaosPrincessnot what i am asking
20:14ChaosPrincessok, ty
20:15jannauthe dcp driver will take over control from simpledrm, not sure how that works. tested with simpledrm compiled in and dcp as module
20:16ChaosPrincessjannau: also, does asahi-dcp include sound patches?
20:22eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:40robher has quit [Server closed connection]
20:40robher has joined #asahi
20:42Glanzmannjannau: Xorg does not start for me, IIRC this looks like the colorspace mapping issue? https://pbot.rmdir.de/kx4d-RDSCZJcGIFvB3rbig
20:44rann has quit [Server closed connection]
20:45rann has joined #asahi
20:47aleasto has joined #asahi
20:48ciggi has quit [Remote host closed the connection]
20:49Glanzmannjannau: What I did is, I booted up and it started x, than I stopped x, rmmod simpledrm and loaded appledrm and tried to start x again.
20:53ChaosPrincessalso trying the kernel with dcp, ran xrandr -q, does not look like it is using dcp
20:56Glanzmannjannau: I stopped x, rmmod simpledrm, loaded 'apple': https://pbot.rmdir.de/c-8-3VyT5uw1anRKi3ijTQ Still no /dev/dri and no x: https://pbot.rmdir.de/or1MymoBQ0JxHOF1w3ynrg
20:56aleasto has quit [Remote host closed the connection]
20:58Glanzmannjannau: For me it might be, because I edited the kernel config manually and as a result have no DRM_KMS_CMA_HELPER, rebuilding.
20:58aleasto has joined #asahi
21:00jannaualso make sure you're you have f9753ef3e94eb416dbe017c88f8939d2fc3f0f28 in your dts if you don't use the kernel one
21:07Glanzmannjannau: I now tried to compile it in, still same error, no /dev/dri and no dcp dmesg output. I'll take u-boot out of the picture and use the device tree from the kernel.
21:07___nick___ has quit [Ping timeout: 480 seconds]
21:08jannaubooting via u-boot is fine but the embedded dtbs need to have the additional nodes from the kernel
21:15Glanzmannjannau: Hmmm. I tried to boot the same kernel using m1n1, and it kind of works, except that I have no video output.
21:15GlanzmannI see the m1n1 asahi logo with a black background and in the top left three pixels in the first row that look greenish.
21:16GlanzmannBut I can ssh to the system and see: https://pbot.rmdir.de/uWN2cInZVLez3w490lkgjw still no https://pbot.rmdir.de/M0M2TjIQ3ky8JHzA-E_GNA
21:17GlanzmannI used the following command line to boot: M1N1DEVICE=/dev/ttyACM0 proxyclient/tools/linux.py --bootargs="rw root=/dev/nvme0n1p5 rootwait rootfstype=ext4" Image.gz t8103-j274.dtb
21:18GlanzmannProbably this is the issue: [ 2.530569] apple-dcp 231c00000.dcp: received unknown callback D119
21:26jannauyes, "received unknown callback D119" explains why it doesn't work, it should be "D119": "bool UnifiedPipeline2::detect_fastsim()", whatever that is
21:28zopieux has quit [Ping timeout: 480 seconds]
21:30Glanzmannjannau: Do you have a kernel binary and a dtb or a config that I can try, just to make sure that I did not screw up the build?
21:30zopieux has joined #asahi
21:31Glanzmannjannau: Okay, I do not recall which version I used on the mini, so I'll quickly run the asahi installer and try again. Just to make sure that this is not the issue.
21:31amarioguy has quit [Remote host closed the connection]
21:33jannauit would also explain the unknown callback, apple inserted a callback before D119 and with macos 12 we are expecting D120/read_edt_data
21:37jannausure. please use macOS 12.x, this was just a quick thing to test without going through recovery
21:43vmeson has quit [Quit: Konversation terminated!]
21:49jannauis 12.2 out or does Apple ommit release candidate in "software update"? updating from 12.2 beta 2
21:49roxfan2 has quit [Ping timeout: 480 seconds]
21:57jannaudcp crashes early on "2.771400] apple-dcp 231c00000.dcp: RTKit: co-processor has crashed." nothing will work after that
21:57GlanzmannI see. I think I call it a day and go to bed. Tomorrow I'll try other monitors and report back.
21:59Glanzmannjannau: Thank you for helping me get this far. Maybe it will work with another monitor.
22:04tpw_rules has joined #asahi
22:13vmeson has joined #asahi
22:31boardwalk has quit [Server closed connection]
22:31boardwalk has joined #asahi
22:36artemist has quit [Server closed connection]
22:36artemist has joined #asahi
22:43jmr2 has joined #asahi
22:46jmr2jannau: 12.2 ReleaseCandidate is available if you're running the beta. Once installed, the about box looks like an official release. If you're not running the beta, it's not available yet.
22:49jannauI was aware that that the release candidate was out just confused that it looked like final release
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:01yrlf has joined #asahi
23:04aleasto has quit [Quit: Konversation terminated!]
23:34jmr2 has quit [Quit: Page closed]