X server xorg

Alex k
hello all
i have 1 week the new mini2440v2 board with 3.5 screen

with the preload version of qt i can get the Gui screen running

if i upload the  OE version x11 or xorg or opie to the mini2440 i cnot get
the xserver runing i get black screen all the time and i get console login
in 

i compile the rootfs from OE and from angstrom website with x11 server
and all have the same problems

i try debian with x11 and its dont show me the gui.

any one have last rootfs with xserver runing or opie ? from the last git ?


Thanks

Jay
I have to agree that it is difficult to get Xorg server running. There are
so many options. Are you sure you configured it for framebuffer device
(fbdev)? I got it running and I was able to start IceWM with touchscreen :)
And I had half of RAM left (approx. 30MB).

Mannto
Hello Jay, you said you could run Ice with 30MB left, can you tell us some
directions on doing this? When i try to run it, i have only 2mb left... can
you give us some manner to do this ?

Really thanks in advance

Rataj
I'm trying to get Xorg server running to and have same problem. Jay could
you please paste here your xorg.conf file?

Alexk
this the error iget for x server i test
       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun 30 11:40:43 2010
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "glx" (module does not exist, 0)
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) FBDEV(0): FBIOPUT_VSCREENINFO: Invalid argument
(EE) FBDEV(0): mode initialization failed

Fatal server error:
AddScreen/ScreenInit failed for driver 0



--
And this is the xorg.conf

Section "Monitor"
        Identifier   "Monitor0"
        ModelName    "Monitor Model"
        DisplaySize 240 320
EndSection
Section "Device"
        #Option "ShadowFB"      "true"
        Identifier  "Card0"
        Driver      "fbdev"
        Option  "fbdev" "/dev/fb0"
EndSection
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
EndSection











and this is the xorg.conf

Jay
I am sorry but I havn't made a backup of the configuration files before I
reinstalled debian. This tutorial has worked for me:
http://project4fun.com/node/5

Jay
Also it depends on the kernel how optimized it is for using low ressources.
It could be that a bad configured kernel is using the whole RAM space if
you try to start the X server so you arn't able to do much with it. I was
able to start VLC as internet radio streaming client. The touchscreen has
worked fine but I needed to do some manual configuration and calibration to
get it working (I have had the problem that the directions were wrong so if
you tried to move the cursor up, it has moved down - but there were some
options in xorg.conf to get it working).

Mannto
Hello Jay, really thanks for you answer! Well my friend, i used all steps
in projects4fun but even making all steps they provided my mem was really
low on running xserver... Even without any window manager (just the X) my
resource went down...
And yes... i also had this terrible calibration problem! lol! 

Did you make any changes in kernel for making X works consuming less
memory? ( I tryed everything in xorg.conf and nothing makes 30mb free)


Can you give us some directions on how to do this? Some tips on configuring
the kernel for this kind of optimization?

This info will save my life and job! lol!

Really thanks in advance

Jay
Would you like to try it with my kernel? It's on
http://git.programmers-projects.de/index?p=mini2440-dev.git;a=tree. But I
am not sure if it lets you enough RAM because I have changed many things in
the configuration in the last time. Without X it takes around 10 MB of RAM.
It's a long time ago as I ran X successfully.

Artem Park
Hello !!!

Can somebody explain briefly or give some resource on how to build XOrg for
ARM? 

I tried to do it by myself, however I don't have experience with XOrg and I
don't know the sequence etc ... I tried to build xorg-server , but I got
some errors concerning some libraries that were not found ...

Please please help me to resolv this.

Many thanks

Jay
It's available as debian package for armel processors. I can't say much
about other distributions because I only need debian so I can install it
via apt-get install xserver-xorg-video-fbdev directly on mini2440 with
working network connection.

alex
Can any one have a working X on the mini2440
if so please can you send us a xorg.conf and more information

widyo
@Artem Park
i did creating an "angstrom package with console interface" from
http://www.angstrom-distribution.org/narcissus/

to use X i add this package
xf86-input-evdev 
xf86-video-fbdev 
xserver-xorg 
xserver-xorg-extension-glx 
xserver-xorg-extension-dri 
xserver-xorg-extension-dri2 
gtk+

after that, i can run my' graphical application' built on gtk.

this is the way i did it from "console package".
=============================
opkg update

opkg install xf86-input-evdev xf86-video-fbdev xserver-xorg
xserver-xorg-extension-glx xserver-xorg-extension-dri
xserver-xorg-extension-dri2 gtk+ libxml2 mkfs-jffs2
=============================

to use this X, i did this
=============================
export DISPLAY=:0.0

X :0.0 -nocursor &

./my_app
=============================

@alex
it worked fine with mine, and i had backuped this root as jffs2 image with
size in 22MB. And i got none in my /etc/X11/xorg.conf.

And yes, those mkfs-jffs2 package i used to backup this root, and i got
failed twice uploading my root image to www.mediafire.com, sigh..

GUTLAK GAN (^_^)7

serg_io
X server can be builded with Buildroot. There can be compiled Xfbdev, which
works fast on this platform.

arm_user
Thank you widyo for the guidance. I have spends days to work it out.