ari_verse

joined 1 year ago
[–] ari_verse@lemm.ee 13 points 17 hours ago

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 21 points 17 hours ago

That guy that gave the release, what was he thinking!

[–] ari_verse@lemm.ee 15 points 17 hours ago

What a weekend for Williams and most specially for Colapinto! Here's to hoping he will take this chance and make his 9-race-only chance the start of a brilliant F1 career. He seems to have what it takes

[–] ari_verse@lemm.ee 4 points 1 month ago (3 children)

Well these days we have flatpak to solve the "not in the repo" (or 'old version in the repo') problem.

[–] ari_verse@lemm.ee 3 points 1 month ago (1 children)

It's a fair point but I would rather diversify and also use something that is open / less opaque

[–] ari_verse@lemm.ee 52 points 1 month ago (6 children)

A few years ago when my org got the ask to deploy the CS agent in linux production servers and I also saw it getting deployed in thousands of windows and mac desktops all across, the first thought that came to mind was "massive single point of failure and security threat", as we were putting all the trust in a single relatively small company that will (has?) become the favorite target of all the bad actors across the planet. How long before it gets into trouble, either because if it's own doing or due to others?

I guess that we now know

[–] ari_verse@lemm.ee 3 points 6 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.

 

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 6 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 8 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 8 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 1 points 8 months ago

was an issue confirmed? I noticed -different from before- that my new subscriptions to communities stay in 'pending state' and don't seem to move to 'joined' as was happening before

[–] ari_verse@lemm.ee 1 points 10 months ago* (last edited 10 months ago)

Generally it's the mobo chipset that determines which CPUs are compatible. Often the chipsets are compatible with two generations of CPUs, that was the case with H6xx from intel, i got one with am alderlake cpu amd could upgrade it a year and a half later with rocketlake. The mobo OEM needs to support this in their uefi/bios

 

With the release of 2023.8 I noticed there is built-in shopping list functionality in HA. Up to now at home we have been using Alexa's shopping list (we have an old echo in the kitchen so it's been practical). My question: is there a way to somehow have the Echo's/alexa's shopping list feature to manage HA's shopping list by default? I recall from ages ago that there were Alexa skills like todoist that could take over the shopping list in the echo, is there anything equivalent from the HA community?

4
submitted 1 year ago* (last edited 1 year ago) by ari_verse@lemm.ee to c/pixelfed@lemmy.ml
 

New to pixelfed, is am using the android client. Overall it works very well but there is one basic thing I couldn't figure out, is there a way to have the feeds (network/public/home) sorted with some criteria, e.g. Show recent posts with more Likes at the top etc?

view more: next ›