Vero 4k random hangs

Hi All,

I recently purchased Vero 4K and I’m experiencing random hangs now
Symptoms

  • Grey/Black screen
  • No response via remote control
  • No response over network
  • Nothing in log files
  • Temperature is within sensible limits ~30C (room temp ~22C)
  • Have to pull power to bring it back up

Software

  • All packages are up to date
  • Running Deluge headless server with 2-5 active torrents

Hardware

  • I’m running Vero 4K with its own HDMI cable and power supply.
  • The only connected device is Seagate Backup Plus Portable 5TB - ST5000LM000-2AN170

Logs

I’d really appreciate any help with this.

Thanks.

Try disable the torrent client and remove the hard drive. If it’s stable, add the drive back in but keep the client disabled.

Is the drive powered separately?

Thanks for the quick response Sam,

Well If i disable torrent client then I’d need to simulate similar IO pattern ie multiple threads performing random IO, right? =)
Is there any tool I could use for this?

I’m using USB powered HDD - plugger directly into Vero 4K. Not powered via hub

It does appear to be HDD/HDD Power issue as today I faced another problem when all new processes trying to access the mountpoint hung.

I have ordered external HDD with its own power supply.
Will try it and report right away!

P.S. I feel it would be very useful to have some kind of compatibility database where users could submit a list of connected devices, compatibility ratings and any issues faced - even simple wiki page would do

There’s too many!
But I do recommend powering the drive externally in your situation.

Let me know how you get on

Sam

I think that’s a good idea, though it would be an increasing challenge to keep it updated. If you use the OSMC store as your first ‘port-of-call’ for eg. USB hub, etc., then at least you can be sure you are starting with quality, compatible components.

Hi Sam,

I’ve been testing my vero4k over the last week and can confirm the issue still remains
What I’ve tried:

  1. External USB powered HDD + running Deluge
  2. External USB powered HDD + no Deluge
  3. No External HDD + Deluge
  4. No External HDD + no Deluge
  5. Tried all above with external HDD with it’s own power supply
    So I’m still experiencing random hangs unfortunately and the nature of these hangs appear to be random.

Also I noticed that sometimes during playback screen goes black and sound disappears for couple seconds. Not sure if it’s related though =)

Thanks.

Hi

Thanks for the detailed reply.

That doesn’t sound right at all. As you’ll likely need to return your hardware to us for replacement under warranty, I’d recommend a complete installation from Download - OSMC. If you continue to experience problems after this, please send an email to support@osmc.tv so we can make the necessary arrangements

Sam

Just checked right after screen went black and I can this in kodi.log

20:50:44.015 T:3367027456 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer

We would need to see full debug logs when this happens to have an idea of what’s happening. Snippets don’t help

If you’re able to access your device during these blackouts, it’s probably not a hardware problem as the device isn’t locking up

Ok I’ll enable full debug and will send you the logs next time I face this problem

Had another blackout during playback today
https://paste.osmc.tv/upuvufotes
Balckout happened around 16:20

Also I believe the hangs are caused by overheating. I’m running stress to confirm this now.

Stress is a synthetic benchmark.

Are you running a lot of background services?

The blackout occurs due to a change in frame rate by the looks of it. Live TV program?

Sam

I’m running Deluged, Samba and SSH.

I was playing back recorded TV program. Mediainfo: http://paste.osmc.io/azuyecezip.tex

I have “Adjust display refresh rate” set to “On start / stop”. Same issue happens with “Always”

Does it always go black in the same spot?

I think the black screen issue is when the decoder struggles with changes in frame rate. You can test this by disabling amcodec temporarily to rule out a HW issue.

Re. hangs: did you ever try without the HDD attached?

I’m starting to think the Vero 4K is probably OK.

Sam

I was able to reproduce this with both internal storage and UBS attached drives (4 different models including Samsung T3 SSD)

  1. Start playback (pretty much any file)
  2. connect via ssh and run ‘stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M’ command
  3. takes 2-10 minutes to hang Vero 4K

Note: I was able to run stress alone without playing movies for aroung 30 minutes without any hangs

I don’t like using programs creating artificial stress situations since often you see symptoms which are not the one you want to inspect and you start hunting phantom problems.

Nevertheless I tried your test setup WITHOUT Deluged installed, running a a Full HD mkv with DTS-HD MA (passthrough) and the example parms for stress like you did.

It runs now since 38 mins without any problem. I see in “top” 14 stress processes running and taking an overall CPU utilization of constant 100% (60%user, 40% sys), around 700 MB used memory, 200 MB free.
With the actual stretch development repository you get a kernel which allows you to run iotop. While my test running, I see nearly constant throughput about 1.5 MB/s from the Filecache/HDD.
This is just to compare your test scenario and circumstances with mine in case you want to repeat it.

So, the good question is: Was this Deluged stuff running while your test? And if yes, what happens if you deactivate it completely or even deinstall it and repeat the test?

You should see nearly the same CPU utilization, same memory demand and behavior like here.
Btw. the video playback and stress processes were still running without any issue while writing this last line … :wink:

Hi JimKnopf,

I agree with your point about creating artificial stress situations however this was
done to be able to consistently reproduce the issue as I was suspecting that this was caused by high CPU usage (which Deluge is generating pretty well =) )
So with stress I don’t have to wait for hours before my Vero hangs.

Just to confirm, I eliminated most of other factors that could contribute to the problem:

  1. disconnected all usb devices
  2. connected Vero 4K power directly to wall socket.
  3. stopped deluge
  4. started 1080p mkv from internal storage
  5. started stress as per my post above
  6. room temperature ~20C
  7. Vero4k is not covered and there’s nothing nearby that would generate heat.

As I mentioned earlier it takes minutes for my Vero to hang.

I also experienced hangs couple times when copying medium sized files(5-7GB) to internal storage from USB attached storage as well as over the network (stress/deluge weren’t running). I didn’t check CPU usage/temperature in those cases I’m afraid.

So just to reiterate:

  • This happens with both USB attached (usb powered and with power supply) and internal storage
  • With and without deluge running(however deluge is a good way to hang vero4K quicker)
  • Happens when playing content over network
  • Happens when copying files to intenal storage without any stress tests or deluge or movies running
  • reinstalling osmc from scratch doesn’t eliminate this problem
  • Happens when not playing any content
  • common factor is high CPU load

I still hope this is a software/firmware problem as this otherwise is a brilliant little device.

Hope, you mean + 20°C or is it in a permafrost area? :wink:

I can offer you to let run one of the video materials on my machine . With that we would know whether it’s related to the video or isolated to your box. This should be negotiated via PM in this forum. On the other hand you state it also occurs “when not palying any content”.

Another idea is to deactivate all scraping activities on your box, see your post and logs at Vero 4k random hangs - #11 by paestra. At timestamp 15:27:46.566 T:4056937216 something weird/strange happened but it is not clear whether this IMDB access has anything to do with the issues you’re suffering.

For any business solution @sam_nazarko should make a comment.

1 Like

It’s +20C of course =)

Yes, this happened with a number of different files as well as without any files being played

There was no hang during that time so I believe this is not related

From the mentioned log one can see to box was still alive long past 16:20 … that leads me to the idea to ask about your TV. I assume the Vero is directly attached to a TV. Have you thought about switching off the TV while hang wait 1-2 minutes and switch it on again? What happens then?