[mythtv-users] ivtv-fb freezes my Mythtv system after loading -
please help
G.J. Werler
gjwerler at zonnet.nl
Sat Dec 4 15:40:53 UTC 2004
(Sorry if this message pops up twice in the list but I don't see my
message posted yesterday.)
I'm having lots of troubles getting my X on TV out of the Hauppage 350
to work. After loading the ivtv-fb the system freezes.
That is:
- When I boot the system without X and load the ivtv-fb module the
console freezes. I get some text output of the ivtv driver on the screen.
- When I boot the system with X, I can load the ivtv-fb driver but it
doesn't work. (no X on the tv-out) and when I try to logout X, shutdown,
reboot etc. the system freezes after it has closed X.
ivtv does work (I think) because I can capture video on the Hauppauge
350. I'm also able to play it on the tv screen with:
dd if=test.mpg of=/dev/video16 bs=64k
but the ivtv-fb drives me crazy
I'm using the ivtv drivers installed with apt-get (instructions on
Jarod's page)
Can some-one please help? What can I try? ivtv 0.2?
Regards,
Gerrit Jan Werler
(www.mythtvportal.com)
Here is some aditional info of the system status:
===================================
OS: Fedora Core 2 Kernel 2.6.9-1.6_FC2
ivtv 0.1.10-48.3_pre2_ck100zz
I have tried add video=vc:0-0 like suggested in the ivtv-fb.c
grub.conf:
title Fedora Core (2.6.9-1.6_FC2) Video
root (hd0,0)
kernel /vmlinuz-2.6.9-1.6_FC2 ro root=LABEL=/ rhgb quiet video=vc:0-0
initrd /initrd-2.6.9-1.6_FC2.img
but nothing changes.
My modprobe.conf looks like this:
alias snd-card-0 snd-atiixp
alias char-major-61 lirc_i2c
install snd-atiixp /sbin/modprobe --ignore-install snd-atiixp &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-atiixp { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; };
/sbin/modprobe -r --ignore-remove snd-atiixp
alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd
alias eth0 3c59x
# ivtv modules setup
alias char-major-81 videodev
alias char-major-81-0 ivtv
#install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb
install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install
lirc_i2c
When I remove the '#' before the "install ivtv /sbin/modprobe
--ignore-install ivtv; /sbin/modprobe ivtv-fb" the system freezes after
booting and loading ivtv-fb
Messages after modprobe command:
> Dec 3 19:10:27 localhost kernel: ivtv-osd: Framebuffer module loaded
(attached to ivtv card id 0)
> Dec 3 19:10:28 localhost kernel: ivtv-osd: Framebuffer is at
decoder-relative address 0x00510000 and has 1704960 bytes.
> Dec 3 19:10:28 localhost kernel: ivtv-osd: screen coords: [0 0] ->
[720 576]
> Dec 3 19:10:28 localhost kernel: ivtv-osd: original global alpha = 208
> Dec 3 19:10:28 localhost kernel: ivtv-osd: current OSD state = 39
> Dec 3 19:10:28 localhost kernel: ivtv-osd: new global alpha = 208 (1
255 0)
> Dec 3 19:10:28 localhost kernel: ivtv-osd: Good video_base is inside
valid allocated space.
> Dec 3 19:10:29 localhost kernel: ivtv-osd: framebuffer at 0xf1510000,
mapped to 0x1eb80000, size 1620k
> Dec 3 19:10:29 localhost kernel: ivtv-osd: mode is 720x576x32,
linelength=2880
> Dec 3 19:10:29 localhost kernel: Console: switching to colour frame
buffer device 90x36
> Dec 3 19:10:29 localhost kernel: ivtv-osd: fb0: iTVC15 TV out frame
buffer device
After this I exit the root terminal in X and shutdown the system with te
menu:
Messages in /var/log/messages:
> Dec 3 19:10:45 localhost su(pam_unix)[2702]: session closed for user
root (loged out the root user in de terminal window)
> Dec 3 19:10:53 localhost gconfd (mythtv-2677): Received signal 1,
shutting down cleanly
> Dec 3 19:10:53 localhost gconfd (mythtv-2677): Exiting
> Dec 3 19:11:07 localhost sshd(pam_unix)[2764]: session opened for
user root by (uid=0) (ssh-ed into the system)
Nothing strange I guess?
Hardware config:
# Asus Pundit-R (P4R8L Motherboard)
# Chipset ATI RS300/IXP200
# Intel Celeron D socket 478 2.4GHz / 533
# Transcend JETRAM 512MB DDR400 CL2.5 (64MX64)
# ATI Radeon 9100 integrated graphics
# 5.1 Sound ADI AD1888
# 10/100 Mbps Integrated (ATI IXP200 integrated MAC + RealTek? 8201BL PHY)
# Samsung 160GB Serial ATA-150 7200rpm 8MB (Fluid Dynamic Bearing) (I
had to buy a longer S-ATA cable because the included cable was to short)
# Hauppauge WinTV PVR 350 Model 988 (988 is the Pal version. If you want
NTSC you need the 990 version)
# LG GDR-8163B 16X DVD ROM 48X CD-ROM IDE OEM Access time 98msec Buffer
Memory 256KB
lsmod after loading ivtv-fb
[root at localhost <mailto:root at localhost> tmp]# lsmod
Module Size Used by
ivtv_fb 22800 1
snd_atiixp 20713 0
snd_ac97_codec 64529 1 snd_atiixp
snd_pcm 98761 1 snd_atiixp
snd_timer 30021 1 snd_pcm
snd_page_alloc 9801 2 snd_atiixp,snd_pcm
snd 54949 4 snd_atiixp,snd_ac97_codec,snd_pcm,snd_timer
soundcore 10145 1 snd
msp3400 22440 0
saa7127 10780 0
saa7115 11032 0
tuner 18669 0
tveeprom 9652 0
ivtv 782180 1 ivtv_fb
i2c_algo_bit 8521 1 ivtv
i2c_core 22209 6 msp3400,saa7127,saa7115,tuner,tveeprom,i2c_algo_bit
videodev 9537 1 ivtv
md5 4161 1
ipv6 237569 14
parport_pc 24577 1
lp 11565 0
parport 42249 2 parport_pc,lp
autofs4 24261 0
ds 17221 2
yenta_socket 18881 0
pcmcia_core 60937 2 ds,yenta_socket
sunrpc 161701 1
3c59x 36713 0
sg 32609 0
microcode 6497 0
sd_mod 16449 0
scsi_mod 119697 2 sg,sd_mod
vfat 15041 0
fat 45793 1 vfat
xfs 523057 1
dm_mod 55253 0
ohci_hcd 22353 0
ehci_hcd 31685 0
button 6609 0
battery 8645 0
ac 4933 0
ext3 121033 2
jbd 75481 1 ext3
xorg.conf
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
# Screen 0 "TV Screen"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
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"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
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 "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Compaq Presario MV700 Color Monitor"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 100.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon 9100"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Monitor"
Identifier "PAL Monitor"
HorizSync 30-68
VertRefresh 50-120
Mode "720x576" #Obtained from fbset -fb /dev/fb0 -x
# D: 41.475 MHz, H: 44.693 kHz, V: 74.488 Hz
DotClock 41.476
HTimings 720 752 840 928
VTimings 576 580 584 600
Flags "-HSync" "-VSync"
EndMode
EndSection
Section "Device"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
Driver "ivtvdev"
Option "fbdev" "/dev/fb0" # <-- Then fb from dmesg, most likely the same
BusID "00:02:09" # <-- obtained from lspci, as hex
EndSection
Section "Screen"
Identifier "TV Screen"
Device "Hauppauge PVR 350 iTVC15 Framebuffer"
Monitor "PAL Monitor"
DefaultDepth 24
DefaultFbbpp 32
Subsection "Display"
Depth 24
FbBpp 32
Modes "720x576"
EndSubsection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
==============================================================================
[root at localhost <mailto:root at localhost> tmp]# dmesg | grep "ivtv-osd: fb"
ivtv-osd: fb0: iTVC15 TV out frame buffer device
[root at localhost <mailto:root at localhost> tmp]# lspci
00:00.0 Host bridge: ATI Technologies Inc: Unknown device 5833 (rev 02)
00:01.0 PCI bridge: ATI Technologies Inc: Unknown device 5838
00:13.0 USB Controller: ATI Technologies Inc: Unknown device 4347 (rev 01)
00:13.1 USB Controller: ATI Technologies Inc: Unknown device 4348 (rev 01)
00:13.2 USB Controller: ATI Technologies Inc: Unknown device 4345 (rev 01)
00:14.0 SMBus: ATI Technologies Inc ATI SMBus (rev 18)
00:14.1 IDE interface: ATI Technologies Inc: Unknown device 4349
00:14.3 ISA bridge: ATI Technologies Inc: Unknown device 434c
00:14.4 PCI bridge: ATI Technologies Inc: Unknown device 4342
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP150 AC'97
Audio Controller
01:05.0 VGA compatible controller: ATI Technologies Inc: Unknown device
5834
02:08.0 Ethernet controller: 3Com Corporation 3Com 3C920B-EMB-WNM
Integrated Fast Ethernet Controller (rev 40)
02:09.0 Multimedia video controller: Internext Compression Inc iTVC15
MPEG-2 Encoder (rev 01)
02:0a.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev 80)
02:0c.0 CardBus bridge: ENE Technology Inc CB710 Cardbus Controller (rev
02)
02:0c.1 FLASH memory: ENE Technology Inc CB710 Memory Card Reader Controller
More information about the mythtv-users
mailing list