Nvargus throws SCF: Error InvalidState when deepstream-app is launched as system service

For what I understand, the previous reference refers to a case in which deepstream fails on boot because some of the required services have not finished loading yet. In my case, the system is already running when I start the service. More specifically, I would see my error when doing the following sequence:

  1. Boot system
  2. Run deepstream app from terminal → works OK, stop and quit after some minutes
  3. Initialize deepstream app from service → works for ~35 seconds, then nvargus fails
  4. Restart nvargus-daemon service
  5. Run deepstream app from terminal → works OK, stop and quit after some minutes
  6. Restart nvargus-daemon service
  7. Initialize deepstream app from service → works for ~35 seconds, then nvargus fails
  8. Restart nvargus-daemon service
  9. Run deepstream app from terminal → works OK

Do you think waiting for services to start, which should already have happened by the time I start the service, could be related to the issue?