Saturday, December 8, 2007

ape in bmp and audacious

http://ubuntuforums.org/showthread.php?t=52785
http://hi.baidu.com/ilmhy/blog/item/0427ff13f70d1f015baf5309.html
http://ftp.br.freebsd.org/distfiles/bmp-mac-0.1.1.tar.gz

Edit: bmp works but audacious doesn't (with ape), the audacious lyriczilla plugin wasn't found either.
For rhythmbox, the gstreamer mac plugin is still at version 0.8, it need to be updated to 1.0 to be used.

Edit2: http://ubuntuforums.org/showthread.php?p=3716721 update audacious to 1.4.3
http://www.netswarm.net/misc/ update audacious-mac plugin to 0.3.10
now audacious seems to play most ape files, but it still has a weird problem, the playlist window will follow the movement of mouse without clicking on it.

alsa

http://episteme.arstechnica.com/eve/forums/a/tpc/f/96509133/m/645003958831

I'm trying to configure alsa to work with the Chaintech AV-710 flashed to AudioTrak Prodigy 7.1 card, but no luck so far. Above is the thread I'm looking at now.

Edit: somehow, it just works now, but problem is it go through dmix so it is not bit perfect any more. To play music bit-perfect, I need to set the 'sound' in system->preferences to ICE1724 IEC958 (gstreamer?), and software that use the default system sound will go to the device directly.

vino and x11vnc

http://ubuntuforums.org/showthread.php?t=45565
I followed this howto because vino does not support clipboard syncing. Somehow, I encoutered problem that the client does not update after x11vnc is used, I replied to the thread, hopefully somebody can help.

Edit: turns out I need to call x11vnc with -noxdamage option.

Thursday, December 6, 2007

xorg.conf

Here is my /etc/X11/xorg.conf file:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"

# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
Identifier "Default Layout"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"
EndSection

Section "Module"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "DesktopSetup" "horizontal"
Option "Capabilities" "0x00000800"
Option "PairModes" "1440x900+1280x720"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1440x900" "1280x720"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Disable"
EndSection

flgrx config

http://wiki.cchtml.com/index.php/Ubuntu_Gutsy_Installation_Guide#Method_2:_Install_the_Catalyst_7.11_Driver_Manually
Follow method 2 to install the latest fglrx driver.

Ubuntu

I decided to use Ubuntu instead of Gentoo for my htpc. This blog will keep track of all the problems and findings along the way.