Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yegor Yefremov <yegor_sub1@visionsystems.de>
To: buildroot@busybox.net
Subject: [Buildroot] X11 issue
Date: Fri, 12 Oct 2012 15:22:54 +0200	[thread overview]
Message-ID: <507819AE.7030408@visionsystems.de> (raw)
In-Reply-To: <CADiAo4Jv5+seNc=3xBCXOL+xfnzX6vzaJD5eEmh5h2y5Cmsvnw@mail.gmail.com>

Dmitry,

> You wrote to this list on Aug 30, 2012:
> 
>> For some time I reported about x11 problems with my am3517 based
>> board. Is anyone using xorg and can reproduce my issue? I'd like to
>> know if it is OMAP related ot not.
> 
>> This is the error: (EE) FBDEV(0): internal error: miCreateDefColormap
>> failed in FBDevScreenInit()
> 
> I am getting the same error on plain x86 hardware (bare or in KVM).
> 
> In the file xserver_xorg-server-1.7.5/dix/colormap.c (relative to the
> buildroot build area) the following code:
> 
> ca.  line 395, function CreateColormap
> 
>     /*
>      * Security creation/labeling check
>      */
>     i = XaceHook(XACE_RESOURCE_ACCESS, clients[client], mid, RT_COLORMAP,
>                  pmap, RT_NONE, NULL, DixCreateAccess);
>     if (i != Success) {
>       FreeResource(mid, RT_NONE);
>       return i;
>     }
> 
> the value returned from XaceHook is not Success, so CreateColormap
> fails here. It returns to the function miCreateDefColormap located in
> xserver_xorg-server-1.7.5/mi/micmap.c, ca. line 314, and then the
> caller of miCreateDefColormap (in the fbdev driver) prints the message
> you saw.
> 
> If I comment out the return after XaceHook, miCreateDefColormap seems
> to proceed, but the X server crashes.
> 
> I'll try to build gdb for the target and see where this takes me. If
> anybody else saw this error and got any more results please share
> here.
> 
> Hope this helps.

I'm testing the latest BR i.e. xserver 1.9.4. Here you can see the full xdm output:

X.Org X Server 1.9.4
Release Date: 2011-02-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.1.9-1.4-desktop x86_64
Current Operating System: Linux buildroot 3.2.9+ #239 Thu Oct 11 15:08:16 CEST 2012 armv7l
Kernel command line: console=ttyO3,115200n8 rootwait root=/dev/mmcblk0p2 rw nohlt
Build Date: 12 October 2012  09:40:52AM

Current version of pixman: 0.25.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 31 17:00:25 1969
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Primary device is not PCI
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/misc/
[dix] Could not init font path element ${prefix}/share/fonts/X11/misc/, removing from list!
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/TTF/
[dix] Could not init font path element ${prefix}/share/fonts/X11/TTF/, removing from list!
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/OTF/
[dix] Could not init font path element ${prefix}/share/fonts/X11/OTF/, removing from list!
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/Type1/
[dix] Could not init font path element ${prefix}/share/fonts/X11/Type1/, removing from list!
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/100dpi/
[dix] Could not init font path element ${prefix}/share/fonts/X11/100dpi/, removing from list!
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/75dpi/
[dix] Could not init font path element ${prefix}/share/fonts/X11/75dpi/, removing from list!
/usr/bin/xrdb:  "xlogin*greetFont" on line 32 overrides entry on line 23
/usr/bin/xrdb:  "xlogin*font" on line 33 overrides entry on line 24
/usr/bin/xrdb:  "xlogin*promptFont" on line 34 overrides entry on line 25
/usr/bin/xrdb:  "xlogin*failFont" on line 35 overrides entry on line 26
/usr/bin/xrdb:  "xlogin*greetFace" on line 36 overrides entry on line 27
/usr/bin/xrdb:  "xlogin*face" on line 37 overrides entry on line 28
/usr/bin/xrdb:  "xlogin*promptFace" on line 38 overrides entry on line 29
/usr/bin/xrdb:  "xlogin*failFace" on line 39 overrides entry on line 30
/usr/bin/xrdb:  "xlogin*borderWidth" on line 55 overrides entry on line 43
/usr/bin/xrdb:  "xlogin*frameWidth" on line 56 overrides entry on line 44
/usr/bin/xrdb:  "xlogin*innerFramesWidth" on line 57 overrides entry on line 45
/usr/bin/xrdb:  "xlogin*shdColor" on line 58 overrides entry on line 46
/usr/bin/xrdb:  "xlogin*hiColor" on line 59 overrides entry on line 47
/usr/bin/xrdb:  "xlogin*logoFileName" on line 65 overrides entry on line 63

-:0         : symbol 'XRenderParseColor': can't resolve symbol
xdm error (pid 109): (null) while loading /usr/lib/X11/xdm/libXdmGreet.so
xdm info (pid 98): Exiting

So far couldn't anything valuable in web.

Best regards,
Yegor

  reply	other threads:[~2012-10-12 13:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-12  3:22 [Buildroot] X11 issue Dmitry Golubovsky
2012-10-12 13:22 ` Yegor Yefremov [this message]
2012-10-15  9:39   ` Yegor Yefremov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=507819AE.7030408@visionsystems.de \
    --to=yegor_sub1@visionsystems.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox