2023-12-20
00:56kidplayer666 has quit [Quit: Connection closed for inactivity]
01:34baozich has joined #asahi-dev
01:54timokrgr has quit [Quit: User left the chat]
01:55timokrgr has joined #asahi-dev
01:56eiln has quit [Ping timeout: 480 seconds]
02:08eiln has joined #asahi-dev
02:13baozich1 has joined #asahi-dev
02:14baozich has quit [Read error: Connection reset by peer]
02:14baozich1 is now known as baozich
02:54john-cabaj has quit [Ping timeout: 480 seconds]
03:51dylanchapell has quit [Read error: Connection reset by peer]
04:08dylanchapell has joined #asahi-dev
04:19tristan2 has joined #asahi-dev
04:21tristan2_ has quit [Ping timeout: 480 seconds]
04:34ciara has quit [Ping timeout: 480 seconds]
05:10millenialhacker has joined #asahi-dev
05:13timokrgr has quit [Quit: User left the chat]
05:14timokrgr has joined #asahi-dev
05:18millenialhacker has quit [Ping timeout: 480 seconds]
05:23jeisom has quit [Ping timeout: 480 seconds]
05:43greguu has joined #asahi-dev
06:29kidplayer666 has joined #asahi-dev
07:31capta1nt0ad has joined #asahi-dev
07:41capta1nt0ad has quit [Remote host closed the connection]
07:41capta1nt0ad has joined #asahi-dev
07:49i509vcb has quit [Quit: Connection closed for inactivity]
07:59ciara has joined #asahi-dev
08:02WindowPa- has joined #asahi-dev
08:02crabbedhaloablut has quit [Read error: Connection reset by peer]
08:03crabbedhaloablut has joined #asahi-dev
08:07WindowPain has quit [Ping timeout: 480 seconds]
08:34capta1nt0ad has quit [Remote host closed the connection]
08:49kidplayer666 has quit [Quit: Connection closed for inactivity]
09:21baozich1 has joined #asahi-dev
09:26baozich has quit [Ping timeout: 480 seconds]
09:26baozich1 is now known as baozich
09:31millenialhacker has joined #asahi-dev
09:35delroth has quit [Remote host closed the connection]
09:36delroth has joined #asahi-dev
09:40millenialhacker has quit [Ping timeout: 480 seconds]
09:50fugi has quit [Quit: Ping timeout (120 seconds)]
09:51fossdd has quit [Read error: Connection reset by peer]
09:52fugi has joined #asahi-dev
09:56jannegsven: could the 14 vs. 0x14 error in PIPEHANDLER_OVERRIDE_VALUES explain the broken suspend or other issue we've seen with usb3?
10:00fossdd has joined #asahi-dev
10:06roxfan has joined #asahi-dev
10:32crabbedhaloablut has quit []
10:35crabbedhaloablut has joined #asahi-dev
10:37kidplayer666 has joined #asahi-dev
10:54seb4nih3 has quit [Quit: -a- Connection Timed Out]
10:54seb4nih25 has joined #asahi-dev
11:01kettenisjanneg: I'm seeing the wrong brightness level being restored coming out of DPMS on the 13" M1 MacBook
11:02roxfan2 has joined #asahi-dev
11:02kettenisI think the problem is that because I don't have a GPU driver (yet) the "next swap" that you refer to in iomfbep_cb_enable_backlight_message_ap_gated() never happens...
11:03roxfan has quit [Ping timeout: 480 seconds]
11:06j`eythere was an issue with DCP and the iomfb_cb_pr_publish callback with later fw, but that appears to be a different issue
11:48jannegkettenis: known issue. lina and I tried to workaround that but I'm not sure if that ever was relieable. not related to the gpu driver but just how the application uses the kms device
11:52leiocould this have something to do for why I need to delay the gdm start to get a successful modeset?
11:55jannegkettenis: for xorg/modesetting you could try if the tearfree option helps, that should do swaps but iirc I've never tested it
12:18baozich has quit [Ping timeout: 480 seconds]
12:35yuyichao_ has quit [Ping timeout: 480 seconds]
12:35seb4nih25 has quit [Read error: Connection reset by peer]
12:37XeR` has quit []
12:41yuyichao_ has joined #asahi-dev
12:45XeR has joined #asahi-dev
12:53baozich has joined #asahi-dev
12:55seb4nih35 has joined #asahi-dev
13:01baozich has quit [Ping timeout: 480 seconds]
13:04kettenisjanneg: I still think this needs to be fixed; even if you believe Xorg should die there are other contexts where having a working dumb framebuffer is desirable
13:06kettenisis it really that difficult to force a flush from the iomfbep_cb_enable_backlight_message_ap_gated() callback?
13:08kettenismaybe from some delayed scheduled work such that it can be avoided if a swap already happened?
13:12zumi has quit [Remote host closed the connection]
13:13zumi has joined #asahi-dev
13:14jannegkettenis: sure, the modesetting/tearfree comment was also about improving the experience on xorg in general
13:15jannegwe certyainly can't issue a flush directly from iomfbep_cb_enable_backlight_message_ap_gated(). the easiest option would be to call dcp_set_brightness() from a a workqueue
13:21kettenisthe other bit that I'm still struggling with is that drm_fb_helper_blank() doesn't seem to do the right thing
13:23kettenisand for some reason dcp sometimes refuses to start; happens more often on the M1 MacBook than on the M1 mini
13:23jeisom has joined #asahi-dev
13:26kettenishmm, so maybe this is fixed by "drm: apple: Move modeset into drm_crtc's atomic_enable" that I don't have yet
13:28crabbedhaloablut has quit []
13:32crabbedhaloablut has joined #asahi-dev
13:32crabbedhaloablut has quit []
13:34crabbedhaloablut has joined #asahi-dev
13:37kidplayer666 has quit [Quit: Connection closed for inactivity]
14:00kidplayer666 has joined #asahi-dev
14:30al3xtjames has quit [Read error: Connection reset by peer]
15:07millenialhacker has joined #asahi-dev
15:11roxfan2 has quit [Remote host closed the connection]
15:14roxfan has joined #asahi-dev
15:15millenialhacker has quit [Ping timeout: 480 seconds]
15:16j`eyit appears here https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=for-next&ofs=600 (asahi-soc) so that should be fine?
15:28seb4nih68 has joined #asahi-dev
15:29seb4nih35 has quit [Read error: Connection reset by peer]
15:29seb4nih68 has quit [Read error: Connection reset by peer]
15:29seb4nih13 has joined #asahi-dev
15:42seb4nih13 has quit [Ping timeout: 480 seconds]
16:03AnuthaDev has joined #asahi-dev
16:26buroa has quit [Quit: The Lounge - https://thelounge.chat]
16:30seb4nih79 has joined #asahi-dev
17:02qyliss has quit [Quit: bye]
17:05qyliss has joined #asahi-dev
17:10seb4nih79 has quit [Read error: Connection reset by peer]
17:11seb4nih11 has joined #asahi-dev
17:35millenialhacker has joined #asahi-dev
17:43millenialhacker has quit [Ping timeout: 480 seconds]
17:54buroa has joined #asahi-dev
18:02zumi_ has joined #asahi-dev
18:02zumi has quit [Remote host closed the connection]
18:07zumi_ is now known as zumi
18:07kidplayer666 has quit [Quit: Connection closed for inactivity]
18:09buroa has quit [Quit: The Lounge - https://thelounge.chat]
18:26billak has joined #asahi-dev
18:30buroa has joined #asahi-dev
18:36millenialhacker has joined #asahi-dev
18:52millenialhacker has quit [Ping timeout: 480 seconds]
18:53Mary has quit [Quit: The Lounge - https://thelounge.chat]
18:53Mary has joined #asahi-dev
19:07AnuthaDev has quit []
19:12millenialhacker has joined #asahi-dev
19:18Mary has quit [Quit: The Lounge - https://thelounge.chat]
19:20millenialhacker has quit [Ping timeout: 480 seconds]
19:21millenialhacker has joined #asahi-dev
19:24Mary has joined #asahi-dev
19:24SalimTer- has joined #asahi-dev
19:28SalimTerryLi has quit [Ping timeout: 480 seconds]
19:29millenialhacker has quit [Ping timeout: 480 seconds]
19:42kidplayer666 has joined #asahi-dev
19:49lawrence has joined #asahi-dev
19:56millenialhacker has joined #asahi-dev
20:04millenialhacker has quit [Ping timeout: 480 seconds]
20:09cyrinuxHello here, just to say that the last m1n1/uboot/edge kernel of asahi-dev (archlinux) , prevent m2 air to boot. I was able to enter my luks password but then totally blind.
20:23Mary has quit [Quit: The Lounge - https://thelounge.chat]
20:23Mary has joined #asahi-dev
20:24Mary has quit []
20:25billak has quit [Remote host closed the connection]
20:27Mary has joined #asahi-dev
20:38i509vcb has joined #asahi-dev
20:56WindowPain has joined #asahi-dev
20:59WindowPa- has quit [Ping timeout: 480 seconds]
21:17Lyude has joined #asahi-dev
21:18LyudeHi! I'm one of the folks working on nouveau/nova, and I heard that y'all might be thinking of writing a new KMS driver in rust? I was curious whether there had been any progress here or any WIP branches I could look at, since we're hoping to also write a KMS driver in rust (and to help start moving rust in the kernel forward generally)
21:20chaos_princessthats gpu, not kms
21:21chaos_princessboth asahi kms drivers are in c
21:22j`eyI think there was talk a year or so ago of doing it in rust.. but the C/driver has grown a lot since then
21:23LyudeHave the ABI differences with apple's firmware caused any problems for the KMS driver seeing as it's written in C?
21:24kettenisthe ABI differences cause problems, regardless of whether the driver is written in C or rust ;)
21:26Lyudekettenis: good to know :p, we're kind of in a similar situation with nova since we don't really have much of a stable ABI guarantee from nvidia at the moment with GSP
21:28jannegLyude: it's mostly annoying to do in C. It uses #defines with multiple inclusion of template fiels
21:28chaos_princessi'd say dcp is a bit more stable-ish, since they have their cursed rpc protocol and some items are serialized dicts and not just bags of bytes.
21:29j`eyhttps://github.com/AsahiLinux/linux/blob/asahi/drivers/gpu/drm/apple/iomfb_v13_3.h#L9 version+template
21:31Lyudewell feel free to let me and folks like airlied/danilo/karolherbst know. We're already planning on doing the main driver in rust, while it'd be nice to be able to keep our display driver we sort of agreed the effort to make bindings between that and the main rust driver would be more effort then we'd like - and plus we'd kind of like everything to be in rust to make it more
21:31Lyudeattractive to new contributors anyway (and start finally pushing things forward regarding actual rust code in the mainline kernel)
21:33jannegthe interface is stable-ish but there is enough churn from release to release to be annoying
22:07john-cabaj has joined #asahi-dev
22:17john-cabaj has quit [Ping timeout: 480 seconds]
22:59greguu has quit [Ping timeout: 480 seconds]
23:01greguu has joined #asahi-dev
23:16millenialhacker has joined #asahi-dev
23:24millenialhacker has quit [Ping timeout: 480 seconds]
23:47crabbedhaloablut has quit []