WSOD fix.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view

WSOD fix.

Lars-Peter Clausen
Hash: SHA1


I've just pushed a patch[1] to the 2.6.34 tree which has been proven to be quite
effective, in regarding to fixing the WSOD in my 2.6.37 tree.
Previously turning the screen on and off had a 60% change of resulting in a permanent
Which the patch applied I haven't seen a single WSOD within 100 display on/off cycles.

You'll still see a short WSOD when turning the display on, that is because the fix
add an additional delay of 100ms in the display init sequence and now the backlight
is turned on before the display.

To get a smooth experience the following scripts have been proven to be useful.

echo 0 > /sys/class/graphics/fb0/blank
echo 0 > /sys/class/lcd/jbt6k74-lcd/lcd_power
echo 63 > /sys/class/backlight/pcf50633-backlight/brightness

echo 0 > /sys/class/backlight/pcf50633-backlight/brightness
echo 4 > /sys/class/lcd/jbt6k74-lcd/lcd_power
echo 4 > /sys/class/graphics/fb0/blank

They make sure that display, backlight and framebuffer are turned on/off in the
correct order.

- - Lars

Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


Reply | Threaded
Open this post in threaded view

Re: WSOD fix (cosmetic issues, white screen for 100ms with xset dpms controlling backlight)

Timo Juhani Lindfors
Lars-Peter Clausen <[hidden email]> writes:

I have black background in X and let X handle backlight. When I touch
the screen I see white screen for 100 ms. If I use

> #!/bin/sh
> #
> echo 0 > /sys/class/graphics/fb0/blank
> echo 0 > /sys/class/lcd/jbt6k74-lcd/lcd_power
> echo 63 > /sys/class/backlight/pcf50633-backlight/brightness

> #!/bin/sh
> #
> echo 0 > /sys/class/backlight/pcf50633-backlight/brightness
> echo 4 > /sys/class/lcd/jbt6k74-lcd/lcd_power
> echo 4 > /sys/class/graphics/fb0/blank

then I do not see the white screen.

How should we integrate this to Xorg so that normal "xset dpms" could
be used?