bugGnash - The GNU Flash player - Bugs: bug #23299, Gnash renders upside down

 
 

bug #23299: Gnash renders upside down

Submitted by:  None
Submitted on:  Mon 19 May 2008 07:53:53 PM UTC  
 
Category: render-openglSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Bastiaan Jacques <bjacques>
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)

Sun 08 Apr 2012 01:05:20 PM UTC, comment #9:

Presumed fixed per comment #8.

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Sat 06 Dec 2008 02:40:12 PM UTC, comment #8:

This was fixed for me in trunk a week ago or so.

-Deleted Account- <geki>
Sat 18 Oct 2008 11:13:29 PM UTC, comment #7:

just wanted to say that in -trunk this bug still exists (though a bit worse IIRC)

the current example of a youtube vid:

http://jtgfashion.homelinux.org/~edman007/opengl-gnash.png

(note, in that one the video is playing, so it appears to be outside the window)

also it appears to work just fine when run as a stand alone thing, its not messed up until -x is used to put it inside a browser

Also the 'ERROR: OpenGL: invalid enumerant ' mentioned below seems to just be an issue playing the flash file on amd.com, when playing youtube stuff i don't get it (right now i'm using the radeonhd vid driver on a r600 chip, so all opengl stuff is mesa)

and my current config:

Build options trunk
Target:
Renderer: ogl - GUI: GTK - Media handler: gst
Configured with: --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var --mandir=/usr/man --docdir=/usr/doc/gnash-bzr --enable-gui=gtk --enable-renderer=ogl --enable-jpeg --enable-freetype2 --enable-fontconfig --enable-Xft --enable-jemalloc --enable-media=gst --enable-gstreamer
CXXFLAGS: -O3 -fPIC -march=native -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused
Built against gstreamer version: 0.10.19
Linked against gstreamer version: 0.10.19

Ed Martin <edman007>
Tue 07 Oct 2008 11:17:38 PM UTC, comment #6:

What I noticed here is that if I start Gnash in paused-mode it is upside down.
If not ogl renders just fine...

-Deleted Account- <geki>
Sun 22 Jun 2008 04:38:05 AM UTC, comment #5:

I tested it and the attached patch does fix the inverted issue, however opengl throws a lot or this

20587:47552880220832] 00:31:10 ERROR: OpenGL: invalid enumerant
20587:47552880220832] 00:31:10 ERROR: OpenGL: invalid enumerant
20587:47552880220832] 00:31:10 ERROR: OpenGL: invalid enumerant
20587:47552880220832] 00:31:10 ERROR: OpenGL: invalid enumerant
20587:47552880220832] 00:31:10 ERROR: OpenGL: invalid enumerant
20587:47552880220832] 00:31:10 ERROR: OpenGL: invalid enumerant

switching to the cairo render results in something that looks better (with OpenGL everything is not always in the right place, some things just don't show)

Ed Martin <edman007>
Wed 28 May 2008 06:38:37 AM UTC, comment #4:

I did a little more testing with this an found out that it only happens in a browser (FF/seamonkey both tested), if i use exact same command that the browser used to play the .swf (minus the -x 123) then it plays fine in its own window. It also only happens when using the OpenGL renderer, switching to cairo makes it work fine without flipping everything.

Ed Martin <edman007>
Wed 21 May 2008 08:10:11 AM UTC, comment #3:

Bwy tested the OpenGL renderer on his 64-bit box and found the video was not inverted.

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Mon 19 May 2008 08:35:09 PM UTC, comment #2:

Ed switched to a nonaccelerated DRI driver and found the results to be the same. So this is most likely a 64-bit issue.

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Mon 19 May 2008 08:02:16 PM UTC, comment #1:

And for the openGL info, i'm using an ATI RadeonHD 3870 and my driver is fglrx v8.4

Ed Martin <edman007>
Mon 19 May 2008 07:53:53 PM UTC, original submission:

I don't know why, but after i got gnash setup everything is upside down as shown in this pic:

http://antiwindows.gotdns.com/~edman007/gnash-bug.png

i'm running slamd64 (12.1rc1) (everything is running in 64-bit mode)

this is my configure options (i used CVS HEAD from 5/18/08)

Build options cvs
Target:
Renderer: ogl - GUI: GTK - Media handler: gst
Configured with: --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var --mandir=/usr/man --docdir=/usr/doc/gnash-cvs --enable-gui=gtk --enable-renderer=OpenGL --enable-jpeg --enable-freetype2 --enable-fontconfig --enable-Xft --enable-gstreamer --enable-media=GST
CXXFLAGS: -O2 -fPIC -march=nocona -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -fvisibility-inlines-hidden
Built against gstreamer version: 0.10.19
Linked against gstreamer version: 0.10.19

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #15870:  gnash_ogl-flip.diff added by geki (402B - text/x-diff - workaround: flip ogl top/bottom for browser usage only)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by geki (Updated the item)
  • -unavailable- added by bjacques (Posted a comment)
  • -unavailable- added by edman007 (Posted a comment)
  •  

    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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 08 Apr 2012 01:05:20 PM UTCbjacquesStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Wed 30 Mar 2011 11:54:54 PM UTCbjacquesCategoryNone=>render-opengl
    Thu 19 Jun 2008 01:18:26 PM UTCgekiAttached File-=>Added gnash_ogl-flip.diff, #15870
    Mon 19 May 2008 08:35:09 PM UTCbjacquesStatusNone=>Confirmed
      Assigned toNone=>bjacques

    Back to the top


    Powered by Savane 3.1-cleanup1