[JauntyKdetv does not see/show my tv card (regression)

Bug #325874 reported by Asraniel
46
This bug affects 6 people
Affects Status Importance Assigned to Milestone
kdetv (Ubuntu)
New
Undecided
Unassigned
nvidia-graphics-drivers-180 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I come from kubuntu 8.04, where kdetv worked fine with my tv card.
Under kubuntu 9.04, kdetv does not show my tv card. But with for example xawtv, everything works fine.
Here is the console output of kdetv. You can see that the card is correctly detected. But it is not shown as an available card in kdetv. Would be nice to be able to use kdetv with kubuntu 9.04 :-)

asraniel@kubuntu904:~$ kdetv
kbuildsycoca running...
Reusing existing ksycoca
Creating vbi proxy client, rev.
$Id: proxy-client.c,v 1.18 2008/02/19 00:35:21 mschimek Exp $
proxy_msg: connect: error 2, No such file or directory
Try to open V4L2 0.20 VBI device, libzvbi interface rev.
  $Id: io-v4l2.c,v 1.37 2008/02/19 00:35:20 mschimek Exp $
Opened /dev/vbi0
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: Try to open V4L2 2.6 VBI device, libzvbi interface rev.
  $Id: io-v4l2k.c,v 1.49 2008/02/19 00:35:20 mschimek Exp $.
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: Opened /dev/vbi0.
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: /dev/vbi0 (BT878 video (Pinnacle PCTV Stud) is av4l2 vbi device,
driver bttv, version 0x00000911.
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: Using streaming interface.
libzvbi:io-v4l2k:v4l2_get_videostd: Current scanning system is 625.
libzvbi:io-v4l2k:v4l2_update_services: Querying current vbi parameters...
libzvbi:io-v4l2k:v4l2_update_services: ...success.
libzvbi:print_vfmt: VBI capture parameters supported:
libzvbi:print_vfmt: VBI capture parameters granted:
libzvbi:raw_decoder:vbi3_raw_decoder_add_services: No services to add.
libzvbi:io-v4l2k:v4l2_update_services: Nyquist check passed.
libzvbi:io-v4l2k:v4l2_update_services: Request decoding of services 0x60000c7f, strict level -1.
libzvbi:sampling_par:_vbi_sampling_par_permit_service: Service 0x00000020 (Closed Caption 525, field 1) requires videostd_set 0x2, have 0x0.
libzvbi:sampling_par:_vbi_sampling_par_permit_service: Service 0x00000040 (Closed Caption 525, field 2) requires videostd_set 0x2, have 0x0.
libzvbi:io-v4l2k:v4l2_update_services: Will capture services 0x0000041f, added 0x41f commit=1.
libzvbi:io-v4l2k:v4l2_stream_alloc: Requesting 16 streaming i/o buffers.
libzvbi:io-v4l2k:v4l2_stream_alloc: Mapping 16 streaming i/o buffers.
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: Successfully opened /dev/vbi0 (BT878 video (Pinnacle PCTV Stud).

Tags: jaunty
Revision history for this message
Tomasz Czapiewski (xeros) wrote :

I experience the same bug.
Before upgrade (from 8.10 to 9.04) all my video devices worked just fine - "noname" BT878 analog tv card, AVerTV GO 007 FM Plus SAA7xxx analog tv card, usb webcam - they worked from kubuntu 6.06 til now.
Video devices are recognised properly by kernel (had to pass options for modules to use specified tuner) and are working properly in other analog tv apps (for example tvtime) but are not found by kdetv.
The kdetv version is the same as in (k)ubuntu 8.10 (0.8.9) so it looks like packaging or patching problem.
Since lintv is not ready yet, I have no kde alternative to watch analog tv in my computer (using tvtime or xawtv is not an option for me).
Tried V4L1, V2L2, XV video import plugins in kdetv - none of them seems to work.

Revision history for this message
Tomasz Czapiewski (xeros) wrote :

I've checked that intrepid kdetv packages is just the same package as in jaunty, so I've tried kernel from intrepid (2.6.27-14) in jaunty and the result is the same - no video devices in kdetv so it must be some libs problem.

Revision history for this message
D'Lazesz (dlazesz) wrote :

I used intrepid with 2.6.28 (from jaunty beta) and kdetv worked fine.
I made some investigation and found that x.org must be responsible:

I added xorg.conf the following:

    Load "v4l"

Restarted x.org. Then in kdetv appeared the station list which I imported before from the working intrepid config. So kdetv now sees the tuner.

But some seconds later (sooner or later, depending on what I do) the whole system hangs and only hard-reset can help.
There is nothing in the logs.

I'm not an expert so any help appreciated.

Revision history for this message
Aitor Moreno (aitormoreno) wrote :

I have the same problem
After the upgrading from 8.10 to 9.04 kdetv stopped recognizing TV tuner.

Here is my output:

####:/$ kdetv
kbuildsycoca running...
Creating vbi proxy client, rev.
$Id: proxy-client.c,v 1.18 2008/02/19 00:35:21 mschimek Exp $
proxy_msg: connect: error 2, No such file or directory
Try to open V4L2 0.20 VBI device, libzvbi interface rev.
  $Id: io-v4l2.c,v 1.37 2008/02/19 00:35:20 mschimek Exp $
Opened /dev/vbi0
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: Try to open V4L2 2.6 VBI device, libzvbi interface rev.
  $Id: io-v4l2k.c,v 1.49 2008/02/19 00:35:20 mschimek Exp $.
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: Opened /dev/vbi0.
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: /dev/vbi0 (Pinnacle PCTV Stereo (saa7134)) is a v4l2 vbi device,
driver saa7134, version 0x0000020e.
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: Using streaming interface.
libzvbi:io-v4l2k:v4l2_get_videostd: Current scanning system is 625.
libzvbi:io-v4l2k:v4l2_update_services: Querying current vbi parameters...
libzvbi:io-v4l2k:v4l2_update_services: ...success.
libzvbi:print_vfmt: VBI capture parameters supported:
libzvbi:print_vfmt: VBI capture parameters granted:
libzvbi:print_vfmt: Fixes applied:
libzvbi:raw_decoder:vbi3_raw_decoder_add_services: No services to add.
libzvbi:io-v4l2k:v4l2_update_services: Nyquist check passed.
libzvbi:io-v4l2k:v4l2_update_services: Request decoding of services 0x60000c7f,strict level -1.
libzvbi:sampling_par:_vbi_sampling_par_permit_service: Service 0x00000020 (Closed Caption 525, field 1) requires videostd_set 0x2, have 0x0.
libzvbi:sampling_par:_vbi_sampling_par_permit_service: Service 0x00000040 (Closed Caption 525, field 2) requires videostd_set 0x2, have 0x0.
libzvbi:io-v4l2k:v4l2_update_services: Will capture services 0x0000041f, added 0x41f commit=1.
libzvbi:io-v4l2k:v4l2_stream_alloc: Requesting 16 streaming i/o buffers.
libzvbi:io-v4l2k:v4l2_stream_alloc: Mapping 16 streaming i/o buffers.
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: Successfully opened /dev/vbi0 (PinnaclePCTV Stereo (saa7134)).

Revision history for this message
Macchiavelli (lars-schroeren) wrote :

I have the same problem
After the upgrading from 8.10 to 9.04 kdetv stopped recognizing TV tuner.
(Pinnacle PCTV Studio)

I added xorg.conf the following:

    Load "v4l"

like dlazesz did. Now I see the card in kdetv-menu, I can hear sound, I can see videotext, I can change the Channels, and I can record Videos with other software,

but i can NOT see the tv-programm directly.

I think the driver of the tv-card is ok, but the video overlay or something like that is wrong.

I have an NVIDIA NX 8600GS with the 180.44 driver. It's teh same for the 177 driver.

I also need help.

Here is my output:
kdetv
kbuildsycoca running...
Creating vbi proxy client, rev.
$Id: proxy-client.c,v 1.18 2008/02/19 00:35:21 mschimek Exp $
proxy_msg: connect: error 2, No such file or directory
Try to open V4L2 0.20 VBI device, libzvbi interface rev.
  $Id: io-v4l2.c,v 1.37 2008/02/19 00:35:20 mschimek Exp $
Opened /dev/vbi0
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: Try to open V4L2 2.6 VBI device, libzvbi interface rev.
  $Id: io-v4l2k.c,v 1.49 2008/02/19 00:35:20 mschimek Exp $.
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: Opened /dev/vbi0.
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: /dev/vbi0 (BT878 video (Pinnacle PCTV Stud) is a v4l2 vbi device,
driver bttv, version 0x00000911.
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: Using streaming interface.
libzvbi:io-v4l2k:v4l2_get_videostd: Current scanning system is 625.
libzvbi:io-v4l2k:v4l2_update_services: Querying current vbi parameters...
libzvbi:io-v4l2k:v4l2_update_services: ...success.
libzvbi:print_vfmt: VBI capture parameters supported:
libzvbi:print_vfmt: VBI capture parameters granted:
libzvbi:raw_decoder:vbi3_raw_decoder_add_services: No services to add.
libzvbi:io-v4l2k:v4l2_update_services: Nyquist check passed.
libzvbi:io-v4l2k:v4l2_update_services: Request decoding of services 0x60000c7f, strict level -1.
libzvbi:sampling_par:_vbi_sampling_par_permit_service: Service 0x00000020 (Closed Caption 525, field 1) requires videostd_set 0x2, have 0x1.
libzvbi:sampling_par:_vbi_sampling_par_permit_service: Service 0x00000040 (Closed Caption 525, field 2) requires videostd_set 0x2, have 0x1.
libzvbi:io-v4l2k:v4l2_update_services: Will capture services 0x0000041f, added 0x41f commit=1.
libzvbi:io-v4l2k:v4l2_stream_alloc: Requesting 16 streaming i/o buffers.
libzvbi:io-v4l2k:v4l2_stream_alloc: Mapping 16 streaming i/o buffers.
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: Successfully opened /dev/vbi0 (BT878 video (Pinnacle PCTV Stud).

Revision history for this message
Macchiavelli (lars-schroeren) wrote :

Now, tvtime works! It seems it is realy a kdetv bug. But xawtv also do not work.

Need help!

Revision history for this message
D'Lazesz (dlazesz) wrote :

In the first post Tomasz said "[...]are working properly in other analog tv apps" so it's not a question that other apps work.
In the second post Tomas states "I've checked that intrepid kdetv packages is just the same package as in jaunty". I confirm that.

The question is:
Is the bug in kdetv and it was an other bug in xorg so everything worked fine then the bug in xorg fixed and kdetv stopped working.

OR There is a bug in xorg(or somewhere else) which affect only kdetv.

Revision history for this message
Macchiavelli (lars-schroeren) wrote :

I think it is a bug in xorg or the driver of the videocard wich only affects kdetv and xawtv, because you checked the versions, and tvtime works. But tv-time seems to use another deinterlacer / xvideo or something like that, because the cpu-usage is much higher when i activate tvtime then when i activated kdetv.

So I think its a communication problem with the xvideo / v4l and the nvidia-driver, because kdetv uses these ones. For tvtime I can't say. I'm not an expert.

Revision history for this message
Tomasz Czapiewski (xeros) wrote :

For me tvtime doesn't get more cpu time than kdetv - both use xv for video acceleration and cpu usage is really small even in 924x... tv input resolution from tv card. I've converted channel list from kdetv to tvtime format and now I use tvtime temporary. I'm using open source xserver-xorg-video-ati drivers on ATI Radeon 9600, so the problem with kdetv is not only with nvidia cards/drivers.

Revision history for this message
Tomasz Czapiewski (xeros) wrote :

And this:
-----
Section "Module"
    Load "v4l"
EndSection
-----
in /etc/X11/xorg.conf didn't help me to get any of my analog video devices to being recognised by kdetv. It's just the same as without this option. (and yes, I've restarted Xserver and even rebooted computer to double check that).
I assume it might be a problem with kde3/qt3 libraries in jaunty as most of the xserver and it's extension related libs dependency is simmilar in both kdetv and tvtime or maybe kdetv package just needs to be recompiled using jaunty kde3/qt3 development headers/libraries(?).

Revision history for this message
D'Lazesz (dlazesz) wrote :

Tested with nouveau instead of nvidia. -> Same result.
Rebuilt with apt-build. -> Same result.

Any other ideas?

Revision history for this message
D'Lazesz (dlazesz) wrote :

I booted Intrepid livecd installed kdetv it saw the TV card.

I booted Jaunty livecd installed kdetv it didn't saw the TV card.

The stderr-s are in the attachment.

The only difference is a lot of libzvbi line.
libzvbi0 package switched version from 0.2.30 to 0.2.31 between the two releases.

Installing the related packages form intrepid repos won't help. (Also can't reproduce the lines from intrepid.)

Revision history for this message
Bryce Harrington (bryce) wrote :

[No need to have this double-filed against xorg as well]

Changed in xorg (Ubuntu):
status: New → Invalid
Revision history for this message
Bryce Harrington (bryce) wrote :

[Actually probably there is...]

Changed in xorg (Ubuntu):
status: Invalid → New
Bryce Harrington (bryce)
affects: xorg (Ubuntu) → nvidia-graphics-drivers-180 (Ubuntu)
Revision history for this message
Tomasz Czapiewski (xeros) wrote :

@Bryce,
This bug does affect open source ATI drivers, too.

Revision history for this message
D'Lazesz (dlazesz) wrote :

It's not the Nvidia driver's problem.
I tested it with the ver. 173 both on Intrepid and Jaunty: On Intrepid kdetv worked on Jaunty not.

It's easy to blame the closed source driver...

Revision history for this message
D'Lazesz (dlazesz) wrote :

There is some progress finding the source of the problem:

After a lot test I've got interesting results:

I did minimal installs (from server CD) and then installed the required packages...

On a Jaunty base system installed every other package from Intrepid repos. -> Kdetv not see the card.
On an Intrepid base system installed every other package from Jaunty repos. -> Kdetv sees the card.

Revision history for this message
O.S. (olli-s-83) wrote :

I'm affected as well... :(

Revision history for this message
O.S. (olli-s-83) wrote :

Status should be confirmed by now, shouldn't it?

Revision history for this message
D'Lazesz (dlazesz) wrote :

In addition to my last post:

After x restart and re-login kdetv sees the card only until reboot. :(
It's must be some deeper issue.
Does anyone have a clue?

@ O.S. : The bug is not in the packages listed above. I bet none of the experts can reproduce or investigate the bug. It's enough not to confirm it. I think it will last long to fix.
Maybe kdetv become unsupported first...

Revision history for this message
mike (mikeraser) wrote :

I have instaled Mint 7 RC gloria and the it isn't detected.
Guess i'll have to stay with ubuntu 8.04

Revision history for this message
mike (mikeraser) wrote :

Just tried out with Fedora 11 Rc and the card is not detected as well, the problem is probably in xorg

Revision history for this message
Bryce Harrington (bryce) wrote :

I've posted a new version of the -nvidia driver to our xorg-edgers PPA,
would you mind testing it either on Jaunty or Karmic and see if it
resolves this bug?

Get nvidia-graphics-drivers-180 - 185.18.14 here:

  https://edge.launchpad.net/~xorg-edgers/+archive/ppa

Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: New → Incomplete
Revision history for this message
D'Lazesz (dlazesz) wrote :

Tested with just the Nvidia related packages and then with all packages were updated.
Nothing happened.

Some other ideas?

Revision history for this message
RickMura (forum) wrote :

I have the same problem.
TVTime working fine, but I want to use KDETV.

Revision history for this message
barbolani (barbolani-gmail) wrote :

Same problem here with Karmic, my Bt878 card worked perfectly with Jaunty and now Kdetv cannot find any video source. tvtime works perfectly. This is the same hardware that had both, tvtime and kdetv, working with 9.04

Revision history for this message
mike (mikeraser) wrote :

Your card worked fine on Jaunty barbolani?????
What card do you have

Revision history for this message
barbolani (barbolani-gmail) wrote :

Sorry, perhaps I've filed this in the wrong place. My card works well in both Jaunty and Karmic. kdetv worked on Jaunty, but no longer works in Karmic. tvtime works in Karmic, so I know that it's not a problem with the card itself.

Revision history for this message
Bryce Harrington (bryce) wrote :

Sounds like perhaps you have an unrelated issue.

Revision history for this message
Aitor Moreno (aitormoreno) wrote :

Hi,
Finally, I upgraded to Karmic, and I still have problems with kdetv. tvtime still works fine.

The tv card is : Pinnacle PCTV Stereo (saa7134)

Here is the output. It is similar to the Jaunty's version.

####:/$ kdetv
kbuildsycoca running...
DCOP Cleaning up dead connections.
Creating vbi proxy client, rev.
$Id: proxy-client.c,v 1.18 2008/02/19 00:35:21 mschimek Exp $
proxy_msg: connect: error 2, No existe el fichero ó directorio
Try to open V4L2 0.20 VBI device, libzvbi interface rev.
  $Id: io-v4l2.c,v 1.37 2008/02/19 00:35:20 mschimek Exp $
Opened /dev/vbi0
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: Try to open V4L2 2.6 VBI device, libzvbi interface rev.
  $Id: io-v4l2k.c,v 1.49 2008/02/19 00:35:20 mschimek Exp $.
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: Opened /dev/vbi0.
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: /dev/vbi0 (Pinnacle PCTV Stereo (saa7134)) is a v4l2 vbi device,
driver saa7134, version 0x0000020f.
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: Using streaming interface.
libzvbi:io-v4l2k:v4l2_get_videostd: Current scanning system is 625.
libzvbi:io-v4l2k:v4l2_update_services: Querying current vbi parameters...
libzvbi:io-v4l2k:v4l2_update_services: ...success.
libzvbi:print_vfmt: VBI capture parameters supported:
libzvbi:print_vfmt: VBI capture parameters granted:
libzvbi:print_vfmt: Fixes applied:
libzvbi:raw_decoder:vbi3_raw_decoder_add_services: No services to add.
libzvbi:io-v4l2k:v4l2_update_services: Nyquist check passed.
libzvbi:io-v4l2k:v4l2_update_services: Request decoding of services 0x60000c7f, strict level -1.
libzvbi:sampling_par:_vbi_sampling_par_permit_service: Service 0x00000020 (Closed Caption 525, field 1) requires videostd_set 0x2, have 0x0.
libzvbi:sampling_par:_vbi_sampling_par_permit_service: Service 0x00000040 (Closed Caption 525, field 2) requires videostd_set 0x2, have 0x0.
libzvbi:io-v4l2k:v4l2_update_services: Will capture services 0x0000041f, added 0x41f commit=1.
libzvbi:io-v4l2k:v4l2_stream_alloc: Requesting 16 streaming i/o buffers.
libzvbi:io-v4l2k:v4l2_stream_alloc: Mapping 16 streaming i/o buffers.
libzvbi:io-v4l2k:vbi_capture_v4l2k_new: Successfully opened /dev/vbi0 (Pinnacle PCTV Stereo (saa7134)).

Bryce Harrington (bryce)
Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Tomasz Czapiewski (xeros) wrote :

The bug still exists in (up-to-date) 9.10 Karmic but it's not Nvidia drivers dependent.
Kdetv does not see any analog TV cards in opposite to tvtime or xawtv.
It has to be somewhere in QT3 libraries as the same Kdetv binary was used in Kubuntu 8.10 and 9.04 and on 8.10 it worked but after upgrade to 9.04 and later 9.10 it stopped working. Other analog TV applications work fine but unfortunately there's no already working KDE4 application to watch analog TV.

Revision history for this message
Aitor Moreno (aitormoreno) wrote :

I confirm that the bug still exists. Kubuntu 9.10 totally upgraded. The symptoms and related info is still the same. Ask for it if anyone thinks it could help to solve this bug.

Revision history for this message
djlj (spam-vsevjednom) wrote :

Hello, yes, bug still exists in Ubuntu 9.10. But I got a small solution: when I logged out and log in back, kdetv see my card and analog tv is working.

So where is a problem? Some modules are not loaded when Ubuntu starts?

Revision history for this message
mike (mikeraser) wrote :

Hi djlj what tv card do you have
That trick dosent work with me

Revision history for this message
D'Lazesz (dlazesz) wrote :

Strange thing happened with me:

I was trying various parameters of the bttv module, if the autodetection is wrong.
I noticed that after this. The autodetected paramters was the same, i used last time.
And this was continoued until restart.

But the real strange thing:
After this i have taken out the card to clean it.
Then at the next boot everything worked like a charm.

Not sure, if the above related with the topic or is this a hardware or softvare issue.
It worth a try.

Revision history for this message
djlj (spam-vsevjednom) wrote :

Hello mike, it's AVerTV Hybrid+FM PCI.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.