this post was submitted on 15 Jul 2023
134 points (99.3% liked)

Linux

48144 readers
904 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Like most people, I entered COVID as a normal hobby geek with a Linux server I played around with and a healthy hardware habit with a side of home automation and DD-WRT. I emerged from COVID enrolled in college, now with two servers (one new build, one rebuilt from my first one), two Pi, multiple instances of Home Assistant (one dedicated) and putting sensors on everything a sensor could go on and rewiring switches for wifi control of overhead fans, flashing every compatible router I could find on Amazon Warehouse with DDWRT in my home for an ad hoc mesh network (no, it didn't work, but I didn't care) while cabling everything to switches and creating a really hilarious network deathtrap tripping hazard, a massive media library (discovered Handbrake and making multiple resolutions) and a Sonos home theatre system. And yes, played an unhealthy amount of Animal Crossing and got an NVIDIA Shield Pro for streaming and Plex, as you do. I'm sure everyone can relate.

SBC's were the natural escalation; I had credit card bills to pay off and that's going to take a while.

I gatewayed with Pi like ten years ago but it took off during Later COVID when I noticed my credit score and started testing it as a NAS, Media Server (later: Cassiope Media Server, my second end to end Linux build), then got into learning about the kernel itself. I already had an Odroid (Home Assistant Blue) so why not go on, so project-based SBCs seemed healthy; I had a reason for buying one. This led to more Pi's--as I couldn't use Kernel Pi (Eurydice) for it and Andromeda Pi was masking my personal network, then I needed one for a Pihole (Iphigenia, Hecuba), which is how I ended up with a BeagleBone Black (Medusa) for an Open Thread Border Router. Still pretending I wasn't just collecting them like cats, I networked them together and just enjoyed looking at them and making them matching banners with figlet with the excuse I was learning how to do network-wide deployments over SSH (true) and learn Debian OS (technically, I am doing that) and started PoEing things (my credit card bills may not be getting lower, no).

The count stands at a total of 9: one (1) Pi Zero W, one (1) Pi Zero 2 W, one (1) Raspberry Pi 4B 4G, two (2) Raspberry PI 4B 8G, one (1) Odroid N2+, one (1) Beaglebone Black, one (1) PocketBeagle, and one (1) BeaglePlay. (Other: two Linux machines, Watson and Cassiope). Yes, they all have names and technically, each is associated with a project. The BeaglePlay's (Circe) associated project is 'create my own documentation on what it does because Beagles don't document'.

So which ones do you use, why, origin story, feelings: go.

(I'm moving in a week and half my hardware is being packed. I'm about to have to take down my network and Home Assistant and may be freaking out. I'm not sure I know where any light switches are here, either.)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 year ago (3 children)

I've been using a Zima Board for my home network. I have the mid-range, 4Gb memory, 32GB onboard. It's got two SATA ports, dual gigabit Ethernet, an Intel processor and PCI express port that I'm eventually going to use to run an old wifi card so i can isolate my IOT devices on a dedicated wifi network.

The only problem i have with it is RAM and transcoding. I have 22 containers running things from the "arr" suite (Prowlarr, Radarr, Readarr, ect), pihole, Jellyfin, Home Assistant, etc. I stay around 80% memory usage, so i should have gotten the 8GB. And forget about trying to transcode Blu-ray rips, which most of my devices can't stream natively, so transcode is the only option. The audio stutters and playback pauses every ten seconds or so. I don't have a problem streaming the file through samba, it just doesn't have the "omph" that it needs for hardware transcoding of Blu-ray.

All that being said, i would get another one over the Raspi. Case/heatsink built in, SATA, PCI-E, dual gigabit, everything i need for a basic server.

[–] [email protected] 3 points 1 year ago (2 children)

Friend, this reply is beautiful. And reading the Zima site, I may be sold. What do you use to run the network? OpenWRT, DDWRT, Tomato?

And forget about trying to transcode Blu-ray rips, which most of my devices can’t stream natively, so transcode is the only option.

Ninety-nine percent of the time, I am unqualified to advise on anything; thanks to COVID, I got deathly into making a media server and ran into the transcoding problem followed by making a spreadsheet and experimenting and documenting my results.

My results (other can disagree): all my transcoding problems came down to audio streams and subtitles. None of this may apply to you, but just in case.

I approached it from three points: a.) I got the NVIDIA Pro to run Plex as NVIDIA can handle anything; b.) I made a server just for my media processing and storage (it also runs Plex as a secondary instance when my Shield is in use). I use MakeMKV for the raw rip into an mkv container with all audio streams. The rip I process through Handbrake so I can get as close to a clone as I can (4K to 4K, 1080p to 1080p, etc) with full original audio then make a copy of each and every audio stream into the equivalent container that was compatible with the sound limitations of whatever I was planning to stream it on. Example: my Sonos speakers wanted Dolby: DTS 7.1 to TrueHD. I also did a third copy of each stream into the equivalent AAC containers: TrueHD to AAC 7.1 to future proof. I also added a fourth copy that's a basic AAC 2.0 that rolls with anything; and c.) Subtitles: turn them off and use open subtitles files so no one has to deal with bitmaps. I tested through Plex to make sure, and watched for the switch from direct play to transcode, then reverified on my Windows machine, etc.

Yes, it will eat hard drive space like whoa--uncompressed audio streams do that--but with surprisingly few exceptions, I can get direct play for 4K on pretty much anything now, not just Plex. I also create multiple resolutions using either original rip 4K or original rip 1080p as source but with the same audio mapping (that's a me-thing and also, Covid). I know this sounds like a ridic amount of work, but once I set all the profiles, it's basically a batch job. My total movie library sits at 400 movies with about 1200 files; last year I re-audited my Handbrake profiles, deleted everything but my source rips (and actually did a mass re-rip on the older ones that I did before I started compiling the latest ffmpeg to use when compiling MakeMKV), and re-encoded everything using those profiles. Total time was about two weeks end to end; I did them in batches of fifty and checked in every six hours to move completed files back into my media drives and also restart.

The only ones now that need me to personally go in and make corrections are the remastered releases like Apocalypse Now and Scarface (my files were twice the size of the original, it was unreal). Every one of them rips huge and needs slightly different profile tweaks, so those I oversee personally.

I don't know if any of this is relevant to your setup, but I reverified running Plex on one of my Pis and it could direct play at least 90% of the 4K and anything lower, and the 4K problems seem to all be with those remasters.

[–] [email protected] 2 points 1 year ago (1 children)

Glad i could help! My autism is finally helping someone at least.

I'm using a Netgear r7800 with ddwrt, with hopes to eventually move dhcp handling over to the Zima Board.

You've got me thinking about media streaming though, Zima uses the Intel quick sync for transcoding, so that might also have something to do with it. I eventually want to move to dedicated hardware for streaming, with some stronger hardware/software like an NVIDIA based solution. I do have an old graphics card kicking around, but i haven't played with the pcie slot yet, so I'm not sure if that even a non starter?

I'm going to look into it more, since i don't need 4k, but would be nice to have.

[–] [email protected] 1 points 1 year ago

ADHD here: I live for finding people who know how to enjoy their hobby correctly: like you're invading a country and taking no prisoners.

I’m using a Netgear r7800 with ddwrt, with hopes to eventually move dhcp handling over to the Zima Board.

I am seriously feeling the Zima, but I just went over to Orbi Pro 6--yes, I gave in for Wifi 6 and no regrets, the coverage with just one satellite and the router is unreal. I'm trying to decide if I'll have time, but I really desperately want to learn OpenWRT; my first try was--well, there hasn't been a second one. But there will be. I picked up some (read; too many) USB Wifi dongles via rmorrow's list of linux compatible ones, so I could try and test drive a diy wifi router with it. God, that sounds fun.

The transcoding problem is one that keeps popping up. Depending on your price point, the NVIDIA SHIELD Pro (latest) can handle anything--and it is a genuinely amazing streamer and really spoils you for most of the rest--but that means it would only work when watching using that over Plex or whatever media server software you can put on it. And I think the X-Box? When I was researching during COVID, the only other all-in-one option was a full dedicated server with either Threadripper or something in that family; I think when I did the math, just for the processor, my minimum investment for 4K and Atmos/7.1 was roughly $600-$800 if I was lucky, and that's before the board and like, a sound system that does Atmos.

I know there were some other possible options with hardware, but it's been a while. If I think of anything, I'll bookmark this page to post here. Hopefully you'll find something you like and will work for you. I know exactly how frustrating it is finding a solution.