Bug 1797 - [n450] X fails to start: dlopen of i915_fri.so fails
Summary: [n450] X fails to start: dlopen of i915_fri.so fails
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-configuration (show other bugs)
Version: 1.2
Hardware: Blacksand Multiple
: High major
Target Milestone: 1.2 M1
Assignee: Darren Hart
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-11-30 16:18 UTC by Darren Hart
Modified: 2012-01-10 17:57 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darren Hart 2011-11-30 16:18:26 UTC
OE Build Configuration:
BB_VERSION        = "1.15.0"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "n450"
DISTRO            = "poky"
DISTRO_VERSION    = "1.1+snapshot-20111201"
TUNE_FEATURES     = "m32 core2"
TARGET_FPU        = ""
meta              
meta-yocto        = "dvhart/updates:300f065d736b57cf9d89aa20965f7e5aec6d58cb"
meta-intel        
meta-n450         = "master:68c6b19d623b34a504090ad2c706859ecc946256"

...

root@n450:~# X

X.Org X Server 1.11.1
Release Date: 2011-09-24
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.0-13-server x86_64 
Current Operating System: Linux n450 3.0.4-yocto-standard+ #1 SMP PREEMPT Wed Nov 6
Kernel command line: initrd=initrd LABEL=boot console=ttyS0,115200 console=tty0 ro 
Build Date: 30 November 2011  02:28:28PM
 
Current version of pixman: 0.22.0
        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 Nov 30 23:25:39 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
FATAL: Module fbcon not found.
Raw EDID:

Raw EDID:

Raw EDID:

Raw EDID:

i915 0000:00:02.0: VGA-1: EDID block 0 invalid.
Raw EDID:

Raw EDID:

Raw EDID:

Raw EDID:

i915 0000:00:02.0: VGA-1: EDID block 0 invalid.
(EE) AIGLX error: dlopen of /usr/lib/dri/i915_dri.so failed (/usr/lib/dri/i915_dri)
(EE) AIGLX: reverting to software rendering
(EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast)
(EE) GLX: could not load software renderer
Comment 1 Darren Hart 2011-12-09 12:13:01 UTC
This file does exist: /usr/lib/dri/i915_dri.so
I suspect the reported error of "No such file or directory" is innacurate. I will have a look at "FATAL: Module fbcon not found." and see if that may be the cause.
Comment 2 Darren Hart 2011-12-09 13:00:40 UTC
This appears to be related to ROOTLESS_X. Dropping ROOTLESS_X gets things working.
Comment 3 Darren Hart 2011-12-09 13:04:45 UTC
Marking as resolved. Another bug should be opened to track getting ROOTLESS_X working again.

http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/commit/?id=3cb35ba444dcc9d1a477c307593dd2387cd53b18
Comment 4 Edwin Zhai 2012-01-10 17:51:48 UTC
(In reply to comment #1)
> This file does exist: /usr/lib/dri/i915_dri.so
> I suspect the reported error of "No such file or directory" is innacurate. I
> will have a look at "FATAL: Module fbcon not found." and see if that may be the
> cause.

This error is harmless, we can still start X without it. BTW, this is the DRI module that exist as /usr/lib/xorg/modules/extensions/libdri.so, which is provided by xserver-xorg-extension-dri.
Comment 5 Edwin Zhai 2012-01-10 17:57:01 UTC
(In reply to comment #3)
> Marking as resolved. Another bug should be opened to track getting ROOTLESS_X
> working again.
> 
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/commit/?id=3cb35ba444dcc9d1a477c307593dd2387cd53b18

I believe this bug caused by xuser creation(no home directory). After fix it, we need re-enable rootless X for n450.

Thanks,
Edwin