Playstation 3 and 3D Blu-Ray movies

| No Comments
With the release of the 3.50 firmware update, the Playstation 3 now plays 3D Blu-Ray movies.  My older Mitsubishi DLP TV is 3D-ready but only supports the checkerboard 3D format that nobody uses anymore.  However there is a converter kit (available without glasses for $100, with glasses for $300) that will convert multiple 3D formats to checkerboard, including the format used by 3D Blu-Ray movies as well as side-by-side (left/right or top/bottom) formats for 3D TV.

I got the converter kit a week before the PS3 update so I had a chance to try it out on 3D TV.  It worked great, though I had to manually set the TV to 3D mode and the converter to the appropriate side-by-side format.  However when I plugged in the PS3 and tried to play the 3D sampler that came with the kit, I kept getting a warning that either my player or TV was not 3D and it reverted to boring 2D.  When I tried this the update had been out for less than an hour, so searching for help on the internets was no use.  Time to troubleshoot!

My first thought was to check the PS3's Video Settings, but that didn't provide any obvious 3D options.  Next I tried turning on 3D on my TV before playing the disk but that didn't work either.  Okay, how about Display Settings?  Nothing obvious there either, but there's an option for "Video Output Settings", so I went ahead and tried that.  I turned on my TV's 3D mode and then selected the Video Output Settings option.  After choosing my connection type (HDMI) and letting it auto-detect the resolution, the PS3 then told me that my TV was indeed 3D capable!  I had to tell it the size of my TV, and then everything was golden.  I started the disc, the converter box automatically detected the signal, and it was time to watch some 3D.


If you're running into the same issue, try the following:

  1. Turn on your TV's 3D mode.  This may not be necessary with newer HDMI 1.4 TVs that can auto-detect 3D capability, but older DLP TVs will almost certainly have to do this first.
  2. On the PS3 CrossBar interface, go to Settings and then down to Display Settings
  3. In Display Settings, select Video Output Settings and let it auto-detect.
  4. If everything works, Video Output Settings should tell you that your TV is 3D capable and ask you to put in the size of your TV for "optimal display".

Enhanced by Zemanta

Apparently the new thing to do on web sites is to put a floating toolbar over your content in some misguided attempt to get people to sign up, or "capture their eyes", or some other bullshit that values annoyance over usability. Normally I'd just say fuck it and not go back to any site that did this, but this trend is spreading and it doesn't look like it'll stop any time soon. Thus I have to do something about it.

Stylish to the rescue! By using this add-on plus a custom user style, I'm systematically going through web and killing these toolbars as I find them. If you want to benefit from this, you can download the CSS file from here. Copy and paste that into a new rule in Stylish and it will start working immediately. I'll update it periodically as I come across other sites with annoying toolbars. Once I've caught most of the big toolbars, I'll eventually put this up on UserStyles.org for everyone to use.

Currently the style removes the following crap:

  • Wibiya toolbar on any site
  • Meebo toolbar on any site
  • Apture toolbar on any site (this one is particularly annoying because it only appears when you scroll)
  • The fixed-position toolbar on majornelson.com
  • NY Times "next article" blob that shows up when you scroll down the page
  • CNet's login toolbar
  • CBS News login crap
  • Reuters crap (apparently they also use Apture for a double whammy)
  • MSNBC

Fuck you, toolbar bastards. You can't control my web experience.

Before:

cbswithtoolbar.jpg

After:

cbsnotoolbar.jpg

Not really an update

I just moved hosting providers and haven't bothered to upload everything here. All of the articles still exist, but many downloads are no longer available. Given that I rarely use this blog for anything it'll probably stay that way for some time.

Gaming backlog

My little brother came out to visit over the 4th of July, and he pointed me to his new project: finishing his entire backlog of games. While I applaud his effort and wish him luck, he's more ambitious than I am. I have my own backlog (don't we all?), but I just don't have the motivation to take up the gauntlet and work my way through. There's too much new good stuff out now or coming soon that I'd rather get a taste of it all instead of immersing myself in one game at a time. That's not to say that I don't get caught up in certain games. I played Forza 2 nearly exclusively for all of June, and I continue to play it now. I just can't see myself focusing what little gaming time I have on going through my stack of games. Maybe someday ...

Xbox 360, Live, and NAT update

| 16 Comments

A little over a year ago, I posted how I fixed some problems I was having with Xbox Live by setting up UPnP on my Linux router. Since I was finally able to get my hands on an Xbox 360, I figured it was time to update my guide on using Live behind a Linux NAT. The instructions work for both Xbox and Xbox 360, but I'm going to focus on the Xbox 360 configuration this time around.

First things first. If you don't need to do this, don't do this. How do you know if you need to do this? Are you using Linux as a NAT router for your home network? Does the Xbox 360 report your NAT as moderate? If so, you probably need to do this. What is "this"? Keep reading.

Since the last time I posted, the Linux-IGD project has seen some development, but to look at their home page you wouldn't know it. Even the Sourceforge page still shows 0.92 as the latest version, having not been updated since January 12, 2003. All of the recent changes are in their CVS repository, though, so we'll build from that instead. Follow the instructions to checkout linux-igd to your machine.

If you followed my previous post, make sure you've fully uninstalled upnpsdk and linuxigd (a "make uninstall" should be enough for upnpsdk, and for linuxigd you should at least make sure upnpd is not running and remove the /etc/linuxigd directory). Once you've checked out the CVS project, you'll find a file called INSTALL. Read that to guide you through installing libupnp-1.2.1. Make sure you download version 1.2.1 and not version 1.2.1a from the download page. The INSTALL file is not exactly correct, as you can't just run "make" from the libupnp-1.2.1 root directory. Instead, go down into the upnp directory under libupnp-1.2.1 and run make there. This should also build ixml and threadutil at the previous directory level. Follow the rest of the INSTALL steps, making sure to copy the extra ixml and threadutil libs and includes. Finally, you can build and install the CVS linux-igd following the steps in the INSTALL file.

Before you fire up upnpd, first take a look through /etc/upnpd.conf and make sure everything is set to your liking. Some settings I suggest (these should be the defaults):

  • Make sure "iptables_location" points to the path to your iptables binary. This should default to /usr/sbin/iptables and should already be correct, but double-check to be sure.
  • debug_mode = 1. Without this, you're not going to be able to keep tabs on what upnpd is doing.
  • Make sure the chain names for forward and prerouting are correct for your configuration. The defaults should usually be right, but it doesn't hurt to double-check.
  • Set your upstream_bitrate and downstream_bitrate if you really care. These are in bits per second, not bytes, so make sure you multiply by 8 if you start from bytes per second. For example, 2 Megabits per second would be 2097152, but 2 MegaBytes per second would be 16777216.
Now you can fire up upnpd by running "upnpd <external ifname> <internal ifname>", where <external ifname> and <internal ifname> depend on your configuration (they are eth0 and eth1 for me, respectively, but yours might be different -- check /sbin/ifconfig if you're not sure). If all goes well, upnpd will now be running if you look at the process list (I use "ps waux | grep upnpd", and look for entries like "/usr/sbin/upnpd eth0 eth1"), and you should see some messages in /var/log/messages and /var/log/debug.

Now that that's taken care of, start up your Xbox 360 and go to the System blade. From here, choose Network Settings and then Test Xbox Live Connection. You'll be prompted that testing the connection will sign out all profiles, so choose Yes and get down to business. You should now see something like this:

The most important line is the one called "NAT", and it should read "Open", like so:
(For original Xbox users, read my original post for steps to check your NAT level.) If it doesn't, something went wrong. On the linux box, run "tail -f /var/log/debug" (if your syslogd is configured to log debug messages somewhere else, tail that log instead -- you can find out what your syslogd will do by looking at /etc/syslog.conf). When you run the Test Xbox Live Connection troubleshooter, you should see something similar to the following in your log when it gets to the "Xbox Live" portion of the test.
If you don't see that, run "killall upnpd" and then check ps to make sure upnpd has died before restarting it. Watch the debug log when restarting, and if you see any errors you can look into the Linux-IGD forums to see if you can find some help. Luckily for me, everything worked great the first time.

By the way, if you have a Windows box behind your NAT, it should now pick up the UPnP gateway device (you may have to install some components through the Add/Remove Programs applet to be able to see UPnP connections, and even if you already have UPnP support installed you'll need to reboot for the OS to pick up the gateway device). For example, on my XP laptop, I now see this in my Network Connections control panel:

From here, you can drill down into the gateway device's Status, then Properties, and finally Settings to see the list of current port mappings.
If you can't get this working, you can use Noel Danjou's UPnPTest (about halfway down the page, "Univeral Plug-and-Play Tester") to test your UPnP configuration instead. Linux-IGD still reports itself as version 0.92, but the CVS version is really something like 1.04 or 1.05 now.

Hopefully this will help out other people trying to get Xbox Live working on their original Xbox or new Xbox 360, since Microsoft doesn't officially support Linux as a NAT router. If you've had problems and been told to go buy a router off of the official compatibility list even though you'd rather continue with your Linux setup, this is for you.

Update: One minor note that I forgot. You may need to do a little bit of manual patching of the linux-igd code, if that fix hasn't merged into CVS. Read that thread, and look in your downloaded code to see if you need to manually patch or not before you actually build.

Automatically add Gadgets to Live.com

I found a post detailng a new feature on Live.com, making it possible to automate adding a Gadget. Now I can provide links to add the Analog Clock or Livetris to your Live.com profile.

The following links will open a new window to Live.com and add the respective Gadget.

Tetris on Live.com - Livetris

For my next Gadget, I give you Livetris. It's a completely DHTML re-implementation of the classic puzzle game. It's still pretty basic right now, and only has 10 different speed levels (currently non-configurable, so you have to start at level 1 and work your way up). Block randomization needs some tweaking, since right now it's all too likely to end up with a long string of crap blocks without the bar or square you need to complete a set of lines. I also need to do some work on the scoring, as right now there's no bonus for clearing multiple lines at once. Finally, I'm still tweaking piece colors until I find something I really like, but that's the beauty of a Live.com Gadget -- I can make all of the changes I want, and you'll see that reflected on Live.com without any user intervention.

As with my Analog Clock Gadget, this one continues to use the awesome JavaScript VectorGraphics library. This is a very robust and powerful tool, and I highly recommend others check it out.

I plan to eventually put my Gadgets up on the Microsoft Gadgets site, but for now you can use these installation instructions:

  1. Copy
    http://www.daishar.com/gadgets/Livetris/Livetris.xml
    to your clipboard.
  2. On Live.com, select Add Content on the sidebar and then Advanced.
  3. Paste the Gadget URL into the Add a Gadget by URL textbox.
  4. Select the Add button.

Compatibility notes: For now, this Gadget is IE-only due to the way I'm handling keyboard input. I hope to get this working with Firefox soon, but I figured I may as well release what I've got right now.