Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us $3,400 per month for bandwidth bills alone, and since we don't believe in shoving popup ads to our registered users, we try to make the money back through forum registrations.
«145 »
  • Post
  • Reply
mod sassinator
Dec 13, 2006



1337JiveTurkey posted:

Whatís the best way to set up a headless cluster of 3s in bulk so I can just push the same commands to all of them? Iíve got four of them and a wireless-capable zero that I could use as a controller. Everything is in cases connected to a big USB power supply and an old switch so Iím pretty sure that hardware is fine.

My plan is to install Java to mess around with distributed Akka. I presume that Docker makes sense for this use case but really all I need is a JVM, some sort of networking configuration, SSH and SFTP. What do people think?

There are tons of tool out now with varying levels of complexity. I've used ansible and like it a lot, but I think there are some more simple 'just send this SSH command to X servers' tools too.

Personally I wouldn't start with docker.. it's just an extra level of complexity when you're learning stuff. Get everything going outside containers then try to containerize.

Adbot
ADBOT LOVES YOU

ante
Apr 9, 2005

No... Not without incident.

I've seen intriguing tech demos from resin.io for easily setting up distributed systems. Haven't used it, but it's worth checking out.

1337JiveTurkey
Feb 17, 2005



College Slice

Going back to the beginning, should I just go with a full-featured Raspian image and flash it with Etcher? Then change the basic networking in the boot config? Thereís additional crap installed but Iím using 64 gig cards because Costco.

mod sassinator
Dec 13, 2006



If you're new to the Pi and Linux in general, absolutely go with the basic default Raspbian image. The less stuff you do outside the 'mainstream' the easier it will be to track down help yourself online. Once you get comfortable with it all then start tweaking and pulling things out, etc. Honestly I have never seen space be an issue for typical Pi stuff when using even a 8gb card. Obviously you aren't going to store entire ROM collections and whatnot in that space, but for messing around with IoT, hardware, etc. you won't use a lot of space or care if Wolfram Alpha, etc. is installed.

Super Slash
Feb 20, 2006

You rang ?

Man this is disappointing although I don't really know what to expect, the best I can get out of this camera combo (Zero W, RPi Camera, MotionEyeOS) is just about 30fps in 640x480 streaming resolution. The board itself claims it can do 720p 60fps but I guess the software isn't quite there yet?

mod sassinator
Dec 13, 2006



A Pi 3 might be able to capture a little faster as it has a higher clock speed. But all that said it's a CPU running at 1ghz that you're using... don't expect miracles when the CPU has to do a lot of work. Think back to the power of a computer in 2003-2004 and that's about where the Pi is at capabilities-wise.

A4 Steak Sauce
May 9, 2016


If your project needs a little more Oomph, I think the Orange Pi (a variant made by not RPi foundation) has ones with beefier processors. Never used one, but it might do the trick. Anybody else work with them?

ante
Apr 9, 2005

No... Not without incident.

Yeah.

Support sucks.

Sterf
Dec 31, 2004



I use this for camera use with motion detection:
https://elinux.org/RPi-Cam-Web-Interface

That seems to get 720p 60fps without any trouble on a Zero with pretty decent motion detection. Or 1080p 30fps. Never got anything close to fluid on Motioneyeos myself.
For some reason it seems zoomed in on 1080p though, 1600x900 is about as far as it goes without having that weird problem.

eschaton
Mar 7, 2007
Ask me how it all ends!

Oven Wrangler

wolrah posted:

Just use the "Lite" version of Raspbian rather than trying to strip down the desktop version if you're running headless. That'll give you something pretty close to a base Debian install to start with.

If youíre going to do something like this you can run official Fedora Server 27 as either ARMv7 or AArch64 on your Raspberry Pi 3 hardware, and not worry about how to set up Raspbian to be more like stock Debian or whatever.

FreeBSD 12.0 also has Raspberry Pi 3 as a supported platform for which they generate binaries, though its currently prerelease. (NetBSD 7.1.1 also claims to support RPi3.)

Hadlock
Nov 9, 2004



I second the idea of giving him a pair of Bose A35 headphones, they're great and I'm 100% more effective with noise cancelling headphones.

Another goon, who ran TF2 servers forever, his work bought him a 4U server and let him run a bunch of game servers, Minecraft, Mumble voice chat server etc etc, he got a lot out of it and made him really happy

Boris Galerkin
Dec 17, 2011


eschaton posted:

If youíre going to do something like this you can run official Fedora Server 27 as either ARMv7 or AArch64 on your Raspberry Pi 3 hardware, and not worry about how to set up Raspbian to be more like stock Debian or whatever.

FreeBSD 12.0 also has Raspberry Pi 3 as a supported platform for which they generate binaries, though its currently prerelease. (NetBSD 7.1.1 also claims to support RPi3.)

Is there any reason to use a LTS distribution like Fedora/Ubuntu/CentOS Server vs Raspbian Lite? Or switch the question around, is there any reason to use Raspbian Lite over those other ones? For a headless server, I mean.

evil_bunnY
Apr 2, 2003



Super Slash posted:

Man this is disappointing although I don't really know what to expect, the best I can get out of this camera combo (Zero W, RPi Camera, MotionEyeOS) is just about 30fps in 640x480 streaming resolution. The board itself claims it can do 720p 60fps but I guess the software isn't quite there yet?
Eh, the zero w is really anemic. Have you tracked down the bottleneck?

wolrah
May 8, 2006
what?


eschaton posted:

If youíre going to do something like this you can run official Fedora Server 27 as either ARMv7 or AArch64 on your Raspberry Pi 3 hardware, and not worry about how to set up Raspbian to be more like stock Debian or whatever.

FreeBSD 12.0 also has Raspberry Pi 3 as a supported platform for which they generate binaries, though its currently prerelease. (NetBSD 7.1.1 also claims to support RPi3.)

1. Worry about what? Install Raspbian Lite, done. The differences from standard Debian Minimal at that point come down to basically hardware support and Raspbian having a SSH server and some dev tools preinstalled.

2. Almost every "Do $thing with a Raspberry Pi" tutorial out there will be assuming that you're running Raspbian or a derivative. For someone who's new to the Pi platform and/or Linux in general sticking with that will almost certainly be easier.

3. Personal preference, but every time I find myself dealing with yum or pkg I end up loving apt even more.

EssOEss
Oct 23, 2006
128-bit approved

Is there a cheap no-soldering-required way to get a voltage measurement into the Pi? Everything I find related to analog to digital conversion seems to be kits that I need to solder together and I have no patience (or even a properly sized iron) for that.

dwarf74
Sep 2, 2012

It is pitch black. You are likely to be eaten by a grue.


Welp, the last parts of my RetroPie setup just came in the mail.

On a scale of 1-10, how nasty will it be getting the Intellivision emulator functional and fun to play with? The controller configuration looks like a chore and a half.

mod sassinator
Dec 13, 2006



EssOEss posted:

Is there a cheap no-soldering-required way to get a voltage measurement into the Pi? Everything I find related to analog to digital conversion seems to be kits that I need to solder together and I have no patience (or even a properly sized iron) for that.

The INA219 is a nice little chip for measuring voltage and current: https://www.adafruit.com/product/904 But you do need to solder a little breakout board with some headers. Perhaps there's an (expensive) multimeter with USB output you can find and hope it has some datalogging capabilities otherwise.

Grassy Knowles
Apr 4, 2003
Pirate of the High Seas


dwarf74 posted:

Welp, the last parts of my RetroPie setup just came in the mail.

On a scale of 1-10, how nasty will it be getting the Intellivision emulator functional and fun to play with? The controller configuration looks like a chore and a half.

Just use a keyboard; the controller is only authentic if it sucks

You still won't get he most awkward hand blisters from Tron Deadly Discs, but it's close.

dwarf74
Sep 2, 2012

It is pitch black. You are likely to be eaten by a grue.


Grassy Knowles posted:

Just use a keyboard; the controller is only authentic if it sucks

You still won't get he most awkward hand blisters from Tron Deadly Discs, but it's close.
Oh man I remember Intellivision Grip.

Doorknob Slobber
Sep 10, 2006





whats the go to software if I just want to stream movies/music from my PC?

Rexxed
May 1, 2010

Dis is amazing!
I gotta try dis!


Doorknob Slobber posted:

whats the go to software if I just want to stream movies/music from my PC?

I've used https://libreelec.tv/downloads/ which is a version of Kodi which is the successor to XBMC on a Pi B+ and a Pi 3. That's a whole OS that just runs Kodi, though, you can install Kodi in Raspbian if you want.
http://kodi.wiki/view/HOW-TO:Instal...on_Raspberry_Pi

420 SWAGLORD
Apr 20, 2014

saban bajramovic


Rexxed posted:

I've used https://libreelec.tv/downloads/ which is a version of Kodi which is the successor to XBMC on a Pi B+ and a Pi 3. That's a whole OS that just runs Kodi, though, you can install Kodi in Raspbian if you want.
http://kodi.wiki/view/HOW-TO:Instal...on_Raspberry_Pi

It's definitely this though (libre or openelec) if all you want to do is stream. Runs better cause there's nothing else going on. But the internet archive rom launcher is hecka dope and the latest kodi alpha supports it, y'all should check it out. Orangepi with libreelec, the cool guy legal streaming addons, and that rom launcher is perfect in every way. Works great with all those old wiimotes

Siochain
May 24, 2005

"can they get rid of any humans who are fans of shitheads like Kanye West, 50 Cent, or any other piece of crap "artist" who thinks they're all that?

And also get rid of anyone who has posted retarded shit on the internet."




Grassy Knowles posted:

Just use a keyboard; the controller is only authentic if it sucks

You still won't get he most awkward hand blisters from Tron Deadly Discs, but it's close.

gently caress I loved that game. I think I still have my Intellivision (controllers included) somewhere...

me your dad
Jul 25, 2006



A couple of questions, and forgive me if these are dumb questions. I'm still learning about this.

I use my Pi for Retropi currently. If I install Kodi, how do I access it? I don't imagine it shows up in the Retropi interface, right?

Also, I've been using my PS4 controller, connected via cable. If I pair it with Bluetooth to the Pi, how does it work when I want to use the controller for the PS4, and then back to using it for the Pi?

doctorfrog
Mar 14, 2007

Great.


me your dad posted:

A couple of questions, and forgive me if these are dumb questions. I'm still learning about this.

I use my Pi for Retropi currently. If I install Kodi, how do I access it? I don't imagine it shows up in the Retropi interface, right?
If installed through RetroPieSetup.sh, it appears in the Ports section of the interface.

Adbot
ADBOT LOVES YOU

420 SWAGLORD
Apr 20, 2014

saban bajramovic


me your dad posted:

A couple of questions, and forgive me if these are dumb questions. I'm still learning about this.

I use my Pi for Retropi currently. If I install Kodi, how do I access it? I don't imagine it shows up in the Retropi interface, right?

Also, I've been using my PS4 controller, connected via cable. If I pair it with Bluetooth to the Pi, how does it work when I want to use the controller for the PS4, and then back to using it for the Pi?

Have to re-pair it to the ps4 every time by plugging into usb for a second, then pair to the pi again every time you want to use it there. That's how it works in libreelec at least, kinda sucks so I just use an old wiimote.

As to your other question, I have no idea how to launch kodi from inside retropi but have had great luck with the rom launchers available within kodi. Still in the alpha, but has been working great for me

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply
«145 »