Bug 1235

Summary: [Emenlow] Running glxinfo and glxgears commands failed.
Product: [Build System, Metadata & Runtime] BSPs Reporter: wenhua.fan <wenhuax.fan>
Component: bsps-configurationAssignee: Tom Zanussi <tom.zanussi>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: High CC: jiajun.xu, ke.yu, sgw, tom.zanussi, wenhuax.fan, yp.bsp.watcher, yp.watcher
Version: unspecified   
Target Milestone: 1.1 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description wenhua.fan 2011-07-12 01:14:05 UTC
Commit Information:

Tree/Branch: Poky/1.1_M2
Poky Commit: 8df2a558b4d61778a669705b867969abe3514846
Meta Branch: 1.1_M2
Meta Commit: 92fc07a5f1b98779806cdcc2341487ff5ea5a238

Image location:

http://autobuilder02.yoctoproject.org/emenlow-1.1_M2/nightly/20110708-1/machines/emenlow/x86_32/core-image-sato-sdk-live-emenlow-20110709065339.hddimg.bz2

Running glxinfo command appear some message.

Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Segmentation fault

Running dmesg command and issue segfault message:

glxinfo[547]: segfault at 18 ip 4808cf9d sp bfc3fa20 error 4 in libGL.so.1.2[48077000+6a000]

Running glxgears command appear message as below:

Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual
Comment 1 Jiajun Xu 2011-07-12 06:47:56 UTC
cc Tom, maybe he could help on this bug.
Comment 2 Tom Zanussi 2011-07-12 06:55:55 UTC
Is this a regression and if so, any idea when it stopped working?
Comment 3 Jiajun Xu 2011-07-12 07:00:49 UTC
(In reply to comment #2)
> Is this a regression and if so, any idea when it stopped working?

We add graphics testing for emenlow from M2, so.... We don't know if it works or not before.
Comment 4 Tom Zanussi 2011-07-17 14:28:20 UTC
Fixed by meta-intel/master commit 96c247dad88b9fc0159b2a929216876d9fbb06dc
Comment 5 wenhua.fan 2011-07-19 01:45:21 UTC
Verify this bug in Yocto 1.1 M2 RC3 testing.

Tree/Branch: Poky/1.1_M2
Poky Commit id: fa4bcfdb73167f8159b88e5a4d711c0d37627a70

Meta Branch: 1.1_M2
Meta Commit id: 738d2bc6d1a0d7ff6589000893c1c8b4f983d76f

Image location:
http://autobuilder02.yoctoproject.org/emenlow-1.1_M2/nightly/20110717-4/machines/emenlow/x86_32/core-image-sato-sdk-live-emenlow-20110717194123.hddimg.bz2
Comment 6 wenhua.fan 2011-10-08 02:26:56 UTC
This issue reproduce in Yocto M4 RC4 build. But the other few BSP platform is ok, this issue did not exist in Yocto M4 20110923 build testing, then reopen this bug.The information as below:

Commit information:

Tree/Branch: Poky/Edison
Commit id: 0e9784d26df51bd564b8f23bd40a6c36969abd5c
Meta branch: Edison
Commit id: bc885cd8d343ad003391222429222526dba175ad

Image location:
http://autobuilder03.jf.intel.com/1.1-meta-bsp/emenlow/machines/emenlow/core-image-sato-sdk-emenlow-20111006060806.hddimg
Comment 7 Tom Zanussi 2011-10-08 18:26:02 UTC
This was caused by commit 2097a9e7 which removed /usr/lib/dri, causing glxgears etc. to no longer work.  Patch posted and under review.
Comment 8 wenhua.fan 2011-10-14 01:37:33 UTC
This issue does not reappear against poky commit id: 5ed59ae0f25bf673d514df2371da7e0415b62bb2
and meta commit id: c3e12aa981e97261093abee05bb0301c35f54c23

Image location:
http://autobuilder03.jf.intel.com/1.1-meta-bsp/emenlow/machines/emenlow/core-image-sato-sdk-emenlow.hddimg
Comment 9 wenhua.fan 2011-10-14 01:38:13 UTC
Change the status to verified.