[mythtv-users] Question about configuring X for PVR-350

Robert Buchanan Robert.Buchanan at millersville.edu
Thu Mar 24 01:58:13 UTC 2005


Hello,

I (like a few others) from what I can gather am having trouble getting
TV playback through the S-Video TV-out on my PVR-350 card. When I follow
Jarod's guide to configure the card and test it, everything seems to
work OK. I am able to

dd if=/dev/video0 of=/dev/video16 bs=64k

and see TV output, and I can hear the audio. Now I'm checking to make
sure that I have X configured correctly to run on the PVR-350. I think I
have a problem somewhere. X starts up and things look fine on my
computer's LCD display (connected to my video card via a DVI cable). On
the TV screen I see a blank blue screen. Should I be able to move the
mouse cursor onto the TV screen? I can't at present. When I enable
PVR-350 output in the setup/utilities of the mythfrontend and then go to
watch TV, I get an error message about audio rates not matching, the
opprtunity to continue without audio, which I select, and then the
mythfrontend quits on me. When I disable PVR-350 output, I can watch TV
just fine.

What am I doing wrong? I have included some information from my system
below. There is an error message generated by X and configuration info
on the hardware.

Thanks,
Bob Buchanan

# from /var/log/Xorg.0.log
(--) Chipset PVR-350 found
(EE) open /dev/fb0: No such device
(EE) Screen 1 deleted because of no matching config section.
(II) UnloadModule: "ivtvdev"

But I do have a /dev/fb0 device with the following permissions, etc.
# ls -l /dev/fb0
crw-------  1 mythtv root 29, 0 Feb 23  2004 /dev/fb0

I have checked the output of /var/log/messages to see which frame buffer
is being grabbed.
# cat /var/log/messages | grep iTVC15
Mar 22 21:36:15 localhost kernel: ivtv: Found an iTVC15 based chip
Mar 22 21:36:18 localhost kernel: ivtv-osd: fb0: iTVC15 TV out frame
buffer device

I have checked the bus-id of my PVR-350 card.
# lspci -v
2:06.0 Multimedia video controller: Internext Compression Inc iTVC15
MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc. WinTV PVR-350
        Flags: bus master, medium devsel, latency 64, IRQ 217
        Memory at e4000000 (32-bit, prefetchable)
        Capabilities: [44] Power Management version 2

I used this information to customize my xorg.conf file. Did I understand
what
to modify correctly? Here is my xorg.conf:
# Xorg configuration created by system-config-display

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name
of the 
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
	Load  "dri"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier "fake Keyboard driver"
	Driver "void"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
	Identifier "fake Mouse driver"
	Driver "void"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "LCD Panel 1280x1024"
	HorizSync    31.5 - 67.0
	VertRefresh  50.0 - 75.0
	Option	    "dpms"
EndSection

Section "Monitor"
	Identifier  "NTSC Monitor"
	HorizSync  30-68
	VertRefresh 50-120
	Mode "720x480"
		# 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
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "radeon"
	VendorName  "Videocard vendor"
	BoardName   "ATI Radeon 9600"
EndSection

Section "Device"
	Identifier  "Hauppauge PVR 350 iTVC15 Framebuffer"
	Driver	"ivtvdev"
	Option  "fbdev" "/dev/fb0"      # <-- modify if using another device
	Option  "ivtv" "/dev/fb0"       # <-- modify if using another device
	BusID "PCI:2:6:0"               # <-- obtain from lspci
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x1024" "1280x960" "1152x864" "1024x768"
"800x600"
"640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier  "TV Screen"
	Device      "Hauppauge PVR 350 iTVC15 Framebuffer"
	Monitor     "NTSC Monitor"            # <-- select for NTSC
	DefaultDepth 24
	DefaultFbbpp 32
	Subsection "Display"
		Depth 24
		FbBpp 32
		Modes "720x480"               # <-- select for NTSC
	EndSubsection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "Screen0" 0 0
	Screen	    1  "TV Screen" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection



More information about the mythtv-users mailing list