Ubuntu, MythTV and Hauppauge PVR350

Steelerz37

Senior member
Feb 15, 2003
693
0
0
Does anyone know how to setup Tv Out under Ubuntu, Breezy, with a Hauppauge PVR350? I had it working with Fedora but decided to move to Ubuntu since I had a few things I wanted to change. Now I am stuck at this point. I have IVTV installed (0.4.4) and working, MythTV, and MySQL are all functioning properly. So I have a working setup minus the TV Out.
I have been following this guide:
http://hyams.webhop.net/mythtv/myth_ubuntu.html

And it doesnt talk about the TV out at all though. And I have tried to adapt Wilson's guide, but its to easy, a single command installs it if I remember correctly, and doesnt apply to Ubunut. Any help would be much appreciated.
 

Steelerz37

Senior member
Feb 15, 2003
693
0
0
well i managed to get the pvr350 to grab a framebuffer. I took a break after that so I havent been able to mess with it anymore. I'm thinking now its just a matter of getting my xorg.conf configured correctly. Would I get a X server error if I changed the xorg.conf to use the pvr's tvout but didnt actually connect to the tv? I dont have an easy way of doing that where I'm at but I suppose I will have to do it eventually
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Not sure.

What I do is that you can setup multiple "ServerLayout" in your X.org configuration.

So you can have 2 or more sets of everything.. like a config and monitor/video card configuration for one way, but then a second set of stuff for a second layout.

So you can use the default one for your login manager then start up a second on by going from a textmode console
startx -- -layout layoutname :1

I did that when I would game on 2 monitors. I would have a default dual monitor setup for my desktop, then a second single monitor setup that I'd play full screen games on.

A example is at http://www.linux-1u.net/X11/leog.net.topic.asp.html

Then on your normal desktop you can then open a xterm and go:
export DISPLAY=:1

and then any program you start up in that xterm then it will output into your second setup. You should be able to switch between them by going ctrl-alt-F8 and ctrl-alt-F7
 

Steelerz37

Senior member
Feb 15, 2003
693
0
0
Ok, I am making progress. When I use this server layout:

# Dual head layout (two separate X displays)

Section "ServerLayout"
Identifier "DualLayout"
Screen 0 "IntScreen2"
Screen 1 "ExtScreen2" LeftOf "IntScreen2"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

along with the rest of my xorg.conf file, my main desktop on my CRT does not respond. The Gnome loading window comes up but the bars never load. So i commented out Screen 1 and it worked fine. Below if the rest of my xorg.conf Maybe you can see whats causing it. I didnt have a s-video cable to check the TV-out unfortunatly, hopefully I can grab one this afternoon.


EDIT: The TV-Out on the PVR350 is working with the below xorg.conf, notably the server layout. So, now what I am hoping to do is be able to have my PC monitor working while the TV out is working. If this is not possible thats fine, its a simple change to make it work, but it would be very conveinient, and seems possible.

# /etc/X11/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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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 "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

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

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

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

Section "Device"
Identifier "Silicon Integrated Systems (SiS) SiS Default Card"
Driver "sis"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "PVR350"
Driver "ivtvdev"
Option "fbdev" "/dev/fb1"
Option "VideoOverlay" "on"
Option "XVideo" "1"
BusID "PCI:0:09:0"
EndSection

Section "Monitor"
Identifier "PC"
Option "DPMS"
HorizSync 28-40
VertRefresh 43-60
EndSection

Section "Monitor"
# Modes "720x480" "620x480"
# D: 34.563 MHz, H: 37.244 kHz, V: 73.897 Hz
# DotClock 34.564
# HTimings 720 752 840 928
# VTimings 480 484 488 504
# Flags "-HSync" "-VSync"
# EndMode
Identifier "NTSC Monitor"
HorizSync 30.0 - 68.0
VertRefresh 50.0 - 120.0
EndSection


Section "Screen"
Identifier "Screen0"
Device "Silicon Integrated Systems (SiS) SiS Default Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "PVR350"
Monitor "NTSC Monitor"
DefaultDepth 24
DefaultFbbpp 32
Subsection "Display"
Depth 24
FbBpp 32
Modes "720x480"
EndSubsection
EndSection


# Dual head layout (two separate X displays)
Section "ServerLayout"
Identifier "DualLayout"
# Screen 0 "Screen0"
Screen 0 "Screen1" #NTSC Monitor
# Screen 1 "Screen1" LeftOf "Screen0"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection


Section "DRI"
Mode 0666
EndSection