bugGnash - The GNU Flash player - Bugs: bug #22093, klash (kde-gnash) blank screen,...

 
 

bug #22093: klash (kde-gnash) blank screen, worked 1 week ago (with ffmpeg)

Submitted by:  Fredrik Johansson <mumme>
Submitted on:  Wed 23 Jan 2008 05:57:58 PM UTC  
 
Category: gui-kde3Severity: 5 - Blocker
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Wed 23 Jan 2008 09:39:41 PM UTC, comment #7:

Yes it works again now, thanks!

/ Fredrik

Fredrik Johansson <mumme>
Wed 23 Jan 2008 08:34:22 PM UTC, comment #6:

Now, the funny thing is I fixed this already 2 months ago..

2007-11-30 Sandro Santilli <strk@keybit.net>

* gui/kde_glue_agg.cpp: keep rendering no matter what
HAVE_QTOPIA says
(or rendering would be disabled for normal kde-gnash)

Was reintroduced by this commit:

2008-01-21 Rob Savoye <rob@ripple.welcomehome.org>

* gui/kde_glue_agg.cpp: Include qicon.h and agg headers.

Fixed again, if it breaks anything (didn't try non MIT-SHM
builds) please let me know.

Sandro Santilli <strk>
Project Member
Wed 23 Jan 2008 08:18:07 PM UTC, comment #5:

Could it be this commit ?

-//#if HAVE_QTOPIA > 2
+#if HAVE_QTOPIA > 2
QPixmap qpixmap(*_qimage);
-//#endif
+#endif

It's in gui/kde_glue_agg.cpp, can you try Fredrik ?

Sandro Santilli <strk>
Project Member
Wed 23 Jan 2008 07:49:37 PM UTC, comment #4:

2008-01-20 was also good

Sandro Santilli <strk>
Project Member
Wed 23 Jan 2008 06:14:35 PM UTC, comment #3:

I also confirm that fltk-gnash and sdl-gnash (in addition to gtk-gnash) have no problem with head.

Sandro Santilli <strk>
Project Member
Wed 23 Jan 2008 06:09:51 PM UTC, comment #2:

Actually, verbose output shows that the movie is playing,
seems just a problem with rendering itself.

Sandro Santilli <strk>
Project Member
Wed 23 Jan 2008 06:08:05 PM UTC, comment #1:

I confirm any movie kind of hangs with kde-gnash.
It is not related to sound at all, -r1 makes no difference.

movies.all/gravity.swf is a good testcase.

Sandro Santilli <strk>
Project Member
Wed 23 Jan 2008 05:57:58 PM UTC, original submission:

Hi !

The latest cvs 2008-01-23 klash doesn't render anything, same on all swf pages I can find.
Only applies to kde-gnash.

It worked fine from a cvs build from 2008-01-18, using default media handler (ffmpeg IIRC).

my gnash-debug.log
30629] 18:40:23: Setting width to 600
30629] 18:40:23: Setting height to 500
30629] 18:40:23: Setting root URL to http://www.ferryhalim.com/orisinal/g2/0stars.swf
30629] 18:40:23: Setting base URL to http://www.ferryhalim.com/orisinal/g2/stars.htm
30629] 18:40:23: No rendering flags specified, using rcfile
30629] 18:40:23: DEBUG: Base url set to: http://www.ferryhalim.com/orisinal/g2/stars.htm
30629] 18:40:23: DEBUG: /tmp/kde-fredrikjohansson/ appended to local sandboxes
30629] 18:40:23: SECURITY: Load of file /tmp/kde-fredrikjohansson/konquerorD5rmYb.swf granted (under local sandbox /tmp/kde-fredrikjohansson/).
30629] 18:40:23: Movie http://www.ferryhalim.com/orisinal/g2/0stars.swf (SWF4) added to library
30629] 18:40:23: framebuffer pixel format is BGRA32 (little-endian host)
30629] 18:40:23: initialized AGG buffer <0x2b44b33ce010>, 1240000 bytes, 600x500, rowsize is 2400 bytes
30629] 18:40:23: get url: target=, url=http://www.ferryhalim.com/orisinal/g2/hst.txt (hst.txt), method=c0 (sendVars:0, loadTarget:1, loadVariable:1)
30629] 18:40:23: SECURITY: Load from host http://www.ferryhalim.com granted (default).
30629] 18:40:23: getURL2 loadVariable
30629] 18:40:23: SECURITY: Load from host http://www.ferryhalim.com granted (default).
30629] 18:40:23: DEBUG: Global instance list grew to 1 entries
30629] 18:40:23: HTTP response 200 from url http://www.ferryhalim.com/orisinal/g2/hst.txt
30629] 18:40:23: ERROR: Size of stream variables were loaded from advertised to be 0 bytes long, but turned out to be only 16 bytes long
30629] 18:40:24: get url: target=_level2, url=http://www.ferryhalim.com/ff/g/stars.swf (../../ff/g/stars.swf), method=0 (sendVars:0, loadTarget:0, loadVariable:0)
30629] 18:40:24: SECURITY: Load from host http://www.ferryhalim.com granted (default).
30629] 18:40:24: DEBUG: Testing _level loading (level 2)
30629] 18:40:24: DEBUG: movie_root::loadMovie(http://www.ferryhalim.com/ff/g/stars.swf, _level2)
30629] 18:40:24: DEBUG: processLoadMovieRequest: Testing _level loading (level 2)
30629] 18:40:24: SECURITY: Load from host http://www.ferryhalim.com granted (default).
30629] 18:40:24: Movie http://www.ferryhalim.com/ff/g/stars.swf (SWF4) added to library
30629] 18:40:24: UNIMPLEMENTED: Different stream/playback sound rate (5512/22050). This seems common in SWF files, so we'll warn only once.
30629] 18:40:24: UNIMPLEMENTED: Different stream/playback sample size (32/16). This seems common in SWF files, so we'll warn only once.
30629] 18:40:24: UNIMPLEMENTED: Different stream/playback channels (mono/stereo). This seems common in SWF files, so we'll warn only once.
30629] 18:40:24: ERROR: No samples advertised for sound stream
30629] 18:40:25: ERROR: No samples advertised for sound stream
30629] 18:40:25: DEBUG: Global instance list grew to 3 entries
30629] 18:40:25: ERROR: No samples advertised for sound stream
30629] 18:40:25: ERROR: No samples advertised for sound stream
30629] 18:40:26: ERROR: No samples advertised for sound stream
30629] 18:40:26: ERROR: No samples advertised for sound stream
30629] 18:40:26: ERROR: No samples advertised for sound stream
30629] 18:40:26: ERROR: No samples advertised for sound stream
30629] 18:40:26: ERROR: No samples advertised for sound stream
30629] 18:40:26: DEBUG: Tag 14 has a size of 166461 bytes !!
30629] 18:40:26: UNIMPLEMENTED: MP3 delay seek 1669
fredrikjohansson@linux64:~$ clear
fredrikjohansson@linux64:~$ cat gnash-dbg.log
30690] 18:49:43: Setting width to 600
30690] 18:49:43: Setting height to 500
30690] 18:49:43: Setting root URL to http://www.ferryhalim.com/orisinal/g2/0stars.swf
30690] 18:49:43: Setting base URL to http://www.ferryhalim.com/orisinal/g2/stars.htm
30690] 18:49:43: No rendering flags specified, using rcfile
30690] 18:49:44: DEBUG: Base url set to: http://www.ferryhalim.com/orisinal/g2/stars.htm
30690] 18:49:44: DEBUG: /tmp/kde-fredrikjohansson/ appended to local sandboxes
30690] 18:49:44: SECURITY: Load of file /tmp/kde-fredrikjohansson/konqueror6Pynsa.swf granted (under local sandbox /tmp/kde-fredrikjohansson/).
30690] 18:49:44: Movie http://www.ferryhalim.com/orisinal/g2/0stars.swf (SWF4) added to library
30690] 18:49:44: framebuffer pixel format is BGRA32 (little-endian host)
30690] 18:49:44: initialized AGG buffer <0x2b5e15a27010>, 1240000 bytes, 600x500, rowsize is 2400 bytes
30690] 18:49:44: get url: target=, url=http://www.ferryhalim.com/orisinal/g2/hst.txt (hst.txt), method=c0 (sendVars:0, loadTarget:1, loadVariable:1)
30690] 18:49:44: SECURITY: Load from host http://www.ferryhalim.com granted (default).
30690] 18:49:44: getURL2 loadVariable
30690] 18:49:44: SECURITY: Load from host http://www.ferryhalim.com granted (default).
30690] 18:49:44: DEBUG: Global instance list grew to 1 entries
30690] 18:49:44: HTTP response 200 from url http://www.ferryhalim.com/orisinal/g2/hst.txt
30690] 18:49:44: ERROR: Size of stream variables were loaded from advertised to be 0 bytes long, but turned out to be only 16 bytes long
30690] 18:49:44: get url: target=_level2, url=http://www.ferryhalim.com/ff/g/stars.swf (../../ff/g/stars.swf), method=0 (sendVars:0, loadTarget:0, loadVariable:0)
30690] 18:49:44: SECURITY: Load from host http://www.ferryhalim.com granted (default).
30690] 18:49:44: DEBUG: Testing _level loading (level 2)
30690] 18:49:44: DEBUG: movie_root::loadMovie(http://www.ferryhalim.com/ff/g/stars.swf, _level2)
30690] 18:49:44: DEBUG: processLoadMovieRequest: Testing _level loading (level 2)
30690] 18:49:44: SECURITY: Load from host http://www.ferryhalim.com granted (default).
30690] 18:49:45: Movie http://www.ferryhalim.com/ff/g/stars.swf (SWF4) added to library
30690] 18:49:45: UNIMPLEMENTED: Different stream/playback sound rate (5512/22050). This seems common in SWF files, so we'll warn only once.
30690] 18:49:45: UNIMPLEMENTED: Different stream/playback sample size (32/16). This seems common in SWF files, so we'll warn only once.
30690] 18:49:45: UNIMPLEMENTED: Different stream/playback channels (mono/stereo). This seems common in SWF files, so we'll warn only once.
30690] 18:49:45: ERROR: No samples advertised for sound stream
30690] 18:49:45: ERROR: No samples advertised for sound stream
30690] 18:49:45: DEBUG: Global instance list grew to 3 entries
30690] 18:49:46: ERROR: No samples advertised for sound stream
30690] 18:49:46: ERROR: No samples advertised for sound stream
30690] 18:49:46: ERROR: No samples advertised for sound stream
30690] 18:49:46: ERROR: No samples advertised for sound stream
30690] 18:49:46: ERROR: No samples advertised for sound stream
30690] 18:49:46: ERROR: No samples advertised for sound stream
30690] 18:49:46: ERROR: No samples advertised for sound stream
30690] 18:49:46: DEBUG: Tag 14 has a size of 166461 bytes !!
30690] 18:49:46: UNIMPLEMENTED: MP3 delay seek 1669

When I browse gnash testsuite dir with konqueror and rightclick preview in klashpart I get this output from konqueror:
konqueror: KlashPart::openURL file:///home/fredrikjohansson/Source/gnash/testsuite/media/lynch.swf
konqueror: /usr/local/bin/kde-gnash -x 48246480 -u 'file:///home/fredrikjohansson/Source/gnash/testsuite/media/lynch.swf' '/home/fredrikjohansson/Source/gnash/testsuite/media/lynch.swf'
konqueror: KlashPart::~KlashPart
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 10
Minor opcode: 0
Resource id: 0x3200001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 7
Minor opcode: 0
Resource id: 0x3200001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 6
Minor opcode: 0
Resource id: 0x3200001
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 25
Minor opcode: 0
Resource id: 0x3200001
kparts: WARNING: Part '' has a widget kde_klash_part with a focus policy of NoFocus. It should have at least a ClickFocus policy, for part activation to work well.
konqueror: KlashPart::openURL file:///home/fredrikjohansson/Source/gnash/testsuite/media/offspring.swf
konqueror: /usr/local/bin/kde-gnash -x 48246951 -u 'file:///home/fredrikjohansson/Source/gnash/testsuite/media/offspring.swf' '/home/fredrikjohansson/Source/gnash/testsuite/media/offspring.swf'

Note the NoFocus warning.

my dumpconfig:

Building in directories: libbase libgeometry libamf libmedia server backend utilities gui plugin pythonmodule testsuite po
Some directories may be excluded from the build
Linux linux64 2.6.22-14-generic #1 SMP Tue Dec 18 05:28:27 UTC 2007 x86_64 GNU/Linux
g++ -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
CXXFLAGS: -g -O2 -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type

Image decoding support...
JPEG_CFLAGS is
JPEG_LIBS is -ljpeg
PNG_CFLAGS is
PNG_LIBS is -lpng12
Audio decoding support...
GSTREAMER_CFLAGS is -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
GSTREAMER_LIBS is -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lxml2 -lglib-2.0
GUI Toolkit decoding support...
SDL_CFLAGS is
SDL_LIBS is
KDE_CFLAGS is -I/usr/include/kde -I/usr/include/kde/kio
KDE_LIBS is -lkdeui -lkdecore -lkdeprint
GTK2_CFLAGS is -DPNG_NO_MMX_CODE -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12
GTK2_LIBS is -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpango-1.0 -lcairo -lX11 -lXfixes -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
PANGO_CFLAGS is -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
PANGO_LIBS is -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
ATK_CFLAGS is -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
ATK_LIBS is -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
X11_CFLAGS is -I/usr/include
X11_LIBS is -lX11 -lXinerama -lXext -lSM -lICE
Support libraries...
INCLTDL
LIBLTDL -lltdl
GLIB_CFLAGS is -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
GLIB_LIBS is -lglib-2.0

Z_CFLAGS is
Z_LIBS is -lz
LIBXML_CFLAGS is -I/usr/include/libxml2
LIBXML_LIBS is -lxml2
FREETYPE_CFLAGS is -I/usr/include/freetype2
FREETYPE_LIBS is -lfreetype -lz
FONTCONFIG_CFLAGS is
FONTCONFIG_LIBS is -lfontconfig
PTHREAD_CFLAGS is -pthread
PTHREAD_LIBS is -lpthread
CURL_CFLAGS is
CURL_LIBS is -lcurl
BOOST_CFLAGS is -I/usr/include
BOOST_LIBS is -L/usr/lib64 -lboost_thread-gcc41-mt-1_34_1 -lboost_date_time-gcc41-1_34_1 -lboost_serialization-gcc41-1_34_1
BOOST_EXTRA_LIBS is -lboost_unit_test_framework-gcc41-1_34_1
MING_VERSION_CODE 00030000
MING_LIBS -L/usr/lib -lming
MING_CFLAGS -I/usr/include
MAKESWF /usr/bin/makeswf
MTASC /usr/bin/mtasc
MTASC CLASSPATH /usr/share/ocaml/mtasc/std
SWFMILL /usr/local/bin/swfmill
SWFC /usr/bin/swfc
Graphics support...
AGG_CFLAGS is -I/usr/include/agg2
AGG_LIBS is -lagg_pic -lagg_pic

A blank value for CFLAGS means the header is installed in the
default system header location. All the LIBS should have a
legit value

Configurable options are:
Media handler: gst
Renderer engine: agg
Supported GUI: GTK
Supported GUI: KDE
Security features enables are: localconnection
KPARTS (KDE) plugin enabled
KPARTS plugin install dir: /usr/lib/kde3
KPARTS service install dir: /usr/share/services
KPARTS config dir: /etc/kde3
KPARTS appsdata dir: /usr/share/apps/klash
NPAPI (Mozilla) plugin enabled
NPAPI plugin install dir: /usr/lib/firefox/plugins/

Hope it helps!
Regards
Fredrik Johansson

Fredrik Johansson <mumme>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by mumme (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Jan 2008 08:34:22 PM UTCstrkStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Wed 23 Jan 2008 06:08:05 PM UTCstrkStatusNone=>Confirmed
    Wed 23 Jan 2008 06:08:04 PM UTCstrkSeverity3 - Normal=>5 - Blocker

    Back to the top


    Powered by Savane 3.1-cleanup1