Slow profile loading with lots of images

Profiles take a long time to switch when the GPU is being used alot and theres alot of actions in a profile
11 Replies
nekename
nekename3mo ago
as Terrorwolf also said, I haven't ever experienced this, soo idk? the rendering code isn't massively inefficient, if there's a perf limit it's the JS canvas itself
Terrorwolf
Terrorwolf3mo ago
I need to correct my info, I have also experienced this today. But not so extreme. I also had this problem without utilising my GPU much
ΩмεցαЯοցυε
it only got extreme when running starcitizen (to a half a minute or more delay) i think the rendering needs to be mostly decoupled from the rest of the code and if not already, parallelized between buttons currently any time it takes to render is multiplied by 32 on a stream deck xl for full profiles
nekename
nekename3mo ago
you know the rendering code pretty well right? I remember you contributed some things. feel free to have a look or ask for help
ΩмεցαЯοցυε
yes honestly i think going away from the browser rendering might be best, will be a bunch of work but probably will be worth it potentially cosmic-text for text rendering
nekename
nekename2mo ago
interesting
ΩмεցαЯοցυε
what do you say about my idea to make the rendering back into its own rust thing? im not sure the current canvas method has the necessary performance
nekename
nekename2mo ago
I'll merge anything if it's good ¯\_(ツ)_/¯ @ΩмεցαЯοցυε Today one of my actions went haywire and spammed changing its image many times very quickly, which finished in the GUI within 3-4 seconds but took 15 seconds on the Deck itself. So it's possible there's a good amount of delay in writing to the device very quickly just check if the long delay also happens in the GUI or not because if it doesn't, then it's not a renderer issue
ΩмεցαЯοցυε
the delay happens in both, tho the hardware is a bit slower, but it does take a noticeable amount of time in the gui
Terrorwolf
Terrorwolf2mo ago
I also checked now if it also happens in the GUI, and yes as OmegaRouge said

Did you find this page helpful?