View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Oct 03, 2010 5:26 pm 
Offline
Joined: Thu Oct 19, 2006 11:21 am
Posts: 51
Hi,

I have a system which pauses for maybe a minute or two, then continues on.

This seems to happen when playing a recording and simultaneously recording. Its a combined system. If just recording, I don't think there is a problem, same as just watching. It is:
GIGABYTE GA-H55M-USB3 LGA 1156 Intel H55 HDMI USB 3.0 Micro ATX Intel Motherboard + i3-530 processor.

Nvidea 6200 video, haupage 250 + AirStar-HD5000AV-PCI tuner cards.

The system has plenty processor power, 2gb ram, disk, so I thought maybe errors on the disk. I can't see any, smartctl logs no errors, so I am now thinking the disk is ok. I am guessing it is something with Xorg. x11vnc can hang the whole computer. I use the auto generated x config file. Video goes dvi out to a Samsung flat panel. The auto mode detection seems to work.

When it hangs up, everything stops, ssh is frozen, the mythfrontend complains it is not getting data, etc.

Any ideas where to look? what logs? what to turn on?

Thanks for the help!


Last edited by luxluthor on Sat Oct 09, 2010 12:15 pm, edited 1 time in total.


Top
 Profile  
 
PostPosted: Sun Oct 03, 2010 9:17 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
Start in /var/log. Also ~mythtv/.xsession-errors should give you a lot of feedback. The X log is at /var/log/Xorg.log.

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 04, 2010 8:20 pm 
Offline
Joined: Thu Oct 19, 2006 11:21 am
Posts: 51
It seems to pause when the Hauppage 250 is recording. if the airstar is recording, things seem to be ok, but as soon as the win-250 is recording (with the Airstar card) , the pauses happen.

There are lots of errors like:

Oct 4 21:07:16 tvlode ivtv0: All encoder VBI stream buffers are full. Dropping data.
3919 Oct 4 21:07:16 tvlode ivtv0: Cause: the application is not reading fast enough.
3920 Oct 4 21:07:30 tvlode ivtv0: All encoder MPG stream buffers are full. Dropping data.
3921 Oct 4 21:07:30 tvlode ivtv0: Cause: the application is not reading fast enough.
392


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 04, 2010 8:57 pm 
Offline
Joined: Thu Oct 19, 2006 11:21 am
Posts: 51
I want to recall the previous post.

It also pauses while recording from just the Airstar alone.

2010-10-04 22:25:01.149 WriteAudio: buffer underrun
2010-10-04 22:25:30.134 NVP(3): prebuffering pause
2010-10-04 22:30:58.313 NVP(3): Timed out waiting for free video buffers.
2010-10-04 22:31:00.381 NVP(3): Timed out waiting for free video buffers.
2010-10-04 22:31:02.409 NVP(3): Timed out waiting for free video buffers.
2010-10-04 22:31:04.436 NVP(3): Timed out waiting for free video buffers.
2010-10-04 22:31:05.836 TV: Attempting to change from WatchingPreRecorded to None
2010-10-04 22:31:05.859 TV: Changing from WatchingPreRecorded to None

Then it waits a few minutes and comes back. ssh usually is working, the backend keeps on working.
?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 04, 2010 10:14 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
luxluthor wrote:
All encoder VBI stream buffers are full. Dropping data.


Googled for the above and found a solution almost immediately (I was feeling lucky):
http://www.gossamer-threads.com/lists/mythtv/dev/295951

Let us know if it fixes the problem.

Mike

EDIT: Sorry, posted that before looking at your second post. Try this:
http://www.mythtv.org/wiki/Troubleshooting:Prebuffering_pause

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 06, 2010 5:33 am 
Offline
Joined: Thu Oct 19, 2006 11:21 am
Posts: 51
Yes, I saw that post.

I looked at pci latency. The real problem seems to be that the X window system goes away. A new Xorg log file comes up eventually, along with a new X. window. While the x window is frozen, I get a machine which is frozen in several other areas, hence, the buffer overflows, etc.

I reniced commercial flagging, and still got a pause.

I still don't see any logs of primary errors, but secondary issues to the freeze, like buffer overflows, etc.

I will take out x11vnc, see what that does; then maybe downgrade some of the X window stuff (or maybe upgrade). The x11vnc stuff can hang the whole system, always it seems.

There is probably some debug option for x logging as well.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 06, 2010 6:08 pm 
Offline
Joined: Wed Oct 06, 2010 6:05 pm
Posts: 1
You might be seeing this bug in Xorg:

http://ubuntuforums.org/showthread.php?t=1572412&page=6

Try adding the "-noxrecord" option to x11vnc.


Top
 Profile  
 
 Post subject: Solved! (I think)
PostPosted: Fri Oct 08, 2010 8:03 pm 
Offline
Joined: Thu Oct 19, 2006 11:21 am
Posts: 51
Solved, I think.

The punch line: acpi=off noacpi

I edited the /boot/grub/menu.lst to add acpi=off noacpi to the line that starts with kernel, and no pauses !

Hmmm, linux and acpi....what do people say....

Linus Torvalds, creator of the Linux kernel, once described it as "a complete design disaster in every way", in relation to his view that "modern PCs are horrible".[6]ACPI = Advanced Configuration and Power Interface

So maybe acpi and linux don't go so well together.

I tried just noacpi in the boot line, but that didn't work, I needed acpi=off noacpi.

So quite stable so far.

PS
With no acpi, there seem to be less memory usage, and no swap used. Maybe trying to swap under busy loads caused a hiccup? Just guessing.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu