Live data from Hacker News

Ask HN: Does anyone use a Raspberry Pi as your main computer?

news.ycombinator.com

101–110 of 194 posts

Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?

#101
I've been using Pis around my office (and various other ARM small board computers of similar capabilities) for quite a few years now, and as they've become more capable, I use them for more.

I've spilled quite a bit of digital ink on the variety of systems as well (the tag includes some of the other systems too): https://www.sevarg.net/tag/raspberrypi/

Computers I've used as "desktop grade systems" over the past 5 years or so:

- Raspberry Pi 3B/3B+

- nVidia Jetson Nano

- Raspberry Pi 4 8GB

- ODroid N2/N2+

- PineBook Pro

Advice and notes from this process:

- If you try to run from SD card, you're going to have an awful time of it. They're just not fast enough to be useful for more than very light use. You either need a USB SSD or, on some systems, you can use eMMC modules that, in my experience, perform well enough to be "not the main pain point." The PineBook Pro supports NVMe, I've just never found the eMMC disk performance to be bad enough to really be a limit. But improving the disk IO from SD cards is critical to desktop use.

- 1GB of RAM is useful but painful. 4GB is fine, but you feel some pain in AArch64 from memory pressure (and nobody's doing ILP32 distros). The Pi4 with 8GB and a 32-bit install has memory for miles - it's quite free from memory pressure. You can gain a lot using zswap (not zram, they're different) to front swap and do some compressed page stuff before touching actual disk swap. It compresses data into RAM and is both far faster and far lighter on the disk than going to swap, but you still want a big swap file on the disk to handle paging stuff out. If you're beating on it, you'll have a bad time, but "pushing stuff that's not going to be used for a long while if ever again" out to disk is entirely useful, and helps free the limited RAM for actual use.

- You can improve your life dramatically with heavy ad blocking or script blocking in browsers. Pihole, Ghostery, Noscript, any of those. They make a huge, huge difference in how browsers perform on lower speed ARM boxes.

- Fix the governor settings. If it's hardwired, use the performance CPU governor and pin the CPU clocks wide open. If it's portable, schedutil is radically nicer than ondemand for handling real world use cases, though the difference in battery life between that and performance isn't substantial. I freely use both on the PBP. When modern Electron apps lag badly until you start typing a few words in, it's a governor issue.

I won't claim they're as nice as a decent x86 system, but I've been trying to get away from x86 for a while, had a very nice M1 until Apple pissed me off, so they're most of what I use as computing devices anymore.

If your goal is "I want all the features of a high end x86 box but for cheap," you're going to be disappointed. But they're remarkably useful computers, and do quite a few things, very well.

Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?

#103
post #74

The problem with the rpi is it's basically a gpu with a cpu bolted on. All the power is in the gpu.

Isn't it true for all the computers nowadays?

Not in the same way it's true of the Pi.

On most computers, the CPU is the main controller of the system, the GPU is a peripheral. On most of the Pis, the GPU is the main controller of the system, with the ARM CPUs as a peripheral. Most of the hardware controls on the Pi are the Linux kernel asking the GPU to please change something.

I wrote some on it a few days ago here: https://news.ycombinator.com/item?id=31145583#31147690

Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?

#104
Not as my main computer, but as my digital piano sidekick, a USB output from the piano goes to my Raspberry Pi which runs Pianoteq (makes the piano sound like a $100k piano). Optionally, the Pi lights up some addressable LEDs coinciding with keys.

https://github.com/youfou/pianoteq-pi & https://github.com/whyboris/Digital-Piano-LED

Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?

#105
It's like using a mid-range phone as your computer, because, well, that's basically what it is. Everything moves slower than one is used to. By far the biggest annoyance is the hugely bloated web. Although video plays fine due to hardware decoding, loading normal web pages is measured in seconds.

Overall I don't recommend it. Might be better with a slightly higher-powered NUC (Intel Gold and above) or a mid-range laptop - they both will consume more than the Pi but less than a normal desktop, though at a greater price.

Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?

#106
My Dad does. Mostly because he's 88 and I just needed a way to send him a computer every time something goes wrong with it.

He doesn't use it for anything other than web browsing. He did write a few books on it using Google Docs, but there's nothing stored locally.

It's mostly fine for basic needs. Every so often someone will send some kind of attachment in an email that doesn't open cleanly with Google Drive and I'll have to help him out.

It's probably less work than his old PC was to maintain. But like... that's sort of by design. Dad doesn't have admin privileges, and it's set up to auto-update nightly.

Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?

#107
I use a Pi 400 at home as a terminal to connect to several remote servers on which I work (write code) in VIM. I connect via ssh or mosh to a usually-existing tmux session on a server. When not at home I connect to the same servers using an android tablet running Termux. When I need to use other programmes, like Excel, I connnect via VNC to a paperspace Windows server I rent.

Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?

#108
post #28

I tried. I just wanted a machine on my workbench to run a web browser. I got the best Raspberry Pi, a case, and plugged it into an old 24" monitor. Cost me about $80-100. It worked fine. It could even play a 1080p YouTube video. However, everything lagged. The most painful thing was that it took several seconds to render a website when it's normally instantaneous. I found it quite frustrating to use, so I ended up bu…

The most painful thing was that it took several seconds to render a website when it's normally instantaneous

A ton of that went away for me on my Rpi4 when I switched from sdcard to using a USB NVMe adapter[0] with a decent M.2 SSD in it. And I was using an sdcard recommended for its performance!

Try it. It's astonishing how badly that sdcard holds a Pi back in interactive use.

[0] https://smile.amazon.com/gp/product/B08G14NBCS This one supports trim, which is nice, not all USB M.2 adapters do. I've forgotten a lot of the details from when I researched it, but IIRC if your adapter supports UASP, that's a pretty good indicator of trim support.

Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?

#109
post #107

I use a Pi 400 at home as a terminal to connect to several remote servers on which I work (write code) in VIM. I connect via ssh or mosh to a usually-existing tmux session on a server. When not at home I connect to the same servers using an android tablet running Termux. When I need to use other programmes, like Excel, I connnect via VNC to a paperspace Windows server I rent.

I've had two Pi 400s, and I've wanted to use them similarly as you do. But each of them have had the space bar break. Such a disaster of a device.

Re: Ask HN: Does anyone use a Raspberry Pi as your main computer?

#110
My Macbook died.

I am frustrated that my amazing iPad Pro can't be used to write software, so I spent a few months trying use a Raspberry Pi 4 with a 2 TB hard drive over VNC with Jump.

Ultimately, I couldn't get used to the keyboard shortcut conflicts and the mouse emulation for touch screen.

I continue to use that pi as a linux machine from a beefy Windows 10 GPU beast.

For mobile use cases, I gave up on iPad + pi and bought another laptop.

Post reply on HN