The last few releases of Ubuntu have given me a lot of trouble on a desktop with a pair of Radeon 7970 video cards. The Live CD would start up, but leave me with a blank black screen and a mouse cursor. Doing a console-only install worked fine, but as soon as I’d try to install an X server, the system would go back to showing nothing more than a black screen.
Various help forums discuss enabling the “nomodeset” option during installation (it seems lots of other folks have had problems getting Ubuntu to play nice with AMD/ATI video cards). By itself, that didn’t make any difference on my system, but the idea in this thread put me on the right track. Here are the steps I used to install Ubuntu 14.04 on a system with a pair of Radeon 7970 graphics cards:
When the Live DVD starts up, press the down arrow. A language selection screen should appear; use the arrow keys to select your language and press Return.
Press F6. A menu will appear with advanced installation options. Check the boxes for “nomodeset” and “free software only” (use the Return key to check them).
Press Escape to exit that menu and press Return to start the Live DVD.
After waiting a few minutes, my system still appeared hung on a blank screen. Press ctrl-alt-F1 to get to a console.
At the console, enter the command “sudo bash” to start a shell with administrative access.
Type “apt-get remove xserver-xorg-video-radeon” to remove the default Radeon driver.
Type “service lightdm restart” to restart the display manager. On my system, this took me to a regular desktop running from the Live DVD. From there I could install Ubuntu normally.
Once the install finished and the system restarted, I went into Settings → Software & Updates and checked the box to allow “Proprietary drivers for devices”. Close that dialog to apply the new setting, then open it up again. Select the “Additional Drivers” tab and change from the open-source driver to AMD’s fglrx-updates driver. Reboot and enjoy your new Ubuntu desktop.
The bad: it runs with all the subtlety of a jet engine. This thing is far and away louder than the eight GPUs I used to have running full-bore minting Bitcoins. Something needed to be done.
I took it apart to see if any improvements could be made. Two problems stood out: the heatsink fan was pointing in the wrong direction, and there was no air intake fan. Rummaging in the closest revealed a pair of Corsair 120mm fans and a 3-pin power splitter, so I already had all the hardware I needed. Flipping the heatsink fan around, replacing the stock exhaust fan with a quieter model, and adding an intake fan took about 10 minutes. The noise coming out of the unit is easily half of what it was; using a cheap iPhone sound meter gave a reading of 60 dB (for comparison, the same meter read 55 dB for a pair of mining GPUs).
Not only is it quieter—it’s also running cooler. Prior to this mod, it ran at about 80° C. Post-mod, it bounces between 68°–70° C. I’ve noticed that when it gets down to 68º the fans spin down further, to the point where it’s nearly silent. When the temp creeps up to 70º the fans spin back up, but still nowhere near the loudness level of the stock cooling solution.
If you want to do this yourself, here’s what you’ll need:
Corsair Air Series SP120 High Performance Edition fan twin-pack (I used stock Corsair fans from an old computer case, I think they sit somewhere between the High Performance edition and the Quiet edition models in terms of both airflow and noise level).
Remove the four Torx screws from one end of the unit.
Slide off the casing.
Disconnect the exhaust fan from the 3-pin connector (located in the middle of the unit’s mainboard).
Remove the four Torx screws from the opposite end of the unit.
Remove the two Philips screws from the heatsink fan.
Turn the heatsink fan upside and screw it back onto the heatsink. This fan should be blowing air down onto the heatsink; BFL installed it so that it draws air up and away from the heatsink. (An easy way to test the direction a fan is blowing is to hold a piece of tissue paper over it while it’s running.)
Install one of the 120mm fans as an exhaust fan next to the heatsink (replacing the fan BFL supplied). This should be blowing hot air out of the unit.
Install the other 120mm fan as an intake fan on the other side of the unit (BFL didn’t include a fan here on my unit). This should be drawing cold air into the unit.
Use the 3-pin Y-splitter to connect both fans to the single 3-pin fan connector on the mainboard.
Slide the case back on and screw the end-caps back in place using the Torx screws.
Here’s a photo showing what it should look like (with the case removed). The blue arrows indicate the direction of airflow for each fan.
Improved airflow on the BFL Little Single.
It’s not completely silent, but it’s quiet enough for me to run 24/7 now. Thanks to Butterfly Labs for providing excellent Bitcoin mining hardware; I just wish they’d had put a bit more thought into the unit’s airflow. Thankfully, that’s easy to fix on our own.
Cygwin includes some nice built-in aliases for colorizing terminal output, but the default blue hue is so dark as to be unreadable on the black background. It’s easy to fix, though; just add the following Blue and BoldBlue lines to your ~/.minttyrc file:
These lines will use a lighter shade of blue than the default, so you’ll be able to read it in a less-than-pitch-dark room. As an example, here’s my complete ~/.minttyrc file:
Nice work, nVidia. Today marks the third time in three years I’ve had to send my Mac back to Apple to replace one of your faulty GPUs. What the hell happened?
I spent the morning setting up an old Windows box so I can at least keep up on e-mail while my Mac gets a less-broken logic board. Figured this would be a good chance to checkout iCloud on Windows, so I downloaded it, installed it, and then installed Outlook 2010. Went into the iCloud control panel, told it to synchronize my Outlook Contacts, and… no. Got this useful error instead:
What the hell does that mean? Turns out, it means that you shouldn’t install Outlook after iCloud; you need to install Microsoft Office first. Uninstalling and then re-installing iCloud fixed the problem. Now I’ve got my calendar, contacts, and e-mail all showing up nicely in Outlook. Which would be awesome, except—it’s still Outlook.
And Apple? Your error messages could use some work…
My 3rd generation Apple TV (with iOS 5) has some problems streaming media. First noticed it with NetFlix; the stream would pause for about 30 seconds every couple of minutes. iTunes Match had a different problem; after playing about 10 minutes of music, the screen would go blank (my TV started searching for different inputs, so I think the Apple TV’s output signal completely died), then return to the Apple TV home screen. I haven’t had any problems using NetFlix or iTunes Match on my computer, so I assumed the wifi (an Airport Extreme) and Internet connection weren’t to blame.
Finally seem to have tracked down the problem (or at least, one of them): it’s something in the Dolby Digital output. Go into Settings/Audio & Video/Dolby Digital and change the value to Off. I have my Apple TV hooked up to a receiver via an optical cable, so I’d turned this setting on to get surround sound. Since disabling, I’ve been able to listen to entire albums on iTunes Match for the first time—they had never made it past the 10 minute mark before. Here’s hoping a software update will fix this issue and restore the surround sound feature…
Update: Spoke too soon—just dropped the audio stream again, though it’s definitely not happening as consistently as before. *sigh*.
Not sure if anyone else has had this problem, but it looks like yesterday’s iOS 5.1 update turned off iMessage support, at least on my AT&T iPhone 4. A quick trip to Settings→Messages→iMessage was all that it took to get iMessages working again (they had somehow been turned off during the update).
Anyway, just posting in case someone else is trying to figure out why their iPhone suddenly stopped receiving iMessages.
This was a new one for me. Every time I tried to upload a photo to a WordPress site, I received a very informative “HTTP Error” message while the upload progress bar read “Crunching…”. Thanks in part to the stunningly generic error message, it took a while to figure out exactly what was going on. The problem, it turns out, was HTTP authentication; I had enabled Apache’s basic HTTP login for the site, but being a plugin, Adobe Flash was not similarly authenticated. So, trying to use the Flash-based image uploader kept silently failing because it couldn’t authenticate with the server. The fix is simple: just tell Apache not to use authentication for the script that handles Flash-based uploads. You can do this by modifying the .htaccess file in the root of your WordPress directory like so:
Allow from all
Deny from none
After a long, long love affair with Logitech, I’ve finally finished a slow migration toward Apple’s input devices. Their aluminum keyboard took some getting used, but once I’d grown accustomed to it on my Macbook, I decided to get one for my Windows 7 desktop. It seemed like everything was working perfectly until I pressed the mute button; nothing happened. Volume down? No go. In fact, all of the media keys (volume up/down, mute, play/pause, etc.) refused to do anything. For whatever reason, SharpKeys and other keyboard mapping utilities don’t recognize Apple’s media keys. The solution, it turns out, is to install a pair of Bootcamp files from your Mac OS X installation DVD.
Here are the steps that worked for me. I’m running Windows 7 x64 with a 2010 Apple aluminum keyboard, and have a Mac OS X 10.6 Snow Leopard installation disc. As always, your mileage may vary:
Insert your Mac OS X installation disc. If it tries to auto-run anything, cancel it.
Open Windows Explorer, right-click on your DVD drive, and select Open from the menu.
Navigate to the Boot CampDriversApple folder.
Copy BootCamp.msi (or BootCamp64.msi for x64 systems) to your desktop.
Copy AppleKeyboardInstaller.exe (or x64/AppleKeyboardInstaller64.exe for x64 systems) to your desktop.
Use a tool such as 7-zip to extract the AppleKeyboardInstaller.exe file.
With 7-zip, can you do this by right-clicking on the file and selecting 7-Zip->Extract to “AppleKeyboardInstaller”.
Navigate to the folder you extracted AppleKeyboardInstaller.exe to and run the DPInst.exe file to install the Apple keyboard driver for Windows.
Click Start->All Programs->Accessories, right-click on Command Prompt, and select Run as administrator.
In the command prompt, type “cd Desktop“.
Install BootCamp by typing “BootCamp.msi” (or “BootCamp64.msi” for x64 systems) in the command prompt.
Once the installation completes, you can delete the files on your desktop and remove the Mac OS X installation disc. Reboot your computer and enjoy your new media keys!
April 2013 Update: I just tried this method using Windows 8 and the BootCamp drivers from Mac OS X 10.8 Mountain Lion. Apple seems to be preventing the new BootCamp.msi (version 5) from installing on non-Apple hardware, so the above method will fail on Step 10. Luckily I had an old copy of Mac OS X 10.7 Lion BootCamp drivers (version 4) which worked perfectly on Windows 8.
August 2013 Update: Thanks to Tom in the comments section, who pointed out that Apple’s Bootcamp update will install on non-Apple hardware, so we can use the latest Bootcamp drivers on Windows 8! On my machine, however, these new Bootcamp drivers set the time incorrectly after each reboot. The fix is to open up regedit.exe and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation. Double-click the RealTimeIsUniversal key and set its value to 0. Reboot and enjoy!
Do you use MAMP as a web development testing environment on your Mac?
Do you need the PHP ZIP extension for dealing with archive files?
Are you running Mac OS X 10.6 Snow Leopard?
I do, and found making these tools play nice together to be far harder than it should have. If you need to fix a similar setup, here are the steps that finally worked for me (on Mac OS X 10.6.4 with MAMP 1.9):
Install XCode if you don’t already have it (we’re going to be doing a bit of compiling).
When the MAMP source code package opens, go into the MAMP_src folder and double-click the php-5.3.2.tar.gz file (if you are using a different version of PHP, replace 5.3.2 with your actual version number).
You should now have a php-5.3.2 folder in your Downloads folder. Open up Terminal and cd to ~/Downloads/php-5.3.2.: cd ~/Downloads/php-5.3.2/
Install the pcre.h header file (we need it to compile the extension): sudo cp ext/pcre/pcrelib/pcre.h /usr/include/php/ext/pcre/
Configure PHP for i386 architecture: CFLAGS="-arch i386" ./configure
Configure the ZIP extension for i386 architecture: cd ext/zip; CFLAGS="-arch i386" ./configure
Build the extension: make
Install the extension: cp modules/zip.so /Applications/MAMP/bin/php5.3/lib/php/extensions/no-debug-non-zts-20090626/
Enable the extension by opening /Applications/MAMP/conf/php5.3/php.ini and appending the following line: extension=zip.so
Remove the pcre.h header file we installed earlier, we don’t need it anymore.
Restart MAMP. If everything worked properly, you’ll be able to goto http://localhost/MAMP, click on phpInfo, and see zip in the list of enabled extensions.
I’ve been meaning to revamp the photography section of this site for a while now; this weekend, I finally found the time to do it. I registered a new domain, straylightphotography.com, and put together a portfolio consisting of my 20 favorite shots (<shamelessPlug>many of which are currently on display at Interzone through February 28th!</shamelessPlug>). I’m hoping to quickly expand the site with themed portfolios (portraits, urban decay, etc.), but… first things first.
Also, the new portfolio has been an excuse to play with CSS3 and jQuery 1.4. Visitors using Firefox, Safari, Chrome, or Opera should see a site that behaves like it was created with Adobe Flash, but is fully accessible and doesn’t require the proprietary Flash plug-in. Visitors using Internet Explorer… well… it at least degrades cleanly. Mostly.