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

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1315</bug_id>
          
          <creation_ts>2016-07-02 13:04:54 +0200</creation_ts>
          <short_desc>Broadcom VC IV overlay when windowed does not take HDMI overscan setting into account</short_desc>
          <delta_ts>2019-03-27 03:56:20 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>embedded</component>
          <version>2.4.0</version>
          <rep_platform>embedded_arm</rep_platform>
          <op_sys>linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Gottfried Haider">gottfried.haider</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>gottfried.haider</cc>
          
          <cf_type>FEATURE</cf_type>
          <cf_scm_refs>jogl 51d301875a65f511b6a9846fc3bf661e50a48a68</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>5650</commentid>
    <comment_count>0</comment_count>
    <who name="Gottfried Haider">gottfried.haider</who>
    <bug_when>2016-07-02 13:04:54 +0200</bug_when>
    <thetext>By default, the Raspberry Pi firmware applies an overscan setting for connected HDMI displays (which can manually disabled by setting disable_overscan=1 in the config.txt).

When overscan is enabled, the size of the desktop is reduced by a number of pixels. So for example, on a 1280x720 display, with overscan enabled, running &quot;fbset -s&quot; will report a geometry of only 1184x624 pixels.

Now with Processing, when running a windowed sketch that uses the JOGL renderer, the overlayed GL surface is offset to the window decoration. I presume that is because the GL part is working with the native resolution of the display, while the X part is not.

I spotted this behavior with Raspbian Jessie version May 2016, and with the latest firmware of today. Disabling overscan fixes this artifact for me. I will check with older releases of the Raspbian distribution to see if this perhaps a regression on their side.

Please let me know if you think that this should be handled differently on Rasbpian&apos;s side - I can try to take it up with them. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6107</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-03-27 03:56:20 +0100</bug_when>
    <thetext>I have merged your patch.
Since I don&apos;t test this platform - I trust you here.

Please reopen this bug if required.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>