On 5/30/07, <b class="gmail_sendername">leon zadorin</b> <<a href="mailto:leonleon77@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">leonleon77@gmail.com</a>> wrote:<div><span class="gmail_quote">
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
"videos"? How many streams are you receiving on that machine? I though<br>it was only 1 :-) Generally speaking, it would be best to start<br>testing with only 1 stream... then if things don't work with more
<br>
streams - we will be able to "narrow" things down a little :-)</blockquote><div><br>Oh, there were 2 total. The second one was just an idle h261 stream from when I was trying 2 instances of vic on the same machine. I'm not testing that anymore.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">yeah... in fact all of the things you describe (e.g. "freezing") is
<br>
very like the "underpowered machine" behaviour... but in such cases<br>the "freezing" is not really "freezing", just vic working on existing<br>data (frame assembly, decoding and rendering) and not being able to
<br>complete things in time... so all of the "window redrawing", user<br>key/mouse input get queued by the X server, but not processed by the<br>application... The only thing is... the "top" output would/should list
<br>vic or Xorg running at close to 100% and the leonlog2 file which you<br>have emailed to me earlier appeared to list vic only using a small<br>fraction of CPU resources... and Swap appears not to be used...<br><br>Just to clarify a little detail - when you were generating leonlog2
<br>file - was vic running at a time and trying to process video streams<br>(i.e. was it started with the IP/PORT address on which there was a DV<br>video stream transmitted from another machine)? </blockquote><div><br>Yeah, it was attempting to receive a DV stream. I can receive h261 and the like perfectly fine. The lack of CPU usage does seem strange, and I have replicated it (see below)
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Just to be sure:<br>1) On the machine that is working for you - start streaming a DV stream.
<br>1,1) Generally speaking, whet testing, start with only 1 stream being<br>transmitted on a given multicast address - if it works - you can<br>always start adding more video streams later on.<br>2) On the machine which freezes vic:
<br>2.1) Open 2 terminal windows<br>2.2) In one of the terminal windows start "top"<br>2.3) In another run vic... (for testing curiosity, try with the<br>following switches):<br>2.3.1) ./vic IP/PORT<br>2.3.2) ./vic -g IP/PORT
<br>2.3.3) ./vic -g -x IP/PORT<br>2.3.4) ./vic -g -x -i IP/PORT<br>2.3.5) run ./vic without any command line options to see what those<br>switches do and what other new options have been added to vic...<br>2.4) whilst executing any of the
2.3.1 to 2.3.4 steps - have look at<br>the "top" output (from step 2.2) and see how much idle system time it<br>is reporting (with may be how much CPU vic and Xorg are using)...</blockquote><div><br>2.3.1) ./vic IP/PORT: main window doesn't render or respond to input, like before. CPU usage is interesting... when I do something that should cause the window to update (like mouseover a button), vic's CPU usage shoots up to 10-20% and Xorg's goes up a few. This lasts a couple seconds then goes back to normal (normal being around 90% idle and vic & Xorg using <1%)
<br><br>2.3.2) ./vic -g IP/PORT: main window still mostly unresponsive - sometimes I can get the video window to pop up but it doesn't render frames from the stream, it's just gray. Without the video open, vic and Xorg use about 40% CPU apiece, and if the video window is open, it's more like 80%/5% for vic & Xorg respectively.
<br><br>..and before I could do the rest of these tests our sending machine's video card just apparently died. If anyone has a somewhat reliable/on most-of-the-time DV stream (sending over UQ vic of course) available so I could do more thorough testing that would be great.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">If you feel like it - email me your xorg.conf ... also, which linux<br>are you using (distro, kernel version [uname -a])... ?
</blockquote><div><br> xorg.conf is attached. I'm running Ubuntu Linux 6.10 (edgy) with kernel version 2.6.17-11-generic.<br><br>--Andrew<br></div></div>