Bug 2221 - Glxgears failed in qemux86-64 on host FC16 x86
Summary: Glxgears failed in qemux86-64 on host FC16 x86
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: unspecified
Hardware: x86 x86_64
: Medium normal
Target Milestone: 1.2 M4
Assignee: Edwin Zhai
QA Contact:
URL:
Whiteboard: (1.2) patch out
Depends on:
Blocks:
 
Reported: 2012-04-01 02:58 UTC by Edwin Zhai
Modified: 2012-04-25 06:10 UTC (History)
5 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 Edwin Zhai 2012-04-01 02:58:07 UTC
when i run "glxgears", i got:
*****************************
you maybe forgot to launch QEMU with -enable-gl argument.
Trying TCP/IP communication instead
impossible to connect to server: Connection refused
******************************

distro: fedora 16
host arch:x86
Comment 1 Edwin Zhai 2012-04-01 03:03:07 UTC
copy this bug from 1927,as it becomes another GL bug on ubuntu 11 after attach some related log and fix.

Hongna is the true reporter.
Comment 2 Edwin Zhai 2012-04-06 06:51:37 UTC
This bug only occur when 64b target running on 32b host. The root cause is that target pass 64b data to host, but host treat them as 32b data, so wrong data happen.

We need make the type of data buffer in qemu host same as target. Patch will be out soon.
Comment 4 Hongna Xu 2012-04-17 06:46:26 UTC
I got:"Error:couldn't get an RGB, Double-buffered visual" when run glxgears in qemux86-64 on host fedora16 x86, so sorry to reopen it. related with bug 2309.
Tree/Branch: Poky/1.2_M4 (tagged 1.2_M4 rc3)
Commit id: fae1c7a5fdcea199338b5f91efaafd7c72aec5dd

image loaction:http://adtrepo.yoctoproject.org/1.2/rootfs/qemux86_64/
Comment 5 Scott Garman 2012-04-17 23:44:27 UTC
The RGB error is a dupe of bug 2309 which has now been fixed in oe-core and poky master as of:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=abddce33ac3a736d497e54cc1c424cbddac27b8e
Comment 6 Hongna Xu 2012-04-25 06:10:43 UTC
Got fixed and verified on poky/denzil: 35196ff703726addf7f4051ee09d70bf9ee0c5d0