#Home Assistant keep crashing when I

1 messages · Page 1 of 1 (latest)

cobalt ridge
#

any help with this will be appreciated

gilded socket
#

Is it on purpose that you're transcoding all of your streams to h264 on the cpu, most likely using extreme amounts of CPU resources?

cobalt ridge
#

@gilded socket ok I just got myself an GPU to fix. but HA card is still crashing....

gilded socket
#

Why are you doing transcoding to h264? It's also still using CPU for that

cobalt ridge
#

should I be doing this ?

cameras:
  frontyard:
    enabled: true
    ffmpeg:
      hwaccel_args: preset-nvidia-h265
      output_args:
        record: preset-record-generic-audio-copy
      inputs:
        - path: rtsp://127.0.0.1:8554/frontyard
          input_args: preset-rtsp-restream
          roles:
            - record          
        - path: rtsp://127.0.0.1:8554/frontyard_sub
          input_args: preset-rtsp-restream
          roles:
            - detect  
#

Sorry just start with this stuff and I am so thankful for your help.

gilded socket
#

I would suggest showing a full config and I can make a suggestoin

cobalt ridge
gilded socket
#

Yeah I'd just remove the #video=h264

cobalt ridge
#

@gilded socket I can do that, but it didn't fix.

#
Return Code: 3

Process Error:

error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit```
gilded socket
#

What are the logs?

#

Vainfo doesn't apply to nvidia

cobalt ridge
#

All good worked it out the camera. thanks

cobalt ridge
#

@gilded socket it was you who helped me on GitHub lol just saw it was the same photo I just donated too.