Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: OT - Need MythTV setup help (resend)
Date: Sun, 08 Jan 2006 00:46:54
Message-Id: 1136680929.9948.4.camel@camille.espersunited.com
In Reply to: Re: [gentoo-user] Re: OT - Need MythTV setup help (resend) by Bob Sanders
1 On Sun, 2006-01-01 at 19:20 -0800, Bob Sanders wrote:
2 > On Sun, 1 Jan 2006 17:47:19 -0800
3 > Bob Sanders <rmsand@××××××××××.net> wrote:
4 >
5 >
6 > > It seems that something is not stable with the X server or with the card drivers. For now,
7 > > perhaps forget MythTV and just see if you can get a stable input running with something like
8 > > tvtime -
9 > >
10 > > [ N] media-tv/tvtime (0.9.12): High quality television application for use with video capture cards.
11 > >
12 >
13 > Forget I mentioned tvtime. It doesn't work with ivtv. Best one can do is to set the input with
14 > ivtvctl, record some test footage - cat /dev/v4l/video0 > test.mpg, then see if it can be
15 > played back with mplayer.
16 >
17 > Bob
18 > -
19
20 I've got a little new info on the problem. I hope it's useful. Here's
21 the output of mythbackend:
22
23 camille ~ # mythbackend
24 2006-01-07 18:34:19.847 New DB connection, total: 1
25 Starting up as the master server.
26 2006-01-07 18:34:20.087 New DB connection, total: 2
27 2006-01-07 18:34:20.216 ChannelBase: Could not find input: Television on
28 card when setting channel 3
29
30 2006-01-07 18:34:20.285 New DB scheduler connection
31 is defined, but isn't attached to a cardinput.
32 2006-01-07 18:34:20.627 mythbackend version: 0.18.1.20050510-1
33 www.mythtv.org
34 2006-01-07 18:34:20.627 Enabled verbose msgs : important general
35 2006-01-07 18:34:22.503 Reschedule requested for id -1.
36 2006-01-07 18:34:22.653 Scheduled 0 items in 0.1 = 0.14 match + 0.01
37 place
38 2006-01-07 18:34:22.700 Seem to be woken up by USER
39 2006-01-07 18:35:15.596 MainServer::HandleAnnounce Playback
40 2006-01-07 18:35:15.596 adding: camille as a client (events: 0)
41 2006-01-07 18:35:15.628 Reschedule requested for id -1.
42 2006-01-07 18:35:15.669 unknown socket
43 2006-01-07 18:35:15.685 Scheduled 0 items in 0.1 = 0.04 match + 0.02
44 place
45
46 2006-01-07 18:36:08.116 MainServer::HandleAnnounce Playback
47 2006-01-07 18:36:08.116 adding: camille as a client (events: 0)
48 2006-01-07 18:36:08.144 Reschedule requested for id -1.
49 2006-01-07 18:36:08.178 Scheduled 0 items in 0.0 = 0.02 match + 0.01
50 place
51 2006-01-07 18:36:08.187 unknown socket
52 2006-01-07 18:36:26.915 MainServer::HandleAnnounce Playback
53 2006-01-07 18:36:26.915 adding: camille as a client (events: 0)
54 2006-01-07 18:36:26.958 MainServer::HandleAnnounce Playback
55 2006-01-07 18:36:26.959 adding: camille as a client (events: 1)
56 2006-01-07 18:36:26.983 MainServer::HandleAnnounce Playback
57 2006-01-07 18:36:26.983 adding: camille as a client (events: 0)
58 2006-01-07 18:36:27.014 MainServer::HandleAnnounce Playback
59 2006-01-07 18:36:27.014 adding: camille as a client (events: 0)
60 2006-01-07 18:36:27.030 adding: camille as a remote ringbuffer
61 2006-01-07 18:36:27.054 Changing from None to WatchingLiveTV
62 2006-01-07 18:36:29.247 joined null string in WriteStringList
63 2006-01-07 18:36:49.422 Changing from WatchingLiveTV to None
64
65
66 And here's the output from mythfrontend:
67
68 2006-01-07 18:36:21.401 New DB connection, total: 1
69 Total desktop width=1024, height=768, numscreens=1
70 2006-01-07 18:36:21.421 Using screen 0, 1024x768 at 0,0
71 2006-01-07 18:36:21.445 mythfrontend version: 0.18.1.20050510-1
72 www.mythtv.org
73 2006-01-07 18:36:21.445 Enabled verbose msgs : important general
74 2006-01-07 18:36:21.793 Switching to square mode (G.A.N.T.)
75 mythtv: could not connect to socket
76 mythtv: No such file or directory
77 lirc_init failed for mythtv, see preceding messages
78 2006-01-07 18:36:22.345 Registering Internal as a media playback plugin.
79 2006-01-07 18:36:26.835 New DB connection, total: 2
80 2006-01-07 18:36:26.890 Connecting to backend server: 192.168.1.3:6543
81 (try 1 of 5)
82 2006-01-07 18:36:26.906 Using protocol version 15
83 2006-01-07 18:36:26.974 Using protocol version 15
84 2006-01-07 18:36:27.198 Disable DPMS
85 2006-01-07 18:36:28.968 Opening audio device '/dev/dsp'.
86 2006-01-07 18:36:28.968 Opening OSS audio device '/dev/dsp'.
87 2006-01-07 18:36:29.013 Using XV port 60
88 2006-01-07 18:36:29.195 Realtime priority would require SUID as root.
89 2006-01-07 18:36:29.238 Changing from None to WatchingLiveTV
90 libGL error: open DRM failed (Operation not permitted)
91 libGL error: reverting to (slow) indirect rendering
92 2006-01-07 18:36:29.274 Video timing method: USleep with busy wait
93 2006-01-07 18:36:30.244 prebuffering pause
94 2006-01-07 18:36:49.252 ReadStringList timeout (quick).
95 Remote encoder not responding.
96 2006-01-07 18:36:49.252 WriteStringList: Bad socket
97 2006-01-07 18:36:49.253 ReadStringList: Bad socket
98 Remote encoder not responding.
99 2006-01-07 18:36:49.253 WriteStringList: Bad socket
100 2006-01-07 18:36:49.253 ReadStringList: Bad socket
101 Remote encoder not responding.
102 ASSERT: "i <= nodes" in /usr/qt/3/include/qvaluelist.h (373)
103 2006-01-07 18:36:49.268 WriteStringList: Bad socket
104 2006-01-07 18:36:49.268 ReadStringList: Bad socket
105 Remote encoder not responding.
106 2006-01-07 18:36:49.396 Changing from WatchingLiveTV to None
107 2006-01-07 18:36:49.404 Changing from None to None
108 2006-01-07 18:36:49.424 Enable DPMS
109 michael@camille ~ $
110
111 As I said, I tried setting up the evilwm stuff from the MythTV section
112 on the Gentoo wiki. I ran kdm and selected "Custom" and logged in as my
113 test user. The screen cleared and then it spit me back out at the kdm
114 login screen. I looked at /var/log/kdm.log and everything looks normal
115 to me:
116
117 X Window System Version 6.8.2
118 Release Date: 9 February 2005
119 X Protocol Version 11, Revision 0, Release 6.8.2
120 Build Operating System: Linux 2.6.14-gentoo-r5 i686 [ELF]
121 Current Operating System: Linux camille 2.6.14-gentoo-r5 #1 SMP Sat Jan
122 7 18:01:38 CST 2006 i686
123 Build Date: 26 December 2005
124 Before reporting problems, check http://wiki.X.Org
125 to make sure that you have the latest version.
126 Module Loader present
127 Markers: (--) probed, (**) from config file, (==) default setting,
128 (++) from command line, (!!) notice, (II) informational,
129 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
130 (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 7 18:19:55 2006
131 (==) Using config file: "/etc/X11/xorg.conf"
132
133
134 Here's testuser's .xinitrc/.xsession file (as suggested by the wiki):
135
136 camille ~ # cat /home/testuser/.xinitrc
137 # Merge X resources from ~/.Xdefaults
138 [ -f $HOME/.Xdefaults ] && xrdb $HOME/.Xdefaults
139
140 # Set the background and root cursor shape
141 xsetroot -solid \#400040
142 xsetroot -cursor_name top_left_arrow
143
144 # Start evilwm - snap to borders within 10 pixels
145 /usr/bin/evilwm -snap 6 -bw 0 &
146 wmpid=$!
147
148 /usr/X11R6/bin/xset s noblank &
149 /usr/X11R6/bin/xset s off &
150 /usr/X11R6/bin/xset -dpms &
151
152 # add " -l ~/mythfrontend.log" or " -l /var/log/mythtv/mythfrontend.log"
153 to have front end logging
154 mythfrontend &
155
156
157 # sleep makes it so irxevent works
158 # uncomment these if you don't compile lirc into mythtv
159 #(set the lirc USE variable to compile lirc support into
160 mythtv)
161 #sleep 3
162 #irxevent &
163
164 # when the window manager exits, allow the X server to be torn down
165 wait $wmpid
166
167
168 What am I doing wrong here? Is there even a way to diagnose this?
169
170 --
171 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: OT - Need MythTV setup help (resend) Bob Sanders <rmsand@××××××××××.net>