Stereo Tool https://forums.stereotool.com/ |
|
New things... https://forums.stereotool.com/viewtopic.php?t=4334 |
Page 63 of 76 |
Author: | Brian [ Sat Dec 01, 2012 10:29 pm ] |
Post subject: | Re: New things... |
Quote: @Brian: Unresponsive GUI issue confirmed. I lowered my laptop speed to 30% of the normal speed and allowed both Winanp and Stereo Tool to use only one of the 8 cores. I then clicked on the presets pull-down menu and everything was completely unresponsive. Even after the track finished playing the CPU load of that core remained at 100%. Then when I increased the speed it immediately came back.
Glad that you found something.I think what happens is that more GUI update events are being fired than the processor can handle (every 2048 samples a GUI update is requested). Will check how to reduce this without doing less redraws when the CPU *can* handle it - keeping a counter of unhandled repaint request might be a solution. Edit: Yes confirmed. If I increase the CPU speed while music is still playing the CPU load stays 100% for a while, then suddenly all the requests that still needed to be handled are executed. I still wish you'd go ahead and make the changes to remove the extra processing steps. The thing is, while you wouldn't normally see any difference, less capable systems might. This sometimes happens in reverse, where you say that such-and-such only showed a few percent increase on your system, while on my system I'm seeing 10% or more. Given that I can run everything that I normally use for loudness-enabled work, except for loudness itself, and have the CPU load be as low as it is, then my guess is that my system is just barely being overloaded, and if that's the case, even small decreases may be of great benefit. That said though, for me, if nothing can be done, then I'll just stop preset work for loudness-enabled presets. I can get enough volume without loudness, and the CPU load is half that of trying to use loudness. |
Author: | hvz [ Sun Dec 02, 2012 3:30 am ] |
Post subject: | Re: New things... |
Quote: Glad that you found something.
I think it's solved now. At least for the debug version, running on a single core, I had to kill it before I made the change I just made and now it responds - sometimes a bit slow (I've seen 2 or 3 seconds with the presets list open) but this is the debug version and I'm *really* pushing it (playback stutters horribly).What I did (in case anyone is interested): Old situation: Program sends an event to request a GUI update, this ends up in a thread that listens for this event and then fires a WM_PAINT request to Windows, which in turn asks my program to draw something. New situation: The thread that listens, after posting the WM_PAINT waits for a 2nd event telling it that the paint has started. So at no time more than one WM_PAINT request can be waiting. And when this thread receives the next event, it clears the whole list of these events so it only handles one. So it doesn't build up a queue. Responsiveness should really be a lot better now - but I'll test the release version before uploading it tomorrow morning. |
Author: | hvz [ Sun Dec 02, 2012 12:20 pm ] |
Post subject: | Re: New things... |
Stand alone: http://www.stereotool.com/download/ster ... 33-054.exe Winamp DSP: http://www.stereotool.com/download/dsp_ ... 33-054.exe VST: http://www.stereotool.com/download/vst_ ... 33-054.dll Command line: http://www.stereotool.com/download/ster ... 33-054.exe For web interface, you can still use Bojcha's skin: http://85.25.73.243/stereotool_skin_b2/ Done: - Check GUI hangups reported by Brian and DJ_DOGGY. I hope it's gone now - please let me know your experiences! - Fix loading Loudness settings TODO: - Check Iconify behavior (Brian) - Remove MUSTBEFREED stuff that causes a small memory allocation and release for each mouse move. - Singleband RMS style display broken - Add warning when someone enables FM sync. - Fix AGC startup on preset loading - Red bar doesn't get back to green Not reproduced so far but I put a force redraw on color changes. - Check STS file saving - Limit Post Amp to 1 - Mouse lock doesn't work on some systems - De-emphasis doesn't seem to switch between 50 and 75 us To be tested - Right click for default value - Wrong last loaded preset shown on startup (the previous one); saved presets are not added to recent presets - Fix MB clipper sliders to 0 error. Less urgent for usability: - Design (several people are working on something) For later: - Add 'purpose based' view on settings (for example all settings that affect bass combined). - Multi-language support - Add basic/advanced modes - Add '-6' '-12' etc. beside output bars where possible. - Context sensitive Help (help button should be next to the preset buttons) - Drag (resize window parts) lines, also between to/bottom part (scopes/meters). - Confirm on close (stand alone version) |
Author: | Brian [ Sun Dec 02, 2012 1:48 pm ] |
Post subject: | Re: New things... |
Quote: - Check GUI hangups reported by Brian and DJ_DOGGY. I hope it's gone now - please let me know your experiences!
So far, with loudness enabled, I can no longer replicate the preset list issue. I can, however, replicate the close to tray issue. GUI updates seem a little bit more "skippy" as the CPU load is still 80-90%. Non-loudness performance is unchanged. CPU load is 38-50%. No preset list issue and no close to tray issue. |
Author: | hvz [ Sun Dec 02, 2012 8:43 pm ] |
Post subject: | Re: New things... |
What do you mean by 'skippy' - less smooth? I'm unable to reproduce the to-tray issue, will check the code to see if I can make any sense out of it. |
Author: | Brian [ Mon Dec 03, 2012 1:35 am ] |
Post subject: | Re: New things... |
Quote: What do you mean by 'skippy' - less smooth?
Skippy = choppy = less smooth.I'm unable to reproduce the to-tray issue, will check the code to see if I can make any sense out of it. Might be my imagination though. I haven't gone back to the previous beta and checked for more or less GUI update pauses. I'll do that, but for now, I haven't seen the preset list issue. As for to-tray, when I click the X there are some disk writes that happen per Task Manager. This is without a track even playing. Related to that, when I try to save / export preset settings, that process has also seemed to take more time and be generally more sluggish than what it used to be. So, you might try looking into the disk writes. |
Author: | hvz [ Mon Dec 03, 2012 2:02 pm ] |
Post subject: | Re: New things... |
@Brian: Looks like I was *always* redrawing the screen, even if it was iconified. That at least explains why you kept seeing screen updates. So the CPU load when iconified should be lower in the next version... I still need to figure out why the window itself doesn't disappear on your system. Edit: That just shouldn't happen. But I made some changes to make things a bit better and let it respond faster (among others, it now FIRST hides the window and THEN writes data to disk), this might help... |
Author: | hvz [ Mon Dec 03, 2012 5:41 pm ] |
Post subject: | Re: New things... |
Meanwhile, a horse walked through our building this afternoon ![]() ![]() ![]() ![]() Anyway, just in case you wonder, no, it's NOT normal that a guy walks though an office building with a horse. This is Sinterklaas (aka. Sint Nicolaas; the Dutch and original version of Santa Clause), with his horse and a few Zwarte Pieten ("Black Petes"?). |
Author: | DJ-DOGGY [ Mon Dec 03, 2012 6:11 pm ] |
Post subject: | Re: New things... |
![]() What the hell............ ![]() |
Author: | Bojcha [ Mon Dec 03, 2012 6:56 pm ] |
Post subject: | Re: New things... |
I more wonder how that plant grows in so small flowerpot and so it does not fall. |
Page 63 of 76 | All times are UTC+02:00 |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |