Bug 1840

Summary: glxgears fail to run on Blacksand
Product: [Build System, Metadata & Runtime] BSPs Reporter: yilong, sun <yilongx.y.sun>
Component: bsps-configurationAssignee: Edwin Zhai <edwin.zhai>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: dvhart, jiajun.xu, sgw, tom.zanussi, yp.bsp.watcher, yp.watcher
Version: unspecified   
Target Milestone: 1.2 M3   
Hardware: Blacksand   
OS: x86   
Whiteboard: patch out: Mar23, 2012
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description yilong, sun 2011-12-15 20:32:27 UTC
Tree/Branch: Poky/1.2_M1
Commit: b806f726b1db2cb605869c1022ef727c1110255b
Meta: Master
Commit: b6d5d9a3b06caf578103a04dc5fcf5e476343205

glxgears fail to run on Blacksand,but run well on other‘s platform

The error is as follows:
start glxgears: /usr/bin/glxgears............
Error: couldn't get an RGB, Double-buffered visual
glxgears fail to run, FAIL!

Image location:
http://autobuilder03.jf.intel.com/pub/n450/20111213-1/machines/n450/core-image-sato-sdk-n450.hddimg
Comment 1 Darren Hart 2012-03-01 16:26:42 UTC
What are the contents of xorg.conf?
Comment 2 yilong, sun 2012-03-02 01:17:23 UTC
This issue is reproducable on Blacksand 1.2_M3.

The contents of xorg.conf as follows:
Section "Device"
    Identifier    "Intel Graphics Driver"
    Driver        "intel"
EndSection

Section "Monitor"
    Identifier    "Generic Monitor"
    Option        "DPMS"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "Intel Graphics Driver"
    Monitor        "Generic Monitor"
    DefaultDepth    24
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen"
EndSection

Section "ServerFlags"
    Option        "DontZap"  "0"
    Option        "AutoAddDevices" "False"
EndSection
Comment 3 Edwin Zhai 2012-03-23 01:36:19 UTC
This bug caused by wrong video driver (i965) is installed on n450.

For summary, n450 uses i915, while sugarbay uses i965. But some commits to clean the config make both of them are using i965.
Comment 4 Edwin Zhai 2012-03-23 01:44:49 UTC
Tom,
Could you pls. review & pick up the fix @
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=gzhai/bsp

Thanks,
Edwin
Comment 5 Darren Hart 2012-03-23 03:41:41 UTC
Please submit the patch to the yocto list as usual for proper patch review.
Comment 7 yilong, sun 2012-03-31 01:34:35 UTC
This issue is fixed and verified at 1.2M4 RC1 branch.

Tree/Branch: Poky/1.2_M4
Commit: 4d9f4d6ac25f39fe6d5491d05c7a26195bab648b
Meta: Master
Commit: f89405e115d73426c8a6450b6e795b5885d6bdf3

Image location:
http://autobuilder03.jf.intel.com/pub/nightly-meta-intel/20120328-1/machines/n450/core-image-sato-sdk-n450.hddimg