short and simple for 10.5 (Leopard)
sudo sh -c "/bin/echo -n enabled > /Library/Preferences/com.apple.ScreenSharing.launchd"
slightly different for 10.6 (Snow Leopard)
sudo sh -c "/bin/echo -n enabled > /private/etc/ScreenSharing.launchd"
rm the file to disable it. launchd polls regularyly, so after you "enable" the service, it'll be loaded by the time you check for the open port with netstat -an
Friday, May 1. 2009
burning files larger than 4GB with linux!
Burning files larger than 4GB seems to be a tricky thing in most programs. Lets say for example, you have a DV file that's 6GB. You should be able to fit it on a dual layer DVD without issue, but most burning programs fail to handle it.
Linux seems to work wonders for me on the command line. If I figure out something in Mac or Windows, I'll let you know, but I don't have access to a dual layer burner on either of those OSes at this time.
In Linux, you can make the appropriate ISO image with either:
mkisofs -r -R -J -l -allow-limited-size -udf -o largefile.iso largefile.ext
or use:
genisoimage -allow-limited-size -udf -o largefile.iso largefile.ext
Once the ISO is generated, you could burn with growisofs -Z /dev/dvd=largefile.iso or move the ISO to Mac or Windows...
Linux seems to work wonders for me on the command line. If I figure out something in Mac or Windows, I'll let you know, but I don't have access to a dual layer burner on either of those OSes at this time.
In Linux, you can make the appropriate ISO image with either:
mkisofs -r -R -J -l -allow-limited-size -udf -o largefile.iso largefile.ext
or use:
genisoimage -allow-limited-size -udf -o largefile.iso largefile.ext
Once the ISO is generated, you could burn with growisofs -Z /dev/dvd=largefile.iso or move the ISO to Mac or Windows...
Friday, November 7. 2008
more MythTV and Intel G33 video performance
Apparently the key to HD playback on MythTV using the Intel integrated X3100 video card (G33 chipset) is not the "extra audio buffering" setting. In a previous post, I enabled this setting and suddenly my HD video stopped stuttering.
Unfortunately, that wasn't totally the solution. When I started playing back my homemade DVDs (from iDVD), I noticed they were all playing back audio fine, but the video was choppy, like the frames were dropping. The audio tracks on these DVDs were uncompressed PCM. Anything else (like AC3) would be fine. The issue was that I was using OSS for sound (via /dev/dsp).
The trick here is to use ALSA. Changing the sound output in MythTV to ALSA and undoing the "extra audio buffering" yielded HD playback and smooth DVDs with PCM audio.
So far, I can get the Intel X3100 to perform well with MPEG-2 HD (720p and 1080i) content, DVDs (with greedyhdeint x2) and MPEG-4/AAC video at HD frame sizes but low bitrates. Unfortunately, h.264 video from the HD PVR 1212 with 720p frame sizes at high bitrates (the 7, 10 and 13.5 samples found here) still peg my Core 2 Duo 2.53GHz at 102%+
Unfortunately, that wasn't totally the solution. When I started playing back my homemade DVDs (from iDVD), I noticed they were all playing back audio fine, but the video was choppy, like the frames were dropping. The audio tracks on these DVDs were uncompressed PCM. Anything else (like AC3) would be fine. The issue was that I was using OSS for sound (via /dev/dsp).
The trick here is to use ALSA. Changing the sound output in MythTV to ALSA and undoing the "extra audio buffering" yielded HD playback and smooth DVDs with PCM audio.
So far, I can get the Intel X3100 to perform well with MPEG-2 HD (720p and 1080i) content, DVDs (with greedyhdeint x2) and MPEG-4/AAC video at HD frame sizes but low bitrates. Unfortunately, h.264 video from the HD PVR 1212 with 720p frame sizes at high bitrates (the 7, 10 and 13.5 samples found here) still peg my Core 2 Duo 2.53GHz at 102%+
Sunday, October 5. 2008
Cablevision firewire channel changer and new Intel video drivers
Sometime last Saturday (September 28) my cable provider, Cablevision, must have updated the software on my cablebox (Scientific Atlanta 4200HD). I use the firewire port for channel changes with the sa3250ch channel changer in the current MythTV SVN contrib directory. The commands being sent to the box were being received, but something happened in the new software that expected a slightly different command to properly change the channels. Anyway, here's some updated code to make it work. Change line 195 with the following diff:
I've also been toying with getting HD working with the Intel G33 integrated chipset that came in my new Dell Vostro 200 mini tower that I bought a few months ago. The CPU (Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz) seems to be OK handling pre-recorded HD from the Silicon Dust HDHomerun as well as h.264 content, so long as the bitrate isn't up there in the Blu-Ray range. I'm currently connected to a LCD HDTV with VGA, which is sufficient for my needs.
The latest Intel driver is here:
http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-2.4.97.0.tar.bz2
By the way, you'll need to have at least xserver 1.3.0 to compile against, so make sure your system is updated! They say in the README you only need to specify Driver "intel" in your Device section of xorg.conf, but I've got a mess of options I'm playing with to get HDTV working nicely:
You'll notice some lines in there for XVMC. Unfortunately this driver doesn't support 720p or 1080i/p frame sizes with XVMC, so for my purposes it's a bit pointless. I don't use XVMC under MythTV, but I have it in there anyway just for reference.
Finally, if you do compile the Intel video driver from source for MythTV, you may or may not notice that the driver chooses textured video as its default choice for rendering. I didn't have good performance with this, presumably because of weak 3D processing on this chip. I don't know for sure, but I have (and had) better results with overlay video. Another key setting for MythTV is to enable "extra audio buffering".
There's a long diff patch for the Intel video driver source, so it's attached here thanks to this MythTV-Users thread.
intel-prefer-hardware-overlay.diff
195c195
< cmd[1] = CTL_CMD1 | (dig[0] << 16) | (dig[1] <<| dig[2];
---
> cmd[1] = cmd[1] = CTL_CMD1 | (chn << 8);
I've also been toying with getting HD working with the Intel G33 integrated chipset that came in my new Dell Vostro 200 mini tower that I bought a few months ago. The CPU (Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz) seems to be OK handling pre-recorded HD from the Silicon Dust HDHomerun as well as h.264 content, so long as the bitrate isn't up there in the Blu-Ray range. I'm currently connected to a LCD HDTV with VGA, which is sufficient for my needs.
The latest Intel driver is here:
http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-2.4.97.0.tar.bz2
By the way, you'll need to have at least xserver 1.3.0 to compile against, so make sure your system is updated! They say in the README you only need to specify Driver "intel" in your Device section of xorg.conf, but I've got a mess of options I'm playing with to get HDTV working nicely:
Section "Device"
BoardName "G33"
BusID "0:2:0"
Driver "intel"
Identifier "Device[0]"
Option "monitor-VGA" "Monitor[0]"
Screen 0
VendorName "Intel"
Option "UseEvents" "true"
Option "XvPreferOverlay" "true"
Option "DRI" "true"
Option "UseFBDev" "true"
Option "PageFlip" "true"
Option "TripleBuffer" "true"
Option "XAANoOffscreenPixmaps" "true"
Option "FramebufferCompression" "false"
# Enable offload of Motion Compensation (XvMC)
Option "LinearAlloc" "16384"
Option "XvMCSurfaces" "7"
Option "XvMC" "true"
Option "AccelMethod" "XAA" # The default is "EXA"
Option "CacheLines" "2048" # Allows the user to change the amount of graphics
# memory used for 2D acceleration and video when
# XAA acceleration is enabled.
# Decreasing leaves more for 3D textures. Increasing
# can improve 2D performance at the expense of 3D.
# can improve 2D performance at the expense of 3D.
# xxxx=8192/16384/32768 etc.
# Note AccelMethod XAA does not appear to work with Xvmc enabled. Testing required.
EndSection
You'll notice some lines in there for XVMC. Unfortunately this driver doesn't support 720p or 1080i/p frame sizes with XVMC, so for my purposes it's a bit pointless. I don't use XVMC under MythTV, but I have it in there anyway just for reference.
Finally, if you do compile the Intel video driver from source for MythTV, you may or may not notice that the driver chooses textured video as its default choice for rendering. I didn't have good performance with this, presumably because of weak 3D processing on this chip. I don't know for sure, but I have (and had) better results with overlay video. Another key setting for MythTV is to enable "extra audio buffering".
There's a long diff patch for the Intel video driver source, so it's attached here thanks to this MythTV-Users thread.
intel-prefer-hardware-overlay.diff
Wednesday, September 3. 2008
get some *bling* with Google Chrome
Have you tried the Google Chrome browser beta? Its only available to Windows XP and Vista users. The browser download weighs in at under 475K and is light-weight and lightning quick. Too bad I just don't trust what it might be sending back to the motherland in the background. Looks like it's time to break out the old packet-sniffer!
On a completely un-fun note, I recently applied the Windows Mobile 6.1 update to my AT&T tilt. It's practically the same thing as Windows Mobile 6.0, but with some tweaks to the WiFi interface and Internet Explorer Mobile now zooms. Oooh. Aaah. I can hardly contain my enthusiasm.
On a completely un-fun note, I recently applied the Windows Mobile 6.1 update to my AT&T tilt. It's practically the same thing as Windows Mobile 6.0, but with some tweaks to the WiFi interface and Internet Explorer Mobile now zooms. Oooh. Aaah. I can hardly contain my enthusiasm.
Monday, August 18. 2008
Office 2008 Mac Updates and Issues
Microsoft recently release Office 2008 for Mac and since the original release, several updates have come out. They can be found here:
http://www.microsoft.com/mac/downloads.mspx
Office 2008 SP1 is 12.1.0, but updates 12.1.1 and 12.1.2 are also available now. Each of these three updates has given me problems from the actual installer, straight through to actually opening some applications. The most famous of which is that Word won't start and it keeps bouncing back to the "user experience" wizard and then straight Microsoft AutoUpdate checks. Ironic.
First off, if you've used a program like Monolingual to remove the PowerPC binaries, stop right here, remove your Office 2008 folder from Applications and reinstall. Also, make sure you're installing to the default /Applications folder. Don't rename the folder, don't try and modify the installation.
Next, have your CD key ready (you'll need it at the end):
- Reboot the computer
- find any pre-Office 2008 Normal templates. These are just called "Normal" and have no file extension.
- find the 2008 Normal template and delete it. It should be in your user folder under
~/Library/Application Support/Microsoft/Office/User Templates/
- Remove the following folders and files
~/Library/Preferences/Microsoft/Word Settings (10)
~/Library/Preferences/Microsoft/Word Settings (11)
~/Library/Preferences/com.Microsoft.Word.plist
~/Library/Preferences/Microsoft/Office 2008
- Reboot and attempt the 12.1.0 (SP1) Update
- Reboot and attempt the 12.1.1 Update
- Reboot and attempt the 12.1.2 Update
- Reboot and start Word. Office should now ask for your CD key and user information.
I HAD to reboot in between updates. If I didn't, the installer for each update said it couldn't find the existing software to update. I'm not sure what happens on reboots, but I'm almost sure it has to do with caches in OS X. Also, I downloaded each of the installers from the Microsoft website. I didn't use the AutoUpdate. I'm sure it'll work just fine now that I've cleared all of my preferences, but we'll see.
http://www.microsoft.com/mac/downloads.mspx
Office 2008 SP1 is 12.1.0, but updates 12.1.1 and 12.1.2 are also available now. Each of these three updates has given me problems from the actual installer, straight through to actually opening some applications. The most famous of which is that Word won't start and it keeps bouncing back to the "user experience" wizard and then straight Microsoft AutoUpdate checks. Ironic.
First off, if you've used a program like Monolingual to remove the PowerPC binaries, stop right here, remove your Office 2008 folder from Applications and reinstall. Also, make sure you're installing to the default /Applications folder. Don't rename the folder, don't try and modify the installation.
Next, have your CD key ready (you'll need it at the end):
- Reboot the computer
- find any pre-Office 2008 Normal templates. These are just called "Normal" and have no file extension.
- find the 2008 Normal template and delete it. It should be in your user folder under
~/Library/Application Support/Microsoft/Office/User Templates/
- Remove the following folders and files
~/Library/Preferences/Microsoft/Word Settings (10)
~/Library/Preferences/Microsoft/Word Settings (11)
~/Library/Preferences/com.Microsoft.Word.plist
~/Library/Preferences/Microsoft/Office 2008
- Reboot and attempt the 12.1.0 (SP1) Update
- Reboot and attempt the 12.1.1 Update
- Reboot and attempt the 12.1.2 Update
- Reboot and start Word. Office should now ask for your CD key and user information.
I HAD to reboot in between updates. If I didn't, the installer for each update said it couldn't find the existing software to update. I'm not sure what happens on reboots, but I'm almost sure it has to do with caches in OS X. Also, I downloaded each of the installers from the Microsoft website. I didn't use the AutoUpdate. I'm sure it'll work just fine now that I've cleared all of my preferences, but we'll see.
Sunday, August 17. 2008
Windows XP doesn't support WPA2 by default?
I can't believe that at this point Microsoft doesn't have the WPA2 support for Windows XP in the automatic updates. Apparently, they decided this needs to be downloaded separately. Woe is the person who actually needs to set one up on their primary wireless access point. Even with the release of Service Pack 3, this still is not included, even as a rolled in package.
Download it from here if you need it, or scale back to WPA if you want to have decent support for random visitors to your wireless network:
http://support.microsoft.com/kb/917021
Download it from here if you need it, or scale back to WPA if you want to have decent support for random visitors to your wireless network:
http://support.microsoft.com/kb/917021
Thursday, August 14. 2008
Vista terminals
Sadly, I just found out Microsoft no longer includes HyperTerminal in Windows Vista. Actually, the never did, but it was part of Windows since many old years ago. Anyone who's anybody and configures switches, routers, etc, needs a serial port terminal. Unfortunately, serial ports are dying off on most computers. This isn't any late breaking news, especially not for Vista users.
Anyway, go get PuTTY. It's free and does serial terminal emulation, as well as SSH and TELNET. Oh yeah, the default Vista install doesn't include TELNET anymore, but if you need it, it's part of the additional components.
Anyway, go get PuTTY. It's free and does serial terminal emulation, as well as SSH and TELNET. Oh yeah, the default Vista install doesn't include TELNET anymore, but if you need it, it's part of the additional components.
Tuesday, June 17. 2008
Firefox 3 released
Speaking of HTTP errors... Firefox 3 was release about an hour and a half ago. Here's some direct download links for those of you having problems with the main Firefox page:
Windows:
http://download.mozilla.org/?product=firefox-3.0&os=win&lang=en-US
Mac OS X:
http://download.mozilla.org/?product=firefox-3.0&os=osx&lang=en-US
Linux:
http://download.mozilla.org/?product=firefox-3.0&os=linux&lang=en-US
You can apparently also get it without issue/waiting/reloads/HTTP errors/busy servers at Softpedia...
Windows:
http://download.mozilla.org/?product=firefox-3.0&os=win&lang=en-US
Mac OS X:
http://download.mozilla.org/?product=firefox-3.0&os=osx&lang=en-US
Linux:
http://download.mozilla.org/?product=firefox-3.0&os=linux&lang=en-US
You can apparently also get it without issue/waiting/reloads/HTTP errors/busy servers at Softpedia...
Saturday, May 17. 2008
Firefox 3 RC1
Firefox 3 RC1 was just released and boy is it snazzy. So far, I can only see a small increase in page rendering times. Hopefully, after running it for a few more hours, it won't wreak havoc on my RAM and stay at a lean 79MB.
Anywho, it disabled my delicious bookmarks plugin, but you can get one that works with Firefox 3 here:
http://del.icio.us/extensions/firefox/delicious.xpi
Anywho, it disabled my delicious bookmarks plugin, but you can get one that works with Firefox 3 here:
http://del.icio.us/extensions/firefox/delicious.xpi
(Page 1 of 1, totaling 10 entries)

