Category archives: Tuxedo
Discussions about Linux, Unix and related technologies RSS
So you have a Dell Ubuntu 14.04 Laptop and it is running way too hot. You can configure it to run at a reasonable level using i8kmon. As with anything heat related, be careful. If you miss-configure the machine you are likely to wind up with a fried machine!
You create a file called /etc/i8kmon.conf and put the following in it:
set config(daemon) 0
# Automatic fan control, override with --auto option
set config(auto) 1
# Report status on stdout, override with --verbose option
set config(verbose) 1
# Status check timeout (seconds), override with --timeout option
So I've pretty much given up on the laptop having fglrx running properly, current Ubuntu just doesn't get fglrx, sucks, but okay, I should have stayed on LTS if I wanted a working machine. But now LTS Kubuntu fglrx is hosed after some system update. Every attempt to run any OpenGL program just segfaults (not just PyOpenGL ones, mind you, anything that uses fglrx). So no way to tell if I've fixed the PyPy bugs and can release PyOpenGL 3.1.0b1, because I can't actually run *any* tests. Meh.
[Update] Plus side: reboot fixed it ...
So the AMD Proprietary driver (fglrx) for Linux supports "Ubuntu 12.04 and 13.04" (Note: not the current Ubuntu 13.10), and so far every attempt I've made to use them on 13.10 has supported the "not supported" hypothesis (kernel module compilation failures in the latest iteration). But drat-it-all my machine meets the declared software requirements (kernel, xorg, etc), and it would make testing PyOpenGL releases so much easier if I could use the laptop for testing.
So does anyone in-the-know know if there is some grand plan in the works? They seem to still release drivers ...
Apparently I'm blessed with a Voice Dictation friendly accent and tone. I can pretty much use most Voice Dictation systems, including the ones on Android, Dragon Naturally Speaking, and PocketSphinx. The results aren't mind-blowing-ly good, but if it's quiet and I speak clearly and train anything that gets missed, I get reasonable results.
Watching a child play with both the Android and PocketSphinx recognizers this weekend made me realize just how much I'm privileged. His accent is pretty much identical to mine, but the recognizers just don't seem to pick up his (much higher) voice ...
I needed to phone my mother at one point this weekend.
Pulled up the Nexus phone dialer for one of the first times (I don't actually use my phone as a phone all that much). Said my mother's (full) name, saw a brief flash of her details, and they were promptly replaced with a bunch of we results for her name (lawyers in the UK and the like). Of course that's what I was looking for when I explicitly opened the contacts app and searched for someone in my contact list by name... of course.
Same thing ...
So apparently I forgot to re-install the fglrx driver after updating my laptop to Kubuntu 13.10. So as I've been testing PyOpenGL I've been amazed by how cr*ppy the GL performance has been, and I kept running into "this doesn't work at all" bugs for newer features. It did make me actually look at what GLSL versions were required for various shaders rather than just declaring "330" in everything because that's what AMD supports.
[Update] of course, the fglrx drivers (both stable and Beta) don't even load (segfault) so I suppose there's ...
Apparently Kubuntu 13.10's version of the fglrx driver is now equivalent to the beta one I added to my 13.04 install to get it running, so I decided to do the upgrade. However, it kept failing with a cryptic error that it couldn't do the upgrade because I was either running a pre-release ubuntu (no) or upgrading to a pre-release (no) or using some unsupported package (well, sure, but which one).
Turns out this warning was generated by having "held" the xserver-xorg-video-intel package in order to get the fglrx beta to run. apt-mark unhold the package ...
I've lost track of how many SD cards I've lost now. No one I talk to seems to have these issues.
Today I lost another one, this one because it was physically broken, that is, the whole front corner of the card was broken off, so it no longer hits the little spring that indicates there's a card present. That's now two physical issues (another card had the top and bottom of the card split apart), and lots and lots of corrupt SD cards, due to purchasing almost-but-not-quite supported SD cards (right manufacturer, but ordered the ...
So yesterday we needed to have the participants at the PyCon/Mozilla Maker Party view their videos on the front projector, and the loaner laptops were not happy with the task (many of the projects had 2, sometimes 3 Youtube videos running at the same time in their mashups), so we plugged in my Laptop with the shiny new Kubuntu 13.04 and the Beta AMD drivers. Unlike the previous fail (which was on HDMI), this one was with a basic VGA connector. The laptop automatically noticed there was a new monitor and went into "big desktop" mode, then switched ...
So I wanted to get Eric4 running on my Ubuntu 13.04 laptop, no problem, the latest Eric4 is compatible, just download the Ubuntu package source, run bzr-merge-upstream and then debuild, right?
No, because Eric4 is a multi-file tar source, where the secondary files (translations) all have binary files that do not play well with the quilt format... burned two hours trying to work around this mess where debian's embedded rules just blow up trying to generate source-code-patches for the binary files and I can't seem to convince them that those are binary files for which it shouldn ...