2023-05-16
00:04bisko has quit [Ping timeout: 480 seconds]
00:08bisko has joined #asahi-dev
00:10nsklaus has quit [Ping timeout: 480 seconds]
00:16bisko has quit [Ping timeout: 480 seconds]
00:21drubrkletern has quit [Remote host closed the connection]
00:43bisko has joined #asahi-dev
00:52bisko has quit [Ping timeout: 480 seconds]
00:56bisko has joined #asahi-dev
01:04bisko has quit [Ping timeout: 480 seconds]
01:08bisko has joined #asahi-dev
01:16bisko has quit [Ping timeout: 480 seconds]
01:21bisko has joined #asahi-dev
01:33bisko has quit [Ping timeout: 480 seconds]
01:38bisko has joined #asahi-dev
01:46bisko has quit [Ping timeout: 480 seconds]
01:47bisko has joined #asahi-dev
01:55bisko has quit [Ping timeout: 480 seconds]
01:56bisko has joined #asahi-dev
01:59jeisom has joined #asahi-dev
02:00gabuscus has quit []
02:04bisko has quit [Ping timeout: 480 seconds]
02:04mlp has quit [Read error: No route to host]
02:18gabuscus has joined #asahi-dev
02:23bisko has joined #asahi-dev
02:41Mary has quit [Quit: The Lounge - https://thelounge.chat]
02:41Mary has joined #asahi-dev
02:50bisko has quit [Ping timeout: 480 seconds]
03:14bisko has joined #asahi-dev
03:33bisko has quit [Ping timeout: 480 seconds]
03:33bisko has joined #asahi-dev
03:48bisko has quit [Ping timeout: 480 seconds]
04:01bisko has joined #asahi-dev
04:13dylanchapell has joined #asahi-dev
05:00crabbedhaloablut has quit [Read error: No route to host]
05:02crabbedhaloablut has joined #asahi-dev
05:45sarucchi has joined #asahi-dev
05:54bisko has quit [Ping timeout: 480 seconds]
05:58bisko has joined #asahi-dev
06:06bisko has quit [Ping timeout: 480 seconds]
06:08bisko has joined #asahi-dev
06:30chadmed_ has quit [Quit: Page closed]
06:37bisko has quit [Ping timeout: 480 seconds]
06:42bisko has joined #asahi-dev
06:54sarucchi has quit [Ping timeout: 480 seconds]
07:16bisko has quit [Ping timeout: 480 seconds]
07:17bisko has joined #asahi-dev
07:38bisko has quit [Ping timeout: 480 seconds]
07:47chadmed has quit [Remote host closed the connection]
08:20jannauchadmed: only yuv format I tested so far is iirc "v024". it will need more setup in iomfb.c since it is multi-planar
08:24bisko has joined #asahi-dev
08:34chadmed has joined #asahi-dev
08:35chadmedmpv definitely uses the hardware planes properly and kwin knows about them but just ignores them
08:36chadmedno errors or anything, it knows theyre there and enumerates their supported formats etc properly. it just doesnt use them at all
08:40jannauI'm unsure about the state of direct scan-out for overlay planes kwin_wayland. I think it worked at some point for yuv but I don't think itworks at the moment. it should work in weston
08:41jannaunot sure if mpv automatically tries to use it though. it's probably pointless with vo opengl
08:44jannaumore or less, I wanted to try what happens if I reject a too far off-screen cursor in atomic_check but I would expect all kninds of broken desktops
08:44chadmedmpv by default only uses one plane, i forced it by passing --drm-drmprime-video-plane=primary --drm-draw-plane=overlay
08:44gordonfreeman has joined #asahi-dev
08:47jannauI don't see a way to support hw cursors if we don't have a way to communicate to userspace that we need 31 pixel padding left and right of the cursor
08:52jannauanother problem with hw cursor support is that we might need to use plane[1] for cursor. I don't remember if I tricked myself with the fake argb2101010 support of if blending plane[2] onto plane[1] didn't support transparency
08:57jannauno, the issue is that plane[0] seems to support only apple's wide RGB colorspace for 10-bit pixelformats
09:07jannaumarcan: hw cursor support with copying when the cursor is too far off-screen is probably still a performance/power improvement even if it is usgly
09:11marcanyeah, probably worth it with a limited plane dimension to make sure compositors don't try to use it for non-cursor things?
09:12chadmed has quit [Remote host closed the connection]
09:18ChaosPrincesswrt in-kernel padding - i ended up doing that in touchbar controller driver since it only supports vertical strides that are mod 64, and the display is only 60px tall, so you wouldnt be alone in that.
09:19chadmed has joined #asahi-dev
09:21chadmedthere are a bunch of MRs in kde's gitlab that reference some sort of prepatory effort to support overlay planes "properly" but the effort seems to have been deserted with little fanfare
09:24_jannau_ChaosPrincess: you should be able to enforce that. stride alignment of 8 or 16 pixels is not uncommon. I thought the default dumb_buffer allocation does that already. it might align stride to 16 bytes instead of pixels
09:25ChaosPrincessmy problem is that my stride is vertical and linux expect it to be horizontal
09:29nsklaus has joined #asahi-dev
09:30ChaosPrincessits a 60x2008 display with scanout starting at the bottom left pixel and going up, then right
09:32ChaosPrincessif its about me - this is like the 2nd driver im writing and im only barely understanding what im doing :P
09:32bisko has quit [Ping timeout: 480 seconds]
09:32ChaosPrincessfrom software's pov
09:32ChaosPrincessnot from hardware registers
09:32ChaosPrincesshardware expects 64 in its stride register
09:34marcanfrom the point of view of the entire stack, KMS, software, compositor, hardware, MIPI, everything, it's a long vertical screen
09:41nsklaus has quit [Quit: WeeChat 3.8]
09:42nsklaus has joined #asahi-dev
09:53bisko has joined #asahi-dev
10:08bisko has quit [Ping timeout: 480 seconds]
10:54bisko has joined #asahi-dev
11:08milek7_ has quit [Ping timeout: 480 seconds]
11:22bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:26milek7 has joined #asahi-dev
11:26bisko has joined #asahi-dev
11:30Armlin has joined #asahi-dev
11:39Armlin has quit [Quit: Konversation terminated!]
11:45hightower3 has quit []
11:52chadmed has quit [Remote host closed the connection]
11:54chadmed has joined #asahi-dev
12:05MajorBiscuit has joined #asahi-dev
12:10chadmed_ has joined #asahi-dev
12:10chadmed has quit [Read error: Connection reset by peer]
12:32chadmed_ is now known as chadmed
13:12cylm has joined #asahi-dev
13:24gordonfreeman has quit [Remote host closed the connection]
13:28brolin has joined #asahi-dev
14:12gladiac has joined #asahi-dev
14:29bcrumb has joined #asahi-dev
14:31jeisom has quit [Quit: Leaving]
14:39amarioguy has joined #asahi-dev
14:50thelounge60 has quit [Ping timeout: 480 seconds]
14:52bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:02bcrumb has quit [Quit: WeeChat 3.8]
15:15jeisom has joined #asahi-dev
15:25bisko has joined #asahi-dev
15:30___nick___ has joined #asahi-dev
15:34bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:35bisko has joined #asahi-dev
15:40bps3 has quit [Ping timeout: 480 seconds]
15:45dylanchapell has quit [Remote host closed the connection]
15:49brolin has quit [Ping timeout: 480 seconds]
15:55jcm_ has joined #asahi-dev
16:13gladiac has quit [Quit: k thx bye]
16:13gladiac has joined #asahi-dev
16:15gladiac has quit []
16:15gladiac has joined #asahi-dev
16:37MajorBiscuit has quit [Ping timeout: 480 seconds]
17:23Guest268 has quit [Quit: Bridge terminating on SIGTERM]
17:23rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
17:24cylm has quit [Ping timeout: 480 seconds]
17:26Jamie has joined #asahi-dev
17:27rhysmdnz has joined #asahi-dev
17:27Jamie is now known as Guest363
17:39brolin has joined #asahi-dev
18:04brolin has quit [Ping timeout: 480 seconds]
18:07zjstraus has quit [Quit: ]
18:20povik[ 66.683794] apple-admac 24a980000.dma-controller: clearing unknown global interrupt flag: 2
18:59brolin has joined #asahi-dev
19:18brolin has quit [Ping timeout: 480 seconds]
19:22brolin has joined #asahi-dev
19:38IAmRasputin has quit [Quit: WeeChat 3.8]
19:50nela has quit [Ping timeout: 480 seconds]
19:54nela has joined #asahi-dev
19:58mkurz_ has joined #asahi-dev
20:00brolin has quit [Ping timeout: 480 seconds]
20:01mkurz has quit [Ping timeout: 480 seconds]
20:06nsklaus has quit [Quit: WeeChat 3.8]
20:07brolin has joined #asahi-dev
20:07___nick___ has quit [Ping timeout: 480 seconds]
20:09nsklaus has joined #asahi-dev
20:16xanderle has joined #asahi-dev
20:19bisko has quit [Ping timeout: 480 seconds]
20:21xanderle has quit [Remote host closed the connection]
20:31piroko has joined #asahi-dev
20:34gladiac has quit [Quit: k thx bye]
20:35brolin has quit [Ping timeout: 480 seconds]
20:59brolin has joined #asahi-dev
22:15bps3 has joined #asahi-dev
22:27crabbedhaloablut has quit [Read error: Connection reset by peer]
22:28crabbedhaloablut has joined #asahi-dev
22:31crabbedhaloablut has quit [Read error: Connection reset by peer]
22:32crabbedhaloablut has joined #asahi-dev
22:34StupidYui has quit [Remote host closed the connection]
22:35chadmed_ has joined #asahi-dev
22:37StupidYui has joined #asahi-dev
22:46chadmed_theres still sometimes issues on boot with allocations but it seems to be exclusively when rebooting, and more prone to it when rebooting from macos
22:51chadmed has quit [Quit: Konversation terminated!]
22:51chadmed has joined #asahi-dev
22:56brolin has quit [Ping timeout: 480 seconds]
23:02bps3 has quit [Ping timeout: 480 seconds]
23:20nela has quit [Ping timeout: 480 seconds]
23:28nsklaus has quit [Ping timeout: 480 seconds]