Modify

Opened 8 years ago

Closed 8 years ago

#8137 closed defect (wontfix)

Error while tuning: timeout after 7000 ms

Reported by: Alberto Mattea <support.intranet@…> Owned by: ijr
Priority: trivial Milestone: unknown
Component: MythTV - General Version: head
Severity: low Keywords:
Cc: Ticket locked: yes

Description

On slow tuners/drivers, tuning can take more than 7000 ms (kMythSocketShortTimeout). Currently this makes mythfrontend hang. In the logs it is written: MythSocket?(887ddd8:40): readStringList: Error, timed out after 7000 ms. I've experienced this, for example, while switching from DVB-T to DVB-S with a Hauppauge HVR-4000. The quick solution is to raise the value of kMythSocketShortTimeout in mythtv/libs/libmythdb/mythsocket_cb.h (17000 ms worked for me), but it would be best to make it an option in mythtv-setup. This bug applies to all version I tested, up to current trunk. I'm attaching a very simple patch that raises the timeout to 20000 ms.

Attachments (1)

mythpatch (277 bytes) - added by Alberto Mattea <support.intranet@…> 8 years ago.
Simple patch to raise the timeout to 20000 ms

Download all attachments as: .zip

Change History (10)

Changed 8 years ago by Alberto Mattea <support.intranet@…>

Simple patch to raise the timeout to 20000 ms

comment:1 Changed 8 years ago by robertm

  • Milestone changed from 0.23 to unknown

Bumping to unknown, please don't set the milestone.

comment:2 Changed 8 years ago by Alberto Mattea

Ok, sorry. But is it there a chance it will be solved in next version? It is so simple to solve :-) Thanks

comment:3 Changed 8 years ago by Alberto Mattea

0.23 rc1 is out. Is it too late for a fix? It is so annoying to recompile it every time...

comment:4 Changed 8 years ago by robertm

  • Ticket locked set

Read. The. Ticket Howto.

comment:5 Changed 8 years ago by robertm

  • Priority changed from minor to trivial
  • Severity changed from medium to low

comment:6 Changed 8 years ago by robertm

  • Ticket locked unset

comment:7 Changed 8 years ago by danielk

  • Resolution set to wontfix
  • Status changed from new to closed

This is the wrong thing to be "fixing". The DVB tuners using a signal monitor which respond within a few milliseconds. If this isn't working we'll need to diagnose and fix that problem, not allow mythfrontend to lockup for 20 seconds.

comment:8 Changed 8 years ago by Alberto Mattea

  • Resolution wontfix deleted
  • Status changed from closed to new

Sorry, maybe I wasn't clear. The issue here is not when tuning to a different channel (which takes only a second or so), but when switching between DVB-T and DVB-S. Since it is the same card that handles both, it must be completely reinitialized by the driver, which can take up to 10-12 seconds. I think there is nothing MythTV can do about that. Please don't take offence iif I reopen the ticket, and tell me if I understood your comment wrong.

comment:9 Changed 8 years ago by robertm

  • Resolution set to wontfix
  • Status changed from new to closed
  • Ticket locked set

Add Comment

Modify Ticket

Action
as closed The owner will remain ijr.
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.