Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73966 - ivtv-0.2.0-rc3 and xorg-6.8.0-r3 dual head not working
Summary: ivtv-0.2.0-rc3 and xorg-6.8.0-r3 dual head not working
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL: http://ivtv.sourceforge.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-09 17:02 UTC by Jesse Adelman
Modified: 2005-04-26 16:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Example of dmesg output using single-head xorg.conf (good-dmesg.out,15.14 KB, text/plain)
2004-12-09 17:06 UTC, Jesse Adelman
Details
The "good" xorg.conf (single-head) (xorg.conf.20041208-02,1.69 KB, text/plain)
2004-12-09 17:07 UTC, Jesse Adelman
Details
An example "bad" dmesg-01 (dmesg-20041208-01.out,14.86 KB, text/plain)
2004-12-09 17:08 UTC, Jesse Adelman
Details
An example "bad" dmesg-02 (bad-dmesg-01.out,14.46 KB, text/plain)
2004-12-09 17:08 UTC, Jesse Adelman
Details
An example "bad" dmesg-03 (dmesg-20041208-01.out,14.86 KB, text/plain)
2004-12-09 17:09 UTC, Jesse Adelman
Details
The "bad" xorg.conf (dual-head) (xorg.conf.20041208-01,2.38 KB, text/plain)
2004-12-09 17:10 UTC, Jesse Adelman
Details
The "bad" xorg.conf (nv drivers; dual-head) (xorg.conf.20041210-01.nv,2.37 KB, text/plain)
2004-12-10 16:07 UTC, Jesse Adelman
Details
An example "bad" dmesg-04 (with nv driver) (dmesg-bad.nv.20041210-01,14.85 KB, text/plain)
2004-12-10 16:09 UTC, Jesse Adelman
Details
An example "bad" dmesg-05 (with nv driver; after reboot) (dmesg-20041210-02.nv-with-reboot.out,14.96 KB, text/plain)
2004-12-10 16:09 UTC, Jesse Adelman
Details
An example "bad" Xorg.0.log (nv drivers; after reboot) (Xorg.0.log.nv-20041210-01,34.36 KB, text/plain)
2004-12-10 16:10 UTC, Jesse Adelman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Adelman 2004-12-09 17:02:59 UTC
Hi. I've got a Shuttle SN41G2V2 with a Hauppague PVR350 and a Geforce4 MMX 440 on-board video card. I'm using gentoo-dev-sources-2.6.9-r9, and xorg-x11-6.8.0-r3. I have just installed ivtv-0.2.0-rc3. I use MythTV 0.16 as my frontend application. It works with a single-headed xorg.conf, but not in a dual-headed configuration  (non-XINERAMA). I'll attach three example dmesgs - two with the bug, and one without. I'll also attach the working and non-working xorg.confs.

Some observations:
* When the system is in the bad state (no X output on PVR-350), the load average steadily climbs from about 1.50 to 11.25, and remains there (unless the box freezes, which often happens).
* This behaviour did not occour with 0.1.9-r4.
* I have only installed software from Portage - no externally-built software (except the kernel) is on this machine.
* When running in single-head mode, the ivtv OSD is slow to refresh (mythtv OSDs move in a staccato way as they move and fade off of the screen).

Thanks. I'll help in any way I can to resolve this (short of attaching my paycheck ;) ).

Reproducible: Always
Steps to Reproduce:
1. Install ivtv-0.2.0-rc3
2. Activate Xorg with dual-headed configuration
3. Use two different cards with two different drivers

Actual Results:  
<see files attached to this bug>

Expected Results:  
Worked as before with ivtv-0.1.9-r4

Gentoo Base System version 1.4.16
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
 2.6.9-gentoo-r6 i686)
=================================================================
System uname: 2.6.9-gentoo-r6 i686 AMD Athlon(tm) XP 1600+
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2
/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /
usr/kde/3/share/config /usr/share/config /var/qmail/control /var/www/localhost/h
tdocs//mythweb/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.binarycompass.org http://mirror.tucdemonic.org/gen
too/ http://cudlug.cudenver.edu/gentoo/"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://homeserver-02/gentoo-portage"
USE="3dnow X acpi acpi4linux alsa apache2 apm avi berkdb bitmap-fonts cdparanoia
 cdr chroot crypt cscope cups dga divx4linux dnd dv dvd dvdr dvdread encode esd 
ethereal evms2 f77 fam fastcgi ffmpeg flac foomaticdb fortran freetype gcj gd gd
bm gif gphoto2 gpm gtk gtk2 hardenedphp imagemagick imlib java jce jdepend jikes
 joystick jp2 jpeg jsch lcd lcms libg++ libwww lirc live lm_sensors lzo lzw lzw-
tiff mad maildir matroska mikmod mime mmx mng motif mpeg mysql mythtv nagios-dns
 nagios-ntp nagios-ping nagios-ssh ncurses net nls nptl offensive oggvorbis open
gl optional-tasks oro oscar oss pam pcap pcre pdflib perl php png python qt quic
ktime readline regexp rtc ruby samba sdl silc slang slp snmp soap sockets spell 
sse ssl svg svga tcpd tga theora tiff transcode truetype unicode usb v4l v4l2 vh
osts wmf x86 xalan xchatnogtk xchattext xerces xfs xine xinerama xml xml2 xmlrpc
 xmms xpm xv xvid yahoo yv12 zlib"
Comment 1 Jesse Adelman 2004-12-09 17:06:24 UTC
Created attachment 45648 [details]
Example of dmesg output using single-head xorg.conf
Comment 2 Jesse Adelman 2004-12-09 17:07:32 UTC
Created attachment 45649 [details]
The "good" xorg.conf (single-head)
Comment 3 Jesse Adelman 2004-12-09 17:08:26 UTC
Created attachment 45650 [details]
An example "bad" dmesg-01
Comment 4 Jesse Adelman 2004-12-09 17:08:57 UTC
Created attachment 45651 [details]
An example "bad" dmesg-02
Comment 5 Jesse Adelman 2004-12-09 17:09:36 UTC
Created attachment 45652 [details]
An example "bad" dmesg-03
Comment 6 Jesse Adelman 2004-12-09 17:10:28 UTC
Created attachment 45653 [details]
The "bad" xorg.conf (dual-head)
Comment 7 Jesse Adelman 2004-12-09 18:43:34 UTC
Gah... should read "xorg-x11-6.8.0-r3", not "-r4". Sorry.
Comment 8 Brian Jackson (RETIRED) gentoo-dev 2004-12-09 22:05:43 UTC
Okay, I talked to the Gentoo x guy(s) on this. They suggested you try with the regular nv module instead of the nvidia module. I don't know much about non-xinerama dual head setups, so I'm kind of flying blind here.
Comment 9 Jesse Adelman 2004-12-09 22:17:01 UTC
Thank you, Brian. I'll do it tomorrow, as my s.o. and I are watching TV ;).
Comment 10 Jesse Adelman 2004-12-10 16:07:36 UTC
Created attachment 45707 [details]
The "bad" xorg.conf (nv drivers; dual-head)
Comment 11 Jesse Adelman 2004-12-10 16:09:08 UTC
Created attachment 45708 [details]
An example "bad" dmesg-04 (with nv driver)
Comment 12 Jesse Adelman 2004-12-10 16:09:50 UTC
Created attachment 45709 [details]
An example "bad" dmesg-05 (with nv driver; after reboot)
Comment 13 Jesse Adelman 2004-12-10 16:10:53 UTC
Created attachment 45710 [details]
An example "bad" Xorg.0.log (nv drivers; after reboot)
Comment 14 Jesse Adelman 2004-12-10 16:14:25 UTC
OK, tried the nv drivers, with similar results to the proprietary nvidia drivers. At least today I've captured an actual kernel oops in a dmesg output file (if that's any help). It really appears to be a problem with ivtv-fb, but that's just a guess.
Comment 15 Jesse Adelman 2005-04-21 23:55:36 UTC
This bug screams too much, especially since it is an "edge case" problem - downgrading from "Critical" to "Normal". There are new versions of ivtv, both 0.2 (stable) and 0.3 (devel), which might fix this issue. http://www.ivtv.tv/ is Chris Kennedy's new site. I just sent him a big box of black tape for his skateboard, so maybe it's time for a version bump in Portage ;)?
Comment 16 Brian Jackson (RETIRED) gentoo-dev 2005-04-26 16:35:56 UTC
maybe we can revisit this for later when the ivtv drivers grow up a little bit

Also there has been some work recently on yuv decoding, so there may be some ivtvdev X driver changes coming soon