Category: DragonFly

Locales everywhere


John Marino sent a helpful link to show the cross-platform work he’s been involved in: He brought the locale work from Illumos into DragonFly over the summer (look for his name on commits), and now it has been brought from DragonFly into FreeBSD, with Baptiste Daroussin reporting on the process.  If there’s any OpenBSD/NetBSD developers reading, with an interest in locales, this may be useful..

(someone correct me if that’s not the right Illumos link)

Posted by     Categories: BSD, DragonFly, FreeBSD, Illumos     4 Comments

i915 rename in DragonFly


If you are using bleeding-edge DragonFly (4.3) on a machine with Intel video, the i915 module has been renamed.  This means you will probably need to rebuild xf86-video-intel from source to have it match.  There should be a matching binary package soon.

If you are on DragonFly 4.2, this does not affect you.

Posted by     Categories: Committed Code, DragonFly, Heads Up!     1 Comment

Realtek 8168H support in DragonFly


Sascha Wildner has brought over support for the Realtek 8168H.  This may be useful because at least one low-cost server provider – Kimsufi, I think? – uses them by default in their product line.

Posted by     Categories: Device support, DragonFly     0 Comments

Running with clang


If you are using clang with DragonFly, and you want to always run the newest version, you can set options in compilers.conf, and use ‘clangnext‘.

Update pile


John Marino’s made a number of updates to contributed software in DragonFly recently, and here’s the list: libelf (not contrib as John pointed out), libexecinfo, xz, libedit, binutils, grep, tcsh, libdialog, and (tn)ftp.

Posted by     Categories: Committed Code, DragonFly     0 Comments

Getting rid of CPUHOT messages


If for some reason you are seeing messages about your CPU overheating – and you know it is not, there’s a solution.  Disable coretemp messages.

Note that if your CPU is actually overheating, turning these messages off won’t help.  Don’t want anyone to be surprised when their computer melts…

Optimization, again


Remember what I was saying about Sepherosa Ziehau and improving performance?  Well, here he goes again, three times.

Posted by     Categories: Committed Code, DragonFly     0 Comments

GPT and Hammer


Via EFNet #dragonflybsd, “Booting DragonFlyBSD with Hammer on a GPT drive“.

Posted by     Categories: Device support, DragonFly     0 Comments

Another i915 update


For those of you with DragonFly and an Intel i915 chipset, Francois Tigeot has moved support up another notch, to match Linux 3.18.  This will help Cherryview and Broadwell chipset users the most.

Posted by     Categories: Device support, DragonFly     2 Comments

Yet another network optimization


I think at this point, Sepherosa Ziehau is able to improve the DragonFly network stack by just standing near his computer and concentrating for a few minutes.  For example, he’s unearthed another improvement to connect rate/reduction of CPU usage.

Posted by     Categories: Committed Code, DragonFly     3 Comments

Wayland on DragonFly


Imre Vadász has put together an initial port of Wayland / Weston for DragonFly.  You can look at his pull request for dports to see how to install, though I’d imagine this is only for people who like to experiment at this point.  It’s still work in progress, as is Wayland itself.

Posted by     Categories: Device support, DPorts, DragonFly     10 Comments

Slow your disk down


Tomohiro Kusumi has added a dm-delay target, which means you can simulate poor disk performance, without having to have poor disks.  His commit message includes some benchmarks that shows it doing a good job creating a bad job.

Posted by     Categories: Device support, DragonFly     0 Comments

DragonFly and African digital libraries


The Tanzanian Digital Library Initiative is using DragonFly (and FreeBSD) as part of their library setup, and Michael Wilson, the project coordinator sent a note to users@ describing this.  They are looking to spread through the continent, so get in contact if you want to be part of the project.

Posted by     Categories: DragonFly, FreeBSD, Goings-on     1 Comment

New Intel video driver


There’s a new version of the Intel video driver in dports – xf86-video-intel-2.99.2015.09.09.    If you update to this and you experience an xorg-server crash, Matthew Dillon found that changing the acceleration method from SNA to XAA fixes the problem.  Don’t change it unless you actually see the problem, of course.

Posted by     Categories: Device support, DragonFly     0 Comments

DragonFly wallpapers for KDE


The package x11-themes/dragonfly-wallpapers exists, thanks to John Marino, and gives you DragonFly-themed backgrounds in KDE.  Or probably any other window manager, if you install it and point your wm at the directory.

Update: John Marino helpfully posted a link to the images.  It’s not yet built as a binary, but it’s not exactly time-consuming to build from source.

Posted by     Categories: DragonFly, Goings-on     0 Comments

Try some MIDI


MIDI support has been (re) added in DragonFly, if I read this recent commit correctly.  You may have supported hardware and not even realize it.

Posted by     Categories: Device support, DragonFly     0 Comments

XDC2015: DragonFly and graphics


There’s been a lot of improvements to DragonFly and graphics support recently, and Francois Tigeot gave a talk at the 2015 X.Org Developer’s Conference outlining just how much has changed.  He’s posted the slides.

Posted by     Categories: Conventions, Device support, DragonFly     2 Comments

DragonFly 4.0 users should upgrade


If you happen to still be running DragonFly 4.0 – that’s two releases ago and not supported – you may be noticing less ports are building.  There’s been enough significant changes in DragonFly since that release that it’s reducing the number of buildable ports.

DragonFly 4.0 to 4.2 is not a difficult jump, so jump when you can.  The converse of this, of course, is that there’s even more building on 4.2 and DragonFly-current.

Posted by     Categories: DPorts, DragonFly, Goings-on     0 Comments

New rtadvd and rtadvctl


Charles Musser updated rtadvd and added rtadvctl for DragonFly, based on what’s in FreeBSD (which is based on KAME? I’m not sure). This is most useful if you are using IPv6.

Posted by     Categories: Committed Code, DragonFly     0 Comments

iwm(4) added to DragonFly


Matthew Dillon brought over the FreeBSD iwm(4) driver to DragonFly, with some changes.  This is useful to anyone with Intel “Dual Band Wireless AC” 3160, 7260, or 7265 units.

Posted by     Categories: Device support, DragonFly, FreeBSD     2 Comments

Endless Sky on DragonFly


I mentioned Endless Sky in the last Lazy Reading post as a game that might run on DragonFly.  ‘Romick’ took that as a challenge and got it working; he’s posted the steps he took so that anyone else can do so.

Posted by     Categories: DragonFly, Goings-on     0 Comments

Panel Self Refresh for i915 users


Noticed both in a commit message and in tonight’s BSDNow, Imre Vadasz has added Panel Self Refresh (power saving) capabilities, set with a sysctl.

Posted by     Categories: Device support, DragonFly     0 Comments

libc versioning added


John Marino’s committed libc versioning.  He has a post describing it, along with a note that anyone DragonFly-current should do a full buildworld/kernel and also update all installed packages.  (Update: those new packages are on the way.)

Posted by     Categories: DragonFly, Goings-on     0 Comments

libc no longer in executable memory


John Marino is working on versioning libc, and as part of that process, libc is no longer loaded into executable memory.  Here is I think an explanation of lib versioning that may apply, and of course moving things that aren’t supposed to execute, out of executable memory areas, is good for security.  There’s more on that topic, too – W^X may be a similar example.

This is a complicated topic that I’m not part of, so suggest better descriptions in the comments, please.

Posted by     Categories: Committed Code, DragonFly     0 Comments

HAMMER2 root mounts and live dedup too


HAMMER2 recently gained the ability to be used as the root mount for your DragonFly system.  Live deduplication of data is also now possible, which means fast copy operations, less space used, and no need to wait for an overnight batch process to do it.  If you want to try it, you need a bleeding edge DragonFly system and the WANT_HAMMER2 option.  It’s still not ready for production use, so don’t try it with any data you want to keep.

Posted by     Categories: DragonFly, Hammer     0 Comments

i915 support moves forward again


Francois Tigeot has stepped i915 support in DragonFly even farther, this time bringing it to match Linux 3.17.  This may be most useful for those with Broadwell and Cherryview chipsets.

Posted by     Categories: Device support, DragonFly     0 Comments

Many Hammer 1 updates, and credit


I don’t note it enough, but Tomohiro Kusumi has been making constant updates to HAMMER, the version we have now.  Often they are the sort of update that makes the code more readable, or fixes possible problems, and so on.  Very essential, but hard to post about it.  In any case, I’m using his recent improvements to hammer volume-del to note his contributions, of which there are much more than the day’s worth I link here.

Posted by     Categories: Committed Code, DragonFly, Hammer     0 Comments

More radeon updates


Francois Tigeot has pushed in some significant updates from Rimvydas Jasinskasupdating the radeon driver to match Linux 3.17.  Try it if you have the corresponding hardware.

Posted by     Categories: Device support, DragonFly     1 Comment

Running a safer Firefox


Matthew Dillon posted an extended description of how to run Firefox in a way that completely locks it away from your user account.  As a side effect of this, the current crop of dports binaries has been updated.

Posted by     Categories: DPorts, DragonFly     2 Comments

A new regex test suite and library


Did you know that AT&T maintains a regex library and test suite?  I did not, but now DragonFly has both, in part for better multibyte character support.

(corrected to note that the regex library is not from AT&T – thanks, anonymous commenter)

Posted by     Categories: Committed Code, DragonFly, UNIXish     1 Comment

More Radeon support work


Most of the news is about Intel video support, but Radeon direct rending improvements are coming too.  ‘zrj’ have brought up drm/radeon support to match what is in Linux 3.12.  Worth trying if you’ve had problems with your Radeon and audio, going by what I’ve seen people report in IRC.

Posted by     Categories: Device support, DragonFly     0 Comments

Not the vi you expected


The vi in any BSD is not the original Berkeley vi – instead it’s usually nvi.  However, thanks to John Marino, DragonFly has the up-to-date, multibyte-supporting nvi2.  (I know I’ve made reference to the nv/nvi difference before.)

Posted by     Categories: BSD, Committed Code, DragonFly, UNIXish     0 Comments

Resetting c720p touchscreens


If your DragonFly-running c720p (the touchscreen model) occasionally decides to go perma-bonkers, Matthew Dillon has added a method to reset it, either on reboot or by setting debug.atmel_mxt_reset=1.

Posted by     Categories: Device support, DragonFly     0 Comments

ACPI CPPC for anyone who wants it


Sepherosa Ziehau posted some information on a project for anyone interested: ACPI Collaborative Processor Performance Control.   It’s an extension of p-state power management, and he’s already done a lot of groundwork to support that in DragonFly.

Posted by     Categories: Device support, DragonFly     0 Comments

DragonFly 4.2.4 released


There’s been a bugfix-release to the release version of DragonFly, bringing it to 4.2.4.  This is to fix a rare crash on issuing ‘shutdown -h now’.  If you haven’t had this problem, there’s no rush to upgrade.

Posted by     Categories: DragonFly, Goings-on     0 Comments

Another i915 support update


Francois Tigeot has updated i915 support to match what’s functionally in Linux 3.16.  Accelerated video on Broadwell chipsets is now fully supported, plus a bunch of other changes mentioned in his commit message.

Posted by     Categories: Device support, DragonFly     0 Comments

initrd and uname fixes in DragonFly


If you are running DragonFly-master, there have been fixes for a wrong uname (my fault) and initrd image booting with encrypted drives.  Update if you are running on the bleeding edge, if you haven’t already.

Posted by     Categories: Committed Code, DragonFly     0 Comments

Speeding up your DragonFly boot


If you are sure you don’t need to look at your boot menu for very long in DragonFly, you can make it zip by quickly.

In Other BSDs for 2015/08/01


It’s an unexpectedly diverse list this week.

Posted by     Categories: BSD, DragonFly, FreeBSD, NetBSD, pfSense, pkgsrc     1 Comment

Expect an accelerated console


If your DragonFly machine can do it, it will now run an accelerated console by default.

Posted by     Categories: Device support, DragonFly     1 Comment

Live nmbcluster adjustments


A DragonFly machine with a lot of network traffic will have a significant amount of memory consumed by all the running network connections.  (as with any system)  It’s now possible to adjust the amount of memory set aside for those operations, live.  This sort of fine-tuning will only matter if you run an extremely busy machine, but it’s worth it if you do.

Posted by     Categories: DragonFly, Goings-on     0 Comments

Locale support changes


John Marino has been updating locale support in DragonFly.  There’s no single explanatory commit to point at, so I’ll instead link to the many, many commits and changes he’s been making to show the size of the work.  If you are anywhere other than UTF-8 (or maybe even then), this will help you.

Posted by     Categories: Committed Code, DragonFly     2 Comments

More i915 testing for Broadwell


Francois Tigeot has a new i915 video branch for testing, if you are running DragonFly-current.  It will be especially useful for people on a Broadwell chipset.

Posted by     Categories: Device support, DragonFly     0 Comments

Some recent updates: ACPICA, GCC, video


I’m globbing these DragonFly updates together in a single post because I’m running behind:

ACPICA was updated to Intel’s newest version: 20150717.

GCC in DragonFly was updated to the 5.2 release.

DragonFly DRM (that’s Direct Rendering) now supports ValleyView chipsets.

Posted by     Categories: Committed Code, DragonFly     0 Comments

No more hostapd


hostapd, for creating a wireless access point, has been included in DragonFly along with wpa_supplicant, for a long time.  Like wpa_supplicant, there’s a version in dports that is the latest version and is easier to update (e.g. no system update required to get a newer version.)  Unlike wpa_supplicant, there’s no chicken-and-egg installation problem if it’s not in the base system – so out it goes.

Posted by     Categories: Committed Code, DragonFly     2 Comments

Try that USB install again


If you’ve previously tried to install DragonFly using a USB thumb drive, and it would somehow not be found to boot from, there’s a potential fix.

Posted by     Categories: Device support, DragonFly     0 Comments

Use wpa_supplicant only long enough to replace it


DragonFly ships with wpa_supplicant, for setting up WiFi.  However, there’s no guarantee it’s the latest version.  A solution exists: security/wpa_supplicant in dports.  However, this has a chicken-and-egg problem, where you need wpa_supplicant to get online and download the dports version of wpa_supplicant.  So, DragonFly still includes wpa_supplicant in the base system, but you should upgrade to the dports version when possible.

Posted by     Categories: DragonFly, Goings-on     3 Comments

DragonFly libm changes


DragonFly now has the same math library (libm) as OpenBSD, replacing an earlier combined version of I think what NetBSD and FreeBSD ran.  This doesn’t necessarily directly affect you, but it’s work worth doing; matching the underlying frameworks between BSDs helps everyone.

Posted by     Categories: BSD, DragonFly, OpenBSD     2 Comments

Power statistics


Sepherosa Ziehau has been doing a lot of work with various processors states to save power on DragonFly.  He’s published a summary of how well the various P-state/C-state/mwait settings work.  He found that setting a lower C-state can perversely improve performance.

For those saying “but how do I set these lower power states?”:

sysctl machdep.mwait.CX.idle: AUTODEEP
sysctl machdep.cpu_idle_hlt: 1 (or higher)

			
Posted by     Categories: Device support, DragonFly     0 Comments

ValleyView support improved


Do you have a ValleyView GPU?  It now works much better in DragonFly, and there’s a new accelerated rendering branch to try out, too, if you follow that link.

Posted by     Categories: Device support, DragonFly     0 Comments

Stickers arrived


Hey, my stickers arrived!  You can order your own.

dfstickers

Posted by     Categories: DragonFly, Goings-on     7 Comments

DragonFly performance testing


I don’t have actual numbers, but I do have a note: DragonFly network performance is pretty darn good.

Posted by     Categories: DragonFly, Goings-on     3 Comments

DragonFly 4.2.3 released


There was a newer release of OpenSSL (1.0.1p) last week, so there’s a new revision of the DragonFly release – 4.2.3.  There’s little major change other than the security fix for OpenSSL.

Those readers who can count past 2 may notice that there wasn’t a 4.2.2.  We went straight from 4.2.1 to 4.2.3.   That’s my fault.  I screwed up tagging and Git doesn’t like repeated, deleted tags.

Posted by     Categories: DragonFly, Goings-on     4 Comments

DragonFly and LFE


I don’t know enough about Erlang and LFE to say much other than “Hey, look at this article about installing LFE on DragonFly!”  (via)

Posted by     Categories: DragonFly, Goings-on     0 Comments

Testing console frame buffer support


Here’s how you test the console frame buffer on DragonFly, even though X is the way to go.

Posted by     Categories: Device support, DragonFly     0 Comments

OpenSSL, again


There’s yet another security problem with OpenSSL, and it’s been updated in DragonFly.  I’ll probably roll 4.2.2 this weekend so that it’s in the release image.

Posted by     Categories: Committed Code, DragonFly     2 Comments

Chromebook c720 results


Some time ago, I acquired a Chromebook with the help of all you kind readers.  Here’s a mini-report on how DragonFly works as a desktop.

The hardware: what I have is an Acer c720 Chromebook.  The C720p is the touchscreen model, and is equally well-supported by DragonFly.  A larger-capacity M.2 SSD (which is relatively easy to install) is the only real need, as the installed one is only 16G.  It’s easy enough to see what the laptops look like; it’s nothing fancy but it’s suitably light.

The software: There’s a wide-ranging and complete install/tweak guide for the c720 and c720p on the DragonFly site.  Note that it goes down to the point of even changing the keymap for the special keys on the keyboard.

Things I don’t like:

  • The mousepad needs a physical click, not a tap, which decreases accuracy.
  • There’s only 2G of RAM, and not expandable.  You will notice this if you tend to open a lot of tabs when web browsing.
  • I’ve had mousepad trouble, but I’m the only one reporting it, so I think it’s just bad hardware luck on my part.

Things I do like:

  • pkg is a godsend, making installation and upgrades almost effortless.  I’ve gone binary-only so far.
  • Many things Just Work – for example, the xfce4 battery plugin.
  • xscreensaver works great; even the 3D modules.  I don’t know why it entertains me so.
  • I haven’t run the battery out to make sure, but it looks like it would last a few hours.  Suspend/hibernate are not supported, but low power modes are.
  • There’s a lot of multi-touch shortcuts built into the touchpad.

It’s an excellent BSD laptop, for light use, at low cost.  The next step up would be into Thinkpad territory, which raises the cost or increases the age – and may not be as consistently supported.

 

Posted by     Categories: Device support, DPorts, DragonFly     10 Comments

Stickers stickers stickers


Something I’ve wanted for a long time: DragonFly stickers.  Or ‘decals’, if you want to sound fancier.  Markus Pfeiffer has them set up on Stickermule.

I just created an account there, and apparently I can supply a referral link which gets you and me both a $10 credit, if you use that.  It’ll make you sign up, then you’ll probably have to go back in with the direct link for the DragonFly sticker.

Posted by     Categories: DragonFly, Goings-on     2 Comments

In Other BSDs for 2015/07/04


Insert fireworks graphic here.

Posted by     Categories: BSD, DragonFly, FreeBSD, NetBSD, OpenBSD, PC-BSD     0 Comments

DragonFly 4.2.1 out


There’s a minor update for DragonFly 4.2 – this covers a problem with i915 support, so it’s worth upgrading if you have an Intel video chipset.

Posted by     Categories: DragonFly, Goings-on     3 Comments

DragonFly 4.2.0 released


DragonFly 4.2 is officially released!  You can go to the 4.2 release page for details, go to the mirrors page to download, or read my users@ post for upgrade steps.

Update: news stories and commentary seen on lobste.rs, Hacker News, and linux.fr.

Posted by     Categories: DragonFly, Goings-on     3 Comments

IPFW3 and NAT


If you wanted to try IPFW3 and NAT, nans_nans1 has done the experimentation for you, and wrote down the steps.

Posted by     Categories: DragonFly, Goings-on     6 Comments

Can’t stop typing apm?


Sascha Wildner has been removing the no-longer-needed bits of i386 support in DragonFly.  One of the things going away is APM, the 32-bit power management superseded by acpiconf.  If you still type ‘apm’ out of habit, it’s aliased so you won’t be surprised.

Posted by     Categories: Device support, DragonFly     0 Comments

Console scaling options


Now that DragonFly can (in most cases) offer video outside of X with KMS, not just text, more console options are possible.   By default, your accelerated console will scale to 80×25, but you can now tell it how many columns you want and it’ll automatically scale to fit your resolution.  Or you can turn it off.

Posted by     Categories: Device support, DragonFly     1 Comment

Powerd pays attention


Thanks to Sepherosa Ziehau, powerd will now start the shutdown process if you are down to 2% battery on your DragonFly laptop.  It also will delay for 60 seconds if you just booted up and are desperately searching for a power cable.

Posted by     Categories: Device support, DragonFly     1 Comment

DragonFly 4.0.6 image up


I’ve uploaded DragonFly 4.0.6 ISO and .img files.  (Does that capitalization make sense?)  They should be available at your nearest mirror, or will be shortly. I am still working on the 4.2 release candidate images.

Posted by     Categories: DragonFly, Goings-on     1 Comment

DragonFly 4.2 and 4.0.6 branched


The more eagle-eyed may have noticed a branching for DragonFly 4.2, and for DragonFly 4.0.6.  The 4.2 branch is currently only a release candidate, so don’t necessarily change over yet – it’s for testing, not release.  Note that packages for 4.2 are not yet built, so you’ll have to manually specify a package path to install with pkg on 4.2 – for now.. That won’t be the case for the actual release, of course.  DragonFly 4.3 users will have to specify PKG_PATH manually to use 4.2 images until new ones are built.  4.2 release candidate users will be fine.  (see comments for correction.)

The 4.0.6 release is mostly to get the recent OpenSSL update into a 4.0.x build.

I am working on image building for both.

Posted by     Categories: Committed Code, DragonFly     3 Comments

BSDNow 093: Stacked in Our Favor


This week’s BSDNow has a talk with DragonFly’s very own Sepherosa Ziehau, about the huge amount of work he’s done on the network stack.

Posted by     Categories: BSD, DragonFly, Goings-on     1 Comment

Thinking about a 4k monitor?


Matthew Dillon’s already using a 4K monitor on DragonFly, and he’s written notes on the various performance tweaks that went with it.

Posted by     Categories: Device support, DragonFly     0 Comments

Video memory defaults changed


The direct memory access reservation on DragonFly has been set to 128M.  It used to be 16, but anyone using a system for more than a text console would want the greater memory reservation.  It can be set back to 16M, which is useful probably if you are one of those text console users, or if you have a strangely underpowered video card.

Posted by     Categories: DragonFly, Goings-on     0 Comments

Eventually everything goes SMP


Even sysctl accesses can be made to handle multiprocessor environments.  This can actually make a difference when you’ve got a lot of processors building a lot of software, as in all of dports.

Posted by     Categories: Committed Code, DragonFly     0 Comments

Sudden buildkernel improvements


From IRC today:

“19:43 <@dillon> I’m bored at the moment. lemme try to speed up module builds

Buildkernel, depending on your processor count, now may have tripled in speed.

 

Posted by     Categories: Committed Code, DragonFly     5 Comments

KMS/console in master for DragonFly


Those changes I mentioned yesterday for text console support?  They’re in DragonFly-master now, along with a loader tunable to turn it on and off.

Posted by     Categories: Committed Code, DragonFly     1 Comment

USB ethernet adapters and DragonFly


Right now, if you have a USB port and a need to get networked, axe(4) is your best bet.

Posted by     Categories: Device support, DragonFly     0 Comments

Accelerated video users, please try this


If you are using a DragonFly system with accelerated video, and you have noticed that you can’t return to a text console after exiting xorg – Sascha Wildner/Imre Vadasz have a branch for you to try.  Please do so if you have time and are on master; this is the last big item to fix before the next release.

Posted by     Categories: DragonFly, Goings-on, Please test     7 Comments

Radeon readings rendered reachable


You can now get temperature readings from your Radeon card under DragonFly.

Radeon updates


In addition to all the Intel video updates that have gone into DragonFly, there’s been work on radeon support from Michael Neumann.  This will show in the next release, coming soon.  (Just a few patches more…)

Posted by     Categories: Device support, DragonFly     0 Comments

Nginx and DragonFly


If you’re using nginx on DragonFly, version 1.9.1 has specific DragonFly speedup options built in.

Posted by     Categories: Committed Code, DragonFly     2 Comments

In Other BSDs for 2015/05/30


A short but more interesting list this week, I think.

 

Your Not BSD link of the week: Never fix anything.

Posted by     Categories: Bitrig, Books, BSD, DragonFly, FreeBSD, OpenBSD     0 Comments

More Hammer 2 improvements


Hammer 2 now uses LZ4 compression by default.  It also uses a new CRC algorithm that performs much better, and there’s numbers to prove it.  It helps iSCSI too.  When I say new, it appears to be from the 1980s?  I may be looking at the wrong place.

Posted by     Categories: Committed Code, DragonFly, Hammer     1 Comment