Bugsounet Coding

    • Register
    • Login
    • Search
    This Forum is now reserved to registred users!

    vcgencmd not working

    General Discussion
    2
    4
    34
    Loading More Posts
    • 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.
    • N
      Nik92 last edited by

      Hi,

      I am currently using Rpi4 for my magicMirror and using EXT-Screen for shutting off screen with vcgencmd. However, nothing happens when the timer expires (set to 30s for testing). The screen stays ON.

      I have tried to use the vcgencmd command in the terminal as well. I type this command: vcgencmd display_power 0 2 and I get a reply: display_power=-1. But the screen is still on. I would really appreciate if someone can explain how to turn off HDMI display to me.

      Thanks

      Console output from MagicMirror:

      magicmirror@2.20.0 start
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      [29.09.2022 22:29.31.708] [LOG] Starting MagicMirror: v2.20.0
      [29.09.2022 22:29.31.715] [LOG] Loading config …
      [29.09.2022 22:29.31.722] [LOG] Loading module helpers …
      [29.09.2022 22:29.31.745] [LOG] Initializing new module helper …
      [29.09.2022 22:29.31.747] [LOG] Module helper loaded: updatenotification
      [29.09.2022 22:29.31.751] [LOG] No helper found for module: WB-clock.
      [29.09.2022 22:29.31.797] [LOG] Initializing new module helper …
      [29.09.2022 22:29.31.800] [LOG] Module helper loaded: EXT-Screen
      [29.09.2022 22:29.31.807] [LOG] Initializing new module helper …
      [29.09.2022 22:29.31.809] [LOG] Module helper loaded: EXT-Alert
      [29.09.2022 22:29.31.814] [LOG] Initializing new module helper …
      [29.09.2022 22:29.31.815] [LOG] Module helper loaded: EXT-Pir
      [29.09.2022 22:29.31.821] [LOG] No helper found for module: compliments.
      [29.09.2022 22:29.31.825] [LOG] Initializing new module helper …
      [29.09.2022 22:29.31.826] [LOG] Module helper loaded: WB-weather
      [29.09.2022 22:29.31.933] [LOG] Initializing new module helper …
      [29.09.2022 22:29.31.934] [LOG] Module helper loaded: MMM-OpenWeatherMapForecast
      [29.09.2022 22:29.31.984] [LOG] Initializing new module helper …
      [29.09.2022 22:29.31.984] [LOG] Module helper loaded: newsfeed
      [29.09.2022 22:29.31.985] [LOG] No helper found for module: MMM-pages.
      [29.09.2022 22:29.31.985] [LOG] All module helpers loaded.
      [29.09.2022 22:29.32.212] [LOG] Starting server on port 8080 …
      [29.09.2022 22:29.32.240] [LOG] Server started …
      [29.09.2022 22:29.32.242] [LOG] Connecting socket for: updatenotification
      [29.09.2022 22:29.32.243] [LOG] Starting module helper: updatenotification
      [29.09.2022 22:29.32.245] [LOG] Connecting socket for: EXT-Screen
      [29.09.2022 22:29.32.246] [LOG] Connecting socket for: EXT-Alert
      [29.09.2022 22:29.32.247] [LOG] Starting module helper: EXT-Alert
      [29.09.2022 22:29.32.248] [LOG] Connecting socket for: EXT-Pir
      [29.09.2022 22:29.32.250] [LOG] Connecting socket for: WB-weather
      [29.09.2022 22:29.32.251] [LOG] Starting module helper: WB-weather
      [29.09.2022 22:29.32.253] [LOG] Connecting socket for: MMM-OpenWeatherMapForecast
      [29.09.2022 22:29.32.255] [LOG] ====================== Starting node_helper for module [MMM-OpenWeatherMapForecast]
      [29.09.2022 22:29.32.256] [LOG] Connecting socket for: newsfeed
      [29.09.2022 22:29.32.257] [LOG] Starting node helper for: newsfeed
      [29.09.2022 22:29.32.258] [LOG] Sockets connected & modules started …
      [29.09.2022 22:29.32.848] [LOG] Launching application.
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
      failed to load driver: kms_swrast
      MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
      failed to load swrast driver
      [29.09.2022 22:29.36.252] [LOG] [SCREEN] EXT-Screen Version: 1.1.4 rev: 220811
      [29.09.2022 22:29.36.255] [LOG] [SCREEN] Mode 1: vcgencmd
      [29.09.2022 22:29.36.307] [LOG] [SCREEN] Initialized
      [29.09.2022 22:29.36.315] [LOG] Create new newsfetcher for url: https://news.google.com/rss/topics/CAAqJggKIiBDQkFTRWdvSUwyMHZNRGx1YlY4U0FtVnVHZ0pWVXlnQVAB?hl=en-US&gl=US&ceid=US%3Aen - Interval: 300000
      [29.09.2022 22:29.36.477] [INFO] Checking git for module: WB-clock
      [29.09.2022 22:29.36.480] [LOG] [ALERT] EXT-Alert Version: 1.0.0 rev: 220301
      [29.09.2022 22:29.36.481] [LOG] [PIR] Initialize…
      [29.09.2022 22:29.36.575] [INFO] Checking git for module: EXT-Screen
      [29.09.2022 22:29.36.623] [LOG] [PIR] All needed @bugsounet library loaded !
      [29.09.2022 22:29.36.625] [LOG] [PIR] PIR Library v1.1.0 Initialized…
      [29.09.2022 22:29.36.738] [LOG] [PIR] Initialize Complete Version: 1.0.1 rev: 220403
      [29.09.2022 22:29.36.772] [INFO] Checking git for module: EXT-Alert
      [29.09.2022 22:29.36.852] [INFO] Checking git for module: EXT-Pir
      [29.09.2022 22:29.36.905] [INFO] Checking git for module: WB-weather
      [29.09.2022 22:29.36.907] [INFO] Checking git for module: MMM-OpenWeatherMapForecast
      [29.09.2022 22:29.36.956] [INFO] Checking git for module: MMM-pages
      [29.09.2022 22:29.36.994] [INFO] Checking git for module: default
      [29.09.2022 22:29.38.708] [INFO] Newsfeed-Fetcher: Broadcasting 66 items.
      [29.09.2022 22:30.19.868] [LOG] Shutting down server…
      [29.09.2022 22:30.19.871] [LOG] Stopping module helper: updatenotification
      [29.09.2022 22:30.19.872] [LOG] Stopping module helper: EXT-Screen
      [29.09.2022 22:30.19.873] [LOG] Stopping module helper: EXT-Alert
      [29.09.2022 22:30.19.874] [LOG] Stopping module helper: EXT-Pir
      [29.09.2022 22:30.19.875] [LOG] Stopping module helper: WB-weather
      [29.09.2022 22:30.19.880] [LOG] Stopping module helper: MMM-OpenWeatherMapForecast
      [29.09.2022 22:30.19.881] [LOG] Stopping module helper: newsfeed
      [29.09.2022 22:30.20.167] [LOG] [SCREEN] ByeBye !
      [29.09.2022 22:30.20.169] [LOG] [SCREEN] @bugsounet

      A 1 Reply Last reply Reply Quote 0
      • A
        Anthony Donators @Nik92 last edited by

        @Nik92 Hi. I recently bought a Rpi4 and have the same problem. Are you using the included hdmi cable? I suspect that it does not support this function. I will buy a better one to test it. I think this is the problem but not sure. I will check it and update the post.

        1 Reply Last reply Reply Quote 0
        • N
          Nik92 last edited by

          Hi @Anthony, yes I use the included cable. Let me know how it goes with your test.
          Hi @bugsounet, do you have some suggestion for this issue?

          Thanks

          A 1 Reply Last reply Reply Quote 0
          • A
            Anthony Donators @Nik92 last edited by

            @Nik92 Yes I will let you know. But this is not the right place to post your issue. This is an EXT-Screen’s issue so you should post it there. That’s probably why bugsounet does not reply to you. Sorry but here is his place and we all should follow his rules.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Powered by NodeBB | @bugsounet ©2022