<?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>15436</bug_id>
          
          <creation_ts>2024-03-07 15:21:07 +0000</creation_ts>
          <short_desc>Xserver screensaver blanking enabled on qemu images</short_desc>
          <delta_ts>2025-02-27 16:04:03 +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>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>NEWCOMER</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="K Sanjay Nayak">nayakksanjay</assigned_to>
          <cc>nayakksanjay</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
    
    <cc>william.lyu</cc>
    
    <cc>yoann.congal</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>98413</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2024-03-07 15:21:07 +0000</bug_when>
    <thetext>Currently our qemu images blank the screen after 10 minutes which is the X default. 

See https://www.x.org/archive/X11R6.8.0/doc/xorg.conf.5.html BlankTime StandbyTime SuspendTime OffTime.

Some xorg.conf files enale DPMS but don&apos;t disable the screen blanking:
https://git.yoctoproject.org/poky/tree/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf

We should consider disabling screen blanking and poweroff.

&quot;xset q&quot; in an image shows the current config (which is 600s for everything despite what the man page says).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98428</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2024-03-07 17:36:24 +0000</bug_when>
    <thetext>https://shallowsky.com/linux/x-screen-blanking.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98502</commentid>
    <comment_count>2</comment_count>
    <who name="K Sanjay Nayak">nayakksanjay</who>
    <bug_when>2024-03-16 17:24:24 +0000</bug_when>
    <thetext>Hi Richard

I intrested to work on the issue.

I have built the core-image-x11 image and able to reproduce the blankscreen issue as well. 

Thanks for the initial analysis will update the xorg.conf and update shortly here.

Thank you
Sanjay :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98503</commentid>
    <comment_count>3</comment_count>
    <who name="K Sanjay Nayak">nayakksanjay</who>
    <bug_when>2024-03-16 17:26:30 +0000</bug_when>
    <thetext>+ corrected typo
** I am interested to work on the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98506</commentid>
    <comment_count>4</comment_count>
    <who name="K Sanjay Nayak">nayakksanjay</who>
    <bug_when>2024-03-17 14:59:45 +0000</bug_when>
    <thetext>Hi Richard

I made the below modification in xorg.conf. Below is diff output.

diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
index c12d92c201..30b098ef52 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
@@ -30,4 +30,6 @@ Section &quot;ServerLayout&quot;
     Identifier    &quot;Default Layout&quot;
     Screen        &quot;Default Screen&quot;
     Option         &quot;AllowEmptyInput&quot; &quot;no&quot;
+    Option        &quot;BlankTime&quot; &quot;0&quot;
+    Option        &quot;StandbyTime&quot; &quot;0&quot;
 EndSection


With this i dont see the screen blank after 10 mins.

Note : I have verified for qemux86 target.


Below is the output of &quot;xset q&quot;


$-5.2# xset q
Keyboard Control:
  auto repeat: on    key click percent: 0    LED mask: 00000000
  auto repeating keys: 00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent: 50    bell pitch: 400    bell duration: 100
Pointer Control:
  acceleration: 2/1    threshold:4 
Screen Saver:
   prefer blanking: yes   allow exposures: yes 
   timeout :0     cycle :600 
Colors:
   default colormap :0x20     BlackPixel :0x0     WhitePixel :0xffffff 
Font Path:
   built-ins 
DPMS (Display Power Management Signaling):
   Standby :0     Suspend :0     Off :0 
DPMS is Enabled
Monitor is On


Below request &amp; query : 
- Can you please review &quot;xset q&quot; output and xorg.conf ?
- Do we need to add this changes to all the qemu target ? 
emuarm  qemuppc  qemush4  qemux86  qemux86-64

Thanks 
Sanjay :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98521</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-03-18 14:20:49 +0000</bug_when>
    <thetext>Thanks Sanjay!

Can you fix the reset of the qemu configs:
✦ ❯ fd xorg.conf
meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf
meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf
meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf
meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
meta/recipes-graphics/xorg-xserver/xserver-xf86-config/xorg.conf

and send a patch to the oe-core list?

../Randy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98548</commentid>
    <comment_count>6</comment_count>
    <who name="K Sanjay Nayak">nayakksanjay</who>
    <bug_when>2024-03-21 12:22:19 +0000</bug_when>
    <thetext>ok sure Randy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98727</commentid>
    <comment_count>7</comment_count>
    <who name="K Sanjay Nayak">nayakksanjay</who>
    <bug_when>2024-04-09 08:43:37 +0000</bug_when>
    <thetext>Hi Randy

I have pushed the changes to openembedded-core 
https://lists.openembedded.org/g/openembedded-core/message/198056

by refering the https://docs.yoctoproject.org/next/contributor-guide/submit-changes.html

Thanks
Sanjay :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101248</commentid>
    <comment_count>8</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2025-02-27 16:04:03 +0000</bug_when>
    <thetext>Merged in oe-core 173fb4247fdb2b7b5e6a1a604ddbbc8727b3d3bb.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>