This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM437X: Disabling display sleep on GP EVM

Part Number: PROCESSOR-SDK-AM437X


Tool/software: Linux

Hi,

I'm using the AM437x GP EVM running PSDK 03.02. I have an external HDMI monitor hooked up. I'm doing some benchmarking using gstreamer and outputting to fbdev. The problem is, the display goes to sleep about every 5 minutes or so. The only way I found to get it back on is to start then stop weston (/etc/init.d weston start|stop).

How can I disable this sleep feature while I'm doing development. It's really annoying to have it go blank when I'm in the middle of benchmarking. Just like anything else in Linux, there must be some echo I can do to some driver

Any help appreciated

  • Hi Brad,

    The software team have been notified. They will respond here.

    This is how it worked on kernel v3.2 for AM335x, however I'm not sure if the same method is still in use:

    "Framebuffer console blankes out after blanking interval. Framebuffer console blanking and unblanking can be set via below sysfs interfaces.

    to unblank: $echo "0" > /sys/class/graphics/fb0/blank

    to blank:      $echo "4" > /sys/class/graphics/fb0/blank

    Default blankinterval is 10 minutes, blank event is triggered on every 10 minutes period(this will happen even if you set screen unblank as above). Blanking can be disabled altogether by appending consoleblank=0 to kernel bootargs."

  • You can also try to a idle-time=0 to /etc/weston.ini and comment out the #path=@libexecdir@/weston-screensaver if it is not commented.

    You can see the full commands list here.

  • Thanks Biser,
    I tried the method you showed to dynamically blank and unblank the display and they both worked! Also added in the bootargs variable setting and that worked too! Thanks for your help, this is a great time saver for me.
  • Kemal, Thanks for the info, might be useful in the future. For what I'm doing right now, I kill weston and use fbdev as a display sink for gstreamer. I found that if I use waylanddisplaysink with weston running, it adds about 10% overhead and my framerate drops due to that.