05:20 kode54: does anyone here know what would make a GLES2 based compositor be more performant on a Raphael iGPU than on Navi22?
07:21 MrCooper: kode54: would need more context, e.g. are both GPUs in the same machine, used by the same compositor, ... ?
10:25 kode54: MrCooper: both GPUs are in the same machine
10:25 kode54: using the same compositor in either a pure-dGPU or hybrid graphics situation
10:26 kode54: I got word from another dev that maybe the pure-dGPU case, someone is making heavy use of GTT
10:31 kode54: in the session with the iGPU doing the display driving and rendering of the compositor
10:31 kode54: lots of apps have tens of MBs of GTT use
10:31 kode54: firefox is using 500MB
10:31 kode54: do they normally somehow shift allocation to GTT when they know it's an iGPU?
10:32 kode54: I have ample "VRAM" allocated to the iGPU, so it's clearly something
10:32 kode54: in pure dGPU mode, I need to see how much GTT is being used by things
13:06 Venemo: kode54: how did you measure the perf difference?
13:07 Venemo: also, is the monitor connected to the iGPU or dGPU?
13:07 Venemo: are apps running on the iGPU or dGPU?
13:15 kode54: benchmark plugin for the compositor, amdgpu_top showing gfx usage of the compositor
13:15 kode54: former shows the average frame rate
13:16 kode54: in one case, it's two monitors connected to the iGPU
13:16 kode54: in the latter, iGPU is disabled, and monitors are connected to the dGPU
13:17 Venemo: what kind of gfx use does it measure?
13:18 kode54: total gfx pipe usage
13:18 kode54: it also graphs the various pipelines' totals across the whole part
13:18 Venemo: which compositor is this?
13:18 kode54: Wayfire
13:19 kode54: the heavy plugins turned out to be windecor, blur, and wobble
13:19 kode54: and it also doesn't help that I've got a 165Hz monitor
13:21 Venemo: it doesn't make much sense to be honest. AFAIK the Raphael iGPU is very small and has much fewer CUs as well as RB units than the Navi 22
13:21 Venemo: meanwhile, they have the same architecture, so it's an apples-to-apples comparison
13:28 Venemo: when the monitors are connected to the iGPU, it makes sense that the compositor performs better on the iGPU as there is no need to copy the frame one more time
13:28 kode54: no
13:28 kode54: the monitors are connected to the dGPU when I'm comparing to it
13:28 kode54: I switch them between tests
13:29 kode54: complete reboot, disable the iGPU
13:39 Venemo: is there an actual difference in frame rates or any other measurable stat?
13:45 kode54: when the GFX usage hits 100%, the frame rate drops to between 15 and 25fps
13:46 kode54: seems intermittent
13:46 kode54: sometimes it doesn't do that
13:46 kode54: but it would be nice if a compositor didn't completely utilize a Navi22 GPU
14:15 MrCooper: the Navi 22 hits 100% GFX usage at 15-25 fps from the compositor alone, no graphics-heavy apps running?
14:16 kode54: the compositor itself is the graphics heavy app
14:17 kode54: but it may be bombing GTT somehow
14:18 MrCooper: is the dGPU built into the machine, or external via Thunderbolt or so?
14:23 agd5f: is the dGPU rendering to GTT?
14:26 MrCooper: how could that happen with a single GPU?
14:30 agd5f: oh, sorry, I thought this was multi-GPU
14:31 agd5f: Could it be that the OS things the iGPU is the primary so the dGPU renders, shared the frame with the iGPU and then the iGPU shares it back with the dGPU for display?
14:56 kode54: agd5f: it's only multi-GPU when I'm using the iGPU to render the compositor
14:57 kode54: in the sessions where I was testing the dGPU for render, it was the only GPU
14:57 kode54: boot setup 1: hybrid graphics, monitors connected to motherboard for iGPU
14:58 kode54: boot setup 2: dedicated graphics, monitors connected to the card
14:58 kode54: installed internally
14:58 agd5f: kode54, right, but I have had cases where the displays are attached to one GPU and the system things the boot GPU is the other and you end up with ping ponging when it's not necessary
14:59 kode54: in setup 2, the iGPU is completely disabled
14:59 agd5f: ok
16:44 Venemo: kode54: what API does the compositor use? is that OpenGL or Vulkan? or something else?
17:05 soreau: Venemo: it's gles wlroots compositor