zhenghx1105 / androidscreencast

Automatically exported from code.google.com/p/androidscreencast
0 stars 0 forks source link

Screen flickers when opening menu's #52

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Device name : T-Mobile G1
Device rooted (yes/no) : Yes
Device OS version (1.5/1.6/2.0,...) : 2.1

Computer OS and version (Mac,Win,Linux,...) : Windows 7 Home Premium 64bit
Java version (java -version from command line) :
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
ADB version (adb version from command line) : 1.0.25
AndroidScreencast version : 0.4

What steps will reproduce the problem?
1. Start the java app
2. Unlock device screen
3. Click somewhere like opening the app menu
4. close it

What is the expected output? What do you see instead?
Screen flickers with last closed screen. won't stop until pressing 
the 'home' button.

Please provide any additional information below.
added a movie.

Original issue reported on code.google.com by rvbfotog...@gmail.com on 20 May 2010 at 9:30

Attachments:

GoogleCodeExporter commented 9 years ago
I can verify this problem on my rooted HTC Magic with android 2.1. Problem was 
not existing when my phone wasn't rooted and running offical android 1.5 HTC 
ROM.

Original comment by ole...@gmail.com on 22 Jun 2010 at 12:34

GoogleCodeExporter commented 9 years ago
Same here on Dream/G1 with 2.1 (CyanogenMod) 

Original comment by mvklinge...@gmail.com on 25 Jul 2010 at 11:42

GoogleCodeExporter commented 9 years ago
Same problem here on HTC Magic with CyanogenMod 6.0 / Android 2.2.

Volunteer to help testing...

Original comment by jlc...@gmail.com on 7 Oct 2010 at 10:49

GoogleCodeExporter commented 9 years ago
Also present on HTC G1 with CyanogenMod v5.0.8-DS

I'm not sure that video tells the story clearly 
#  When you startup, everything is fine - but the moment something animates the 
problems begin and never end
#  During animation sequences, there's something wrong, but it is not really 
clear precisely what "something" is
#  When the animation concludes, the display seems to jump between two frames 
a) The frame visible on the phone and b) the previous *different* frame
#  This swapping will continue until another animation occurs - when the 
animation concludes, the screen will now have two new images to switch between

It's almost as if the video display is double-buffered and only effected during 
video changes (Ie. No endless "refresh" frames) - which would make sense for an 
embedded device.

What is the command you issue to take a screen-grab?

I am also happy to help test possible solutions.

BC

Original comment by csbluechip on 22 Apr 2011 at 4:12

GoogleCodeExporter commented 9 years ago
While hunting around I found this link:
  http://digitalbreed.com/2010/android-pull-screenshot-with-adb
It shows how to pull a frame from the device with an adb command.  Essentially: 
  adb  pull  /dev/graphics/fb0  screenshot_320x480x16_rgb565.raw
I guess the screen res may vary, but that filename is just fine for my G1 
...and Irfanview will happily display it (without the raw2png conversion 
described at that link).

Obviously getting anything resembling animation this way is nigh impossible - 
but nonetheless, when I pull a screenshot, I always get what I expect to see 
...Mainly, that is, no historical ghost frames.

Could the double buffering be something to do with this method being different 
to the DDMS method? (assuming it is) ...Could there be a double buffer inside 
screencast?

Original comment by csbluechip on 22 Apr 2011 at 4:51

GoogleCodeExporter commented 9 years ago
had this problem too. when accessing google account, or anything related to 
getting google's permission/account authentication, the screen flickers like 
mad and can only be rid off by pressing the home button. rebooted the phone and 
the problem ceased. but this gave me a shock. what's going on?

Original comment by lee.val...@gmail.com on 25 Apr 2011 at 3:51