|
Why is my RPi print server taking five minutes per page?
|
# ? Jan 4, 2021 01:27 |
|
|
# ? May 10, 2024 18:24 |
|
tuyop posted:Crossposting from the Linux thread: That's really strange. Did you install a safe shutdown script to go with a case's power button or something? If there was something wacky going on with the network stack / dhclient I'd expect it to hang, not gracefully do a full shutdown.
|
# ? Jan 4, 2021 05:05 |
|
I need some mounting help with my rpi. I'm building something inside this "aluminum case" (in scare quotes because it's just a fiberboard). Though either way, I don't want to drill from outside the case into the inside to install anything, because that would disrupt the look. What I'm thinking is get a small piece of thin plywood and drill into that and install some threaded risers, glue that sucker to the inside of the case, and use the risers to attach the pi too. I've also got access to a 3d printer, and I've found at least one Pi mounting bracket that I could print and glue into the case, then screw into the plate directly. I'd like to be able to take the pi out of this device if needed so I don't just want to glue the thing to the case directly, but it's not something that I'm going to be taking in and out repeatedly.
|
# ? Jan 4, 2021 15:20 |
|
Lazyhound posted:Why is my RPi print server taking five minutes per page? Shot in the dark here: you're printing from SumatraPDF, which is utter poo poo at printing for some reason.
|
# ? Jan 4, 2021 23:15 |
|
Xaris posted:This is sort of a blended question as an utter loving moron about this poo poo that I'm not sure best place to ask. Like someone else said, the official Steam Link app works great with a few caveats: 1. Use VirtualHere for controllers instead of allowing SteamLink to map stuff. I had tons of issues getting xbox elite controllers to work using a driver someone wrote, and even once I did the joystick curve mappings were irreparably hosed. However, VirtualHere works insanely well and I can't recommend it highly enough. You'll lose access the the steam overlay in steamlink-optimized games (I think it looks for a controller mapped by steam link, finds none, and then doesn't seem to allow opening the overlay even via the keyboard), but that's not a huge loss. 2. At least in Raspbian, you need to find a way to disable the a bunch of keys to make a windows remote session work well. I managed to disable the Windows key (by removing Raspbian's start menu lol), but I couldn't quite figure out how to disable the rest (alt tab, ctrl-alt-delete, most anything involving function keys). You can't actually alt tab out of Steamlink, the app stays full screen--but if you accidentally hit alt tab you'll lose control lol. I know it involves messing with the lxde config, but the built in tool for configuring stuff is broken, and the config files are messed up in a way that I cant find documented anywy, so I set that aside for now. That said, if anyone has successfully configured lxde hotkeys in a recent-ish version of Raspbian, please lmk.
|
# ? Jan 5, 2021 00:26 |
|
doctorfrog posted:Shot in the dark here: you're printing from SumatraPDF, which is utter poo poo at printing for some reason. No, I’m printing from an iPad via AirPrint.
|
# ? Jan 5, 2021 08:58 |
mewse posted:That's really strange. Did you install a safe shutdown script to go with a case's power button or something? Yeah, it's extremely odd. It reproduced in an RPi 2 I tested so it's maybe not hardware. I noticed that eth0 is reading an ipv6 address as well without anything plugged in and disabled ipv6 using this guide. No luck so I'll give a fresh SD with a new OS a go. Edit: Huh, turns out that it's the UPS monitoring program, nut, causing this. I got through a dietpi install, which was extremely cool and I think I'll stick with it, but when I got to installing nut (no systemd in dietpi, eh?) and copying my configs over, it caused the same problem! Removing nut, nut-client, and nut-server resolves the reboot on ethernet problem. I just don't know what to do to track this down. Why did it happen all of a sudden? That nut config has been fine for two years now. Do I even need it with dietpi? tuyop fucked around with this message at 23:34 on Jan 5, 2021 |
|
# ? Jan 5, 2021 19:55 |
|
The SPDIF hat I ordered last month finally came in and it sounds perfect coming out of my receiver now. While I was waiting I got into radio stuff with an SDR someone gave me to experiment with and I'm wondering how much stuff is too much to be running at the same time on one Pi. When connecting to the Spyserver that's running on the Pi, SDR# is a lot more glitchy than when it's direct to my laptop. One possibility is that I need a powered USB hub for it, but the way Spyserver compresses the data before sending it out might be doing a number on the CPU. I could always do my radio stuff in a virtual machine on my NAS, but I've read that SDR devices don't always play nice with being passed through to a VM. I'm right by an international airport so I want to see what kind of ADS-B signals I can pick up and track.
|
# ? Jan 9, 2021 04:52 |
|
How feasible is making a four disk, raid 0, NAS device that transcodes h265 4k media over PLEX? Was looking at getting some giganto hard drives (four) and setting up a mini server that could stream these to my 4k Amazon Fire stick. Mostly, because $300+ for synology is too much, but I don't know if this is feasible. Seems that Pi 4 supports 4k h265 videos, but not h264, which is fine. I've also heard some good things about a PiHole, idk if it could multitask and do that too.
|
# ? Jan 10, 2021 05:35 |
|
GreenBuckanneer posted:transcodes h265 4k media over PLEX? The pi only has acceleration for decode, not encode. So it is completely useless for that.
|
# ? Jan 10, 2021 15:54 |
|
Klyith posted:The pi only has acceleration for decode, not encode. So it is completely useless for that. Well since it'd be 4k h265 to a 4k h265 compatible stick, it shouldn't technically have to transcode anything, it would just be a direct stream. Curious if anyone here has done that kind of a setup.
|
# ? Jan 10, 2021 16:27 |
|
GreenBuckanneer posted:Well since it'd be 4k h265 to a 4k h265 compatible stick, it shouldn't technically have to transcode anything, it would just be a direct stream. In that case the Pi would work fine, the h264/h265 support on the pi itself is totally irrelevant because it's not transcoding anything, just serving files. As a cheap NAS, the pi 4 is capable (as opposed to the pi 3 which sucked) but still has a couple weaknesses compared to a real NAS box. It doesn't have stellar disk performance over USB3, but it keeps up fine with the gigabit ethernet so for your purposes that's fine. A raid 0 set is entirely pointless though; the Pi's USB3 gets ~300-350 MB/s bandwidth with is comparable to a single modern HDD. And also there's the Pi's other big weakness compared to a real NAS: the reliance on an unreliable sdcard for the OS. Recreating a soft raid array in linux is possible if you saved your config info, but IMO this is a big reason not to use raid 0 or any more complex storage type for a Pi NAS. Stick with basic raid 1 or JBOD. VVVV edit: yes that'd be far more ideal, but not something with 1-2-3 easy instructions for someone who doesn't know linux Klyith fucked around with this message at 18:08 on Jan 10, 2021 |
# ? Jan 10, 2021 17:54 |
|
Klyith posted:And also there's the Pi's other big weakness compared to a real NAS: the reliance on an unreliable sdcard for the OS. Recreating a soft raid array in linux is possible if you saved your config info, but IMO this is a big reason not to use raid 0 or any more complex storage type for a Pi NAS. Stick with basic raid 1 or JBOD. For something like this, wouldn’t you want just have a read-only boot trampoline on the sdcard and then run your real root off the hard drives?
|
# ? Jan 10, 2021 17:58 |
|
Raid 1 is considerably more expensive, especially since I don't really need a local backup in this situation. I'd also be using the pi nas to "store" photography raws, and the ones I'd want to keep would get uploaded to the cloud. Thanks for the writeup though, seems like it would be an interesting project.
|
# ? Jan 10, 2021 18:11 |
|
Subjunctive posted:For something like this, wouldn’t you want just have a read-only boot trampoline on the sdcard and then run your real root off the hard drives? when i was using a pi as a JBOD file server, this is what i did. nothing but bootcode.bin on the SD card, and the pi then booted into a usb thumbdrive with the actual OS install. not as stable as a hard drive, but leagues ahead of just relying on an SD card and a dirt cheap solution. if i was still using it for something important these days i think i'd PXE boot it, though.
|
# ? Jan 10, 2021 18:39 |
|
GreenBuckanneer posted:Well since it'd be 4k h265 to a 4k h265 compatible stick, it shouldn't technically have to transcode anything, it would just be a direct stream. I tried it for awhile, and Plex is just too eager to want to transcode things IMO. If you want a low-power setup, look for one of the mini-PCs on Amazon for ~ $150. They are usually 8-12W from the wall, and have x86_64 Intel CPUs with the hardware video encoder on them.
|
# ? Jan 10, 2021 19:51 |
|
The SD card being unreliable for the root fs doesn't make much difference, nothing important is stored on there, only the operating system.
|
# ? Jan 10, 2021 20:52 |
|
Does anybody have experience running the OS off a SATA m.2 stick? I've been looking at the Argon One case for my emulator box, and I'm wondering how much of a difference it would make if I were running Lakka or RetroPie off one of those instead of the SD card.
|
# ? Jan 10, 2021 21:23 |
|
How good is a PI at replacing a router? Can you get a wifi going? I read some tepid response to it
|
# ? Jan 11, 2021 22:24 |
|
It would not make a good router. Pre-4 Pis would be awful, because everything, including the onboard Ethernet and whatever other Ethernet or WiFi adapter you use, basically runs off a single bandwidth-starved USB port. A Pi 4 could work as a router if you already had all the parts handy, but it'd quickly end up more expensive, much more fiddly, and mostly less capable than a cheap dedicated router like an Archer C6 if you're buying most of the parts. What are you trying to do?
|
# ? Jan 11, 2021 23:32 |
|
The correct solution for a 4 disk nas is something like a synology ds418. Yeah they are $370 but once you factor in power supply, boot disk, case, drive enclosure + power supply etc, not to mention real warranty yeah I guess you can do it with the pi for cheaper but the savings isn't a whole lot and the feature set is equivalent
|
# ? Jan 11, 2021 23:54 |
|
Could be cheaper only if you already have some hardware lying around
|
# ? Jan 11, 2021 23:55 |
Hadlock posted:The correct solution for a 4 disk nas is something like a synology ds418. Yeah they are $370 but once you factor in power supply, boot disk, case, drive enclosure + power supply etc, not to mention real warranty yeah I guess you can do it with the pi for cheaper but the savings isn't a whole lot and the feature set is equivalent That model nas is $600 for me new.
|
|
# ? Jan 12, 2021 01:58 |
|
NPR Journalizard posted:That model nas is $600 for me new. Is this an import tax thing
|
# ? Jan 12, 2021 02:48 |
|
If you want to make a super-cheap NAS and are ok doing all the work yourself, cheap used / refurb business desktops aren't a whole lot more money than a Pi4 plus 4 USB 3 HD enclosures. A decade-old cheapo CPU isn't gonna be up to plex transcoding, but neither is the Pi4.Hadlock posted:Is this an import tax thing The current model is the ds420, so maybe in their area the ds418 is out of normal stock?
|
# ? Jan 12, 2021 03:30 |
Hadlock posted:Is this an import tax thing Its an Australia thing. $400USD = $520AUD right now, and then pretty much everyone slaps on an extra fee because its australia and they can. Even digitally delivered poo poo gets it. Steam got taken to court over it iirc. Klyith posted:The current model is the ds420, so maybe in their area the ds418 is out of normal stock? https://www.ple.com.au/Products/641900/Synology-DiskStation-DS420-Celeron-2GB-4-Bay-NAS-Enclosure They arent the cheapest around, but they are close.
|
|
# ? Jan 12, 2021 04:27 |
|
Space Gopher posted:What are you trying to do? Mostly set something up that is either too expensive to get normally, and program it to do myself with minimal effort, but it seems like it isn't really suited to that. It'd need to be something practical so I guess I'll get one for the PiHole factor.
|
# ? Jan 12, 2021 05:08 |
|
I'm making an image of a pi's SD card so I can write it to...something that isn't an SD card. Win32 Disk Imager tells me runtime so far is 1:80:32. This is fine. Edit: gah, after 1:99:59 it rolled over to 2:00:00, but now it's at 1:112:40. Blue Footed Booby fucked around with this message at 01:16 on Jan 14, 2021 |
# ? Jan 14, 2021 00:54 |
|
So apparently starting with the pi.... 2? 3? Probably 3 it's possible to boot the pi from USB How does this impact the pre-4 pi as a functional file server? I believe most of the bottleneck lies with the network sitting on the usb bus, but I think the sd card had some negative consequences as well
|
# ? Jan 14, 2021 01:03 |
|
For the Pi 2, I think you have to run a config file that burns a fuse or something that enables booting from USB.
|
# ? Jan 14, 2021 02:10 |
|
Hadlock posted:So apparently starting with the pi.... 2? 3? Probably 3 it's possible to boot the pi from USB
|
# ? Jan 14, 2021 02:17 |
|
I have never ever dabbled in raspberry pi. I don't really even know much about it other than its a tiny small form computer. All I want is a raspberry pi to act as a wireless hub for USB peripherals that will then send the inputs over the local netwrok via the software Virtual Here to my main computer. Is this something that is doable with a raspberry pi, and if so what model is best for such an application?
|
# ? Jan 17, 2021 23:13 |
|
Pretty much any of them, I would suggest a Zero W or a Pi 4 with 1gb
|
# ? Jan 17, 2021 23:23 |
|
xtal posted:Pretty much any of them, I would suggest a Zero W or a Pi 4 with 1gb Thank you, are there any tutorials out there for getting something like this setup or for intializing the system for the first time. I literally don't know anything, like how to even access the machine. I have worked with linux systems before via virtualbox or other vmwares, but never a dedicated and isolated piece of hardware like this. Skyarb fucked around with this message at 06:49 on Jan 18, 2021 |
# ? Jan 18, 2021 06:40 |
|
Skyarb posted:Thank you, are there any tutorials out there for getting something like this setup or for intializing the system for the first time. I literally don't know anything, like how to even access the machine. I have worked with linux systems before via virtualbox or other vmwares, but never a dedicated and isolated piece of hardware like this. 1gb isn't widely available anymore, the 2gb is fine.
|
# ? Jan 18, 2021 06:46 |
|
There also isn't a checkbox on installation that says "[ ] Make this machine a wireless USB hub" so you're going to have to do all that from scratch.
|
# ? Jan 19, 2021 06:15 |
|
insta posted:There also isn't a checkbox on installation that says "[ ] Make this machine a wireless USB hub" so you're going to have to do all that from scratch. Yeah I'm aware which is why I was hoping for a good babies first pi tutorial
|
# ? Jan 19, 2021 18:05 |
|
If you need a tutorial for how to connect to a linux machine, this project might be out of your wheelhouse.
|
# ? Jan 19, 2021 18:55 |
Skyarb posted:Yeah I'm aware which is why I was hoping for a good babies first pi tutorial You're going to need Balena Etcher and an 8gb+ SD card, and an SD card reader. This is in addition to the Pi hardware (the device, a power supply that does at least 15W for the latest RPi, a keyboard+mouse and a monitor with HDMI and a cable with mini-hdmi on one end. Descriptions of each are here: https://projects.raspberrypi.org/en/projects/raspberry-pi-setting-up/1 1. Download Raspbian or Raspbian Lite (command line interface only): https://www.raspberrypi.org/downloads 2. Insert your SD card into your computer and start Balena Etcher. Select the card from the prompt, then select the downloaded OS file from 1. 3. Once this is complete, plug in all your peripherals and THEN start the RPi by inserting the power plug. 4. This will boot the pi, if you downloaded Raspbian (non-lite), you'll see a splash screen and be able to login. Default credentials are username: pi and password: raspberry
|
|
# ? Jan 19, 2021 19:03 |
|
|
# ? May 10, 2024 18:24 |
|
tuyop posted:You're going to need Balena Etcher and an 8gb+ SD card, and an SD card reader. This is in addition to the Pi hardware (the device, a power supply that does at least 15W for the latest RPi, a keyboard+mouse and a monitor with HDMI and a cable with mini-hdmi on one end. Descriptions of each are here: https://projects.raspberrypi.org/en/projects/raspberry-pi-setting-up/1 Thanks for actually being helpful and not just a condescending gate keeping dick like the poster above!
|
# ? Jan 19, 2021 20:44 |