On Sun, 2006-01-01 at 19:20 -0800, Bob Sanders wrote:
> On Sun, 1 Jan 2006 17:47:19 -0800
> Bob Sanders <[EMAIL PROTECTED]> wrote:
> 
> 
> > It seems that something is not stable with the X server or with the card 
> > drivers.  For now,
> > perhaps forget MythTV and just see if you can get a stable input running 
> > with something like
> > tvtime -
> > 
> > [ N] media-tv/tvtime (0.9.12):  High quality television application for use 
> > with video capture cards.
> > 
> 
> Forget I mentioned tvtime.  It doesn't work with ivtv.  Best one can do is to 
> set the input with 
> ivtvctl, record some test footage - cat /dev/v4l/video0 > test.mpg, then see 
> if it can be
> played back with mplayer.
> 
> Bob
> -  

I've got a little new info on the problem.  I hope it's useful.  Here's
the output of mythbackend:

camille ~ # mythbackend
2006-01-07 18:34:19.847 New DB connection, total: 1
Starting up as the master server.
2006-01-07 18:34:20.087 New DB connection, total: 2
2006-01-07 18:34:20.216 ChannelBase: Could not find input: Television on
card when setting channel 3

2006-01-07 18:34:20.285 New DB scheduler connection
 is defined, but isn't attached to a cardinput.
2006-01-07 18:34:20.627 mythbackend version: 0.18.1.20050510-1
www.mythtv.org
2006-01-07 18:34:20.627 Enabled verbose msgs : important general
2006-01-07 18:34:22.503 Reschedule requested for id -1.
2006-01-07 18:34:22.653 Scheduled 0 items in 0.1 = 0.14 match + 0.01
place
2006-01-07 18:34:22.700 Seem to be woken up by USER
2006-01-07 18:35:15.596 MainServer::HandleAnnounce Playback
2006-01-07 18:35:15.596 adding: camille as a client (events: 0)
2006-01-07 18:35:15.628 Reschedule requested for id -1.
2006-01-07 18:35:15.669 unknown socket
2006-01-07 18:35:15.685 Scheduled 0 items in 0.1 = 0.04 match + 0.02
place

2006-01-07 18:36:08.116 MainServer::HandleAnnounce Playback
2006-01-07 18:36:08.116 adding: camille as a client (events: 0)
2006-01-07 18:36:08.144 Reschedule requested for id -1.
2006-01-07 18:36:08.178 Scheduled 0 items in 0.0 = 0.02 match + 0.01
place
2006-01-07 18:36:08.187 unknown socket
2006-01-07 18:36:26.915 MainServer::HandleAnnounce Playback
2006-01-07 18:36:26.915 adding: camille as a client (events: 0)
2006-01-07 18:36:26.958 MainServer::HandleAnnounce Playback
2006-01-07 18:36:26.959 adding: camille as a client (events: 1)
2006-01-07 18:36:26.983 MainServer::HandleAnnounce Playback
2006-01-07 18:36:26.983 adding: camille as a client (events: 0)
2006-01-07 18:36:27.014 MainServer::HandleAnnounce Playback
2006-01-07 18:36:27.014 adding: camille as a client (events: 0)
2006-01-07 18:36:27.030 adding: camille as a remote ringbuffer
2006-01-07 18:36:27.054 Changing from None to WatchingLiveTV
2006-01-07 18:36:29.247 joined null string in WriteStringList
2006-01-07 18:36:49.422 Changing from WatchingLiveTV to None


And here's the output from mythfrontend:

2006-01-07 18:36:21.401 New DB connection, total: 1
Total desktop width=1024, height=768, numscreens=1
2006-01-07 18:36:21.421 Using screen 0, 1024x768 at 0,0
2006-01-07 18:36:21.445 mythfrontend version: 0.18.1.20050510-1
www.mythtv.org
2006-01-07 18:36:21.445 Enabled verbose msgs : important general
2006-01-07 18:36:21.793 Switching to square mode (G.A.N.T.)
mythtv: could not connect to socket
mythtv: No such file or directory
lirc_init failed for mythtv, see preceding messages
2006-01-07 18:36:22.345 Registering Internal as a media playback plugin.
2006-01-07 18:36:26.835 New DB connection, total: 2
2006-01-07 18:36:26.890 Connecting to backend server: 192.168.1.3:6543
(try 1 of 5)
2006-01-07 18:36:26.906 Using protocol version 15
2006-01-07 18:36:26.974 Using protocol version 15
2006-01-07 18:36:27.198 Disable DPMS
2006-01-07 18:36:28.968 Opening audio device '/dev/dsp'.
2006-01-07 18:36:28.968 Opening OSS audio device '/dev/dsp'.
2006-01-07 18:36:29.013 Using XV port 60
2006-01-07 18:36:29.195 Realtime priority would require SUID as root.
2006-01-07 18:36:29.238 Changing from None to WatchingLiveTV
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
2006-01-07 18:36:29.274 Video timing method: USleep with busy wait
2006-01-07 18:36:30.244 prebuffering pause
2006-01-07 18:36:49.252 ReadStringList timeout (quick).
Remote encoder not responding.
2006-01-07 18:36:49.252 WriteStringList: Bad socket
2006-01-07 18:36:49.253 ReadStringList: Bad socket
Remote encoder not responding.
2006-01-07 18:36:49.253 WriteStringList: Bad socket
2006-01-07 18:36:49.253 ReadStringList: Bad socket
Remote encoder not responding.
ASSERT: "i <= nodes" in /usr/qt/3/include/qvaluelist.h (373)
2006-01-07 18:36:49.268 WriteStringList: Bad socket
2006-01-07 18:36:49.268 ReadStringList: Bad socket
Remote encoder not responding.
2006-01-07 18:36:49.396 Changing from WatchingLiveTV to None
2006-01-07 18:36:49.404 Changing from None to None
2006-01-07 18:36:49.424 Enable DPMS
[EMAIL PROTECTED] ~ $

As I said, I tried setting up the evilwm stuff from the MythTV section
on the Gentoo wiki.  I ran kdm and selected "Custom" and logged in as my
test user.  The screen cleared and then it spit me back out at the kdm
login screen.  I looked at /var/log/kdm.log and everything looks normal
to me:

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.14-gentoo-r5 i686 [ELF]
Current Operating System: Linux camille 2.6.14-gentoo-r5 #1 SMP Sat Jan
7 18:01:38 CST 2006 i686
Build Date: 26 December 2005
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan  7 18:19:55 2006
(==) Using config file: "/etc/X11/xorg.conf"


Here's testuser's .xinitrc/.xsession file (as suggested by the wiki):

camille ~ # cat /home/testuser/.xinitrc
# Merge X resources from ~/.Xdefaults
[ -f $HOME/.Xdefaults ] && xrdb $HOME/.Xdefaults

# Set the background and root cursor shape
xsetroot -solid \#400040
xsetroot -cursor_name top_left_arrow

# Start evilwm - snap to borders within 10 pixels
/usr/bin/evilwm -snap 6 -bw 0 &
wmpid=$!

/usr/X11R6/bin/xset s noblank &
/usr/X11R6/bin/xset s off &
/usr/X11R6/bin/xset -dpms &

# add " -l ~/mythfrontend.log" or " -l /var/log/mythtv/mythfrontend.log"
to have front end logging
mythfrontend &


# sleep makes it so irxevent works
# uncomment these if you don't compile lirc into mythtv
          #(set the lirc USE variable to compile lirc support into
mythtv)
#sleep 3
#irxevent &

# when the window manager exits, allow the X server to be torn down
wait $wmpid


What am I doing wrong here?  Is there even a way to diagnose this?

-- 
gentoo-user@gentoo.org mailing list

Reply via email to