<?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>13852</bug_id>
          
          <creation_ts>2020-04-03 02:59:38 +0000</creation_ts>
          <short_desc>libGL error: No driver found</short_desc>
          <delta_ts>2020-04-09 14:34:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>General Runtime</product>
          <component>General Runtime</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Changqing Li">changqing.li</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>randy.macleod</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>86895</commentid>
    <comment_count>0</comment_count>
    <who name="Changqing Li">changqing.li</who>
    <bug_when>2020-04-03 02:59:38 +0000</bug_when>
    <thetext>Test steps:
1. add below info in local.conf
DISTRO_FEATURES_append = &quot; systemd pam&quot;
DISTRO_FEATURES_BACKFILL_CONSIDERED += &quot;sysvinit&quot;
VIRTUAL-RUNTIME_init_manager = &quot;systemd&quot;
VIRTUAL-RUNTIME_initscripts = &quot;systemd-compat-units&quot;
KERNEL_FEATURES_append = &quot; cfg/systemd.scc&quot;


INHERIT += &apos;testimage&apos;
TEST_QEMUBOOT_TIMEOUT = &quot;1500&quot;

VIRTUAL-RUNTIME_syslog ?= &quot;${@bb.utils.contains(&apos;INCOMPATIBLE_LICENSE&apos;, &apos;GPLv3&apos;, &apos;sysklogd&apos;, &apos;rsyslog&apos;, d)}&quot;
VIRTUAL-RUNTIME_base-utils-syslog ?= &quot;${VIRTUAL-RUNTIME_syslog}&quot;

2. bitbake core-image-sato
3. bitbake core-image-sato -c testimage 


in the daemon.log:
there are errors:
2020-04-03T02:42:06.271013+00:00 qemux86-64 Xserver[261]: libGL error: pci id for fd 4: 1234:1111, driver (null)
2020-04-03T02:42:06.271130+00:00 qemux86-64 Xserver[261]: libGL error: No driver found          
2020-04-03T02:42:06.271182+00:00 qemux86-64 Xserver[261]: libGL error: failed to load driver: (null)                                    
2020-04-03T02:42:06.308070+00:00 qemux86-64 Xserver[253]: libGL error: pci id for fd 4: 1234:1111, driver (null)
2020-04-03T02:42:06.308095+00:00 qemux86-64 Xserver[253]: libGL error: No driver found
2020-04-03T02:42:06.308108+00:00 qemux86-64 Xserver[253]: libGL error: failed to load driver: (null)
2020-04-03T02:42:06.339798+00:00 qemux86-64 Xserver[279]: libGL error: pci id for fd 4: 1234:1111, driver (null)                                                                  
2020-04-03T02:42:06.339903+00:00 qemux86-64 Xserver[279]: libGL error: No driver found    
2020-04-03T02:42:06.339920+00:00 qemux86-64 Xserver[279]: libGL error: failed to load driver: (null)         
2020-04-03T02:42:06.358335+00:00 qemux86-64 Xserver[280]: libGL error: pci id for fd 4: 1234:1111, driver (null)                                    
2020-04-03T02:42:06.358359+00:00 qemux86-64 Xserver[280]: libGL error: No driver found                                                                     
2020-04-03T02:42:06.358372+00:00 qemux86-64 Xserver[280]: libGL error: failed to load driver: (null)   




more info:
boot target by &quot;runqemu qemux86-64 nographic kvm core-image-sato&quot;

root@qemux86-64:/var/log# dmesg | grep bochs-drm
[    0.710782] bochs-drm 0000:00:02.0: remove_conflicting_pci_framebuffers: bar 0: 0xfd000000 -&gt; 0xfdffffff
[    0.711796] bochs-drm 0000:00:02.0: remove_conflicting_pci_framebuffers: bar 2: 0xfebd0000 -&gt; 0xfebd0fff
[    0.712812] bochs-drm 0000:00:02.0: vgaarb: deactivate vga console
[    0.721380] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
[    0.726980] fbcon: bochs-drmdrmfb (fb0) is primary device
[    0.735148] bochs-drm 0000:00:02.0: fb0: bochs-drmdrmfb frame buffer device
root@qemux86-64:/var/log# lspci -d 1234:1111 -knn 
00:02.0 VGA compatible controller [0300]: Device [1234:1111] (rev 02)
	Subsystem: Red Hat, Inc. Device [1af4:1100]
	Kernel driver in use: bochs-drm

seems driver is ok.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86955</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-04-09 14:33:54 +0000</bug_when>
    <thetext>You are booting without graphics so these errors are expected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86956</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-04-09 14:34:54 +0000</bug_when>
    <thetext>If this still happens when you are running with graphics or you can explain in greater detail, why you think this is a bug, please re-open.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>