<?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>7278</bug_id>
          
          <creation_ts>2015-02-03 17:31:29 +0000</creation_ts>
          <short_desc>Default core-image-x11 has X server with screen blanking active</short_desc>
          <delta_ts>2016-04-11 07:05:50 +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>unspecified</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>2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Phlip Balister">philip</reporter>
          <assigned_to name="Jussi Kukkonen">jku</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>rkocisko</cc>
    
    <cc>ross.burton</cc>
    
    <cc>shannon.barber</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>48521</commentid>
    <comment_count>0</comment_count>
    <who name="Phlip Balister">philip</who>
    <bug_when>2015-02-03 17:31:29 +0000</bug_when>
    <thetext>For most embedded applications, we do not want an active screen blanker, since there may not be a way to show screen activity. Also, if the screen blanks, people think the device is off.

Let&apos;s make the default config not use the screen blanker.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48590</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-02-05 15:47:14 +0000</bug_when>
    <thetext>That&apos;s -s 0 to xserver, right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54629</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-09-24 15:34:16 +0000</bug_when>
    <thetext>If possible lets have an easy-to-tweak option for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54862</commentid>
    <comment_count>3</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2015-10-01 10:41:35 +0000</bug_when>
    <thetext>Documenting before I forget:
 * Should make sure we handle both X screensaving and dpms (IIRC default is both are on)
 * these may get set at xserver command line &quot;-s 0 -dpms&quot;, with xset or xorg.conf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55087</commentid>
    <comment_count>4</comment_count>
    <who name="Shannon Barber">shannon.barber</who>
    <bug_when>2015-10-08 17:52:12 +0000</bug_when>
    <thetext>Given the context of the audience of Yocto I would classify this as a minor bug (as opposed to an enhancement).
Almost everyone using Yocto will have to fix this for their target builds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55106</commentid>
    <comment_count>5</comment_count>
    <who name="Phlip Balister">philip</who>
    <bug_when>2015-10-09 11:31:43 +0000</bug_when>
    <thetext>Reminding myself to look how to do this via bbappend, but I still argue the default should be no screensaver. Then show people how to change it via bbappend.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60344</commentid>
    <comment_count>6</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-03-23 15:09:18 +0000</bug_when>
    <thetext>I can easily add a PACKAGECONFIG[blank] to x11-common that would make at least the bbappend case trivial.

I&apos;m not so sure how I should deal with changing the default to not-blanking though, assuming that e.g. core-image-sato should still continue blanking. It seems a bit silly to add a distro feature for something like this.

Something like &apos;PACKAGECONFIG_remove_pn-x11-common = &quot;blank&quot;&apos; in poky distro config does not seem like a common idiom either (although there&apos;s a case in poky-tiny.conf)...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60900</commentid>
    <comment_count>7</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-04-07 12:17:17 +0000</bug_when>
    <thetext>There&apos;s a patch on list:
http://lists.openembedded.org/pipermail/openembedded-core/2016-April/119987.html

It does not change the default but should make the change trivial to those who need it (just remove &quot;blank&quot; from packageconfig).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61003</commentid>
    <comment_count>8</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-04-11 07:05:50 +0000</bug_when>
    <thetext>I recognise that the patch does not do exactly what the original post asks for, but I&apos;d like to mark this RESOLVED so QA can verify things still work as they should. Philip, Shannon: can you please file a new bug if you think we should still change the default after this (or comment here and I&apos;ll file it)?

For anyone verifying this: default build should still blank the screen after 10 minutes of inactivity. There should be no blanking if e.g local.conf has
    PACKAGECONFIG_remove_pn-x11-common = &quot;blank&quot;


commit aa45c75df989302ba8ae9deaf136b0046f0b4f84
Author: Jussi Kukkonen &lt;jussi.kukkonen@intel.com&gt;
Date:   Thu Apr 7 14:49:44 2016 +0300

    x11-common: Add PACKAGECONFIG for screen blanking
    
    when &quot;blank&quot; is not in PACKAGECONFIG, explicitly set dpms and
    screensaver off. The intention here is to make it easier to
    create builds that should not blank the screen (just remove
    &quot;blank&quot; from x11-common PACKAGECONFIG).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>