Project

General

Profile

video freezing

Added by hanza hanza almost 9 years ago

i have two dvb-s2 tuners, while watching channel on second tuner i sometimes getting high cpu usage on "*kdvb-ad-0-fe-0*" process (i belive this process is related to first tuner)
if i restart computer everything is back to normal
settings for both tunersar the same
Build: 3.1.633.g4f5f2

Adapter name:
Autodetect muxes:
Skip initial scan: yes
Idle scanning:
Skip service availability check when mapping: yes
Monitor signal quality:
Write full DVB MUX to disk:
NIT-o Network ID:
Extra priority:
DiSEqC version:
Turn off LNB when idle: yes

i notice this problem on other versions too


Replies (4)

RE: video freezing - Added by Adam Sutton almost 9 years ago

This is a known issue (and fixed) in 54de5914605a62d8c03a2bbe6b113e7a827c7ae4.

There was never a redmine issue as I spotted it by chance before anyone else reported it.

I suggest updating to latest code.

Adam

RE: video freezing - Added by J B over 8 years ago

Hi,
I have a similar problem using the latest version from ppa. High CPU usage on kdvb-ad-0-fe-0 for a couple of minutes, then the computer crashes/picture freeze and then reboots. I have no problem with the picture before this happens.

01:06.0 Multimedia controller: Twinhan Technology Co. Ltd Mantis DTV PCI Bridge Controller [Ver 1.0] (rev 01)

HTS Tvheadend 3.2.18~g40a8920~precise

Ubuntu 12.04 64bit

strace provided.

RE: video freezing - Added by hanza hanza over 8 years ago

i have same dvb adapter
05:00.0 Multimedia controller: Twinhan Technology Co. Ltd Mantis DTV PCI Bridge Controller [Ver 1.0] (rev 01)

RE: video freezing - Added by J B over 8 years ago

For me the problem happens when i close down the stream (im using xmbc). I've attached a trace of the tvheadend process.

I close the stream at:
[pid 1083] 18:30:36 stat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

After that this can be seen, and at this point the cpu rises in kdvb-ad-0-fe-0:

[pid 1083] 18:30:36 rename("/home/hts/.hts/tvheadend/dvbmuxes/_dev_dvb_adapter0_Philips_TDA10023_DVB_C/_dev_dvb_adapter0_Philips_TDA10023_DVB_C506000000.tmp", "/home/hts/.hts/tvheadend/dvbmuxes/_dev_dvb_adapter0_Philips_TDA10023_DVB_C/_dev_dvb_adapter0_Philips_TDA10023_DVB_C506000000") = 0
[pid 1083] 18:30:36 epoll_ctl(8, EPOLL_CTL_DEL, 29, NULL) = 0
[pid 1083] 18:30:36 close(29) = 0
[pid 1083] 18:30:36 epoll_ctl(8, EPOLL_CTL_DEL, 28, NULL) = 0
[pid 1083] 18:30:36 close(28) = 0
[pid 1083] 18:30:36 epoll_ctl(8, EPOLL_CTL_DEL, 27, NULL) = 0
[pid 1083] 18:30:36 close(27) = 0
[pid 1083] 18:30:36 epoll_ctl(8, EPOLL_CTL_DEL, 24, NULL) = 0
[pid 1083] 18:30:36 close(24) = 0
[pid 1083] 18:30:36 epoll_ctl(8, EPOLL_CTL_DEL, 23, NULL) = 0
[pid 1083] 18:30:36 close(23) = 0
[pid 1083] 18:30:36 epoll_ctl(8, EPOLL_CTL_DEL, 22, NULL) = 0
[pid 1083] 18:30:36 close(22) = 0
[pid 1083] 18:30:36 epoll_ctl(8, EPOLL_CTL_DEL, 21, NULL) = 0
[pid 1083] 18:30:36 close(21) = 0
[pid 1083] 18:30:36 epoll_ctl(8, EPOLL_CTL_DEL, 20, NULL) = 0
[pid 1083] 18:30:36 close(20) = 0
[pid 1083] 18:30:36 epoll_ctl(8, EPOLL_CTL_DEL, 19, NULL) = 0
[pid 1083] 18:30:36 close(19) = 0
[pid 1083] 18:30:36 epoll_ctl(8, EPOLL_CTL_DEL, 18, NULL) = 0
[pid 1083] 18:30:36 close(18) = 0
[pid 1083] 18:30:36 ioctl(7, 0x40246f4c, 0x7fa61130b5d0) = 0
[pid 1083] 18:30:36 open("/dev/dvb/adapter0/demux0", O_RDWR) = 18
[pid 1083] 18:30:36 fcntl(18, F_GETFD) = 0
[pid 1083] 18:30:36 fcntl(18, F_SETFD, FD_CLOEXEC) = 0
[pid 1083] 18:30:36 epoll_ctl(8, EPOLL_CTL_ADD, 18, {EPOLLIN, {u32=150, u64=77309411478}}) = 0
[pid 1083] 18:30:36 ioctl(18, 0x403c6f2b, 0x7fa5f80010e0) = 0
[pid 1083] 18:30:36 open("/dev/dvb/adapter0/demux0", O_RDWR) = 19
[pid 1083] 18:30:36 fcntl(19, F_GETFD) = 0
[pid 1083] 18:30:36 fcntl(19, F_SETFD, FD_CLOEXEC) = 0
[pid 1083] 18:30:36 epoll_ctl(8, EPOLL_CTL_ADD, 19, {EPOLLIN, {u32=151, u64=81604378775}}) = 0
[pid 1083] 18:30:36 ioctl(19, 0x403c6f2b, 0x7fa5f80037a0) = 0
[pid 1083] 18:30:36 open("/dev/dvb/adapter0/demux0", O_RDWR) = 20
[pid 1083] 18:30:36 fcntl(20, F_GETFD) = 0
[pid 1083] 18:30:36 fcntl(20, F_SETFD, FD_CLOEXEC) = 0
[pid 1083] 18:30:36 epoll_ctl(8, EPOLL_CTL_ADD, 20, {EPOLLIN, {u32=152, u64=85899346072}}) = 0
[pid 1083] 18:30:36 ioctl(20, 0x403c6f2b, 0x7fa5f8001210) = 0
[pid 1083] 18:30:36 open("/dev/dvb/adapter0/demux0", O_RDWR) = 21
[pid 1083] 18:30:36 fcntl(21, F_GETFD) = 0
[pid 1083] 18:30:36 fcntl(21, F_SETFD, FD_CLOEXEC) = 0
[pid 1083] 18:30:36 epoll_ctl(8, EPOLL_CTL_ADD, 21, {EPOLLIN, {u32=153, u64=90194313369}}) = 0

and:

[pid 1025] 18:30:37 <... nanosleep resumed> 0x7fffa40f8130) = 0
[pid 1025] 18:30:37 wait4(-1, 0x7fffa40f80cc, WNOHANG, NULL) = -1 ECHILD (No child processes)
[pid 1025] 18:30:37 ioctl(7, 0x80046f45, 0x7fffa40f80ec) = 0
[pid 1025] 18:30:37 rt_sigprocmask(SIG_BLOCK, [CHLD], ~[INT ILL ABRT BUS FPE KILL SEGV TERM STOP RTMIN RT_1], 8) = 0
[pid 1025] 18:30:37 nanosleep({1, 0}, 0x7fffa40f8130) = 0
[pid 1025] 18:30:38 wait4(-1, 0x7fffa40f80cc, WNOHANG, NULL) = -1 ECHILD (No child processes)
[pid 1025] 18:30:38 ioctl(7, 0x80046f45, 0x7fffa40f80ec) = 0
[pid 1025] 18:30:38 rt_sigprocmask(SIG_BLOCK, [CHLD], ~[INT ILL ABRT BUS FPE KILL SEGV TERM STOP RTMIN RT_1], 8) = 0
[pid 1025] 18:30:38 nanosleep({1, 0}, 0x7fffa40f8130) = 0
[pid 1025] 18:30:39 wait4(-1, 0x7fffa40f80cc, WNOHANG, NULL) = -1 ECHILD (No child processes)
[pid 1025] 18:30:39 ioctl(7, 0x80046f45, 0x7fffa40f80ec) = 0
[pid 1025] 18:30:39 rt_sigprocmask(SIG_BLOCK, [CHLD], ~[INT ILL ABRT BUS FPE KILL SEGV TERM STOP RTMIN RT_1], 8) = 0
[pid 1025] 18:30:39 nanosleep({1, 0}, 0x7fffa40f8130) = 0
[pid 1025] 18:30:40 wait4(-1, 0x7fffa40f80cc, WNOHANG, NULL) = -1 ECHILD (No child processes)
[pid 1025] 18:30:40 ioctl(7, 0x80046f45, 0x7fffa40f80ec) = 0
[pid 1025] 18:30:40 rt_sigprocmask(SIG_BLOCK, [CHLD], ~[INT ILL ABRT BUS FPE KILL SEGV TERM STOP RTMIN RT_1], 8) = 0

The computer will crash after about 5 minutes. If i start the tv stream, the cpu goes back to normal.

    (1-4/4)