Bug 2534

Summary: [Regression]Glxgears failed on qemuarm/mips/ppc on Ubuntu 11.10 64bit
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Hongna Xu <hongnax.xu>
Component: coreAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, alexandru.damian, edwin.zhai, jiajun.xu, laurentiu.palcu, lianhao.lu, meta.mr.watcher, meta.watcher, sgw, shane.wang, song.liu, yilongx.y.sun
Version: unspecified   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on:    
Bug Blocks: 2069    

Description Hongna Xu 2012-06-04 06:24:16 UTC
I start sato-sdk qemu images by nfs, and run glxgears failed with the error:
********************************
Error: couldn't get an RGB, Double-buffered visual
*********************************
It blocks all cases related with clutter templates in ADT.

git info :348da93e283b2b8454fd9cde80d4b17378e2a168
git branch: poky/master
QEMU location: http://autobuilder.yoctoproject.org/pub/nightly/20120530-2/machines/qemu/
Comment 1 Hongna Xu 2012-06-04 06:51:54 UTC
On Fedora 16 32bit machine, got the same issue on qemuarm/mips/ppc.qemux86 and qemux86-64 run successful.
Comment 2 Alexandru Damian 2012-06-28 14:19:16 UTC
Taking this bug for myself; makeing no promise on timeline.
Comment 3 Alexandru Damian 2012-07-11 11:49:38 UTC
I cannot repro. this bug. Can QA please test again ?
Comment 4 Shane Wang 2012-07-12 01:13:49 UTC
Hongna, can you tell the steps for how to reproduce GL bug?
Comment 5 Shane Wang 2012-07-12 01:15:08 UTC
By the way, Hongna, try GL on the latest code to see whether or not it is there.
Comment 6 Hongna Xu 2012-07-12 04:45:20 UTC
Shane, reproduce this issue, first download or build the sato-sdk image,then launch the qemu, in the qemu's terminal run glxgears, the commander "runqemu",  kernel and images should come from the same commit.
   
  for this issue yilong reproduced on his machine, glxgears on qemux86/x86-64 with same commit could run successfully, but got "couldn't get an RGB, Double-buffered visual" error on qemuarm, and his machine(ubuntu 11.10, same with mine) is newly installed. the issue maybe caused by my machine's environment. 
    and now we are reproducing it with the latest master, any result i will update in comment.
Comment 7 Hongna Xu 2012-07-12 06:44:27 UTC
shane, with the latest code poky/master:89008d4fedb253184d9e651243cd98fe8c29d52f, on yilong's machine qemux86/x86-64 glxgears run successfully, but qemuarm failed with RGB error. 

   i don't know what happened on my machine, i tried with nvidia driver and no nvidia, both got the RGB error, the result on my machine can't to be the reference anymore, yilong's machine is more trustable cause newly installed, so i modify the title. 
the location of images are on http://autobuilder.pokylinux.org/pub/nightly/20120711-2/machines/qemu/
Comment 8 Alexandru Damian 2012-07-12 09:27:45 UTC
Looking again at this.
Comment 9 Alexandru Georgescu 2012-08-16 11:36:40 UTC
Hi Alex,
Do you have any update on  this?
Comment 10 Alexandru Damian 2012-09-14 14:09:57 UTC
qemu gl passthrough is now out, it should work on mesa software rendering
Comment 11 Alexandru Georgescu 2012-09-20 09:58:09 UTC
(In reply to comment #10)
> qemu gl passthrough is now out, it should work on mesa software rendering

Hi,
I have tested glxgears.sh on Fedora 17 (64bit) and Ubuntu 12.04 (64bit) with qemuarm and the test passed.

Setting to verified fixed.