Monday, July 28, 2008

Metapixel creation in Linux

yum install metapixel - it is in the repositories

Create library

metapixel-prepare -r /data/pictures /data/pictures/metapixel_library

Create metapixel

-s 2 - scale original image x2
-a 30 - cheat with 30% overlay of original image - gives better results
-l - library directory

for i in ~/Pictures/develop/8x8book4/2008/*; do echo $i; metapixel -s 2 -a 30 -l ../metapixel_2007 --metapixel $i meta2007_`date +%H%M%S`.jpg;done

Saturday, July 26, 2008

xmame defaults

These are the defaults for ~/.xmame/xmamerc

vidmod 2
fullscreen 1
rompath /media/disk/roms
defaultgame suprmrio
language english
skip_gameinfo 1

opengl, fullscreen, and rom path

Wednesday, July 16, 2008

VMWare and Activesync

I can not get away from Windows because of Activesync on my PDA. So I still have it in a virutal machine for that reason. To stop the flaky connectivity between usb and pda, on the pda (HTC device using WM6) you have to set

- go to settings/connections
- Choose "usb to pc"
- Disable the "Enable advanced network functionality"
- Reconnect PDA as a usb device in vmware.

Monday, July 14, 2008

Sound plays too fast in Fedora 9

It seems after a system update, ALL sound in Fedora started playing faster... almost like a chipmunk sound... turns out it is a problem with my onboard sound driver(Intel 8xO). Added this to my /etc/modprobe.d/soundcard and everything is back to normal after restart

options snd-intel8x0 ac97_clock=0

This is the card found in my dmesg

ALSA sound/pci/ac97/ac97_codec.c:2120: AC'97 0 analog subsections not ready
intel8x0_measure_ac97_clock: measured 50911 usecs
intel8x0: measured clock 216 rejected
intel8x0: clocking to 48000

No need to update alsa-libs, alsa-utils, etc. Just added the one line and audacious (xmms), mplayer and rhythmbox speed all returned to normal speed.