Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

sylverstream

@sylverstream@lemmy.nz

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Easiest way to create player targets for Music Assistant to connect to an active speaker via SPDIF for <$30 ? Squeezelite seems like a good candidate, but unsure how to connect to SPDIF

I'm struggling to find the easiest solution to connect a set of active speakers that have BT/Optical (Toslink)/Coax. I currently use a tablet to stream Deezer via BT, but I want to be able to use them in Music Assistant....

sylverstream OP ,

MA and HA are hosted on a RPi4 in the garage, not near the speakers.

sylverstream OP ,

Thanks mate, much appreciated. That's what I mean, it's complicated... I have no idea what extra hardware I'd need. I just want to connect it via Coaxial and the only thing I can find is very complicated docs like you found :)

BT is not an option as I'd like to keep using the tablet directly to BT in case MA/HA is down.

sylverstream OP ,

Thanks for the long reply!
I've tested Fully Kiosk again and now it seems to work perfectly. Previously it was not reliable, guess they have fixed it.

sylverstream OP ,

It has integrated Intel graphics, not a separate GPU.

sylverstream OP ,

Yes, but I think it's because of OpenVino. Some other people with Intel HD using OpenVino had similar issues. I've just switched to another model based on this post.

How to remotely reboot a Linux host if SSH fails to connect?

Edit2: Thanks all for your responses! I have checked the logs, https://lemmy.nz/comment/6192604, and based on that removed tracker-miner-fs as it's a search/index tool which I don't need. No idea why it took over all memory. I'll also get a WiFi Smartplug as a kill switch. Hopefully that solves it....

sylverstream OP ,

Yes, very good idea. I've got HA on a RPI so that should be easy.

sylverstream OP ,

Thanks! That should work.

sylverstream OP ,

Thanks, I've got a HP SFF as well. Not 100% sure how to turn it on though from Ubuntu.
There's a software based version: https://manpages.ubuntu.com/manpages/xenial/en/man8/watchdog.8.html

But I guess that's not the one using the motherboard watchdog function.

sylverstream OP ,

Yes, thanks for that. Good point. I checked the logs, and minutes before it crashed I can see below in the logs. Seems like either a GPU error or out of memory error.
No idea what tracker-miner-f is by the way.
It also shows a massive list of processes with their memory usage.

This goes beyond my knowledge :(

Feb 21 17:27:49 hppd600-g3 kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 9:0:00000000
Feb 21 17:32:43 hppd600-g3 kernel: 1305621 total pagecache pages
Feb 21 17:32:43 hppd600-g3 kernel: 16258 pages in swap cache
Feb 21 17:32:43 hppd600-g3 kernel: Free swap  = 0kB
Feb 21 17:32:43 hppd600-g3 kernel: Total swap = 1000444kB
Feb 21 17:32:43 hppd600-g3 kernel: 2065206 pages RAM
Feb 21 17:32:43 hppd600-g3 kernel: 0 pages HighMem/MovableOnly
Feb 21 17:32:43 hppd600-g3 kernel: 64196 pages reserved
Feb 21 17:32:43 hppd600-g3 kernel: 0 pages hwpoisoned

Feb 21 17:32:43 hppd600-g3 kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=user.slice,mems_allowed=0,global_oom,task_memcg=/user.slice/user-113.slice/user@113.service/background.slice/tracker-miner-fs-3.service,task=t>
Feb 21 17:32:43 hppd600-g3 kernel: Out of memory: Killed process 833 (tracker-miner-f) total-vm:625676kB, anon-rss:3144kB, file-rss:4816kB, shmem-rss:4kB, UID:113 pgtables:280kB oom_score_adj:200
Feb 21 17:32:43 hppd600-g3 kernel: i915 0000:00:02.0: [drm] Resetting rcs0 for stopped heartbeat on rcs0

sylverstream OP , (edited )

Yes, thanks for that. Good point. I checked the logs, and minutes before it crashed I can see below in the logs. Seems like either a GPU error or out of memory error. I've deleted tracker-miner-fs as I don't need it.
It also shows a massive list of processes with their memory usage.

Feb 21 17:27:49 hppd600-g3 kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 9:0:00000000
Feb 21 17:32:43 hppd600-g3 kernel: 1305621 total pagecache pages
Feb 21 17:32:43 hppd600-g3 kernel: 16258 pages in swap cache
Feb 21 17:32:43 hppd600-g3 kernel: Free swap  = 0kB
Feb 21 17:32:43 hppd600-g3 kernel: Total swap = 1000444kB
Feb 21 17:32:43 hppd600-g3 kernel: 2065206 pages RAM
Feb 21 17:32:43 hppd600-g3 kernel: 0 pages HighMem/MovableOnly
Feb 21 17:32:43 hppd600-g3 kernel: 64196 pages reserved
Feb 21 17:32:43 hppd600-g3 kernel: 0 pages hwpoisoned

Feb 21 17:32:43 hppd600-g3 kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=user.slice,mems_allowed=0,global_oom,task_memcg=/user.slice/user-113.slice/user@113.service/background.slice/tracker-miner-fs-3.service,task=t>
Feb 21 17:32:43 hppd600-g3 kernel: Out of memory: Killed process 833 (tracker-miner-f) total-vm:625676kB, anon-rss:3144kB, file-rss:4816kB, shmem-rss:4kB, UID:113 pgtables:280kB oom_score_adj:200
Feb 21 17:32:43 hppd600-g3 kernel: i915 0000:00:02.0: [drm] Resetting rcs0 for stopped heartbeat on rcs0

sylverstream OP ,

Thanks mate. It was a bit of a rabbit hole, I found stuff about the watchdog package, and you can configure it to use the iTCO_wdt module, but I also read it was blacklisted, and then I just gave up.
I posted somewhere else in the thread what lead up to the hang. And, I think I'll buy a WiFi smartplug so I can remotely reboot everything; assuming the WiFi still works :D

sylverstream OP ,

Thanks! Yeah it seemed to be an OOM issue, but based on my Kagi qualities it seems like an OS issue.
But, it also has an error about the GPU.
Normal memory usage is more than fine, so perhaps it was a one time thing.
See logs: https://lemmy.nz/comment/6192604

sylverstream OP ,

Thanks, but a data center is probably overkill for my needs. I've got it power loss protected with a UPS, and that's more than enough for us. Thanks anyway :)

I have a RPI, but of course that one can hang too. I'll buy a simple WiFi smart plug, standalone, as a kill switch.

sylverstream OP ,

Yeah tracker miner sounds dodgy.
I've only installed Immich & Frigate on the box, and no dodgy repositories. It's also auto updating.
Will do research how to check for malware, thought that was a Windows only thing :D

sylverstream OP ,

Yeah think I'll get a standalone WiFi smart plug, not connected to my Home Assistant, as a kill switch. But you're right, it's overkill.

I found some weird things in the logs, this goes beyond my knowledge :( See https://lemmy.nz/comment/6192604

sylverstream OP ,

Thanks, it's so awesome to see so many useful replies here! If you are interested, I found some very weird things in the logs :( https://lemmy.nz/comment/6192604

sylverstream OP ,

I've uninstalled it, it's an index/search tool. Don't need it :D

sylverstream OP ,

Thanks heaps, that's is very useful. Will connect monitor and keyboard and have a look.

sylverstream OP ,

That is good to know! Will keep an eye on memory usage of immich. I really like it, so I'm reluctant to let it go.

sylverstream OP ,

Sorry, I'm absolutely not a Linux expert :) I use /etc/fstab for the mounts, and to manually re-mount I run "mount -a".

sylverstream OP ,

Thanks! I've just set that up. That would seem to solve the solution, right, without reboots?

sylverstream OP ,

Yeah I used /etc/fstab which are static mounts.

I switched to autofs and that seems to be much better, as it does the mounts "at runtime", ie when requested.

sylverstream OP ,

Awesome, yes, definitely will do. After years of using Linux, the whole systemd thing is still a bit of a black box to me. I know how to create /start/stop services etc but that's about it.
Thanks for the prompt replies!

sylverstream OP ,

That's interesting! I've converted all my docker run commands to docker compose, as I found that easier to manage. But, I guess you can't do the dependencies like you have. Also, yours has the advantage it always pulls the latest.

sylverstream OP ,

Yeah, saw them, but that's over budget unfortunately. Thanks.

sylverstream ,

I switched to DDG and then to Kagi based on all the praise it gets here. So much better than Google!

sylverstream ,

I haven't done extensive research, but as it's a paid product, they have the user's interest in mind, instead of ad revenue.

sylverstream ,

I've flashes LibreTiny (fork of Esphome) on my Tuya devices, on a IR blaster and a relay. Took some time to understand how it worked, but then it worked like a charm. Now they are just esphome devices, no more Tuya stuff.

sylverstream ,

Home Assistant. It's a rabbit hole, but it's great. I've got motion enabled lights, thermostats for "dumb" heaters, and I track device usage (tablet, xbox) of my kids.

sylverstream ,

Not necessarily, I have devices that are cloud dependent. Locally in NZ there aren't a lot of options, all smart plugs are cloud dependent. Also things like weather integrations will stop working.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • incremental_games
  • meta
  • All magazines