Bug 6583

Summary: [Test Case 972] Xorg log: Failed to load module "present"
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Stoicescu Cornel <corneliux.stoicescu>
Component: graphicsAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact: Alexandru Georgescu <alexandru.c.georgescu>
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, costin.c.constantin, georgex.l.musat, meta.mr.watcher, meta.watcher, ross.burton
Version: 1.7   
Target Milestone: 1.7 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Stoicescu Cornel 2014-07-28 09:00:15 UTC
STATUS: FAILED
BUILD: master: 8b7116d25ed6255a03895d835e5a0560858ab496
ENVIRONMENT: genericx86-64 on Sugarbay
STEPS TO REPRODUCE: 
  
- target must have x11-base in image features
- run command " cat /var/log/Xorg.0.log | grep -v "(EE) error," | grep -v "PreInit" | grep -v "evdev:" | grep -v "glx" | grep "(EE)" "



OUTCOME:

[1782320.287] (EE) intel: Failed to load module "present" (module does not exist, 0)

NOTE: This is a result from an automated test. IF necessary, we can do a more in-depth analysis and provide more information.
Comment 1 Darren Hart 2014-07-31 13:47:11 UTC
which image?
Comment 2 Stoicescu Cornel 2014-07-31 14:41:04 UTC
On a core-image-sato-sdk.
Comment 3 Alexandru Georgescu 2014-07-31 14:45:07 UTC
(In reply to comment #2)
> On a core-image-sato-sdk.

Corneliu, can you tell when the issue have appeared? Info like if the issue is new or when it appeared will help both the triage but also the developer to address the issue.
Comment 4 Costin 2014-08-07 13:05:19 UTC
Hello,

The issue is present on core2-32 also (more elaborate). 


[2849106.418] (EE) Failed to load module "psb" (module does not exist, 0)
[2849106.419] (EE) Failed to load module "psbdrv" (module does not exist, 0)
[2849106.434] (EE) open /dev/dri/card0: No such file or directory
[2849106.434] (EE) open /dev/dri/card0: No such file or directory
[2849106.495] (EE) open /dev/fb0: No such file or directory
[2849106.496] (EE) open /dev/fb0: No such file or directory
[2849106.497] (EE) Screen 0 deleted because of no matching config section.
[2849106.497] (EE) Screen 0 deleted because of no matching config section.
[2849109.316] (EE) AIGLX: reverting to software rendering



I ran the image on emenlow.

poky: 2d1660112e54653f7bb763939d0416472c49fe01
link to image:
http://yocto-ab-master.jf.intel.com/pub/nightly-meta-intel/20140729-1/machines/intel-core2-32/


Regards,

Costin
Comment 5 Stoicescu Cornel 2014-08-07 13:23:32 UTC
Hello,

I only ran the test recently, someone else in my team normally runs this(now in CC). My opinion is that if it was not reported until now, it has just appeared and the build mentioned by me is the latest that we got for testing and has the issue.
Comment 6 Costin 2014-09-24 12:38:18 UTC
Hello,

Issue reproduced on core-image-sato-sdk for core2_32:

root@intel-core2-32:~# cat /var/log/Xorg.0.log | grep -v "(EE) error," | grep -v "PreInit" | grep -v "evdev:" | grep -v "glx" | grep "(EE)"
[2688622.992] (EE) Failed to load module "psb" (module does not exist, 0)
[2688622.993] (EE) Failed to load module "psbdrv" (module does not exist, 0)
[2688623.027] (EE) open /dev/dri/card0: No such file or directory
[2688623.028] (EE) open /dev/dri/card0: No such file or directory
[2688623.084] (EE) open /dev/fb0: No such file or directory
[2688623.085] (EE) open /dev/fb0: No such file or directory
[2688623.085] (EE) Screen 0 deleted because of no matching config section.
[2688623.085] (EE) Screen 0 deleted because of no matching config section.
[2688626.179] (EE) AIGLX: reverting to software rendering


poky : 7d80f8e9468253496a7097685aac8f468940a9c5
meta-intel : 200ebb54f46f364e7eb1738c5e993374f03f407d

Costin
Comment 7 Ross Burton 2014-09-26 10:39:50 UTC
The bug title and the subsequent comments are two different problems.

One is 'intel: failed to load module present"', and reproduces on hardware that uses modern Intel GPUs.

The other is:
[2688622.992] (EE) Failed to load module "psb" (module does not exist, 0)
[2688622.993] (EE) Failed to load module "psbdrv" (module does not exist, 0)
[2688623.027] (EE) open /dev/dri/card0: No such file or directory
[2688623.028] (EE) open /dev/dri/card0: No such file or directory
[2688623.084] (EE) open /dev/fb0: No such file or directory
[2688623.085] (EE) open /dev/fb0: No such file or directory

This is not using a modern Intel GPU as it's on emenlow, which wants to load the psb drivers and doesn't support proper graphics.

Let's ignore the psb issue for now (or file a separate bug) and keep this for the present module failure, which I can replicate.
Comment 8 Ross Burton 2014-09-26 10:50:58 UTC
I don't think this is a fundamental problem, the present module is pretty new and we don't enable DRI3 which is the main user of it.
Comment 9 Ross Burton 2014-09-26 21:48:21 UTC
Fixed upstream in http://cgit.freedesktop.org/xorg/xserver/commit/?id=7ca458493aa2f0aa091c989ea0768611e0730bf5, testing a fix now.
Comment 10 Ross Burton 2014-10-15 21:52:35 UTC
Merged in d7bb1d8b1a7cd11895037b7984b9aa916efa9733.