#10742 NORM 11.2.0-: Screen corrupted when in suspend
Zarro Boogs per Child
bugtracker at laptop.org
Fri Mar 11 17:25:03 EST 2011
#10742: Screen corrupted when in suspend
---------------------------------------+------------------------------------
Reporter: erikos | Owner: jnettlet
Type: defect | Status: new
Priority: normal | Milestone: 11.2.0-M4
Component: x window system | Version: Development build as of this date
Resolution: | Keywords:
Next_action: design | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
---------------------------------------+------------------------------------
Comment(by dsd):
DPMS is enabled when it shouldn't be. I'm assuming this is the cause of
this bug.
I had a quick look at why the existing "Option DPMS off" setting isn't
working. I'm a bit confused, but hopefully this makes some sense:
Xorg isn't picking up our "Monitor" section. Judging by the source code,
this is by design. If you don't specify a Screen section, it just gives
you a default monitor, without checking if you might have provided one.
So I added a Screen section:
{{{
Section "Screen"
Identifier "Screen0"
Device "Configured Video Device"
Monitor "LCD"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1200x900"
Virtual 1200 1200
EndSubSection
EndSection
}}}
but now I seem to be in the land of untested chrome codepaths. First of
all this broke X because:
{{{
X: symbol lookup error: /usr/lib/xorg/modules/drivers/chrome_drv.so:
undefined symbol: VIAIsPanelSizeValid
}}}
after modifying VIAGetOptions_LCDInfo() to not run that check (and always
assume validity), I get a new crash:
{{{
Backtrace:
0: X (xorg_backtrace+0x3b) [0x80e7e1b]
1: X (0x8048000+0x5dc45) [0x80a5c45]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0xa78c240c]
3: X (miScreenInit+0x43) [0x81a76d3]
4: /usr/lib/xorg/modules/libfb.so (fbFinishScreenInit+0x12e) [0xa774535e]
5: /usr/lib/xorg/modules/libfb.so (fbScreenInit+0x94) [0xa77455b4]
6: /usr/lib/xorg/modules/drivers/chrome_drv.so (0xa7790000+0x399bf)
[0xa77c99bf]
7: X (AddScreen+0x17c) [0x806f71c]
8: X (InitOutput+0x2ad) [0x80b6bbd]
9: X (0x8048000+0x1a1d5) [0x80621d5]
10: /lib/libc.so.6 (__libc_start_main+0xe6) [0x426e36]
11: X (0x8048000+0x19f71) [0x8061f71]
Floating point exception at address 0x81a76d3
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/10742#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list