MX440 tv-out howto xorg.conf

I was just helping my father-in-law-to-be to install MythTV on his old computer to run through his TV. It took quite a while to get the computer (with an AGP MX440) to get running under ubuntu through the TV, but we did it in the end. Read on for details.

Here is the XOrg config file:

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

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

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

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

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

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

Section "Device"
Identifier "MX440"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "UseFBDev" "true"
Option "TwinView" "True"
Option "TwinViewOrientation" "Clone"
Option "ConnectedMonitor" "CRT,TV"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
#Option "MetaModes" "1280×1024, 640×480; 1024×768, 640×480; 800×600, 640×480; 640×480, 640×480;"
Option "MetaModes" "800×600,800×600;"
Option "TVStandard" "PAL-I"
Option "Xinerama" "0"
# Option "UseInt10Module" "true"

EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-38
VertRefresh 43-72
EndSection

Section "Screen"
Identifier "Default Screen"
Device "MX440"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "800×600" "640×480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800×600" "640×480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800×600" "640×480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800×600" "640×480"
EndSubSection
SubSection "Display"
Depth 16
Modes "800×600" "640×480"
EndSubSection
SubSection "Display"
Depth 24
Modes "800×600" "640×480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection

Not quite sure why but I had to disable the int10 thing. Ubuntu seems to have a bug that won’t let it load. Also, I could not get it running on monitor and tv at same time, but it was only the TV we wanted anyway, so shrugs meh.

Currently we are installing MythTV, wish us luck! I’m not even sure if the freeview (DVB-T in the UK) card I gave him works…

If this post helps you (or if it doesn’t…), please leave a message.

Bookmark and Share

Leave a Reply