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.

    Using vc4-kms-v3d lost control on tvservice

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 4 Posters 5.9k Views 5 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.
    • G Offline
      GregoryOrciuch
      last edited by

      Hi,

      recently using latest 2.4.1 i wanted to use the dtoverlay=vc4-kms-v3d to offload rendering effort of electron to GPU. That is working great, CPU usage decreased.

      However I noticed that my screen blanks sometimes. After a little bit of digging I recon I used the “tvservice -o” and “tv-service -p” in cron to schedule the LCD monitor off/on. (I’ve old monitor which is not power efficient and heats a lot in the mirror chasis - so when I’m not using it I scheduled cron to turn on/off the monitor for night etc)

      So now when vc4-kms-v3d is enable I can turn monitor off by using “tvservice -o”, but when it’s again time to turn that off the tvservice is thinking there is no monitor at all. As a result i’m not able to resurrect the monitor again. I can do reboot and obviosly it’s fine.
      Also notice then commands like “vcgencmd display_power 0/1” has also no control of monitor over vc4-kms-v3d .

      Do you guys know how I can control the monitor ? (it’s not CEC anyhow)

      If I use f(ake)-kms will that help to control it?

      some src: https://www.screenly.io/blog/2017/07/02/how-to-automatically-turn-off-and-on-your-monitor-from-your-raspberry-pi/

      BR,
      Gregory

      pyrosmileyP 1 Reply Last reply Reply Quote 1
      • pyrosmileyP Offline
        pyrosmiley @GregoryOrciuch
        last edited by

        @gregoryorciuch I am in the exact same boat as you, and I have not had any luck as of yet. Tried the normal overlay and the “fake” kms, to no avail. To be honest, I’ve just given up for a little bit until people that know what they’re doing have found a solution or the drivers are more stable. I might just do a fresh raspbian install and start anew, to see if that fixes things.

        As a side note that doesn’t help much right now, using ‘vcgencmd monitor_on’ (or ‘off’) if you’re able is much, much better than ‘tvservice’.

        1 Reply Last reply Reply Quote 0
        • G Offline
          GregoryOrciuch
          last edited by

          @pyrosmiley thanks for sharing your experience. Actually because I cannot wakup the screen I put /sbin/reboot in crontab, that is nasty solution but works. But it costs the reboot.

          pyrosmileyP 2 Replies Last reply Reply Quote 0
          • pyrosmileyP Offline
            pyrosmiley @GregoryOrciuch
            last edited by

            @gregoryorciuch Yeah, it’s an ugly solution, but it works! I’d do the same, but my screen is blanking after about 25 minutes at most, and I just can’t justify a full reboot ever half hour.

            1 Reply Last reply Reply Quote 0
            • pyrosmileyP Offline
              pyrosmiley @GregoryOrciuch
              last edited by

              @gregoryorciuch I just remembered – are you using a PIR sensor? It seems like that’s been the source of the problem for a lot of people, and there seems to be a fix. Unfortunately, I am not so that doesn’t impact me and I didn’t remember to mention it.

              1 Reply Last reply Reply Quote 0
              • C Offline
                cdelaorden
                last edited by

                Hi Gregory
                tvservice isnt compatible with the KMS driver, you need to use fkms to retain that compativility

                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  BradAU @cdelaorden
                  last edited by

                  @cdelaorden I’ve changed the driver from kms to fkms and tvservice commands are now working as is display_rotate=1 in config.txt which is great, the issue I now have is transitions on the screen, compliments changing, news headlines etc are not smooth at all in fact they are quite jittery, any suggestions?

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    cdelaorden @BradAU
                    last edited by

                    @bradau no sorry, thats not my case

                    if you dont have any problem with the full kms maybe you will have to search of a tvservice alternative, something that works on any linux desktop and not specific to RPI

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • 1 / 1
                    • 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