karu.pruun shares a story of manually installing DragonFly on a UEFI-booting machine. In this case, it’s a Macbook, though there’s other non-fruit UEFI machines out there?
This is limited to some users of specific Intel video chipsets, but: if you get odd screen artifacts in X, the ‘vesa’ driver may work just fine for you. Or turn acceleration off. Or set ‘drm.i915.enable_execlists=0’ according to zrj on #dragonflybsd.
(Updated to reflect all the answers in the thread and elsewhere.)
There are USB devices out there that are sort of like a mouse, as in they work as a pointing device, but they don’t show up as a mouse device. For example, the PowerMate USB Multimedia Controller. It’s possible to pipe the events from this or similar ‘weird’ devices to sysmouse, and use it the way you’d expect, with this fix from user tautology.
Did you know there’s a rescue image, created with crunchgen, in DragonFly? If your system can boot to single-user mode, you can use it to at least manipulate data on disk – it includes mined as a simple small editor. (Since vi assumes /usr is mountable.) This rescue image now includes undo, so you can back out changes on a Hammer volume.
If you get “libGL error: failed to open drm device: Permission denied” when using direct rendering, make sure to add your user id to the ‘video’ group.
If you are on the Skylake series of processors, and also running xorg on DragonFly, pick ‘uxa’ video acceleration. Andrew Slaughter found this made a significant different in visual quality.
If you’re on DragonFly, or maybe even if you aren’t, and you are using NFS, here’s some tips on how to wring the best performance out of it.
I’ve finally used up my Lazy Reading links backlog!
- Hand-crafted containers. A good explanation of how containers are set up, and a certain sense of deja vu for anyone familiar with BSD jails. (via)
- Punctuation in Novels. I like seeing the conversion of data from text to image. (also via)
- Overclocking an old IBM 701. The butterfly keyboard model. (via)
- Accurate CRT Simulation. (via)
- RS-232 for Commodore PET and Dialing a BBS Over WiFi. (via)
- tmux2html: “Render full tmux windows or individual panes as HTML.” (via)
- MobaXterm – all-in-one SSH/X client. Anyone use this vs. PuTTY?
- Documentation is for the weak.
- A Brief History of ClarisWorks. Back when office packages were actually light. (via)
- Dwarf Fortress’ creator on how he’s 42% towards simulating existence. (via)
- Debian ships very outdated packages. It frustrates upstream creators. The response from most people misses the point, but the maintainer at least has a sane response. (via and via)
- Ubuntu on Windows. I think it’s less “Let’s use Linux” and more “Apple’s UNIX tools get everyone to buy Macbooks, let’s try that.” It unfortunately does not do anything (yet?) with process control or user authorization or other things you would actually need. Related: GNU/kWindows. (via).
Your sort-of off-topic link of the week: Michael W. Lucas’s fiction is, for a short time, part of a larger book bundle which is available for less than the price of buying it all individually. Buy now if you want a deal/lots of fiction to read.
I keep posting about Sepherosa Ziehau’s work on sustaining extremely high traffic loads in DragonFly. Now I’m posting about a tool to create that load: kq_sendrecv. It creates tens of thousands of TCP connections, without creating a process for each, and uses kqueue, as you might guess from the name. This may be useful if you really want to tax another system.
This is actually overflow completely from previous weeks. I am not sure how I am ending up so far ahead on these but not the Saturday BSD items. As long as it shows up on the expected day, I suppose it works out.
- Tcpdump is amazing. (via)
- A Collection of Dice Problems. PDF format. (via)
- Sending email in 1984. Video. (via)
- Copperhead, a Life spaceship, which is a new concept to me. (via)
- The Powerful Emotional Pull of Old Video Games. (via)
- Digging a Little Deeper: Dwarf Fortress, Fantasy Tropes, and World Building. (via)
- Open source tax credits. That would have saved me some money in recent years.
- Can we save the open web? (via)
- insane chown posse (via)
- Preparing for Production of The Essential Guide To Electronics in Shenzhen. Seeing the physical process is neat.
- SQLite with a Fine-Toothed Comb
- Open-access CACM articles. This will keep you busy for a while.
- Nerd Fonts.
- Orgmode for Sublime Text 2 and 3. (via)
Your kinda-unrelated item for the week: Butterfly Stomp, Michael W. Lucas’s free short story. He writes fiction when he’s not writing BSD books.
Garbage 18 is out, and talks about the hardware in the title – and also goes into tethering between Android and OpenBSD, which I am sure someone will find immediately useful.
If you find yourself using gpt and disklabel64 for a new disk, and aren’t quite sure what order to type everything in to create a disk slice, why not crib from Tim Darby’s notes? (note that the archive has added some line breaks to it.)
I see this bite people irregularly over the years: if your default shell on login can’t run, what do you do? I’ve seen it happen because of a missing /usr/lib, and it can happen with out-of-date library references, too. There’s several different ways to deal with it:
- Run a shell that can’t have this problem, like /bin/tcsh (the root default).
- Or, rebuild in single-user mode from the console.
- Or, perform the bullet-proof upgrade.
That last one may be useful if your dports setup gets mangled, somehow – though ‘pkg upgrade’ has always worked for me.