#
…

2023-12-30

00:04zumi_ has joined #asahi-dev
00:04zumi has quit [Remote host closed the connection]
00:09zumi_ is now known as zumi
00:14pthariensflame has joined #asahi-dev
00:14pthariensflame has quit []
00:18DannyB has quit [Read error: No route to host]
00:31pivot has quit []
00:32jeisom has quit [Ping timeout: 480 seconds]
00:51DannyB has joined #asahi-dev
01:30kidplayer666 has quit [Quit: Connection closed for inactivity]
01:53crabbedhaloablut has quit []
02:09systwi has joined #asahi-dev
02:20Emantor has quit [Quit: ZNC - http://znc.in]
02:20Emantor has joined #asahi-dev
02:23jeisom has joined #asahi-dev
03:33yuyichao has joined #asahi-dev
03:33yuyichao_ has quit [Read error: Connection reset by peer]
03:45jeisom has quit [Ping timeout: 480 seconds]
03:56skipwich has quit [Remote host closed the connection]
03:56skipwich has joined #asahi-dev
04:09tristan2 has joined #asahi-dev
04:11tristan2_ has quit [Ping timeout: 480 seconds]
04:16JayBeeFOSS has quit [Remote host closed the connection]
04:17JayBeeFOSS has joined #asahi-dev
04:37aradhya7 has quit [Quit: Connection closed for inactivity]
05:11codingkoopa321 has quit []
05:22codingkoopa321 has joined #asahi-dev
06:04zumi_ has joined #asahi-dev
06:04zumi has quit [Remote host closed the connection]
06:08zumi_ is now known as zumi
08:14millenialhacker has quit [Remote host closed the connection]
08:14millenialhacker has joined #asahi-dev
08:21kidplayer666 has joined #asahi-dev
08:22millenialhacker has quit [Ping timeout: 480 seconds]
08:37millenialhacker has joined #asahi-dev
08:55billak has joined #asahi-dev
09:02millenialhacker has quit [Ping timeout: 480 seconds]
09:06dylanchapell has quit [Read error: Connection reset by peer]
09:11dylanchapell has joined #asahi-dev
09:13millenialhacker has joined #asahi-dev
09:22millenialhacker has quit [Ping timeout: 480 seconds]
09:31i509vcb has quit [Quit: Connection closed for inactivity]
09:45millenialhacker has joined #asahi-dev
09:54millenialhacker has quit [Ping timeout: 480 seconds]
09:56billak has quit [Quit: Konversation terminated!]
10:05millenialhacker has joined #asahi-dev
11:35millenialhacker has quit [Ping timeout: 480 seconds]
11:41millenialhacker has joined #asahi-dev
11:58millenialhacker has quit [Ping timeout: 480 seconds]
12:00millenialhacker has joined #asahi-dev
12:05zumi_ has joined #asahi-dev
12:05zumi has quit [Remote host closed the connection]
12:10zumi_ is now known as zumi
12:12millenialhacker has quit [Ping timeout: 480 seconds]
12:17millenialhacker has joined #asahi-dev
12:31tobhe has joined #asahi-dev
12:33jeisom has joined #asahi-dev
12:35kettenismarcan: I have some questions about the apple,dma-range property that was added for the DARTs some time ago
12:36tobhe_ has quit [Ping timeout: 480 seconds]
12:36kettenisit seems the linux driver accepts mapping iova's that don't fall into the range specified by that property
12:37kettenisthis happens for DCP mappings that are also mapped into the disp0 DART
12:44crabbedhaloablut has joined #asahi-dev
13:37AnuthaDev has joined #asahi-dev
13:38AnuthaDev has quit []
13:38AnuthaDev has joined #asahi-dev
13:50crabbedhaloablut has quit [Read error: Connection reset by peer]
13:51crabbedhaloablut has joined #asahi-dev
13:59millenialhacker has quit [Ping timeout: 480 seconds]
14:04kit_ty_katechadmed: mmh, with all the previous defaults too?
14:05chadmedhave a look at j314 in asahi-audio/main for some ideas on where to start
14:05kit_ty_kateif so i feel it either sound the same as before or a bit worse. It feels like hearing the song inside of a steel bin
14:05chadmedok its definitely the IRs at this point then
14:06chadmedi tested with love on j314, j415 and the mac studio just for shits and giggles
14:06chadmedeven used carla to quickly A/B with it bypassed
14:09kit_ty_kateoh with the same settings as j314, the passage between 2:50 and 3:00 sounds fine but the beginning of the song still sounds a bit overtuned
14:10chadmedovertuned?
14:10millenialhacker has joined #asahi-dev
14:12j`eylol I got CTM working with wlroots (super hacky).. but when I quit and got back to the console/VT, it still had the CTM applied :D
14:12kit_ty_katebetween 0:37 and 0:41, the bass drum sound feels like it's duplicated between the normal noise and a low rambling noise
14:13kit_ty_kateit's a bit difficult to describe i guess. Do you get the same thing with j314 or does it sound fine?
14:14chadmedj314 sounded fine when i tested yesterday, but ill test again tomorrow
14:14chadmedhonestly i just need a j316 in front of me to test this properly, theyre very different machines
14:18chadmedkit_ty_kate: can you confirm that bypassing bankstown fixes the problem with the bass drum?
14:29kit_ty_katechadmed: i do confirm yeah
14:29chadmedbleh okay ill do some investigating tomorrow
14:32j`eyanyone understand exactly what S31.32 is?
14:32j`eyas a fixed point representation
14:33j`eysays: S31.32 sign-magnitude (not two's complement!)
14:39jannegj`ey: I think the drm client is supposed to reset properties on exit
14:40j`eymakes sense, I didn't add that yet, thought it might automatically happen :)
14:40jannegS31.32 is a sign bit, 31-bit integer and 32-bit fractional
14:41j`eyis it: |sign|integer|fractional|
14:42j`eyIm trying to assign a CTM that just does 'nothing'
14:42j`eyok, looking at kwin code helps..
14:42jannegyes, (sign << 63) | (integer << 32) | fraction
14:43janneg1<<32, 0, 0, 0, 1<<32, 0, 0, 0, 1<<32
14:44j`eythanks!
14:44j`eyI was looking at some matrix*vector thing, and nearly getting there
14:45leiocan I nerdsnipe you into doing the same in gnome? *g
14:45jannegcan you check with drm_info if the CTM property is still set after exiting? if yes, you have to remove it, if no it's likely a driver bug
14:46leiothey get a white point already in mutter apaprently, just need to add CTM code instead of LUT there (it used to be more complicated with colord doing more stuff instead of compositor)
14:48j`eyjanneg: yeah I have a CTM prop there still in the CRTCs section
14:48j`eyand thanks, that matrix worked, super cool
14:49leiolink me up with any patches then, maybe I can combine it with kde one for gnome and make it easier to myself
14:50leiobtw, are we missing any further channels in bridging? I understood there's two matrix channels for dev with only #asahi-fedora-dev bridged so far?
14:50j`eyleio: no, the older dev channel is closed
14:50j`eysure thing. I don't even know what I will do with it, kwin falls back to CTM because it itself is calculating the 'redshift', whereas wlroots only has a gamma interface. Im not yet sure if you can convert gamma into ctm
14:52Tramtristthough its not a dev channel necessarily
14:52Tramtristj`ey yeah the redshift/gammastep issue still exists with wlroots
14:55j`eyTramtrist: I just added some code so I can change it.. but need to figure out how to turn gamma into CTM for it to be usuable
14:55Tramtristoh wow.. excellent j`ey
14:56j`eypresumably it's not just taking what was set from the gamma_lut and putting it into the ctm matrix..
14:58jannegyou have to start before the gamma lut. ctm would need to the same input as the code which computes the gamma lut
14:59j`eyyeah, thats what I assumed :(
14:59j`ey(so wlroots cant do a fallback like wlroots)
14:59j`ey*like kwin
15:02jannegwhy not? does it just has an interface to set the gamma lut?
15:09jannegyes, won't work with that protocol unless you look at the gamma lut and check if it can be represented by a CTM which is not necessarily the case
15:11j`ey(obviously I don't know how to do that yet!)
15:11jannegbut the better option would be to investigate how to set gamma LUTs with DCP
15:13j`eyI don't know if I can do that, this was fun to mess around with
15:16millenialhacker has quit [Ping timeout: 480 seconds]
15:17millenialhacker has joined #asahi-dev
15:23j`eypresumably macOS uses CTM, so are we sure it also supports GAMMA?
15:26jannegyes, macOS supports gamma LUTs and at least one of the nightshift macOS apps still works and uses that. that results in annoying set_block_dcp calls on the DCP endpoint
15:27jannegthere are also several other gamma related calls in the DCP/iomfb endpoint. search for gamma in proxyclient/hv/trace_dcp.py
15:28j`eyok, thanks I will look, but don't have the means to actually do anything with it :(
15:29millenialhacker has quit [Ping timeout: 480 seconds]
15:36j`eywhy is set_block_dcp bad?
15:36j`eyI mean, blocking sounds bad but..
15:40jannegbecause it has an unknown and annoying interface: uint32_t set_block_dcp(arg1=uint64_t, arg2=uint, arg3=uint, arg4=Array(8, ulong), arg5=uint, data=SizedBytes(0x1000, "length"), length=ulong, unknArry=Array(4, uint))
15:41millenialhacker has joined #asahi-dev
15:44jannegI interpret block as either a bunch of continuously data or possibly functional blocks and not as blocking
15:45kettenisjanneg: is there a reason why the hdmi hpd interrupt isn't described by an "interrupts-extended" property?
15:47jannegI don't remember
15:50jannegI think I started with just the gpio to check pin and didn't thought much about it
15:50j`eyI see, ty
15:57kettenisit would make my life a bit easier, and it would decouple the interrupt from the detect pin in case apple comes up with a design where that is the case
15:58kettenisI'll explore that path
16:00millenialhacker has quit [Ping timeout: 480 seconds]
16:00millenialhacker has joined #asahi-dev
16:01jannegI'm not sure if we need the detect pin at all. as it is now a level triggered irq would be enough
16:05kettenisa level-triggered interrupt would continue to be triggered
16:07kettenisand at resume time you poll the pin, which makes sense to me
16:09millenialhacker has quit [Ping timeout: 480 seconds]
16:10janneglevel triggered and disabling the interrupt after it has triggered and reenable it when dcp notices the link is gone
16:19millenialhacker has joined #asahi-dev
16:20kettenisok, it seems that there is plenty of prior art in the linux tree to do what you do now
16:21kettenisso probably best to leave things as-is
16:22kettenisI can probably figure out how to hook this up the way it is in the OpenBSD code
16:35millenialhacker has quit [Ping timeout: 480 seconds]
16:43millenialhacker has joined #asahi-dev
16:56lena6 has joined #asahi-dev
16:59millenialhacker has quit [Ping timeout: 480 seconds]
17:08darkapex1 has quit []
17:08darkapex has joined #asahi-dev
17:12millenialhacker has joined #asahi-dev
17:34millenialhacker has quit [Ping timeout: 480 seconds]
17:45millenialhacker has joined #asahi-dev
18:06zumi_ has joined #asahi-dev
18:06zumi has quit [Remote host closed the connection]
18:11zumi_ is now known as zumi
18:24vadorovsky has joined #asahi-dev
18:31jacksonchen666 has joined #asahi-dev
18:50kidplayer666 has quit [Quit: Connection closed for inactivity]
18:52millenialhacker has quit [Ping timeout: 480 seconds]
18:55millenialhacker has joined #asahi-dev
19:30millenialhacker has quit [Remote host closed the connection]
19:30millenialhacker has joined #asahi-dev
20:09zkrx has quit []
20:12zkrx has joined #asahi-dev
20:15zkrx has quit []
20:26kidplayer666 has joined #asahi-dev
20:57AnuthaDev has quit []
21:33WindowPa- has joined #asahi-dev
21:37kaazoo has joined #asahi-dev
21:38WindowPain has quit [Ping timeout: 480 seconds]
21:50elvishjerricco has quit [Remote host closed the connection]
21:53linuxgemini8 has joined #asahi-dev
21:57linuxgemini has quit [Ping timeout: 480 seconds]
22:02elvishjerricco has joined #asahi-dev
22:26linuxgemini8 has quit [Ping timeout: 480 seconds]
22:42linuxgemini8 has joined #asahi-dev
22:43zkrx has joined #asahi-dev
22:46kidplayer666 has quit [Quit: Connection closed for inactivity]
22:50zalyx has quit [Quit: later alligator]
22:55zzywysm_ has joined #asahi-dev
23:00zzywysm has quit [Ping timeout: 480 seconds]
23:04zalyx has joined #asahi-dev
23:10millenialhacker has quit []
23:16kidplayer666 has joined #asahi-dev
23:36skipwich has quit [Remote host closed the connection]
23:39skipwich has joined #asahi-dev
23:40kaazoo has quit [Quit: Leaving.]
…