Skip to content
bjornstahl edited this page Sep 11, 2017 · 7 revisions

There is growing support for running on some major BSD distributions out there. Although the porting state is still quite experimental, this page covers ongoing notes on setup and quirks.

  1. FreeBSD/DragonFlyBSD
  2. OpenBSD

FreeBSD

(Dragonfly should work/behave similarly to FreeBSD). There is no ports/ style install or prepackaged binaries, only installation options for now are manual compilation. Special note that there are some unknown stability issues with the JIT backend to lua, so be sure to compile with -DDISABLE_JIT=ON.

If there are any crashes, chances are that your syscons will be in an unrecoverable state - so best to run arcan in a loop.

Video Platforms

SDL

Should work as normal with Xorg as the output backend.

egl-dri

Check that the drivers you need for kms support has been loaded, kldload i915kms.ko or so, and that the appropriate devices (/dev/dri/card0, /dev/dri/renderD128 etc.) are available.

Although nvidia binary based EGLStreams output mode is supported for the platform build as a whole; it seems like the support in the FreeBSD binary drivers is either disabled/lacking, or some yet-to-be-determined magic is needed to activate it - some reported luck has been with adding modeset=1 to the nvidia module.

Input Platforms

Though there are some patches floating around to add support for linux evdev like input devices, there is a already a dedicated freebsd input driver that should cover keyboard and mice support (src/platform/freebsd)

The input platform also requires you to set a keymap as an environment for now, so point ARCAN_INPUT_KEYMAPS to an existing keymap in /usr/share/vt/keymaps/something.kbd.

OpenBSD

The OpenBSD port will require a very recent (6.1+, preferably current) OpenBSD, and as recent an llvm build as possible.

For now, look at the message from: https://github.com/letoram/arcan/commit/7d8313fb8229fc9586394b05a792618494e09338

The port is still missing an input platform, to be added shortly.