• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.0k 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 Jul 23, 2018, 12:10 PM

    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

    P 1 Reply Last reply Jul 23, 2018, 7:02 PM Reply Quote 1
    • P Offline
      pyrosmiley @GregoryOrciuch
      last edited by Jul 23, 2018, 7:02 PM

      @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 Jul 24, 2018, 5:06 PM

        @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.

        P 2 Replies Last reply Jul 25, 2018, 4:57 PM Reply Quote 0
        • P Offline
          pyrosmiley @GregoryOrciuch
          last edited by Jul 25, 2018, 4:57 PM

          @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
          • P Offline
            pyrosmiley @GregoryOrciuch
            last edited by Jul 25, 2018, 5:06 PM

            @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 Jul 30, 2018, 12:55 PM

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

              B 1 Reply Last reply Aug 2, 2018, 7:23 AM Reply Quote 0
              • B Offline
                BradAU @cdelaorden
                last edited by Aug 2, 2018, 7:23 AM

                @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 Aug 13, 2018, 5:31 PM Reply Quote 0
                • C Offline
                  cdelaorden @BradAU
                  last edited by Aug 13, 2018, 5:31 PM

                  @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
                  • 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