Text drawing problems on armbe-linux platform with sisusb driver

George McCollister georgem at novatech-llc.com
Thu Nov 30 13:20:57 PST 2006


I'm having trouble with text drawing in X on an ARM (XScale) Linux 2.6.x 
big endian platform using the sisusb driver. Text is drawn, but it is 
always ~20 pixels to the right of where it should be. All X applications 
including xterm, xfontsel, xcalc and xgc have the problem. The problem 
also happens regardless of which font or type of font is being used.

The same source tree with the same configuration on a powerpc (also big 
endian) Linux 2.6.x platform with the same X driver (and sisusb kernel 
driver) works fine. I was originally experiencing the problem with 
6.9.0, but I finally got the GIT tree cross compiling and it is having 
the same issue.

When building in 6.9.0, I was using all of the libraries included in 
xc/extras so I don't believe the problems stems from an incompatible 
library version.

This is a link to a picture I took after running “startx”.
http://server1.novatech-llc.com/xorg_690_armbe_linux_sisusb_drawtext.jpg

Does anyone have any idea which library or portion of X might be causing 
this problem. If I have some idea of where the problem is occurring I 
can probably fix the problem and post a patch. Any and all suggestions 
are much appreciated.

If anyone would like me to provide more information please let me know.

Cross compiler Information:
armbe-linux-gcc -v
Reading specs from /opt/arcom/lib/gcc/armbe-linux/3.4.2/specs
Configured with: ../gcc-3.4.2/configure 
--with-gxx-include-dir=/opt/arcom/armbe-linux/include/c++/3.4.2 
--target=armbe-linux --host=i386-pc-linux-gnu --enable-cross-compiler 
--enable-languages=c,c++ --with-gnu-as --with-gnu-ld --prefix=/opt/arcom 
--mandir=/opt/arcom/share/man --with-slibdir=/opt/arcom/armbe-linux/lib 
--enable-symvers=gnu --enable-c99 --enable-long-long --without-newlib 
--enable-threads --enable-shared --enable-__cxa_atexit 
--with-arch=armv4t --with-float=hard
Thread model: posix
gcc version 3.4.2

Here is the output when running startx on the Xscale:
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X Window System Version 7.1.99.2
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.1.99.2
Build Operating System: Linux 2.6.16.13-4-smp x86_64
Current Operating System: Linux vulcan 2.6.11.11-arcom1 #1 Wed Nov 15 
08:29:29 CST 2006 armv5teb
Build Date: 28 November 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/georgem/X11R7.1//var/log/Xorg.0.log", Time: Thu 
Nov 30 15:17:07 2006
(==) Using config file: "/etc/X11/xorg.conf"

Regards,
George McCollister


This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete
the original.  Any other use of the email by you is prohibited.


This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete
the original.  Any other use of the email by you is prohibited.



More information about the xorg mailing list