#9590 NORM Opportu: XO-1 F11 screen rotate broken (B4 C2)
Zarro Boogs per Child
bugtracker at laptop.org
Thu Jan 7 22:10:39 EST 2010
#9590: XO-1 F11 screen rotate broken (B4 C2)
---------------------------------------+------------------------------------
Reporter: YChao | Owner: cjb
Type: defect | Status: new
Priority: normal | Milestone: Opportunity
Component: x window system | Version: Development build as of this date
Resolution: | Keywords:
Next_action: diagnose | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
---------------------------------------+------------------------------------
Comment(by puetzk):
I am also seeing this problem, on a 2007 G1G1 machine (I belive C2
hardware?) using the OS11 build from
http://wiki.laptop.org/go/F11_for_XO-1
If I examine the Xorg.0.log after roration fails, the error is:
{{{
(EE) GEODE(0): Couldn't allocate the shadow memory for rotation
(EE) GEODE(0): You need 0x3548a0 bytes, but only 0x0 bytes are available
}}}
So the problem seems to be running out of video memory. Examining the
allocations, there is indeed no free memory.
{{{
(II) GEODE(0): Geode LX video memory e00000 bytes at 0xb5fe4000
(II) GEODE(0): LX video memory:
(II) GEODE(0): Display: 0x72db20 bytes
(II) GEODE(0): Cursor: 0x3000 bytes
(II) GEODE(0): EXA: 0x58f4e0 bytes
(II) GEODE(0): FREE: 0x0 bytes
(II) EXA(0): Offscreen pixmap area of 5829856 bytes
}}}
But 0x72db20 bytes seems like way too much for as 1200x900x24bit display.
Hunting through the log a bit more, I find
GEODE(0): Virtual size is 1940x1200 (pitch 0)
So it's configuring extra virtual size, and using up all of its memory to
do so.
I have been able to make this work again by limiting the virtual
resolution in /etc/X11/xorg.conf using `Virtual`
{{{
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Virtual 1200 900
Depth 16
Modes "1200x900"
EndSubSection
EndSection
}}}
This reduces the memory commitments to:
{{{
(II) GEODE(0): Geode LX video memory e00000 bytes at 0xb6048000
(II) GEODE(0): LX video memory:
(II) GEODE(0): Display: 0x2bf200 bytes
(II) GEODE(0): Cursor: 0x3000 bytes
(II) GEODE(0): EXA: 0x5ee800 bytes
(II) GEODE(0): FREE: 0x40f600 bytes
(II) EXA(0): Offscreen pixmap area of 6219776 bytes
}}}
And all four rotations work again.
--
Ticket URL: <http://dev.laptop.org/ticket/9590#comment:7>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list