MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    V2.31.0 unable to start

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    29 Posts 3 Posters 674 Views 3 Watching
    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.
    • htilburgsH Offline
      htilburgs @sdetweil
      last edited by htilburgs

      @sdetweil Maybe I don’t understand.
      WAYLAND_DISPLAY=wayland-0 still gives wayland-1 in npm run start:wayland.

      wlr_randr gives

      pi@MagicMirror:~/MagicMirror $ wlr_randr
      -bash: wlr_randr: command not found
      

      By the way, my PIR command do work

      onCommand: "WAYLAND_DISPLAY='wayland-1' wlr-randr --output HDMI-A-1 --on --transform 270 --mode='1920x1080'",
      
      offCommand: "WAYLAND_DISPLAY='wayland-1' wlr-randr --output HDMI-A-1 --off",
      

      (still trying to learn JS, but not afraid to ask) ☺

      htilburgsH R 2 Replies Last reply Reply Quote 0
      • htilburgsH Offline
        htilburgs @htilburgs
        last edited by

        When I give command

        pi@MagicMirror:~ $ WAYLAND_DISPLAY='wayland-1' wlr-randr --output HDMI-A-1 
        HDMI-A-1 "Samsung Electric Company SyncMaster 0x00000001 (HDMI-A-1)"
          Physical size: 700x390 mm
          Enabled: yes
          Modes:
            720x400 px, 70.082001 Hz
            640x480 px, 59.939999 Hz
            640x480 px, 60.000000 Hz
            640x480 px, 66.667000 Hz
            640x480 px, 72.808998 Hz
            640x480 px, 75.000000 Hz
            720x480 px, 59.939999 Hz
            720x480 px, 59.939999 Hz
            720x480 px, 60.000000 Hz
            720x480 px, 60.000000 Hz
            720x576 px, 50.000000 Hz
            800x600 px, 60.317001 Hz
            800x600 px, 72.188004 Hz
            800x600 px, 75.000000 Hz
            832x624 px, 74.551003 Hz
            1024x768 px, 60.004002 Hz
            1024x768 px, 70.069000 Hz
            1024x768 px, 75.028999 Hz
            1280x720 px, 50.000000 Hz
            1280x720 px, 50.000000 Hz
            1280x720 px, 59.939999 Hz
            1280x720 px, 60.000000 Hz
            1280x720 px, 60.000000 Hz
            1152x864 px, 75.000000 Hz
            1280x800 px, 59.910000 Hz
            1440x900 px, 59.901001 Hz
            1280x1024 px, 60.020000 Hz
            1280x1024 px, 75.025002 Hz
            1600x900 px, 60.000000 Hz
            1680x1050 px, 59.882999 Hz
            1920x1080 px, 23.976000 Hz
            1920x1080 px, 24.000000 Hz
            1920x1080 px, 25.000000 Hz
            1920x1080 px, 29.969999 Hz
            1920x1080 px, 30.000000 Hz
            1920x1080 px, 50.000000 Hz
            1920x1080 px, 50.000000 Hz
            1920x1080 px, 59.939999 Hz
            1920x1080 px, 60.000000 Hz
            1920x1080 px, 60.000000 Hz (preferred, current)
          Position: 0,0
          Transform: 270
          Scale: 1.000000
        

        (still trying to learn JS, but not afraid to ask) ☺

        S 1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @htilburgs
          last edited by

          @htilburgs so wayland-1 seems to be correct

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • R Offline
            rkorell @htilburgs
            last edited by

            @htilburgs said in V2.31.0 unable to start:

            -bash: wlr_randr: command not found

            shouldn’t it be wlr-randr ?

            Regards,
            Ralf

            htilburgsH S 2 Replies Last reply Reply Quote 0
            • htilburgsH Offline
              htilburgs @rkorell
              last edited by

              @rkorell
              You’re correct, but then I get

              3bbb92f7-13b0-4849-87f5-57180fc25ab3-image.png

              (still trying to learn JS, but not afraid to ask) ☺

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                rkorell @htilburgs
                last edited by

                @htilburgs :-)
                this is correct on console window.
                console didn’t know about display unless you’re telling him what display to use.
                As far as I know you can use

                DISPLAY=:0.0 
                

                as a hint upfront your terminal command.
                At least for xrandr this works and is necessary.

                DISPLAY=:0.0 xrandr --output HDMI-1 --off
                

                is my xrandr console equivalent for the “normal” command

                xrandr --output HDMI-1 --off
                

                I’m not THAT sure if this is true for wlr-randr .
                (Because wlr-randr do have this environment variable “WAYLAND_DISPLAY” which is not the case for xrandr…)

                HTH & regards,
                Ralf

                S 1 Reply Last reply Reply Quote 0
                • S Away
                  sdetweil @rkorell
                  last edited by

                  @rkorell xrandr needs DISPLAY

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    rkorell @sdetweil
                    last edited by

                    @sdetweil yes :-)

                    1 Reply Last reply Reply Quote 0
                    • S Away
                      sdetweil @rkorell
                      last edited by

                      @rkorell oops, never can remember when i need to use underscore vs dash! thanks for the catch!

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 3 / 3
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy