Page 1 of 1

Unable to Tune with TVHeadend and Ubuntu 20.04

PostPosted: Wed Aug 24, 2022 4:52 am
by nasuel
Hi,

i have an ubuntu 20.04 installed on an Proxmox VE 7.2-3. I'm using the kernel version 5.4.0-124-generic and compiled the latest drivers from https://github.com/tbsdtv/linux_media.git. The compilation worked without problems. But when i try to tune channels it is working for a few seconds but then i got an error in the /var/log/syslog:
Code: Select All Code
Aug 23 20:47:13 tvheadend tvheadend[652]: linuxdvb: TurboSight TBS 5990 #0 : DVB-S #0 - poll TIMEOUT
Aug 23 20:47:14 tvheadend tvheadend[652]: linuxdvb: TurboSight TBS 5990 #0 : DVB-S #0 - retune nodata
Aug 23 20:47:17 tvheadend tvheadend[652]: linuxdvb: TurboSight TBS 5990 #1 : DVB-S #0 - poll TIMEOUT
Aug 23 20:47:17 tvheadend tvheadend[652]: linuxdvb: TurboSight TBS 5990 #1 : DVB-S #0 - retune nodata
Aug 23 20:47:21 tvheadend tvheadend[652]: linuxdvb: TurboSight TBS 5990 #0 : DVB-S #0 - poll TIMEOUT
Aug 23 20:47:21 tvheadend tvheadend[652]: linuxdvb: TurboSight TBS 5990 #0 : DVB-S #0 - retune nodata

Code: Select All Code
lsmod
Module                  Size  Used by
dm_multipath           32768  0
scsi_dh_rdac           16384  0
scsi_dh_emc            16384  0
scsi_dh_alua           20480  0
av201x                 20480  2
cx231xx_dvb_ci         32768  41
tas2101                28672  3 cx231xx_dvb_ci
dvb_core              147456  1 cx231xx_dvb_ci
cx25840                61440  1
cx231xx               192512  1 cx231xx_dvb_ci
tveeprom               28672  1 cx231xx
cx2341x                28672  1 cx231xx
i2c_mux                16384  1 cx231xx
videobuf2_vmalloc      20480  2 dvb_core,cx231xx
videobuf2_memops       20480  1 videobuf2_vmalloc
videobuf2_v4l2         28672  1 cx231xx
videobuf2_common       61440  5 videobuf2_vmalloc,videobuf2_v4l2,dvb_core,cx231xx,videobuf2_memops
videodev              225280  5 cx2341x,videobuf2_v4l2,videobuf2_common,cx231xx,cx25840
mc                     53248  6 videodev,videobuf2_v4l2,dvb_core,videobuf2_common,cx231xx,cx25840
ir_rc6_decoder         20480  0
input_leds             16384  0
serio_raw              20480  0
joydev                 24576  0
rc_rc6_mce             16384  0
mceusb                 40960  0
rc_core                53248  5 mceusb,ir_rc6_decoder,rc_rc6_mce,cx231xx
qemu_fw_cfg            20480  0
mac_hid                16384  0
sch_fq_codel           20480  2
ipmi_devintf           20480  0
ipmi_msghandler       106496  1 ipmi_devintf
msr                    16384  0
ip_tables              32768  0
x_tables               40960  1 ip_tables
autofs4                45056  2
btrfs                1261568  0
zstd_compress         167936  1 btrfs
raid10                 61440  0
raid456               155648  0
async_raid6_recov      24576  1 raid456
async_memcpy           20480  2 raid456,async_raid6_recov
async_pq               24576  2 raid456,async_raid6_recov
async_xor              20480  3 async_pq,raid456,async_raid6_recov
async_tx               20480  5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor                    24576  2 async_xor,btrfs
raid6_pq              114688  4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c              16384  2 btrfs,raid456
raid1                  45056  0
raid0                  24576  0
multipath              20480  0
linear                 20480  0
hid_generic            16384  0
usbhid                 57344  0
hid                   131072  2 usbhid,hid_generic
bochs_drm              16384  0
drm_vram_helper        20480  1 bochs_drm
ttm                   106496  1 drm_vram_helper
drm_kms_helper        184320  3 bochs_drm
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
psmouse               155648  0
fb_sys_fops            16384  1 drm_kms_helper
virtio_net             57344  0
floppy                 81920  0
net_failover           20480  1 virtio_net
drm                   491520  5 drm_kms_helper,drm_vram_helper,bochs_drm,ttm
failover               16384  1 net_failover
virtio_scsi            24576  1
i2c_piix4              28672  0
pata_acpi              16384  0

The hardware seems to be okay because when i plug it into my windows vm everything works fine.
Is there a hint how to get the drivers working in a Proxmox VM?

Thanks a lot
Regards
Manuel

Re: Unable to Tune with TVHeadend and Ubuntu 20.04

PostPosted: Wed Aug 24, 2022 11:24 am
by zhangchao
hi,

VM with tbs card are not recommended . you can add skype jack_2431. i will check with you.

best reagards!

Re: Unable to Tune with TVHeadend and Ubuntu 20.04

PostPosted: Wed Aug 24, 2022 4:12 pm
by nasuel
I found the problem. In the tuner configuration of TVHeadend you have to configure the Status Period (ms) to 5000 in my case. Then everything ist working fine.

Regards,
Manuel