Some games happen to have wonderful audio (and music), like Wolfenstein: The New Order. Some games happen not to be available natively for Linux, like… err… also Wolfenstein: The New Order. So we play them with WINE, and sometimes there are slight audio issues.
But have no fear: If you get audio crackling in such games (especially if your audio device is not running at 44.1 KHz), the following environment variable might fix it for you like it did for me:
You can either start WINE in a terminal with this env var prepended:
PULSE_LATENCY_MSEC=60 wine Steam.exe
or if you’re using PlayOnLinux:
Or you can export it in your ~/.profile file if you want it to be set for all your applications (don’t forget to completely log out and back in, since .profile is read only once per session):
Does this work for you? It works for me. I can’t remember where I found it first, but it’s a hint that’s been passed along, so pass it along I shall.
May the Flying Spaghetti Monster extend its noodly appendage to guide the hands of Lennart Poettering so that such issues become a thing of the past (if indeed Pulseaudio is to blame, but we always blame Pulseaudio, so we shall blame it one more time).
Now to enjoy the screams of expiring Nazi cyborgs in ultimate smoothness.
For a long time I thought there is no such thing as bidirectional clipboard support when using KVM. It turns out I was very, very wrong. All you need to install on Debian-like guest systems is the package
spice-vdagent. You may have to start the service afterwards:
apt-get install spice-vdagent
systemctl start spice-vdagentd
Again, this goes on the guest system. On the host system you just have to make sure you’re connecting through spice with a spice client (outdated documentation about that is here). If you use the Virt-Manager GUI, this is all set up correctly by default for Linux guests.
Free bonus: 3D acceleration and compositing seems to be working by default in Linux guests as well. This has nothing to do with spice-vdagentd, I just thought I’d mention it since this seems new. It’s a boon for testing software in multiple desktop environments, especially since many modern desktop environments profit a lot from direct rendering and compositing (or even require it to function properly).
TL;DR: We’re not doing a good job of keeping the Internet and related technologies as open and egalitarian as they used to be, allowing a dangerous oligopoly to reemerge. How can we reverse the trend? And by we, I actually mean you.
I see some worrying signs that we’re going backwards in terms of freedom. Read on for some scaremongering.
Continue reading “Your freedoms are eroding as technology becomes more closed”
I’m just writing this to be a total prick and rub your face in things and make you angry at me, because now even Microsoft is taking ARM seriously after announcing an x86-on-ARM emulator for Windows, and six years ago I told you (more or less) so. But anyone in computing could have made that prediction at the time, so don’t be too angry. It seems I was quite optimistic back then. Let’s see what happened to the rest of my predictions:
- I said Atom would never catch up to ARM in terms of energy efficiency or power consumption vs. performance. This is probably one reason why Intel dropped their Atom for mobile processors now. So I got that one right.
- I said the Linux kernel would play a big role in this and would expand to more and more devices. Since then things like the Raspberry Pi were introduced, Chromecast happened, the Amazon Fire TV stick thingy came out, cheap Chinese Android TV boxes are a normal thing, the Amazon Echo appeared and all of these run Linux. Devices that sold millions or even dozens or hundreds of millions of units. I’ll rate that as correct.
These are things probably anyone could’ve predicted. Were there people doubting ARM at the time? I don’t know. Maybe Microsoft was, but that was under old management and old management was not good at seeing the signs. Ballmer was good at propping up the old business model, but completely uninspired with regards to innovation.
Continue reading “Microsoft’s x86-on-ARM is a sign of the times”
You thought you’re safe and you have privacy because you use some fancy-schmancy encrypted email provider? I don’t think so.
This year saw some remarkable changes, bear with me while I go off on some tangents:
- The UK voted to leave the EU and subsequently introduced one of the most far-reaching and invasive surveillance laws in the world.
- The USA elected Donald Trump under speculations of Russian involvement, possibly thawing US-Russian relations and forcing Edward Snowden to be extradited to the US, where he might be executed for revealing truths the US didn’t want revealed. Keep in mind that he never invented anything, he didn’t lie, unlike the US President-elect. He merely told the truth.
- Switzerland, which had formerly been ready to offer asylum to Snowden, was pressured by the US government to stop that. All the while, US intelligence agencies were illegaly patrolling through Swiss cities and running surveillance operations in Berne and Geneva. The Swiss government stopped any investigation of these operations after the US increased their pressure.
Continue reading “Where will you step when there is no more safe ground?”
Now that Oracle is rumored to be taking over Dyn, this should be the last signal you need: Dyn is nothing like the cute little company called DynDNS that we liked so much in the 90s of the last century. Remember talking on IRC when someone gives you an address for an FTP hosted via their 28.8k modem on flyingdickweasels.dyndns.org? No? Damn, I’m too old, then!
Dyn has become more and more corporate over the years and is nothing like the cool little company that gave so many of our younger selves free dynamic DNS. But you know who’s a cool little company with free dynamic DNS? Afraid.org/FreeDNS. It used to be that afraid.org’s dynamic DNS mode isn’t directly supported in home router firmware or NAS devices, but that’s changed. Even Synology NAS now support it easily. If your router doesn’t have support for it, you can get it to work on anything that can run shell scripts, Windows batch scripts or PowerShell. Instructions are included when you set up your domain.
They also support the nice trick of using your own custom domain and dynamically updating its subdomains, but you’ll have to pay US$ 30/year for a pro account if you need that. If you just want to use their top-level domains and don’t need your own, that’s still free and has been for over a decade. They own chickenkiller.com, for example. You can work with that, can’t you?
Full disclosure: I’m not paid anything for this. I’ve just been a happy afraid.org customer for more than 10 years now without a single issue, and I laugh in the face of Dyn, whose slide into zombie corporate culture couldn’t find a more fitting end than being absorbed by the ultimate peddler in corporate zombieism; Oracle.
The PaperColor theme has been my favorite vim color theme for quite some time now, and I’m happy to find the same theme in Atom as well, even by the same author!
They have been ported to the Base16 color scheme system. If that doesn’t mean anything to you, it doesn’t matter at all. Thanks a lot, Nguyen Nguyen, aka NLKNguyen. If I knew how to reach you, I’d send you beer money.