For the Raspberry Pi Tommy (Cho Long) Chor
X. Org Foundation was created in 2004 Open source implementation of the X Window System Developed in conjunction with freedesktop.org
Computer software system and network protocol Provides a basis for GUI’s and input devices (mice, keyboards etc) Architecture-independent, allows remote user interfaces for a “time-sharing” computer Time-sharing computer allows a large number of users to interact concurrently with single computer
Credit-card sized computer SDRAM: 128mb (Model A) or 256mb (Model B) CPU: 700 MHz ARM11 GPU: Broadcom VideoCore IV,OpenGL ES 2.0, 1080p30 H.264 high-profile decode Very memory limited Powerful GPU
Tested memory usage of X Server in a virtualized environment VM: Fedora 13 x86 with 256/192/128mb of memory and different screen resolutions Tested in both Virtual Box and Vmware Workstation Released memory usage results found: 8/sbr600-release-0-1-testing-xorg-conf- in-virtual-machines/ 8/sbr600-release-0-1-testing-xorg-conf- in-virtual-machines/
As screen sized increased, memory usage on X Server increased (expected) As I decreased the memory on the VM, the X Server memory decreased as well (not expected) Potential reason may be due to enabled swap memory
Tweaked xorg.conf in the VM’s from release 0.1 Tweaked xorg.conf on the Raspberry Pi Dissected the default xorg.conf and removed unnecessary extensions to save memory usage
MIT-SCREEN-SAVER, RANDR, RECORD, SHAPE, XInputExtension, XINERAMA, Xvideo Released a tweaked xorg.conf found: 5/sbr600-release-0-2-creating-xorg-conf- and-testing-on-the-pi/ 5/sbr600-release-0-2-creating-xorg-conf- and-testing-on-the-pi/
Tried a different approach and attempted to rebuild the X Org Server package to reduce memory usage X Server package comes with Xnest, devel Removed packages that were unnecessary for running X Server
My package was rebuilt successfully Rpmlint on srpm, rpm, spec file showed no errors Memory usage was similar to results in my 0.1 results (around 100mb) Note: this memory usage is on a x86 Fedora VM Will release the srpm, rpm, spec file in my blog post later today
My attempts at tweaking X server did not have much impact on reducing memory usage I wanted to tweak some driver settings inside xorg.conf but fbdev didn’t have a lot of options that were useful Maybe tweaking the drivers would be better for reducing memory usage