Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Raspberry pi hdmi standby
QtWS25 Last Chance

Raspberry pi hdmi standby

Scheduled Pinned Locked Moved Mobile and Embedded
raspberry eglfstvservice displ
3 Posts 2 Posters 3.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tomasz3dk
    wrote on 26 Jun 2015, 19:41 last edited by
    #1

    I'm using Qt on my raspberry (paltform eglfs), and would like to have ability to put display to sleep, and later turn it on (CEC will not work with some of monitors). Turning monitor off work fine with "tvservice -o", however after turning it back on ("tvservice -p" )) application needs to be restarted to restore EGL, otherwise screen is black. This command works if only console is displayed.
    Is there a option to re-initialize EGL in Qt5 to restore screen?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Andrei
      wrote on 14 Jul 2015, 12:46 last edited by
      #2

      You can use vcgencmd display_power 0 to turn off HDMI and vcgencmd display_power 1 to turn it back on.

      T 1 Reply Last reply 19 Jul 2015, 21:26
      0
      • A Andrei
        14 Jul 2015, 12:46

        You can use vcgencmd display_power 0 to turn off HDMI and vcgencmd display_power 1 to turn it back on.

        T Offline
        T Offline
        tomasz3dk
        wrote on 19 Jul 2015, 21:26 last edited by
        #3

        @Andrei
        Sorry for delay. Your solution works perfect :). Thanks for help ;).

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved