r/freebsd

▲ 48 r/freebsd

Guide: How to get Niri working on FreeBSD 14-15 :D

Niri is currently, easily, the best wayland WM. It was sad because of a lot of Linuxisms really it didn't work on FreeBSD. I managed to create a patch fixing those issues. Have been on Niri for more than a month now, it actually has been more stable for me than Hyprland, and I am using Nvidia. Games works fine, both linux (steam, insurgency, hearts of iron 4, etc) and wine-proton (Empire Earth) games. Terminal performs fine, renders smoothy, haven't found any regression or slowdown at all!

You can try Niri on today using this repo. You'd find detailed instructions there! Do give me a star if you found it helpful.

The repo has bit nvidia bias as I use nvidia, but more likely than not should work on AMD gpus too.

u/North_Promise_9835 — 16 hours ago
▲ 19 r/freebsd

A tiling WM that follows BSD principles other than dwm

The title is there any tiling wm either written by bsd people or anything other tha dwm that well follows the bsd principles. I was planning to use xmonad anyway but i guess it does not align with the BSD way

reddit.com
u/SHIN_KRISH — 23 hours ago
▲ 11 r/freebsd

From FFS and ZFS to APFS: a comparative filesystem deep dive with a strong BSD angle

I wrote a long comparative article on filesystem design, but with a strong BSD spine running through it.

The piece covers FFS/FFS2, ZFS, BFS, NTFS, ext4 and APFS, with particular attention to:

- cylinder groups

- soft updates and crash consistency

- journaling vs CoW

- integrity models

- snapshots, clones and space sharing

- why APFS matters from an Apple/BSD lineage perspective

The APFS section is the destination, but I wanted the broader context first so the comparison would actually mean something.

Link:

https://bytearchitect.io/macos-security/theory/Filesystem-Wars-Why-Your-Choice-of-Storage-is-Actually-a-Security-Move/

Interested in where FreeBSD people think I was fair or unfair, especially on FFS/UFS and ZFS.

reddit.com
u/Reversed-Engineer-01 — 24 hours ago
▲ 26 r/freebsd

do freebsd offer anything over linux for desktop users.

I have been using freebsd for 2-3 months now on desktop , although i have been at work ssh in the freebsd server most of my working days. I have been using linux desktop since 2019 in college days other than autodesk softwares .

recently i switched that laptop to freebsd (because macos was based on freebsd kernel) , and also got bored with linux .

first challenge i got was wifi driver not working , on linux its working from start and it was a mid tier laptop with even older intel drivers maybe. that driver exists in opensource even then the freebsd dosent have them till now >> fix: (use alpine linux vm wifibox)

bluetooth dosent work that is not even issue

suspend is still wonky on 6 year old hardware (sometime goes in full 20w power drain mode more than when actually running programs.)

properietary apps dont work on freebsd thats a non issue because there are so many open alternatives

freebsd desktop users whats capturing you in than moving to linux.

reddit.com
u/Additional-Leg-7403 — 2 days ago
🔥 Hot ▲ 246 r/freebsd

I decided to make a FreeBSD Wallpaper with the Gruvbox Palette. There it is.

u/matrixisme_1 — 1 day ago

Release 15. sound problem

Been trying to install FreeBSD for the better part of two days now and it's just been one thing after another. I've been a Linux user (Arch) for almost 9 years, so I'm not a nob at computers and non-Windows.

First problem was getting the mouse to work under X11. Changed my video card from Nvidia to AMD and another tweak and that seems to have fixed the mouse problem, though I'm not sure how much the AMD card actually helped. Just that the Nvidia drivers were making me crazy when X11 (startx). The Nvidia card works just fine with Arch.

Next was getting to auto mount USB drives and I seem to have that fixed now.

My current problem is no sound even though /dev/sndstat and dmesg shows the sound (HDMI from the AMD GPU card) and the various mixer apps all show everything as ok, still no joy in mudville.

Problem with trying to chase things down through the docs and youtube and other boards as it appears there has been a change with 15, such as no longer needing an xorg.conf.

Any ideas, thoughts, suggestions ?

Thanks

reddit.com
u/Sorry_Situation6676 — 2 days ago
▲ 10 r/freebsd

Question about installation of games

I'm thinking about switching to freebsd (currently on Linux), and one of my concerns that I couldn't find an answer to is about my game drive. I have a dedicated game ssd, and I was wondering if I would need to reinstall my games once I switch.

reddit.com
u/RichAdept8445 — 3 days ago
▲ 20 r/freebsd

Considering trying out FreeBSD from Gentoo Linux.

Hey everyone,

I've been thinking about trying out FreeBSD on my desktop, mainly to try something new. I have a couple questions about how FreeBSD works, mainly the packaging system.

Firstly, is there an equivalent to USE flags on FreeBSD? On Gentoo, I'd have a /etc/portage/make.conf, which has the USE flag setting. I understand that Gentoo's portage is inspired by FreeBSD's ports, but I'd like to know if that feature is still there.

Secondly, is there an easy way to patch packages built with ports? I use Chromium on Gentoo Linux, but I manually put a .patch in /etc/portage/patches/www-client/chromium/ so I can use Manifest V2 extensions, without losing Google features like page translation and sync. Portage automatically applies this patch on every recompile and package upgrade.

Thirdly, I'd like to ask how is gaming on FreeBSD. This subreddit probably gets bombarded with this question over and over again, and so I apologize, but I'm curious. I am okay with using something like the Linux ABI compatibility layer, or WINE/Proton. I did hear that I'd need to configure the kernel to use COMPAT_FREEBSD32, is that still true?

Thank you for taking the time to read this, and I hope I can try out FreeBSD soon!

reddit.com
u/cometomypartyyy — 4 days ago

Losing it with setting up pf on a jail/bhyve host

Hey all, I have a FreeBSD 15 host with a few bhyve VM's and a handful of jails with vnet (of course). So I figured, let's set up a pf firewall for those on the host. One big firewall instead of all those scattered little firewalls per vm/jail.

Well that's not that easy apparently.. I can't filter on interface.. and even on IP it sometimes doesn't do a thing and another time it blocks too much.

I tried plowing through the documentation but it doesn't really explain using it on a host with jails or bhyve vm's and it's hard to find proper examples.. plenty of them don't even use vnet so those configs simply don't work.

Does anyone have an example that I can start with that I can adjust to my own situation and build onto that? Just so have an example to start from..

It's a home lab so nothing to fall back on. Still would like it firewalled though

reddit.com
u/Xzenor — 3 days ago

Why no automative grade FreeBSD?

Freebsd is good, freebsd is the bestest but why there is no commercial use for it? Automative grade Freebsd? Why not?

reddit.com
u/cryptobread93 — 4 days ago
▲ 3 r/freebsd+1 crossposts

Schema ports data necessary for init systems

Undoubtedly, regardless of who ch init system is being used, each ports system includes service software that has to be managed by the init/service system in terms of lifecycle. Do any the ports trees have a schema system to allow users to easily grep the services’ init settings? For instance, can we programmatically find out that we need something like ‘ssh_enable=“YES”’ added to rc.conf?

reddit.com
u/demetrioussharpe — 2 days ago

freebsd nightmare on wayland in virtualbox

So after spending way too much time today - all day trying to get freebsd running on wayland in virtualbox - I even used the desktop-installer option finally out of frustration and I am unable to login after restart - expecting to get to the login manager I am always prompted with xauth command failed after entering my password when attemtping to login as the user or as root both don't work. So that absolutely sucks.

It only seems to work if I use x11 in virtualbox which I don't want to use anymore.

Was hoping this process would've been a little more smooth but hell I'm frustrated and it looks that I won't be switching anytime soon from Debian if this keeps up.

Anyone had success running freebsd on wayland in virtualbox

reddit.com
u/AffectionateSpirit62 — 5 days ago
▲ 22 r/freebsd

Curious about jails, pledge(2), and unveil(2)

Hey everyone,

I've been thinking about trying out FreeBSD on the desktop, and right now I'm on Gentoo Linux. After doing some research and asking a few questions, I discovered you can use jails to containerize programs on your system.

I'm curious to see how you use jails on a FreeBSD desktop. I heard about people using jails to seperate their web browser from the rest of the system, which is something I'm interested in.

I'd also like to ask, does Chromium (or firefox) on FreeBSD make use of pledge(2) and unveil(2)? I saw this neat little video about how OpenBSD patches chromium, and I'm curious to see if that's the case on FreeBSD.

Thanks for reading!

reddit.com
u/cometomypartyyy — 5 days ago