RidgeRun / gst-shark

GstShark is a front-end for GStreamer traces
GNU Lesser General Public License v2.1
94 stars 45 forks source link

Plotting not working #108

Open ask6483 opened 2 years ago

ask6483 commented 2 years ago

I have problem with plot script output, for example executing pipeline from wiki: https://developer.ridgerun.com/wiki/index.php/GstShark_-_Processing_Time_tracer

I got following output from gstshark-plot:

Loading proctime events... Loading interlatency events... Loading scheduling events... Loading framerate events... Loading bitrate events... Loading queuelevel events... Loading cpuusage events... Loading buffer events... Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. qt5ct: using qt5ct plugin warning: using the gnuplot graphics toolkit is discouraged

The gnuplot graphics toolkit is not actively maintained and has a number of limitations that are unlikely to be fixed. Communication with gnuplot uses a one-directional pipe and limited information is passed back to the Octave interpreter so most changes made interactively in the plot window will not be reflected in the graphics properties managed by Octave. For example, if the plot window is closed with a mouse click, Octave will not be notified and will not update its internal list of open figure windows. The qt toolkit is recommended instead. Processing proctime... Processing interlatency... Processing framerate... Processing scheduling... Processing cpusage... Processing bitrate... Processing queuelevel... Processing buffer... Save proctime figure...

gnuplot> plot "-" binary format='%float64' record=128 using ($1):($2) axes x1y1 title ""identity0"," with linespoints linestyle 9 , "-" binary format='%float64' record=128 using ($1):($2) axes x1y1 title ""queue0"," with linespoints linestyle 10 , "-" binary format='%float64' record=128 using ($1):($2) axes x1y1 title ""queue1"," with linespoints linestyle 11 , "-" binary format='%float64' record=128 using ($1):($2) axes x1y1 title ""identity2"," with linespoints linestyle 12 , "-" binary format='%float64' record=128 using ($1):($2) axes x1y1 title ""identity1"," with linespoints linestyle 13 ; ^ line 0: unexpected or unrecognized token: identity0

gnuplot> }���@ ^ line 0: invalid character

gnuplot> F�u��@ ^ line 0: invalid character

gnuplot> �Aϡ U���@ ^ line 0: invalid character @

gnuplot> ���@ ^ line 0: invalid character @

gnuplot> �A9}=���@ ^ line 0: invalid character

gnuplot> �A������@ ^ line 0: invalid character @

gnuplot> ��@ ^ line 0: invalid character @

gnuplot> i�A5]Otk��@ ^ line 0: invalid character @

gnuplot> ���@ ^ line 0: invalid character @

gnuplot> ��@ ^ line 0: invalid character

gnuplot> ��@ ^ line 0: invalid character @

gnuplot> ���@ ^ line 0: invalid character @

gnuplot> �|AA�C�g��@ ^ line 0: invalid character @

gnuplot> ����@ ^ line 0: invalid character @

gnuplot> �A��m0��@ ^ line 0: invalid character @

gnuplot> �]j��@ ^ line 0: invalid character

gnuplot> �A��)ǯ��@ ^ line 0: invalid character @

gnuplot> �A�tB���@ ^ line 0: invalid character

multiplot> plot "-" binary format='%float64' record=128 using ($1):($2) axes x1y1 title ""identity0"," with linespoints linestyle 9 , "-" binary format='%float64' record=128 using ($1):($2) axes x1y1 title ""queue0"," with linespoints linestyle 10 , "-" binary format='%float64' record=128 using ($1):($2) axes x1y1 title ""queue1"," with linespoints linestyle 11 , "-" binary format='%float64' record=128 using ($1):($2) axes x1y1 title ""identity2"," with linespoints linestyle 12 , "-" binary format='%float64' record=128 using ($1):($2) axes x1y1 title ""identity1"," with linespoints linestyle 13 ; ^ line 0: unexpected or unrecognized token: identity0

multiplot> }���@ ^ line 0: invalid character

multiplot> F�u��@ ^ line 0: invalid character

multiplot> �Aϡ U���@ ^ line 0: invalid character @

multiplot> ���@ ^ line 0: invalid character @

multiplot> �A9}=���@ ^ line 0: invalid character

multiplot> �A������@ ^ line 0: invalid character @

multiplot> ��@ ^ line 0: invalid character @

multiplot> i�A5]Otk��@ ^ line 0: invalid character @

multiplot> ���@ ^ line 0: invalid character @

multiplot> ��@ ^ line 0: invalid character

multiplot> ��@ ^ line 0: invalid character @

multiplot> ���@ ^ line 0: invalid character @

multiplot> �|AA�C�g��@ ^ line 0: invalid character @

multiplot> ����@ ^ line 0: invalid character @

multiplot> �A��m0��@ ^ line 0: invalid character @

multiplot> �]j��@ ^ line 0: invalid character

multiplot> �A��)ǯ��@ ^ line 0: invalid character @

multiplot> �A�tB���@ ^ line 0: invalid character

How to fix that? gnuplot version 5.4 octave version 7.1.0 gst-shark version 0.7.3 gstreamer version 1.10.4

Myralllka commented 6 months ago

Hello I have the same issue gnuplot 6.0 octave 9.1 gst-shark latest from master gstreamer 1.24.3 @ask6483 did you find the way how to fix that?