andreasgal / B2G

Boot to Gecko aims to create a complete, standalone operating system for the open web.
https://wiki.mozilla.org/B2G
907 stars 158 forks source link

Display quality corrupted after suspend on SGS2 #231

Closed kanru closed 12 years ago

kanru commented 12 years ago

Texture disappeared from the dialer app and the gradient of the homescreen background looks horrible.

Step to reproduce:

  1. reboot
  2. open dialer
  3. cat /dev/graphics/fb0 > /data/local/tmp/fb0.raw
  4. stop b2g
  5. echo mem > /sys/power/state
  6. echo on > /sys/power/state
  7. cat /data/local/tmp/fb0.raw > /dev/graphics/fb0
  8. check the texture

I grabbed a copy of fb0.raw and tested it on stock image, they don't have this issue.

kanru commented 12 years ago

Works on ClockworkMod Recovery v4.0.1.4, Linux 2.6.35.7-01045-g551a073-dirty

But not with 2.6.35.7-gc786b4a build from B2G

kanru commented 12 years ago

Hum.. wrong direction. Our kernel + samsung userspace also works.

kanru commented 12 years ago

SGS2 kernel reads lcd config files under /system/etc/, we have to copy them.

Patch: https://github.com/cgjones/android_device_samsung_galaxys2/pull/21