Showing posts with label Mythtv. Show all posts
Showing posts with label Mythtv. Show all posts

Saturday, November 29, 2008

Mythtv xv port

You can work around xorg intel tearing issues by specifying the xv port for mplayer, but the internal player has to be patched to ignore the textured video port.  Instead, the latest drivers have an option to disable the textured video port.  See my previous post.

Intel video tearing in XORG

The latest Intel drivers (2:2.4.1-1 at this time) are using the textured video port for playback by default which causes tearing issues.  If your driver supports it, try:

Option "TexturedVideo" false

In your xorg.conf file under the device section.  This should elimate any tearing issues.

Tuesday, November 25, 2008

Mythbuntu MythTV MCE remote back button

Mythbuntu does not have the back button configured on the original MCE remote.  To remedy this, edit ~/.lirc/mythtv

Search for button = back and modify the config line so it says "config = Escape".  If you don't find the back button in the file, then just add:

 begin
    remote = mceusb
    prog = mythtv
    button = Back
    config = Escape
    repeat = 0
    delay = 0
end

Setup lirc with Xe emulator on mythtv and mythbuntu

If you want to be able to exit Xe using a remote see below.   This can also be modified for use with other emulators as well.

Open a shell and go to ~/.lirc/
Create a new file called xe with the following contents:
#xe
begin
remote = mceusb
prog = irexec
button = Back
config = /home/mondo/killxe
mode = irexec
end
Be sure to substitute your remote type, username, and desired button.  Next, edit ~/.lircrc and add
include ~/.lirc/xe

Create ~/killxe with the following contents:
killall -9 xe
killall -9 irexec
Do 
chmod +x ~/killxe
Edit your emulator startup command inside mythtv.  Add
 irexec&;
before your existing command.



Monday, November 24, 2008

Installing Xe Emulator on Ubuntu or Mythbuntu

1.) Install Dependancies
sudo apt-get install libgtk2.0-dev libasound2-dev libXv-dev libXxf86vm-dev

2.) Extract Xe, run the following commands from the Xe directory

make
mkdir /usr/local/lib/xe
mv xe rc modules manual.html /usr/local/lib/xe
ln -sf /usr/local/lib/xe/xe /usr/local/bin/xe

Ubuntu: cannot find -lXxf86vm

/usr/bin/ld: cannot find -lXxf86vm

apt-get install libXxf86vm-dev

Ubuntu: cannot find -lasound

/usr/bin/ld: cannot find -lasound

apt-get install libasound-dev

Ubuntu: cannot find -lXv

/usr/bin/ld: cannot find -lXv
apt-get install libxv-dev