OpenBSD on personal laptop? - BSD

Users browsing this thread: 1 Guest(s)
Rue
Registered
Been wanting to run BSD (especially OpenBSD) for a while, but:

1. I'm currently looking for a laptop, and because BSD's hardware support is very lacklustered, that would mean settling for intel gpu intead of nvidia and subsequently, an integrated gpu instead of a discrete (dedicated) gpu :(
(Reason this is even a concern is because I do need to/plan on running dual boot with Windows)

2. Having to give up the options for a lot of AUR and software that are otherwise possible on linux.

I know some of you run BSD, and OpenBSD seems to be a crowd favor on the forum judging by the recent threads, so I was wondering if anyone could shed some light on your decision process when making the switch and describe a little what kind of computer you typically install OpenBSD on? Personal computer? server? and perhaps what kind of stuff do you usually do on it, mostly for coding? everyday use? ever feel frustrated because certain things aren't supported? etc.

Thanks in advance.
jkl
Long time nixers
Quote:what kind of computer you typically install OpenBSD on?

Servers, mostly. My laptops currently don't have OpenBSD (but I liked its experience).

--
<mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen
z3bra
Grey Hair Nixers
I use openbsd on servers myself. I've first been surprised by the completeness and cleanliness of the system. All configurations look the same, program flags are boringly similar, thus making the OS surprisingly easy to tame.
On servers, I barely found a software lacking in the port tree, and for the one missing, I could easily find other alternatives.

When I wanted to try new/unknown software (by that, I mean MY softwares or things not in the famous AUR), I just used typical make/make install because I couldn't bother writing a port (a bit too complex for me, I must admit).

I tried using it on my notebook. Installation went smoothly, startup as well. cwm is awesome (I've been using it for years, even on linux, and still use it today).
As usual, it comes with everything needed to use a desktop environment. The only reason I had to drop it is because my wifi adapter is not supported. I'm considering buying an USB adapter though, to unkeash the full power of my notebook ;)

When it comes from lacking software, I've been used to packaging things myself (I run crux at home, which lack many software, but has dead simple oackaging recipes). I wrote my own pack manager to get around this, and use it to package things myself and track what I install. It is only one small step further than make/make install, so you get the idea.
pizzaroll1
Long time nixers
Hello. I have OpenBSD installed on all of my machines, including my personal laptop that I use for programming, gaming, etc. I do dual boot with Windows due to terrible proprietary software I have to run sometimes, but that's not often.

I wouldn't say OpenBSD's support is very lackluster, if your laptop is >3 years old, chances are everything is very well supported (this is a bit lackluster, I agree). Nvidia graphics isn't going to work, but most laptops with Nvidia come with Intel GPUs too (then you have to mess around with Optimus and all that if you want the GPU switching to work). OpenBSD just uses the Intel GPU, which is fully accelerated and everything, so everything other than gaming should be ok. Watching videos online is good, if you're worried about that. AMD GPUs work well too in my experience.

I haven't been disappointed by OpenBSD, but that's mostly because I check through man pages to see if my device is well-supported by every OS I want to use before buying it. It's very possible that you might install OpenBSD and find out none of your shit works. I advise you to search man.openbsd.org to see if your devices are in a list of supported ones anywhere. Or if some really similar ones are, then your device will probably just work too. If it's something like WiFi, you can always pick up a cheap USB WiFi card.

Most commodity hardware is well-supported, especially since the developers all run OpenBSD on their laptops, servers and workstations and use it for everything. But still verify with the documentation if you can. Or send an email to the mailing list, misc@openbsd.org asking for help. Alternatively, search marc.info for "laptop" on openbsd-misc to get some help. For example, here is a thread with some good recommendations. That was 5 months ago, so some things have changed. For example, Kaby Lake now has graphics support.

Good luck with whatever you decide to buy.
Tmplt
Long time nixers
(06-12-2017, 05:00 PM)pizzaroll1 Wrote: I do dual boot with Windows due to terrible proprietary software I have to run sometimes
Any reason you're virtualizing Windows? Hardware access requirements?
apk
Long time nixers
the technology isnt there yet its impossible
pizzaroll1
Long time nixers
GPU passthrough on laptops with integrated+Nvidia graphics is a bit dodgy, I haven't been able to get it to work. It's not like a desktop where you just have the iGPU somewhere and the discrete GPU elsewhere with different ports, connected to different displays. On laptop the display is kind of connected through both GPUs all the time, the Nvidia GPU goes through the Intel one.

Or something like that. What it boils down to is that virtualising with GPU passthrough is really difficult on this kind of laptop. I do virtualise tons of stuff on my desktop.

Relevant for OP, OpenBSD does have a native hypervisor that works very well. It has been included in 6.1 and 6.2 and is getting more features all the time. Obviously it's still lacking compared to the very mature solutions on Linux, but if you don't need to be on the cutting edge, it's very workable. If this is a use case you're interested in, you have a non-zero chance of being disappointed.

This is amd64 and i386 I'm talking about, though. On sparc64, for example, OpenBSD supports LDoms while no Linux (other than Oracle Linux, ugh) does: OpenBSD is hilariously far ahead of any Linux in that case. Except maybe Gentoo, but I'm only saying that because I haven't tried it.
evbo
Members
Older laptops are definitely the way to go with OpenBSD. I have a Thinkpad T430 that used to run OpenBSD. The one thing I had to do was disable the Nvidia card on there and set the IGPU as the primary, which was done in the BIOS. After that it worked great on that hardware and OpenBSD can be a solid desktop OS. Servers are a different matter: I almost exclusively use OpenBSD. httpd and pf out of the box is a huge selling point.

Now that being said, I eventually found that OpenBSD didn't offer everything I needed for a daily driver, so I moved to CRUX Linux. It's the closest you can get to BSD while still having Linux-only features like NVIDIA support. Writing your own ports is waaaay easier than on OpenBSD, too.
pecg
Registered
(07-12-2017, 02:31 PM)evbo Wrote: so I moved to CRUX Linux. It's the closest you can get to BSD while still having Linux-only features
Slackware is also close to a BSD system in its design: there is a base system, and the init uses BSD-style scripts. I used to run Slackware-current on my laptop, but ultimately changed to voidlinux, didn't want to write my own slackbuilds for ports. The system is clean, and doesn't resolve dependencies in package management, a feature many learnt to love over time (I actually liked it a lot). OpenBSD, on the other hand, is the closest to the original Unix one can get, and I run it on production servers too.
Rue
Registered
(06-12-2017, 05:00 PM)pizzaroll1 Wrote: Hello. I have OpenBSD installed on all of my machines, including my personal laptop that I use for programming, gaming, etc. I do dual boot with Windows due to terrible proprietary software I have to run sometimes, but that's not often.

May I ask why you went with OpenBSD and not FreeBSD? Simply because it's cleaner/simpler? I have such a hard time deciding :\
Especially since I'm using Arch Linux at the moment so the thought of not having access to certain apps is still somehow holding me back if I was to go with OpenBSD - though the idea of having a simple/clean system does sound very attractive.
jkl
Long time nixers
OpenBSD is surely more reliable than FreeBSD when it comes to system upgrades. I just noticed that again.

--
<mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen
venam
Administrators
(02-01-2018, 03:53 AM)jkl Wrote: OpenBSD is surely more reliable than FreeBSD when it comes to system upgrades. I just noticed that again.
Did you just have a bad FreeBSD upgrade or an unusually smooth OpenBSD upgrade?
jkl
Long time nixers
All of my FreeBSD upgrades (except one) were slow and painful. (I usually use ports, I haven't had to upgrade my pkg-only test server just yet.)

All of my OpenBSD upgrades (except one) were smooth and silky.

I think there is a pattern here: OpenBSD tries to get out of your way, FreeBSD expects you to hold its hand.

--
<mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen
qbit
Registered
OpenBSD daily driver here :D! Likely any Lenovo will work - they are solid machines, most of the devs run them.. etc

Few things to note:

- For gaming, your options are going to be limited by game availability more than your graphics card (most likely).
- For app availability, you have two ways of dealing with missing apps:
- Wait for it to get ported (passive).
- Port it yourself (active).
The OpenBSD ports framework is fantastic for bringing in new applications, it supports _most_ build tools (GNU make, cmake, go... etc). Don't be afraid to poke it while trying to get your fav apps to work! (see ports(7), bsd.port.mk(5), port-modules(5) and packages(7) if interested!) More often that not, you will just end up writing a simple Makefile and things will just work!
wolf
Members
( I know that it's an old thread, but I'll leave some tips for anyone who still looking for answers in a near future )

Running OpenBSD ( current ) here on my Thinkpad x220.

Well, BSDs at all are less hardware flexible than GNU/Linux... So the first thing to do is to double check if your machine is well supported by your BSD-weapon-of-choice. FreeBSD and NetBSD have a good hardware compatibility matrix ( FreeBSD more than NetBSD ). Under this subject OpenBSD had great improvements during last years.

About Linux compatibility, the OpenBSD is the only one that doesn't have any kind of emulation ( since 6.0 ).

About speed, well... FreeBSD and NetBSD seemed kinda fast to me. OpenBSD, on the other hand tends to be less performance focused.


I had no previous experience with DragonflyBSD.
jkl
Long time nixers
(26-03-2019, 11:27 PM)wolf Wrote: Well, BSDs at all are less hardware flexible than GNU/Linux...

This is too general to be true. Some kind of BSD runs on an iPhone. No Linux does.

--
<mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen
wolf
Members
(27-03-2019, 06:43 AM)jkl Wrote: This is too general to be true. Some kind of BSD runs on an iPhone. No Linux does.

What I'm trying to say is that the {Open,Net,Free,Dragonfly,Darwin}BSD does not have the same breadth of functionality on any hardware as Linux does. And don't get me wrong, it doesn't mean that BSDs has worst code ( most of times is just the opposite ).
About the iPhone, it won't be a surprise if someone, somewhere, could jailbreak it and boot some kind of Android/Linux.