<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3488</bug_id>
          
          <creation_ts>2012-11-26 08:11:45 +0000</creation_ts>
          <short_desc>Enable Mesa&apos;s llvmpipe</short_desc>
          <delta_ts>2019-06-05 18:57:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>graphics</component>
          <version>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>holger.behrens</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27670</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2012-11-26 08:11:45 +0000</bug_when>
    <thetext>When trying to run a C clutter app from Eclipse to a qemux86 application, there is an error when determining the OpenGl version.

ENVIRONMENT:
Host: Fedora 17 64bit
Eclipse: Juno
Eclipse plugin: http://autobuilder.yoctoproject.org/pub/nightly/20121121-3/eclipse-plugin/
Tooclhain used: built with poky (bitbake meta-ide-support). 
Poky used: http://autobuilder.yoctoproject.org/pub/nightly/20121121-3/poky-0d7d413d64bab8d3c758414c6c8c653ccc325653.tar.bz2
Sysroot used: http://autobuilder.yoctoproject.org/pub/nightly/20121121-3/machines/qemu/qemux86/core-image-sato-sdk-qemux86-20121121211442.rootfs.ext3
bzimage: http://autobuilder.yoctoproject.org/pub/nightly/20121121-3/machines/qemu/qemux86/bzImage-qemux86.bin


STEPS TO REPRODUCE:
1. have a Juno configured with yocto eclipse-plugin
2. Configure it to use the toolchain created with bitbake (bitbake meta-ide-support), the sysroot and kernel using the files from above.
3. Create a C clutter project.
4. Reconfigure
5. build
6. Launch qemu within Eclipse (Run -&gt; External Tools -&gt; qemu_i586-poky-linux)
7. Create a new TCF connection for QEMU
8. After the connection is created, try to use it to deploy the app to qemu:
Run -&gt; Run Configurations -&gt; C/C++ Remote Application -&gt; &quot;name of the project&quot;
In the Main window select the TCF connection if available. If not, create a new one.
9. Enter the path of the app on qemu in the &quot;Rempote Absolute File Path for C/C++ Application&quot;. 
e.g: /home/root/b2 (I have used &quot;b2&quot; as my app remote absoulte path)
10. In the &quot;Commands to execute before application&quot; enter: 
 export DISPLAY=:0.0
11. Press Apply then RUN



EXPECTED RESULT
11. The app is deployed and run in QEMU



ACTUAL RESULT
11. The following error appears in &quot;Console&quot; tab within Eclipse:



root@qemux86:/# 
echo $PWD&apos;&gt;&apos;
/&gt;
root@qemux86:/# export 
DISPLAY=:0.0;/home/root/b2;exit

(b2:986): Clutter-CRITICAL **: Unable to initialize Clutter: The OpenGL version could not be determined
Segmentation fault
logout</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27683</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-11-26 11:00:37 +0000</bug_when>
    <thetext>GL should work on qemux86 through software GL - maybe something is still thinking we&apos;re using the old qemugl passthrough tricks?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27685</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-11-26 11:25:32 +0000</bug_when>
    <thetext>Ah, turns out swrast is broken.

We should be using Mesa&apos;s llvmpipe for software rendering for the SDK builds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38690</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-11-08 16:43:41 +0000</bug_when>
    <thetext>This means bringing LLVM into oe-core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41701</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2014-03-25 14:36:45 +0000</bug_when>
    <thetext>Mesa currently has llvmpipe PACKAGECONFIG options that depend on meta-oe providing llvm itself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84068</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-06-05 18:57:10 +0000</bug_when>
    <thetext>OE-Core now has llvm which can be used by mesa though configuration options.OE-Core now has llvm which can be used by mesa though configuration options.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>