Bug 36337 - white screen occur when switching to fullscreen while playing youtube flash
Summary: white screen occur when switching to fullscreen while playing youtube flash
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Chris Wilson
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-18 01:32 UTC by Zhou Ting
Modified: 2011-04-27 20:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
x log file when white screen occur (23.25 KB, application/octet-stream)
2011-04-20 22:29 UTC, Zhou Ting
no flags Details

Description Zhou Ting 2011-04-18 01:32:41 UTC
Whenever I'm in a flash site, fullscreen does not work. For example, Youtube full screen button turns my screen white but the audio works, and when I go back to normal window, it shows the video and audio.

If I uncheck "enable hardware acceleration" in flash player setting, switching to fullscreen works normally

Already under fullscreen playback, if I toggle on the "enable hardware acceleration", the video playback is normal. 

my system info:
os:  meego netbook (http://repo.meego.com/MeeGo/builds/trunk/1.1.99.2.20110412.6/images/meego-netbook-ia32/)
graphic: 
Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)

xorg-x11-drv-intel-2.13.0-4.6.i586
xorg-x11-server-1.9.0-11.10.i586
mutter-2.31.5_1.1-3.8.i586
mutter-netbook-0.77.3-2.2.i586


The problem occured in both firefox and chrome, so I exclude this is a browser issue:
http://www.google.com/support/forum/p/Chrome/thread?tid=7b09acf1defb2ddb&hl=en
http://support.mozilla.com/en-US/kb/Cannot%20view%20full%20screen%20Flash%20videos


I have a fedora 12 installed in an ibm laptop t61, with the same version  flash-plugin-10.2.153.1-release.i386 installed, the problem didn't occur in ibm t61. From this point, it seems flash player shouldn't take all responsibilty for the white screen. 


there is no print message in xorg.log and dmesg out when white screen problem occur.
Comment 1 Chris Wilson 2011-04-18 23:25:10 UTC
I believe it is this old bug:

commit 53fbc9f1760ee481cba1f6dceb9e7c97282a2976
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Dec 30 15:32:40 2010 +0000

    Don't replace the scanout bo through PutImage
    
    As the bo may be pinned for either use by the scanout or through sharing
    with another application, under those circumstances we cannot replace
    the bo itself but must force the blit for PutImage.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31367
    Reported-and-tested-by: Bjørn Mork <bjorn@mork.no>
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 2 Zhou Ting 2011-04-19 01:56:06 UTC
Thanks for the quick response. 

I merged the following pathes to 2.13 2D driver, but it failed to resolve the white screen problem.

2011-01-02       dri: Fix the use of the uninitialised bo for flink 
2010-12-31       dri: Protect against using dri with an non-gem pixmap 
2010-12-30       Don't replace the scanout bo through PutImage
Comment 3 Chris Wilson 2011-04-19 02:17:22 UTC
Other possibilities for old bugs include the various page-flipping bugs fixed in xserver-1.10.
Comment 4 Chris Wilson 2011-04-19 02:17:53 UTC
Downrating priority until this can be confirmed as actually affecting upstream.
Comment 5 Zhou Ting 2011-04-20 18:33:25 UTC
This may be not a 2d driver issue.

flash player is a black box to us, after searching, the doc shows flash player use opengl to do the rgb scaling instead of xv: http://blogs.adobe.com/penguinswf/2008/05/flash_uses_the_gpu.html
Comment 6 Zhou Ting 2011-04-20 22:29:50 UTC
Created attachment 45902 [details]
x log file when white screen occur

The problem can be excluded relevant with windows manager in meego - mutter.
I did the following steps not to start mutter, the problem still occur, attachment is the x  log file when white screen occur.

ctrl+alt+F1
init 3
xinit
su meego
chromium-browser 
play youtube flash
make sure "enable hardware acceleration" in flash player is checked
press fullscreen button
white screen occur
Comment 7 Zhou Ting 2011-04-27 20:45:20 UTC
This is not an upstream defect.
Not clear of the history, in meego os, there is a patch which disables i915 driver GL_ARB_texture_rectangle. After removing the patch, the white screen problem can be resolved.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.