<?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>15430</bug_id>
          
          <creation_ts>2024-03-07 15:09:51 +0000</creation_ts>
          <short_desc>qemuarmv5 has multiple display heads</short_desc>
          <delta_ts>2024-08-15 18:01:42 +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>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Jon Mason">jon.mason</assigned_to>
          <cc>pidge</cc>
    
    <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>98406</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2024-03-07 15:09:51 +0000</bug_when>
    <thetext>Loading something like core-image-sato and trying to capture a screenshot of the desktop results in a corrupt png due to the presence of multiple heads. The qemuarm image doesn&apos;t have this issue so it seems specific to the v5 machine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98464</commentid>
    <comment_count>1</comment_count>
    <who name="Jon Mason">jon.mason</who>
    <bug_when>2024-03-13 19:33:05 +0000</bug_when>
    <thetext>I believe this is because this (virtual) board has PL110.  During boot, I see (multiple times) in dmesg:
[    2.478044] clcd-pl11x 10120000.display: PL110 designer 41 rev0 at 0x10120000
[    2.479426] clcd-pl11x: probe of 10120000.display failed with error -2
[    2.709386] drm-clcd-pl111 10120000.display: set up callbacks for Versatile PL110

in bsp/arm-versatile-926ejs/arm-versatile-926ejs-gfx.cfg
it is enabled via
CONFIG_DRM_PL111=y
CONFIG_FB_ARMCLCD=y

Since the VirtIO GPU is also enabled via virtio-gpu-pci, there are 2 graphics chips on there.

Disabling this via menuconfig removes the entires and probably resolves the issue.  If you tell me how to test this, I can verify.

Though (assuming this is the issue), is this something we want to remove?  It is present on the actual hardware.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99544</commentid>
    <comment_count>2</comment_count>
    <who name="Jon Mason">jon.mason</who>
    <bug_when>2024-08-15 18:01:42 +0000</bug_when>
    <thetext>The framebuffer device driver for amba-clcd was removed in the v6.8 kernel.  Bruce already removed it from the yocto kernel cache on Aug 5, 2024.  So, I don&apos;t believe this is an issue going forward.

If this is still an issue, than please re-open (as I think we&apos;ll have to remove the DRM_PL111 from the versatile config or have the virtio cfg disable all other drm drivers).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>