gst-plugins-gl

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

gst-plugins-gl

Alex Ugarte-2
Hi,
today I have downloaded and compiled the opengl plugins from the git repository in a PC with Debian Lenny and it worked Ok.
This evening I have tried to do the same process in another computer, also with Debian Lenny, but in this case for AMD64 architecture. In this case, when executing a test pipeline or the cube test application, I get a segmentation fault. I cannot assure 100% that both systems are equal (but for that little detail of the number of bits), but I have installed them both in the las two days, and more or less with the same packages.

These are the test pipelines I hav tried:
gst-launch-0.10  --gst-debug=glupload:5 --gst-debug=gldisplay:5  videotestsrc !  glupload ! fakesink
gst-launch-0.10  --gst-debug=glupload:5 --gst-debug=gldisplay:5  videotestsrc !  glimagesink

(At the end of the mail the log output).

I have been looking into the code and the segmentation fault happens in gstdisplay.c, in method gst_gl_display_init_upload, which is called from gst_gl_upload_set_caps and in gst_glimage_sink_render. More exactely the  SIGSEGV happens when calling gst_gl_window_send_message.

Has anyone managed to use the opengl plugins in an amd64 system?


Thanks and great job these plugins (and gstreamer in general).

Alex

PS: The log (just the last lines) for the glupload case:
0:00:00.362859526 27390 0x2360920 INFO             gldisplay gstgldisplay.c:413:gst_gl_display_thread_create_context: gl window created
0:00:00.365397907 27390 0x2360920 INFO             gldisplay gstgldisplay.c:429:gst_gl_display_thread_create_context: GL_VERSION: 2.1.2 NVIDIA 173.14.09
0:00:00.365416485 27390 0x2360920 INFO             gldisplay gstgldisplay.c:430:gst_gl_display_thread_create_context: GLEW_VERSION: 1.5.0
0:00:00.365426612 27390 0x2360920 INFO             gldisplay gstgldisplay.c:432:gst_gl_display_thread_create_context: GL_SHADING_LANGUAGE_VERSION: 1.20 NVIDIA via Cg compiler
0:00:00.365438555 27390 0x2360920 INFO             gldisplay gstgldisplay.c:436:gst_gl_display_thread_create_context: GL_VENDOR: NVIDIA Corporation
0:00:00.365447005 27390 0x2360920 INFO             gldisplay gstgldisplay.c:437:gst_gl_display_thread_create_context: GL_RENDERER: GeForce 8600M GT/PCI/SSE2
0:00:00.365481298 27390 0x24e6a00 INFO             gldisplay gstgldisplay.c:1510:gst_gl_display_create_context: gl thread created
0:00:00.365522085 27390 0x24e6a00 INFO             gldisplay gstgldisplay.c:1514:gst_gl_display_create_context: gl thread created and unlocked
0:00:00.429685477 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:413:gst_gl_display_thread_create_context: gl window created
0:00:00.432397903 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:429:gst_gl_display_thread_create_context: GL_VERSION: 2.1.2 NVIDIA 173.14.09
0:00:00.432428214 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:430:gst_gl_display_thread_create_context: GLEW_VERSION: 1.5.0
0:00:00.432436874 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:432:gst_gl_display_thread_create_context: GL_SHADING_LANGUAGE_VERSION: 1.20 NVIDIA via Cg compiler
0:00:00.432445954 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:436:gst_gl_display_thread_create_context: GL_VENDOR: NVIDIA Corporation
0:00:00.432453846 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:437:gst_gl_display_thread_create_context: GL_RENDERER: GeForce 8600M GT/PCI/SSE2
0:00:00.432507763 27390 0x24e6a00 INFO             gldisplay gstgldisplay.c:1510:gst_gl_display_create_context: gl thread created
Caught SIGSEGV accessing address 0xffffffff9d50dae0




--
Eng. Alex Ugarte
Interactive television and multimedia services department
VICOMTech - Visual Interaction and Communication Technologies Center
Mikeletegi Pasealekua, 57 - Parque Tecnológico

E-20009 Donostia - San Sebastián, Spain
Tel:  +[34] 943 30 92 30
Fax: +[34] 943 30 93 93
e-mail: [hidden email]
web: www.vicomtech.org
*** member of INI-GraphicsNet ****
*** member of IK4 Research Alliance ****

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-plugins-gl

Julien Isorce
Hi,

Have you tried from the new repository: ?  http://cgit.freedesktop.org/gstreamer/gst-plugins-gl/

(because there was recently a fix which is not in the diracvideo.org repository (which is now turned off))

Can you run in a terminal:

set GST_GL_WINDOWS_DEBUG=1
set GST_GL_SHADER_DEBUG=1
gdb gst-launch-0.10
run --gst-debug=glupload:5 --gst-debug=gldisplay:5  videotestsrc !  glimagesink

then type:  bt
when the SIGSEGV happens.
(bt for backtrace)

and give the whole log of this test.

Sincerely

Julien

2009/2/11 Alex Ugarte <[hidden email]>
Hi,
today I have downloaded and compiled the opengl plugins from the git repository in a PC with Debian Lenny and it worked Ok.
This evening I have tried to do the same process in another computer, also with Debian Lenny, but in this case for AMD64 architecture. In this case, when executing a test pipeline or the cube test application, I get a segmentation fault. I cannot assure 100% that both systems are equal (but for that little detail of the number of bits), but I have installed them both in the las two days, and more or less with the same packages.

These are the test pipelines I hav tried:
gst-launch-0.10  --gst-debug=glupload:5 --gst-debug=gldisplay:5  videotestsrc !  glupload ! fakesink
gst-launch-0.10  --gst-debug=glupload:5 --gst-debug=gldisplay:5  videotestsrc !  glimagesink

(At the end of the mail the log output).

I have been looking into the code and the segmentation fault happens in gstdisplay.c, in method gst_gl_display_init_upload, which is called from gst_gl_upload_set_caps and in gst_glimage_sink_render. More exactely the  SIGSEGV happens when calling gst_gl_window_send_message.

Has anyone managed to use the opengl plugins in an amd64 system?


Thanks and great job these plugins (and gstreamer in general).

Alex

PS: The log (just the last lines) for the glupload case:
0:00:00.362859526 27390 0x2360920 INFO             gldisplay gstgldisplay.c:413:gst_gl_display_thread_create_context: gl window created
0:00:00.365397907 27390 0x2360920 INFO             gldisplay gstgldisplay.c:429:gst_gl_display_thread_create_context: GL_VERSION: 2.1.2 NVIDIA 173.14.09
0:00:00.365416485 27390 0x2360920 INFO             gldisplay gstgldisplay.c:430:gst_gl_display_thread_create_context: GLEW_VERSION: 1.5.0
0:00:00.365426612 27390 0x2360920 INFO             gldisplay gstgldisplay.c:432:gst_gl_display_thread_create_context: GL_SHADING_LANGUAGE_VERSION: 1.20 NVIDIA via Cg compiler
0:00:00.365438555 27390 0x2360920 INFO             gldisplay gstgldisplay.c:436:gst_gl_display_thread_create_context: GL_VENDOR: NVIDIA Corporation
0:00:00.365447005 27390 0x2360920 INFO             gldisplay gstgldisplay.c:437:gst_gl_display_thread_create_context: GL_RENDERER: GeForce 8600M GT/PCI/SSE2
0:00:00.365481298 27390 0x24e6a00 INFO             gldisplay gstgldisplay.c:1510:gst_gl_display_create_context: gl thread created
0:00:00.365522085 27390 0x24e6a00 INFO             gldisplay gstgldisplay.c:1514:gst_gl_display_create_context: gl thread created and unlocked
0:00:00.429685477 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:413:gst_gl_display_thread_create_context: gl window created
0:00:00.432397903 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:429:gst_gl_display_thread_create_context: GL_VERSION: 2.1.2 NVIDIA 173.14.09
0:00:00.432428214 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:430:gst_gl_display_thread_create_context: GLEW_VERSION: 1.5.0
0:00:00.432436874 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:432:gst_gl_display_thread_create_context: GL_SHADING_LANGUAGE_VERSION: 1.20 NVIDIA via Cg compiler
0:00:00.432445954 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:436:gst_gl_display_thread_create_context: GL_VENDOR: NVIDIA Corporation
0:00:00.432453846 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:437:gst_gl_display_thread_create_context: GL_RENDERER: GeForce 8600M GT/PCI/SSE2
0:00:00.432507763 27390 0x24e6a00 INFO             gldisplay gstgldisplay.c:1510:gst_gl_display_create_context: gl thread created
Caught SIGSEGV accessing address 0xffffffff9d50dae0




--
Eng. Alex Ugarte
Interactive television and multimedia services department
VICOMTech - Visual Interaction and Communication Technologies Center
Mikeletegi Pasealekua, 57 - Parque Tecnológico

E-20009 Donostia - San Sebastián, Spain
Tel:  +[34] 943 30 92 30
Fax: +[34] 943 30 93 93
e-mail: [hidden email]
web: www.vicomtech.org
*** member of INI-GraphicsNet ****
*** member of IK4 Research Alliance ****

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-plugins-gl

Alex Ugarte-2
Hi,
installing from the new repository fixed that issue. Now everything is working.

Thanks for your help,

Alex

On Wed, Feb 11, 2009 at 9:08 AM, Julien Isorce <[hidden email]> wrote:
Hi,

Have you tried from the new repository: ?  http://cgit.freedesktop.org/gstreamer/gst-plugins-gl/

(because there was recently a fix which is not in the diracvideo.org repository (which is now turned off))

Can you run in a terminal:

set GST_GL_WINDOWS_DEBUG=1
set GST_GL_SHADER_DEBUG=1
gdb gst-launch-0.10
run --gst-debug=glupload:5 --gst-debug=gldisplay:5  videotestsrc !  glimagesink

then type:  bt
when the SIGSEGV happens.
(bt for backtrace)

and give the whole log of this test.

Sincerely

Julien

2009/2/11 Alex Ugarte <[hidden email]>
Hi,
today I have downloaded and compiled the opengl plugins from the git repository in a PC with Debian Lenny and it worked Ok.
This evening I have tried to do the same process in another computer, also with Debian Lenny, but in this case for AMD64 architecture. In this case, when executing a test pipeline or the cube test application, I get a segmentation fault. I cannot assure 100% that both systems are equal (but for that little detail of the number of bits), but I have installed them both in the las two days, and more or less with the same packages.

These are the test pipelines I hav tried:
gst-launch-0.10  --gst-debug=glupload:5 --gst-debug=gldisplay:5  videotestsrc !  glupload ! fakesink
gst-launch-0.10  --gst-debug=glupload:5 --gst-debug=gldisplay:5  videotestsrc !  glimagesink

(At the end of the mail the log output).

I have been looking into the code and the segmentation fault happens in gstdisplay.c, in method gst_gl_display_init_upload, which is called from gst_gl_upload_set_caps and in gst_glimage_sink_render. More exactely the  SIGSEGV happens when calling gst_gl_window_send_message.

Has anyone managed to use the opengl plugins in an amd64 system?


Thanks and great job these plugins (and gstreamer in general).

Alex

PS: The log (just the last lines) for the glupload case:
0:00:00.362859526 27390 0x2360920 INFO             gldisplay gstgldisplay.c:413:gst_gl_display_thread_create_context: gl window created
0:00:00.365397907 27390 0x2360920 INFO             gldisplay gstgldisplay.c:429:gst_gl_display_thread_create_context: GL_VERSION: 2.1.2 NVIDIA 173.14.09
0:00:00.365416485 27390 0x2360920 INFO             gldisplay gstgldisplay.c:430:gst_gl_display_thread_create_context: GLEW_VERSION: 1.5.0
0:00:00.365426612 27390 0x2360920 INFO             gldisplay gstgldisplay.c:432:gst_gl_display_thread_create_context: GL_SHADING_LANGUAGE_VERSION: 1.20 NVIDIA via Cg compiler
0:00:00.365438555 27390 0x2360920 INFO             gldisplay gstgldisplay.c:436:gst_gl_display_thread_create_context: GL_VENDOR: NVIDIA Corporation
0:00:00.365447005 27390 0x2360920 INFO             gldisplay gstgldisplay.c:437:gst_gl_display_thread_create_context: GL_RENDERER: GeForce 8600M GT/PCI/SSE2
0:00:00.365481298 27390 0x24e6a00 INFO             gldisplay gstgldisplay.c:1510:gst_gl_display_create_context: gl thread created
0:00:00.365522085 27390 0x24e6a00 INFO             gldisplay gstgldisplay.c:1514:gst_gl_display_create_context: gl thread created and unlocked
0:00:00.429685477 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:413:gst_gl_display_thread_create_context: gl window created
0:00:00.432397903 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:429:gst_gl_display_thread_create_context: GL_VERSION: 2.1.2 NVIDIA 173.14.09
0:00:00.432428214 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:430:gst_gl_display_thread_create_context: GLEW_VERSION: 1.5.0
0:00:00.432436874 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:432:gst_gl_display_thread_create_context: GL_SHADING_LANGUAGE_VERSION: 1.20 NVIDIA via Cg compiler
0:00:00.432445954 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:436:gst_gl_display_thread_create_context: GL_VENDOR: NVIDIA Corporation
0:00:00.432453846 27390 0x25a06f0 INFO             gldisplay gstgldisplay.c:437:gst_gl_display_thread_create_context: GL_RENDERER: GeForce 8600M GT/PCI/SSE2
0:00:00.432507763 27390 0x24e6a00 INFO             gldisplay gstgldisplay.c:1510:gst_gl_display_create_context: gl thread created
Caught SIGSEGV accessing address 0xffffffff9d50dae0




--
Eng. Alex Ugarte
Interactive television and multimedia services department
VICOMTech - Visual Interaction and Communication Technologies Center
Mikeletegi Pasealekua, 57 - Parque Tecnológico

E-20009 Donostia - San Sebastián, Spain
Tel:  +[34] 943 30 92 30
Fax: +[34] 943 30 93 93
e-mail: [hidden email]
web: www.vicomtech.org
*** member of INI-GraphicsNet ****
*** member of IK4 Research Alliance ****

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Eng. Alex Ugarte
Interactive television and multimedia services department
VICOMTech - Visual Interaction and Communication Technologies Center
Mikeletegi Pasealekua, 57 - Parque Tecnológico

E-20009 Donostia - San Sebastián, Spain
Tel:  +[34] 943 30 92 30
Fax: +[34] 943 30 93 93
e-mail: [hidden email]
web: www.vicomtech.org
*** member of INI-GraphicsNet ****
*** member of IK4 Research Alliance ****

------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel