My pipelines are too big for graphviz

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

My pipelines are too big for graphviz

David Ing
I am wondering if anybody has played around with techniques for visualizing a GstPipeline as an alternative to graphviz.

The reason I ask is:  I am running into a problem where my pipelines are too big for graphviz to handle.  When I execute `dot -T svg $input_dot > $output_svg` I get errors such as:

Error: Edge length 67584.000000 larger than maximum 65535 allowed.
Check for overwide node(s).
Error: Edge length 84991.000000 larger than maximum 65535 allowed.
Check for overwide node(s).

... a hundred more like this, then eventually:

sh: line 1:  1091 Segmentation fault      (core dumped)

Apparently the width of a graphviz canvas is limited to 2^16, as described here:  https://stackoverflow.com/questions/10621574/dot-overwide-node-error

My graphs are so big that these views don't work.
  • GST_DEBUG_GRAPH_SHOW_ALL
  • GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS
It would be great if those views worked.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: My pipelines are too big for graphviz

Michael Gruner
I typically view them directly with “xdot”: a small utility that renders dot diagrams directly. I’m pretty sure it uses graphviz underneath but it’s worth the quick test.

Michael


On Aug 6, 2019, at 2:41 PM, David Ing <[hidden email]> wrote:

I am wondering if anybody has played around with techniques for visualizing a GstPipeline as an alternative to graphviz.

The reason I ask is:  I am running into a problem where my pipelines are too big for graphviz to handle.  When I execute `dot -T svg $input_dot > $output_svg` I get errors such as:

Error: Edge length 67584.000000 larger than maximum 65535 allowed.
Check for overwide node(s).
Error: Edge length 84991.000000 larger than maximum 65535 allowed.
Check for overwide node(s).

... a hundred more like this, then eventually:

sh: line 1:  1091 Segmentation fault      (core dumped)

Apparently the width of a graphviz canvas is limited to 2^16, as described here:  https://stackoverflow.com/questions/10621574/dot-overwide-node-error

My graphs are so big that these views don't work.
  • GST_DEBUG_GRAPH_SHOW_ALL
  • GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS
It would be great if those views worked.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: My pipelines are too big for graphviz

David Ing
Thanks but xdot did not work.  I got the same exact error messages.

On Tue, Aug 6, 2019 at 4:22 PM Michael Gruner <[hidden email]> wrote:
I typically view them directly with “xdot”: a small utility that renders dot diagrams directly. I’m pretty sure it uses graphviz underneath but it’s worth the quick test.

Michael


On Aug 6, 2019, at 2:41 PM, David Ing <[hidden email]> wrote:

I am wondering if anybody has played around with techniques for visualizing a GstPipeline as an alternative to graphviz.

The reason I ask is:  I am running into a problem where my pipelines are too big for graphviz to handle.  When I execute `dot -T svg $input_dot > $output_svg` I get errors such as:

Error: Edge length 67584.000000 larger than maximum 65535 allowed.
Check for overwide node(s).
Error: Edge length 84991.000000 larger than maximum 65535 allowed.
Check for overwide node(s).

... a hundred more like this, then eventually:

sh: line 1:  1091 Segmentation fault      (core dumped)

Apparently the width of a graphviz canvas is limited to 2^16, as described here:  https://stackoverflow.com/questions/10621574/dot-overwide-node-error

My graphs are so big that these views don't work.
  • GST_DEBUG_GRAPH_SHOW_ALL
  • GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS
It would be great if those views worked.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: My pipelines are too big for graphviz

Nicolas Dufresne-5
Le mardi 06 août 2019 à 16:48 -0700, David Ing a écrit :
> Thanks but xdot did not work.  I got the same exact error messages.

There is few regressions with recent graphviz/dot. The only solution I
found for similar cases is to use an older graphiz/dot, how old, I
don't know exactly.

>
> On Tue, Aug 6, 2019 at 4:22 PM Michael Gruner <[hidden email]> wrote:
> > I typically view them directly with “xdot”: a small utility that renders dot diagrams directly. I’m pretty sure it uses graphviz underneath but it’s worth the quick test.
> >
> > Michael
> > www.ridgerun.com
> >
> >
> > > On Aug 6, 2019, at 2:41 PM, David Ing <[hidden email]> wrote:
> > >
> > > I am wondering if anybody has played around with techniques for visualizing a GstPipeline as an alternative to graphviz.
> > >
> > > The reason I ask is:  I am running into a problem where my pipelines are too big for graphviz to handle.  When I execute `dot -T svg $input_dot > $output_svg` I get errors such as:
> > >
> > > > Error: Edge length 67584.000000 larger than maximum 65535 allowed.
> > > > Check for overwide node(s).
> > > > Error: Edge length 84991.000000 larger than maximum 65535 allowed.
> > > > Check for overwide node(s).
> > > >
> > > > ... a hundred more like this, then eventually:
> > > >
> > > > sh: line 1:  1091 Segmentation fault      (core dumped)
> > > >
> > >
> > > Apparently the width of a graphviz canvas is limited to 2^16, as described here:  https://stackoverflow.com/questions/10621574/dot-overwide-node-error
> > >
> > > My graphs are so big that these views don't work.
> > > GST_DEBUG_GRAPH_SHOW_ALL
> > > GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS
> > > It would be great if those views worked.
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel