#asahi-gpu · 2022-12-27 17:21
alyssa-> #asahi please#asahi-gpu · 2022-12-27 17:21
karolherbstbut that requires DP-MST#asahi-gpu · 2022-12-27 17:21
karolherbstwith a single display#asahi-gpu · 2022-12-27 17:21
karolherbstthis is the dock I tried to use: https://i-tec.pro/wp-content/uploads/vizu-27-1024x1024.png#asahi-gpu · 2022-12-27 17:21
corionFairly sure I could easily also carry ethernet back to the computer.#asahi-gpu · 2022-12-27 17:21
corion... and sound out (headphones plugged into monitor). #asahi-gpu · 2022-12-27 17:21
svenmeh, then let someone else help you if you don’t want context #asahi-gpu · 2022-12-27 17:20
corionkarolherbst: What do you mean by docking stations? With one usb-c (dp-alt) connected to my monitor, I carry mouse+kbd+monitor back to the computer.#asahi-gpu · 2022-12-27 17:20
karolherbstyeah.. fair, but that's not what I asked about at all 🙃#asahi-gpu · 2022-12-27 17:20
sven*docks#asahi-gpu · 2022-12-27 17:20
svenand there are some socks that support that#asahi-gpu · 2022-12-27 17:20
karolherbstnot my use case#asahi-gpu · 2022-12-27 17:20
svenyou can send two streams tunneled over usb4/thunderbolt #asahi-gpu · 2022-12-27 17:19
karolherbstwell.. that's a different question tho#asahi-gpu · 2022-12-27 17:19
svenM2 only supports a single external display anyway #asahi-gpu · 2022-12-27 17:19
karolherbstso I assume things like docking stations are just not properly supported by the hw then?#asahi-gpu · 2022-12-27 17:19
svenbut this is all still rather unstable #asahi-gpu · 2022-12-27 17:19
sveni have some WIP patches somewhere that enable alternate mode and jannau probably has a branch somewhere with them integrated into his latest DCP work #asahi-gpu · 2022-12-27 17:18
karolherbstbecause... why not#asahi-gpu · 2022-12-27 17:18
karolherbstI just have some USB-C hubs here which are doing this over MST#asahi-gpu · 2022-12-27 17:18
karolherbstcorion: I guess...#asahi-gpu · 2022-12-27 17:18
svenDP over the type c ports is just an alternate mode#asahi-gpu · 2022-12-27 17:18
coriondp-alt, no?#asahi-gpu · 2022-12-27 17:18
svenah, MST is specifically two (or more I guess) video streams over display port and the hw can’t do that #asahi-gpu · 2022-12-27 17:17
karolherbstso how do external displays work? USB adapters not doing MST?#asahi-gpu · 2022-12-27 17:16
karolherbstuhh.... #asahi-gpu · 2022-12-27 17:14
svenit’s just not supported by the hw#asahi-gpu · 2022-12-27 17:14
svenmst will never work on these machines #asahi-gpu · 2022-12-27 17:10
karolherbstor well.. at least it doens't work on my M2#asahi-gpu · 2022-12-27 17:10
karolherbstdoes DP-MST work already? And if not, are there patches to try?#asahi-gpu · 2022-12-27 16:56
alyssathe fallback would be generating little 1x1 vertex shaders to increase a counter each draw which is probably fine for a niche feature#asahi-gpu · 2022-12-27 16:55
alyssaSome hw can plumb in a performance counter for this#asahi-gpu · 2022-12-27 16:55
alyssalina: BTW, are you aware of any mechanism that Mesa could use to get the # of primitives generated?#asahi-gpu · 2022-12-27 16:55
alyssalina: sounds nice :)#asahi-gpu · 2022-12-27 16:37
bluetail8regularly. What do you mean with optimization work? Why would somebody need to remember those laws... #asahi-gpu · 2022-12-27 16:37
bluetail8dottedmag Perhaps continue in #asahi-offtopic. Please make the connection. I do not get how A is related to B. Where specifically do I have to look it up? What do I need todo in order to naturally need it? Or do i need to know these things before I can do a specific thing? My math knowledge is very basic for instance, but I need some of it#asahi-gpu · 2022-12-27 16:34
dottedmagbluetail8: amdahl's law comes up very often during optimization work.#asahi-gpu · 2022-12-27 16:09
linaAnd at least some of those actually include the UUID that is plumbed all the way to the UAPI if I remember correctly, so you can even correlate it with what mesa is doing ^^#asahi-gpu · 2022-12-27 16:09
linaThat has events like "TA started", "TA complete", "3D started", "3D complete" but also partial renders, event delivery, and things like that, all timestamped#asahi-gpu · 2022-12-27 16:08
linaFor performance, I really should just hook up the ktrace channel to perf and get you pretty logs#asahi-gpu · 2022-12-27 16:07
linaalyssa: I should just expose these properly as a sysfs file... it'd be nice to at least have an agxtop showing power consumption and idle times and such...#asahi-gpu · 2022-12-27 16:05
alyssapower stats vs performance stats I suppose#asahi-gpu · 2022-12-27 16:05
bluetail8alyssa Do you know these laws by heart? Yes, the internet is full of knowledge. But I think its something you learn in education which I was denied for the most part.#asahi-gpu · 2022-12-27 16:05
alyssaright, ok. that I would believe, yes#asahi-gpu · 2022-12-27 16:03
linaSo really, what I'm calling the stats channel seems to be quite specifically power stats. It's all pstates, power on/off events, power consumption, temperatures, and the like.#asahi-gpu · 2022-12-27 16:02
linaAnd indeed glxgears goes to 17-23%, which is what I'd expect for something vsynced that actually lets the GPU power down between frames#asahi-gpu · 2022-12-27 16:01
linaSo for anything >500 FPS or so, that's 100%#asahi-gpu · 2022-12-27 16:01
linaalyssa: Ah, I bet I know what this is. GPU active %, meaning powered on.#asahi-gpu · 2022-12-27 15:56
alyssayeah that's definitely wrong#asahi-gpu · 2022-12-27 15:56
linaalyssa: What I have identified as "utilization" in the metrics does show 100%, but that can't be right with the CPU stalls... so now I wonder what that really measures...