#
…

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]1hmm, a good fraction of ffmpeg's decode tests fail on my macbook with hwaccel enabled
14:36marcanon macos?
14:36Jamie[m]1some failing to decode in a case where ffmpeg would recover, some with differences in decoded output
14:36Jamie[m]1marcan: yeah just videotoolbox
14:37StupidYui has joined #asahi
14:37marcaninteresting
14:37marcanI think rcombs worked on some of that?
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:44jannauwhich codecs have non bit-exact frames? just a certain frames or all frames
14:46jannauJamie[m]1: are any of the fate-h264-conformance tests failing?
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:55Jamie[m]1what about the conformance ones though?
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:57Jamie[m]1in that case, is it a bug that ffmpeg is delegating incompatible videos to hardware?
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:08Jamie[m]1for hevc: 172 fail outright, 96 produce different output, out of a total 383
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:15Jamie[m]1again in vp9, minor differences are visible
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:40TheLinkusac decoding also broke in ffmpeg
15:40TheLinkkode54 provided a patch, not sure if that's already been upstreamed
15:48jannauJamie[m]1: the problem for h264-conformance-aud_mw_e is that VTB outputs nv12 instead of yuv420
15:48jannauI suspect that will be try for other samples as well
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:16marcanah, colorspaces
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:47GlanzmannBut I'll try with m1n1 first.
19:55aleasto has quit [Remote host closed the connection]
19:57jannauGlanzmann: rotation works but won't with m1n1 alone
19:59jannausetting the resolution should work as well if screen is not full HD
20:01Glanzmannjannau: My screen is not full hd but, 2560x1440. Than maybe I try it.
20:01Glanzmannjannau: How does the screen dimming work, is that done automatically or is there some magic userland utility for it?
20:01GlanzmannI assume that this is for the laptops, correct?
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:13GlanzmannChaosPrincess: DRM_APPLE
20:13ChaosPrincessno, not what config it is, how to verify that it actually started and working
20:13GlanzmannChaosPrincess: CONFIG_DRM_APPLE
20:14GlanzmannChaosPrincess: You start X and call xrandr -q
20:14ChaosPrincessnot what i am asking
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:24jannauChaosPrincess: it is asahi + dcp (+ spi hid patches)
20:24jannauGlanzmann: try again, I forgot to push
20:25Glanzmannjannau: THank you.
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:42GlanzmannI assume, you use wayland and not Xorg, correct?
20:44rann has quit [Server closed connection]
20:45rann has joined #asahi
20:47aleasto has joined #asahi
20:47jannauxorg works well enough for sddm here. can you check if there's anything in /dev/dri/
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:49Glanzmannjannau: /dev/dri does not exist.
20:49jannaudmesg | grep dcp
20:50Glanzmanndmesg | grep dcp is empty.
20:51jannaumodule name is just "apple" and not appledrm if I'm not mistaken
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:01jannauin doubt try to build the kernel with apple-drm built-in
21:02Glanzmannjannau: I boot using u-boot.
21:02GlanzmannI'll compile it in.
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:08Glanzmannjannau: I see. If it works with m1n1 I'll try that.
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: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:18GlanzmannI have two other monitors that I could try.
21:20Glanzmann/dev/dri is empty.
21:20GlanzmannOr to be precise, the directory does not exist.
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:29Glanzmannjannau: I see, might it be possible that I setup the wrong version of the sub os?
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:30jannauit is, dcp needs macos 12.x
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:34jannauyou could also revert bcc0fa44ebd5ce11c2b1964b0952cf918965f5b1
21:35jannauthat should have the same level of support on macOS 11.[4-6] stubs
21:35GlanzmannI see. I already deted the stub partition and booting macos, will only take a second.
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:52Glanzmannjannau: To my knowledge it does not omit.
21:53Glanzmannjannau: I get no software updates offered, but I was not on a beta.
21:54Glanzmannjannau: I updated the stub os, now my system appears to be crashing.
21:54GlanzmannScreen turns off, no ssh login possible.
21:55GlanzmannOkay, it does not crash but oops a lot: https://pbot.rmdir.de/MOMacBt7VsfmysEnC74MQQ
21:55GlanzmannThis is with 12.0.1
21:56Glanzmannjannau: And I have /dev/dri/
21:56Glanzmannjannau: Xorg runs, but I don't see anything.
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:00Glanzmannjannau: What resolutions did you try?
22:04tpw_rules has joined #asahi
22:08jannau1920x1080 and 1600x1200
22:13vmeson has joined #asahi
22:13tpw_rulesGlanzmann: are you around?
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:00jmr2Agreed. First time I'm running the beta, so I had the same confusion.
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]
…