[mythtv-users] TV out on PVR350 using PAL, Fedora 8
Gerald Schepens
schepens at shaw.ca
Tue May 6 13:55:02 UTC 2008
Actually, that's a good point! I do have the console framebuffer
effectively disabled.
grub.conf:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd4,0)
# kernel /vmlinuz-version ro root=/dev/sde2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.24.5-85.fc8)
root (hd0,0)
kernel /vmlinuz-2.6.24.5-85.fc8 ro root=LABEL=/ vga=791 nohz=off
rhgb quiet
initrd /initrd-2.6.24.5-85.fc8.img
title Fedora (2.6.24.4-64.fc8)
root (hd0,0)
kernel /vmlinuz-2.6.24.4-64.fc8 ro root=LABEL=/ vga=791 nohz=off
rhgb quiet
initrd /initrd-2.6.24.4-64.fc8.img
=====================================================================
It's the vga=791 I believe that specifies no console framebuffer.
modprobe.conf:
=====================================================================
alias eth0 b44
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
alias char-major-81-2 ivtv
alias scsi_hostadapter sata_promise
#options ivtvfb osd_compat=1
options ivtv cardtype=2,3 enc_mpg_buffers=16 dec_mpg_buffers=4
enc_pcm_buffers=4
remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1
|| : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
remove snd-mpu401 { /usr/sbin/alsactl store 1 >/dev/null 2>&1
|| : ; }; /sbin/modprobe -r --ignore-remove snd-mpu401
install ivtv { /sbin/modprobe --ignore-install ivtv; /sbin/modprobe
ivtvfb; }
alias net-pf-31 bluez
alias bt-proto-0 l2cap
alias tty-ldisc-15 hci_uart
alias char-major-10-250 hci_vhci
options snd cards_limit=8
alias snd-card-0 snd-intel8x0
options snd-intel8x0 index=0
alias eth1 asix
==================================================================
All of about 3 lines in there that pertain to ivtv...
Xorg.conf:
==================================================================
# Xorg configuration created by livna-config-display
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "TV" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "extmod"
Load "glx"
Load "dbe"
Load "extmod"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
Option "AIGLX" "off"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from data in "/etc/sysconfig/keyboard"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us+inet"
Option "XkbModel" "pc105"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Compaq CPQ TFT5010"
HorizSync 32.0 - 60.0
VertRefresh 57.0 - 85.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "NTSC Monitor"
DisplaySize 183 122
HorizSync 30.0 - 68.0
VertRefresh 50.0 - 120.0
ModeLine "640x400" 23.8 640 735 759 800 400 454 456 497
-hsync -vsync
ModeLine "720x480" 34.6 720 752 840 928 480 484 488 504
-hsync -vsync
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce4 Ti 4200 with AGP8X"
Option "AddARGBGLXVisuals" "True"
EndSection
ection "Device"
# Driver "fbdev"
# get the ID with lspci convert the value from hexa to decimal
# Driver "ivtv"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
Driver "ivtv"
Option "fbdev" "/dev/fb1" # <-- modify if using
another device
Option "VideoOverlay" "on"
Option "XVideo" "1"
Option "AddARGBGLXVisuals" "True"
BusID "PCI:2:11:0"
EndSection
Section "Screen"
# Monitor "PAL Monitor"
Identifier "TV"
Device "Hauppauge PVR 350 iTVC15 Framebuffer"
Monitor "NTSC Monitor"
DefaultDepth 24
DefaultFbBPP 32
SubSection "Display"
# # Modes "720x576"
Depth 24
FbBPP 32
Modes "720x480" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "metamodes" "1024x768 +0+0; 800x600 +0+0; 640x480 +0
+0"
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600"
"640x480"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection
==================================================================
No doubt some of the options and module loads are strictly for the
nVidia card. But this setup works for me -- it makes your TV a monitor
to the right of your regular monitor. In order for any app in the TV
monitor to get focus, you have to mouse over past the right end of your
regular monitor into the second screen. You can't drag and drop apps
between the two screens, but they do share input devices. I suppose if
you had separate mouse and keyboard configured, you could dedicate one
to the main screen and one to the TV, never tried it. It also seems
like the TV X doesn't get updated unless it has focus, though
mythfrontend will still play to the TV-Out even if you are on :0.0.
The IVTV X drivers are required. Your package name for it will vary
depending on your system. Actually, I just can't remember what it was
called! I think it may be xorg-x11-drv-v4l. maybe
xserver-xorg-video-ivtv.
On Tue, 2008-05-06 at 11:00 +0100, Mike Holden wrote:
> Gerald Schepens wrote:
> > If you think there'd be value in seeing details from my modprobe.conf, or
> > my Xorg.conf file, let me know and I'll send them along.
>
> That would be much appreciated, if you could either post them both, or
> send them separately. Thanks. To the list would be better, so anybody else
> who comes across this thread in the future would get the benefit as well.
>
> Also, did you mod the grub.conf to enable fb? Some guides mention a vga
> setting (can't remember the details offhand, and I don't have access to
> the box at the moment).
More information about the mythtv-users
mailing list