2023-04-23
01:10compassion has quit [Quit: lounge quit]
01:18cylm_ has quit [Ping timeout: 480 seconds]
01:23compassion has joined #asahi-re
02:11pthariensflame has joined #asahi-re
02:30pthariensflame has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:55Z750 has quit [Quit: bye]
02:56Z750 has joined #asahi-re
03:14chadmed has quit [Remote host closed the connection]
03:48chadmed has joined #asahi-re
06:08JSkilton has joined #asahi-re
06:09JSkiltonMrs. Skilton gets her holes filled and satisified by Rush's Geddy Lee. Later, Geddy meets Jean Pierre Manikariza, her husband, and gets filled by his big black cock! Read all about it! https://pastebin.com/1ExdrDQA
06:11marcan(I had to do that for the iBoot protocol since we can't hypervise that and at the time there wasn't even any iBoot plaintext available)
06:11JSkilton was banned on #asahi-re by marcan [*!*@149.19.169.187]
06:11JSkilton was kicked from #asahi-re by marcan [JSkilton]
06:13JSkilton has quit [Remote host closed the connection]
07:03nsklaus has joined #asahi-re
07:38Retr0id has joined #asahi-re
07:47ChaosPrincessmarcan: which hw register does layer.transform end up in after swapSetLayers?
07:58knedlik has joined #asahi-re
08:00marcanI'm not surprised it's not supported, rotation sucks for display controllers since it completely destroys your memory access pattern
08:07ChaosPrincessDoes it only reject rotations or reflections too?
08:15ChaosPrincessWhat reg do they end up in then?
08:16ChaosPrincessSorta hail mary thinking of trying to put rotation in that reg and seeing if only driver rejects it.
08:26marcanI think the latter are the flip bits and the former rotation, though if so I'd expect it to only work on older hardware... but then again you have older hardware than the main DISP0.
08:27ChaosPrincessYea, that doesnt sound correct, mine has layer registers at 0x2000 and plane registers at 0x4000 and 0x6000
08:27jannauthere is no userspace which handles the rotated panel property correctly? I find that a little surprising. kde can render 90/270 degree rotated
08:29jannauI'm still not sure if it matters much. I expect the touchbar display driver will serve mainly a single user space programm written explictly for it
08:32marcanChaosPrincess: I think the DFR pipe is a major redesign behind DCP, that's why they use that simpler one
08:35ChaosPrincessWell, was worth a shot
08:53ChaosPrincess0x202c does nothing, 0x402c is "pixel format", and bit 0x2 results in whatever that is https://i.imgur.com/d9nQbNR.jpg
08:55marcankeep in mind that rotation is probably going to explode badly if the dimensions are wrong, you'll probably want to try with a square layer
09:05ChaosPrincesson DFR?
09:05ChaosPrincessin register 0x402c?
09:06ChaosPrincesswtf am i doing wrong then
09:08ChaosPrincessi am running touchbar_rainbow.py, then p.write32(0x22820402c, 0x53e4003); flush(pipe)
09:08ChaosPrincessand getting the thing in the image
09:14ChaosPrincessi dont get the second memset
09:20ChaosPrincessthats whith p.write32(0x22820402c, 0x53e4003)
09:25ChaosPrincesscan you pastebin the results of running
09:25ChaosPrincess for i in range(0x1000):
09:25ChaosPrincess print(hex(0x1000 + i * 4), hex(p.read32(0x228201000 + i * 4)))
09:29ChaosPrincessyes, this is a t8103
09:30ChaosPrincessim running p.write and flush after running the rainbow.py code and get the thing in the picture
09:31marcanI also recommend `from m1n1.shell import run_shell` and `run_shell(globals(), msg="Have fun!")` at the end
09:33ChaosPrincesseh, i run it by copy and pasting it into a shell :P
09:33ChaosPrincessanyway, turns out 407c does something
09:34ChaosPrincessi had it commented out in my code
09:34knedlik has quit [Remote host closed the connection]
09:42ChaosPrincessanyway, thats just xflip/yflip. Bit 0 also does something, but it does not look like rotation
09:52ChaosPrincessyea, and kde does not seem to honor drm_connector_set_panel_orientation
09:58knedlik has joined #asahi-re
09:59ChaosPrincessanyway, thanks for the help. I'd also appreciate it if you could look at the open pr for the driver
10:07jannaukwin supports panel orientation: https://invent.kde.org/plasma/kwin/-/merge_requests/2081
10:36ChaosPrincessrn the target is less 'upstream' and more 'make it possible for someone to start writing the daemon'
11:05jannauthe daemon should be written with the assumption that it needs to rotate the fb, not hard to change but still a little bit annoying to have to deal with two variants
11:05ChaosPrincessso, kde can rotate, i just havent figured out how to rotate by default
11:08ChaosPrincesswell, i can rotate in display settings
11:09jannauyes, but it should do that by default based on panel orientation which seems to be broken
11:16roxfan2 has joined #asahi-re
11:20roxfan has quit [Ping timeout: 480 seconds]
12:00knedlik has quit [Remote host closed the connection]
12:07stickytoffee has joined #asahi-re
14:03knedlik has joined #asahi-re
14:52knedlik has quit [Remote host closed the connection]
14:58knedlik has joined #asahi-re
15:02knedlik has quit [Remote host closed the connection]
15:50cylm has joined #asahi-re
15:53nepeat has quit [Quit: ZNC - https://znc.in]
16:04nepeat has joined #asahi-re
16:54nepeat has quit [Quit: ZNC - https://znc.in]
17:36cylm has quit [Quit: WeeChat 3.6]
17:49nepeat has joined #asahi-re
17:51nepeat has quit []
17:53nepeat has joined #asahi-re
19:48Dementor has quit [Remote host closed the connection]
19:49Dementor has joined #asahi-re
20:46pthariensflame has joined #asahi-re
20:47pthariensflame has quit []
21:18user982492 has joined #asahi-re
21:57user982492_ has joined #asahi-re
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:01yrlf has joined #asahi-re
22:02user982492 has quit [Ping timeout: 480 seconds]
22:36chadmed_ has joined #asahi-re
22:42ChaosPrincess has quit [Quit: WeeChat 3.8]
22:43ChaosPrincess has joined #asahi-re
23:59chadmed_ has quit [Remote host closed the connection]