graphic/memory issue???

You found a bug or have any issues? Please post them here!
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: graphic/memory issue???

Post by radio42 »

Did the high CPU usage / slow mixer showing ever happen again in the last days?
moogwill
Posts: 420
Joined: 28 Feb 2016 12:31
Re: graphic/memory issue???

Post by moogwill »

ok here's the debug log at the moment I'm trying to open the mixer. and a screen cap of tasks manager at the same time.

25/03/2019 17:07:44: ONAIR Debug Log started. v4.0.5.19
25/03/2019 17:09:01: PLS-DoPlayNextTrack: D (NextTrack).
25/03/2019 17:09:01: PLS-DoPlayNextTrack-NoAutoPlay1: D (False, False, False, NextTrack).
25/03/2019 17:09:02: DispatchCommand: PLS_CURRENT_AUTOPLAY_ON
25/03/2019 17:09:02: DispatchCommand Reply: OK
25/03/2019 17:09:04: DispatchCommand: PLS_CURRENT_AUTOPLAY_OFF
25/03/2019 17:09:04: DispatchCommand Reply: OK
25/03/2019 17:09:04: DispatchCommand: PLS_CURRENT_PLAY_A
25/03/2019 17:09:04: DispatchCommand Reply: OK
25/03/2019 17:09:04: DJPlayerReport: Player=A, Event=TrackPlay: Gorillaz - Hollywood (feat. Snoop Dogg & Jamie Principle)
25/03/2019 17:09:04: DispatchCommand: EXEC_WRITE_PLAYLIST_LOG 20190325_swkd @ 25/03/2019 15:50:00
25/03/2019 17:09:04: DispatchCommand Reply: OK
25/03/2019 17:09:04: DispatchCommand: EXEC_SEND_HTTP_GET http://air.radiotime.com/Playing.ashx?partnerId= xxxxxxxxxxxxxx title=Hollywood (feat. Snoop Dogg & Jamie Principle)&artist=Gorillaz&album=
25/03/2019 17:09:04: DispatchCommand Reply: OK
25/03/2019 17:09:04: DispatchCommand: EXEC_WRITE_FILE d:\baseplayloud\nowplaying\nowonair.txt|nd|Gorillaz - Hollywood (feat. Snoop Dogg & Jamie Principle)
25/03/2019 17:09:04: DispatchCommand Reply: OK
25/03/2019 17:09:04: DispatchCommand: EXEC_WRITE_JPEG_FILE d:\baseplayloud\nowplaying\now.jpg|0|300
25/03/2019 17:09:04: DispatchCommand Reply: OK
25/03/2019 17:09:04: DispatchCommand: EXEC_ASYNC EXEC_ASYNC EXEC_SEND_MIDI_SYSEXMSG 0x90 0x46 0x64
SLEEP 10000
EXEC_SEND_MIDI_SYSEXMSG 0x90 0x46 0x64
25/03/2019 17:09:04: DispatchCommand Reply: OK
25/03/2019 17:09:04: DispatchCommand: EXEC_ASYNC EXEC_ASYNC
SLEEP 5000
EXEC_SEND_MIDI_SYSEXMSG 0x90 0x47 0x64
25/03/2019 17:09:04: DispatchCommand Reply: OK
25/03/2019 17:09:04: DispatchCommand: EXEC_ASYNC EXEC_ASYNC
SLEEP 5500
EXEC_UPLOAD_FILE C:\Users\playloud studio\Documents\vMixStorage\dabsnap.jpg|ftp://privftp.online.net/www/dabsnap/da ... xxx|xxxxxx
25/03/2019 17:09:04: DispatchCommand Reply: OK
25/03/2019 17:09:04: DispatchCommand: EXEC_ASYNC EXEC_SEND_MIDI_SYSEXMSG 0x90 0x46 0x64
25/03/2019 17:09:04: DispatchCommand Reply: OK
25/03/2019 17:09:04: DispatchCommand: EXEC_ASYNC
25/03/2019 17:09:04: DispatchCommand: EXEC_WRITE_FILE d:\baseplayloud\nowplaying\nowonart.txt|nd|Gorillaz
25/03/2019 17:09:04: DispatchCommand Reply: ERROR: invalid number of parameters (must be: command)
25/03/2019 17:09:04: DispatchCommand: SLEEP 10000
25/03/2019 17:09:04: DispatchCommand: SLEEP 5000
25/03/2019 17:09:04: DispatchCommand: EXEC_ASYNC
25/03/2019 17:09:04: DispatchCommand Reply: ERROR: invalid number of parameters (must be: command)
25/03/2019 17:09:04: DispatchCommand: EXEC_SEND_MIDI_SYSEXMSG 0x90 0x46 0x64
25/03/2019 17:09:04: DispatchCommand: SLEEP 5500
25/03/2019 17:09:04: DispatchCommand Reply: OK
25/03/2019 17:09:04: DispatchCommand Reply: OK
25/03/2019 17:09:04: DispatchCommand: EXEC_WRITE_FILE d:\baseplayloud\nowplaying\nowontitle.txt|nd|Hollywood (feat. Snoop Dogg & Jamie Principle)
25/03/2019 17:09:04: DispatchCommand Reply: OK
25/03/2019 17:09:04: DJPlayerReport: Player=D, Event=TrackStop: The Ting Tings - Shut Up And Let Me Go (2008)
25/03/2019 17:09:04: UpdateEntryStatistics 'Gorillaz - Hollywood (feat. Snoop Dogg & Jamie Principle)' PlayStart=2019-03-25T17:09:04
25/03/2019 17:09:05: DJPlayerReport: Player=D, Event=TrackCueOut: The Ting Tings - Shut Up And Let Me Go (2008)
25/03/2019 17:09:05: Processing Script-Line 3 (Retries=200): 1 LeastRecentlyPlayed : /swkd (Filter=, Options=None)
25/03/2019 17:09:05: GetNextTracks processed, 2 script result entries returned.
25/03/2019 17:09:05: AssignNextTrackToPlayer (CheckPlayersAndAssign-D) started: Player=D (Empty)
25/03/2019 17:09:05: DJ-AssignTrack GetTrackAsync: D-AssignNextTrackToPlayer (Empty, liner2018-3)
25/03/2019 17:09:05: DJ-AssignTrack GetTrackAsyncDone: D-AssignNextTrackToPlayer (Empty, True, liner2018-3)
25/03/2019 17:09:05: DJ-Start D: loading track (liner2018-3, AssignTrack-AssignNextTrackToPlayer-GetTrackAsync)
25/03/2019 17:09:05: DJPlayerReport: Player=D, Event=TrackLoad: liner2018-3
25/03/2019 17:09:05: DJ-StartDone D: loading track (-2147394798, liner2018-3, 00:00:07.5050000)
25/03/2019 17:09:05: DJPlayerReport: Player=D, Event=TrackPause: liner2018-3
25/03/2019 17:09:06: AssignNextTrackToPlayer (TrackCueOut) failed: Player=D is already assigned1 (Cued, False)
25/03/2019 17:09:06: DispatchCommand: PLS_CURRENT_AUTOPLAY_ON
25/03/2019 17:09:06: DispatchCommand Reply: OK
25/03/2019 17:09:09: DispatchCommand Reply: OK
25/03/2019 17:09:09: DispatchCommand: EXEC_SEND_MIDI_SYSEXMSG 0x90 0x47 0x64
25/03/2019 17:09:09: DispatchCommand Reply: OK
25/03/2019 17:09:10: DispatchCommand Reply: OK
25/03/2019 17:09:10: DispatchCommand: EXEC_UPLOAD_FILE C:\Users\playloud studio\Documents\vMixStorage\dabsnap.jpg|ftp://privftp.online.net/www/dabsnap/da ... xx|xxxxxxx
25/03/2019 17:09:10: DispatchCommand Reply: OK
25/03/2019 17:09:14: DispatchCommand Reply: OK
25/03/2019 17:09:14: DispatchCommand: EXEC_SEND_MIDI_SYSEXMSG 0x90 0x46 0x64
25/03/2019 17:09:14: DispatchCommand Reply: OK
Attachments
grph issu.PNG
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: graphic/memory issue???

Post by radio42 »

It looks, like you are trying to send a lot of ASYC commands, which do fail - see the logs, e.g.:
25/03/2019 17:09:04: DispatchCommand: EXEC_ASYNC
25/03/2019 17:09:04: DispatchCommand Reply: ERROR: invalid number of parameters (must be: command)

This means, that the following commands might be executed synchronious, e.g. the subsequent-sleep commands!
So maybe these are your errors, as you sometimes wait 10sec. than followed by another 5 seconds etc....
25/03/2019 17:09:04: DispatchCommand: SLEEP 10000
25/03/2019 17:09:04: DispatchCommand: SLEEP 5000

I guess you mixing:
EXEC_ASYNC <command>
Where only the <command> of that single line is executed asynchronous.
And
ASYNC
which is only valid as the very first command, and than executes all subsequent commands asynchronous.
moogwill
Posts: 420
Joined: 28 Feb 2016 12:31
Re: graphic/memory issue???

Post by moogwill »

maybe, but as they are executed all the time... why this issue is only showing up after a few days..??? that's seems to be something else.
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: graphic/memory issue???

Post by radio42 »

Might be - but I am wondering, about the CPU distribution:
- ProppFrexx ONAIR: 27%
- GPIO Client: 15%
- vMix: 15%

The GPIO client is only receiving some stupid messages from external devices and translates them to control-commands. How this can use 15% of the CPU is strange... and it looks, that this is also the reason, why ProppFrexx uses up so much CPU.
Could it be, that there is an abnormal GPIO traffic somehow generated?

And what is vMix? If this is the video rendering which is running in parallel - maybe this somehow conflicts?

If you have the ability, try to run the latest v4.0.5.22 or .23 version wit the command-line option called "-gdi".
Example:
".....\ProppFrexx ONAIR.exe" -gdi

This will start ProppFrexx with old legacy GDIPlus drawing instead of newer DirectX drawing. Maybe this helps?
moogwill
Posts: 420
Joined: 28 Feb 2016 12:31
Re: graphic/memory issue???

Post by moogwill »

will try that, and will also try to close vmix to see if there's a change when the issue will show up.
moogwill
Posts: 420
Joined: 28 Feb 2016 12:31
Re: graphic/memory issue???

Post by moogwill »

ok here's what I did so far, closing Vmix, closing GPIO, and unfortunately no effect on the issue... will now try to start the last update with the -gdi as requested.
moogwill
Posts: 420
Joined: 28 Feb 2016 12:31
Re: graphic/memory issue???

Post by moogwill »

I just need a little help with async errors... here's the command sequence that seems to contain the error: can you point me what's wrong?

EXEC_SEND_HTTP_GET http://air.radiotime.com/Playing.ashx?p ... um=${album}
EXEC_WRITE_FILE d:\baseplayloud\nowplaying\nowonair.txt|nd|${artist} - ${title}
EXEC_WRITE_JPEG_FILE d:\baseplayloud\nowplaying\now.jpg|0|300
EXEC_ASYNC EXEC_ASYNC EXEC_SEND_MIDI_SYSEXMSG 0x90 0x46 0x64${CRLF}SLEEP 10000${CRLF}EXEC_SEND_MIDI_SYSEXMSG 0x90 0x46 0x64
EXEC_ASYNC EXEC_ASYNC${CRLF}SLEEP 5000${CRLF}EXEC_SEND_MIDI_SYSEXMSG 0x90 0x47 0x64
EXEC_ASYNC EXEC_ASYNC${CRLF}SLEEP 5500${CRLF}EXEC_UPLOAD_FILE C:\Users\playloud studio\Documents\vMixStorage\dabsnap.jpg|ftp://privftp.online.net/www/dabsnap/da ... xx|xxxxxxx
EXEC_WRITE_FILE d:\baseplayloud\nowplaying\nowonart.txt|nd|${artist}
EXEC_WRITE_FILE d:\baseplayloud\nowplaying\nowontitle.txt|nd|${title}
moogwill
Posts: 420
Joined: 28 Feb 2016 12:31
Re: graphic/memory issue???

Post by moogwill »

I just tried to run proppfrexx using the integrated graphics.. same issue.
here's something I noticed
I was in Gui mode medium, when the issue showed up again, i switched to slow, that made things a bit better but still wrong.

will reboot PF in the night let see at next issue ;)
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: graphic/memory issue???

Post by radio42 »

There must indeed be something specific in your environment/machine, as it doesn't happen anywhere else - at least I haven't heard from anyone so far.

Post Reply