media, windows comments edit

Something I’d noticed in recent times: My Dell Studio Hybrid media center PC wouldn’t display a video signal after resuming from sleep.

This would work:

  1. Turn the TV on.
  2. Turn the Dell Studio Hybrid on (power on).
  3. Put the Dell Studio Hybrid to sleep.
  4. Wake the Dell Studio Hybrid up.

Doing that sequence you would correctly see the PC go to sleep, wake up, and still display a signal on the screen. This, on the other hand, would not work:

  1. Turn the TV on.
  2. Turn the Dell Studio Hybrid on (power on).
  3. Turn the TV off.
  4. Put the Dell Studio Hybrid to sleep.
  5. Turn the TV on.
  6. Wake the Dell Studio Hybrid up.

Doing that sequence, the TV would never get the video signal from the PC again. You’d have to hard power off and power it back on to get the signal. (As it turns out, it’s not putting it to sleep that’s the problem, it’s the power option to “Turn off display” - the machine doesn’t have to go fully to sleep, but if the display turns off, you still see this problem.)

I also noticed that there was a problem where occasionally the TV would lose signal just switching inputs away from the Dell Studio Hybrid and back.

  1. Turn the TV on.
  2. Switch the TV to the HDMI input for the Dell Studio Hybrid - everything looks fine.
  3. Switch the TV to some other input.
  4. Switch the TV back to the HDMI input for the Dell Studio Hybrid - signal lost.

This would only happen when Windows Media Center was running full screen. If you were looking at the desktop, or if WMC was in windowed mode, you’d never lose signal. Only when WMC was full screen would it be a problem.

I updated all the drivers, no luck. I messed around with different driver settings, no luck. After searching around, I found several workarounds.

What worked for me: I bought a little $20 HDMI switchbox based on this blog entry here. Putting that between the TV and the PC seems to have cleared up my signal loss issue.

Other workarounds include…

Use the “Bubbles” screen saver. For some reason, I found the “Bubbles” screen saver does something that other screen savers don’t seem to do and the signal doesn’t get lost when it’s on. It does mean you have to set the computer up so it never goes to sleep and the video signal never shuts off, but if you do that (and set the screen saver to start at something like one minute) then as long as you don’t switch the TV input to the PC when the screen saver isn’t running, you’re fine. Worst case, you switch away from the PC and wait one minute before switching back. Even with the HDMI switchbox, I’m still running the “Bubbles” screen saver, though it’s running at 15 minutes now instead of one minute.

Switch the ACPI suspend type to S1. I stumbled on this while searching through forums. It didn’t work for me, but it works for some folks. By default, it’s set to S3 - suspend to RAM. Switching it to S1 (sleep) seems to have resolved it, at least in my tests thus far. I can now do the sequence that wouldn’t work - turn the TV off, put the DSH to sleep, turn the TV on, and wake up the DSH with the video signal intact. I learned a little about what the different modes mean while I was figuring this out. This is a great FAQ if you want to know more.

UPDATE (5/28/09): I reformatted this post to be a little more clear about the issue and possible solutions.

This is more of a vent than anything else, but there’s a bit of a lesson learned, at least for me, here.

I just spent the last three hours fighting my home network. I got a little snippy with Jenn, who didn’t deserve it, due to the ridiculously high frustration levels. Darn close to broke a lot of stuff at random just because I was so pissed.

The problem: Xbox Live was not connecting and, on testing, was telling me that my NAT settings were set to “moderate.”

Let me give you a little background.

Xbox Live requires certain ports to be freely available to it. I don’t recall which ones and I’m too irritated right now to go Google them for you so I’ll trust you can do that on your own. The ports are not the point. The point is, if you don’t have these ports available, Xbox Live will sometimes decide to throw little network curve balls your way, like you’ll be able to connect to half of your gaming group but not the other half. Or you’ll be able to do video chat but you’ll get no audio. Crap like that.

In order to determine if you’ve figured out the magic combo, you do a “network test” from the Xbox dashboard and it basically gives you either a green light or an unhelpful message telling you about a problem. The message will say something about your “NAT settings are Moderate” or your “NAT settings are Strict.”

You don’t want Moderate or Strict, you want Open. Open means Xbox Live can get to all the stuff it needs to get to and will choose not to hose you in the middle of your Call of Duty session with your dad and uncle.

Usually I have no problems. My NAT has always been Open. Every once in a while, though, and it’s ever since we got Verizon FiOS, my NAT will suddenly change from Open to Moderate. I’ve never hit Strict, but it doesn’t matter, because it may as well be black and white - Moderate is bad news.

The trouble is that I can’t predict when it’s going to decide to change. Sometimes it just “changes” and rebooting the Xbox will fix it. Sometimes rebooting the router fixes it. Sometimes waiting an hour fixes it. Sometimes checking an arbitrary setting on the router and then unchecking it again - just change something and change it back - fixes it. It’s entirely unpredictable. I think I figured out what causes it, though.

Tonight I got the Moderate NAT problem. Again. So I was trolling through my settings and found that there were a bunch of weird port forwarding rules that I don’t remember setting up. Innocuous stuff for valid applications like MS Messenger, but I didn’t set them up - they got set up by UPnP. I also noticed that the admin interface was slightly different from the last time I was in there.

Verizon auto-updates stuff.

I knew they auto-updated the firmware on the set-top boxes, but I didn’t think about the damn routers. They’ve been updating crap and I’d bet dollars to donuts the NAT problems I see crop up sporadically coincide with these helpful updates.

I couldn’t figure out how to fix it this time. I had the Xbox as a DHCP client, so I switched it to a static IP and added some port forwarding rules. No luck. I messed around with all sorts of crazy settings, no luck. NAT = Moderate.

In the end, I went catastrophic. Full reset to factory defaults. Put the WEP key back in, put the SSID back in, reconfigure everything. And you know what?

THAT FIXED IT. Suddenly the NAT was back to Open.

What a load of crap.

media comments edit

This is, admittedly, a bit of a niche thing, but it’s helpful for me so I figured someone might be interested.

I use DVDFab HD Decrypter to rip movies for my DVD Library and it works really well except when you tell it to rip movies to a particular folder, it generates this little folder structure that makes it difficult to just copy over the movie to my Windows Home Server. Say I tell it to rip to the “C:\Movies\Really Cool Movie” folder - I’ll come out with a structure like this:

C:\Movies\Really Cool Movie
    |
    +-FullDisc
       |
       +-DISC_TITLE
          |
          +-AUDIO_TS
          +-VIDEO_TS

The problem is, I want the AUDIO_TS and VIDEO_TS folders up in the “C:\Movies\Really Cool Movie” folder, not two levels down in some generated hierarchy:

C:\Movies\Really Cool Movie
    |
    +-AUDIO_TS
    +-VIDEO_TS

It requires manual file moves to get things rearranged. Not a big deal, but do it 100 times and it’s a pain in the ass. This script fixes that up:

    @echo off
    if .%1. == .. goto :help
    pushd %1
    pushd FullDisc
    for /d %%s in (*) do pushd %%s
    for /d %%s in (*) do move %%s ..\..
    for %%s in (*) do move %%s ..\..
    popd
    popd
    rmdir /s /q FullDisc
    popd
    goto :eof

    :help
    echo This script fixes up DVDFab rip folder structures.
    echo fixmovie [moviefolder]
    goto :eof

Copy that into a batch file called “fixmovie.bat” and save it in your movies folder. Then you can just run it and pass the folder name of the movie you need to fix the directory structure for. In the case of my example, I’d run fixmovie.bat "Really Cool Movie" from the “C:\Movies” folder and it’d clean up the directory structure for me.

Standard disclaimers apply. YMMV, not responsible for destruction of your universe, etc.

The Big Bang Theory - Season
1Some friends of mine at work told me I needed to watch The Big Bang Theory because I resembled one of the characters. After a couple of mentions of this, I gave in and got the first season from Netflix.

Before we started watching, I sat my wife down and told her we needed to figure out which character I resemble. Up to the task, we started the disc.

About 10 minutes into the first episode, we had a conversation like this:

Jenn: You’re Sheldon. Travis: What? Are you sure? I could be Leonard. Jenn: You’re Sheldon. Travis: I dunno… HOLY CRAP I’M SHELDON.

After watching the first six episodes, I have to say that while I have some Leonard in me, I’m Sheldon. Like this video where Penny sits in Sheldon’s seat… I think I’ve actually had this conversation, or something eerily like it. (Though mine was more around my parking spot at work than my seat at home.)

Anyway, it’s a great show, so if you haven’t seen it, check it out. I’ll be watching the rest as they come in from Netflix.