Wednesday, December 23, 2009

Enter SPL mode on HTC Touch / Vogue

Hold camera button, restart phone and hold camera and press power button at the same time.

Tuesday, December 15, 2009

VDPAO acceleration in Fedora

Need binary nVidia drivers first, not Fedora drivers. (kmod-nvidia / xorg-x11-drv-nvidia)

Check with
yum provides */libvdpau.so.1

which leads you to install

yum install libvdpao

current mplayer has libvdpao support

[rmoore@localhost ~]$ mplayer -vo vdpau -vc ffh264vdpau ironman_trlr_02_720p_dl.mov
MPlayer SVN-r29701-4.4.1 (C) 2000-2009 MPlayer Team

Playing ironman_trlr_02_720p_dl.mov.
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xac02db0]max_analyze_duration reached
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO: [H264] 1280x544 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] XVMC-accelerated MPEG-2.
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] XVMC-accelerated MPEG-2.
VDec: vo config request - 1280 x 544 (preferred colorspace: H.264 VDPAU acceleration)
VDec: using H.264 VDPAU acceleration as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1280x544 => 1280x544 H.264 VDPAU acceleration [fs]

Monday, December 14, 2009

Enable deltarpm in Fedora

yum install yum-presto

All future updates/upgrades will download delta's instead of the whole rpm

Thursday, December 10, 2009

Article on Gigabit performance

http://www.enterprisenetworkingplanet.com/nethub/article.php/10950_3485486_2

net.core.wmem_max = 8388608
net.ipv4.tcp_window_scaling = 1
net.core.wmem_default = 65536
net.core.rmem_default = 65536
net.ipv4.tcp_mem = 98304 131072 196608

After testing, I went from:

------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.14 port 5001 connected with 192.168.1.111 port 46281
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 776 MBytes 648 Mbits/sec

to

------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.14 port 5001 connected with 192.168.1.111 port 42455
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-30.0 sec 2.58 GBytes 737 Mbits/sec