ari_verse

joined 1 year ago
[–] ari_verse@lemm.ee 11 points 2 months ago (1 children)

Two candidates for my best-discovery-of-the-year prize,

Ptyxis terminal: https://gitlab.gnome.org/chergert/ptyxis A modern take at a terminal, gtk-4 native, gpu accelerated, container-aware etc that replaced tilix in my setup. And it comes neatly packaged as a flatpak

LogSeq notes: https://github.com/logseq/logseq A different approach to note taking & journal. Very nice looking, rich plugin ecosystem, could use some performance boost but I think they are working on it

Big shootout to flatpak/flathub that for me has finally taken off, I converted all of my regular desktop apps to flatpaks. Went from 3-4 apps last year to ~20 (including Firefox libreoffice, even my terminal app) this year and not looking back. This has made doing a major host SW upgrade almost painless for the first time in 25+ years using Linux desktops.

[–] ari_verse@lemm.ee 3 points 5 months ago

Thank you! that fixed it - I only had "undertermined" selected as language. It's curious that other communities did not show this problem before.

 

I thought this was a boost issue, but even using lemm.ee's web site, when browsing to my Nikon subscription (https://lemm.ee/c/nikon@lemmy.world) I don't see any post. If I go to the same community from lemmy.world's own site, I can see recent posts: https://lemmy.world/c/nikon I noticed the same problem in other communities (but I thought the issue was my lemmy client). Can this be fixed?

[–] ari_verse@lemm.ee 1 points 5 months ago

I.V. Drip blend from darkcity cofee in Toronto. Roasted a few days ago. Looking forward to my morning cortado!

[–] ari_verse@lemm.ee 4 points 9 months ago

I just checked that link and YES, actually it is, thanks for pointing it out. The docs must have been updated for v0.13, they added the ffmpeg prefix to the go2rtc stance, this wasn't there before. I found this originally in a github bug discussion with the frigate dev, where he suggested the person having issues to try this out and see what happens. There was no follow up after that suggestion though.

[–] ari_verse@lemm.ee 1 points 9 months ago

Note - another helpful tip for 510WA cams: in this github listing: Reolink Firmware Archive, you can find a link to version 3.1.0.1387 which I have been running for a week, this version is much newer than the latest official release (.764), it adds two useful new options in t he Stream configuration section (which is only accessible via the Web interface of the cam),

  • interframe space: set it to 1X
  • frame rate mode: set it to fixed
 

If you use Reolink wifi cams via the Frigate integration in homeassistant, you may be used to seeing tons of "ffmpeg has crashed unexpectedly" in your frigate logs. I have 3 older reolink wifi cams in frigate (510WA, 511WA) which most in the community seems to advise against and indeed since I've been running frigate, while they worked, they have been problematic since Frigate 0.12 and the arrival of go2rtc

Cutting down to the chase, when I was using the standard common configuration with these cameras:

go2rtc:
  streams:
    driveway:
      - "http://192.168.x.y/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=USER&password=PASSWORD#video=copy"
    driveway_sub:
      - "http://192.168.x.y/flv?port=1935&app=bcs&stream=channel0_sub.bcs&user=USER&password=PASSWORD"

... frigate would generally work with them however in the logs I could see that the ffmpeg process that frigate creates for each re-stream would crash every few minutes, accumulating thousands of crashes over time. I assume that the crashes would also cause event detection to be unavailable for a brief period each time they happened.

With Frigate 0.13, it got even worse, as with each crash, the HA dashboard would show a black image with a "No frames received" message that would only go away after a manual dashboard refresh.

I believe the issue is that go2rtc was unable to properly handle the streams from these old cams, while in the past, ffmpeg directly in frigate could do it, adding some ffmpeg parameter.

The solution I found a few days ago that ALMOST COMPLETELY eliminated all the "ffmpeg crashed unexpectedly" situations (I went from THOUSANDS of errors to just one or two errors after a few days) is to change the go2rtc configuration so that it uses ffmpeg instead of it's own code to connect to the cams:

go2rtc:
  streams:
    driveway:
      - "ffmpeg:http://192.168.x.y/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=USER&password=PASSWORD#video=copy"
    driveway_sub:
      - "ffmpeg:http://192.168.x.y/flv?port=1935&app=bcs&stream=channel0_sub.bcs&user=USER&password=PASSWORD"

I also have the following global ffmpeg configuration in frigate's config file, not sure if it helps or not:

ffmpeg:
  global_args: -hide_banner -loglevel error
  hwaccel_args: preset-vaapi
  input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -flags low_delay -strict experimental -analyzeduration 1000M -probesize 1000M -rw_timeout 5000000

This go2rtc configuration decreased CPU utilization significantly (frigate 0.13 itself also helped apparently). Hoping this will help others in the same situation, as the cams themselves are not bad, it's just their software that sucks, but that can be worked around quite nicely with ffmpeg.

[–] ari_verse@lemm.ee 1 points 9 months ago

what is the point of doing that? I just checked and I have hundreds of entities, it would take a huge amount of time to see which ones to keep visible / which ones are used in automations or visualization etc. What is the harm of just leaving them exposed?

[–] ari_verse@lemm.ee 2 points 10 months ago

I am no programmer either, mainly a technical-oriented user, and I made the switch to a linux-only desktop almost 20 years ago. I tried several distros but I keep coming back to ubuntu (in vanilla gnome mode), with it's closeness to debian and huge library of apps, with it's massive userbase you get a lot of online community support, and it's really polished these days. For the last 5-6 years or so I've been using "LTS" releases, doing major updates every two years, I found that to be a very reasonable cadence and it gives you great environment stability. The only significant downside I found these days is ubuntu's insistence in using their (proprietary?) snap desktop container app ecosystem, I personally much prefer flatpaks, and actually I use flatpaks extensively on my ubuntu desktop for SW that needs frequent updating (darktable, logseq, etc)

[–] ari_verse@lemm.ee 1 points 10 months ago (1 children)

With all its faults, great fútbol still mesmerizes. So many of us look forward with passion to the fantastic ritual of the World Cup every four years. The best competition tournament in the world by a long shot.

[–] ari_verse@lemm.ee 0 points 1 year ago (1 children)

Did you check logseq? It's on flathub

 

Years on the waiting and finally a replacement for my fanless Apollo lake home server seems to be on the way! After the disappointments of Jasper lane and prior announcements this one seems for real. 3-4 times better compute metrics and half the power.

Wondering what are others in the community using these days for always-on home server/media streaming needs?