Gentoo Forums
Gentoo Forums
Quick Search: in
kaffeine (version 0.8.5) + digital tv -> freeze [?solved?]
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
anz
Apprentice
Apprentice


Joined: 05 Feb 2003
Posts: 279
Location: Vienna

PostPosted: Wed Oct 17, 2007 5:11 pm    Post subject: kaffeine (version 0.8.5) + digital tv -> freeze [?solved? Reply with quote

Hello,
I've got some weird behavior of kaffeine:
starting "digital tv" from the kaffeine menue, results in a black screen - it seems, that kaffeine cannot scan after a channel.
After killing the "stalled" programme and restarting it, I choose anything except "digital tv" from the kaffeine menue (f.e. "Play Playlist") and than choose "digital tv", watching tv works ...

Here the output when starting kaffeine from the console (with ends with a freeze):
Quote:
kaffeine
0
/dev/dvb/adapter0/frontend0 : opened ( DiBcom 7000MA/MB/PA/PB/MC )
/dev/dvb/0/frontend1 : : No such file or directory
Loaded epg data : 1054 events (10 msecs)
my_user@my_computer ~ $ Tuning to: ORF1 / autocount: 0
DvbCam::probe(): /dev/dvb/adapter0/ca0: : No such file or directory
Using DVB device 0:0 "DiBcom 7000MA/MB/PA/PB/MC"
tuning DVB-T to 794000000 Hz
inv:2 bw:0 fecH:2 fecL:9 mod:1 tm:1 gi:4 hier:0
... LOCKED.
NOUT: 1
dvbEvents 0:0 started
Tuning delay: 742 ms
libGL warning: 3D driver claims to not support visual 0x64
pipe opened
xine pipe opened /home/my_user/.kaxtv.ts
AFD changed from -2 to -1


emerge -pv kaffeine:
Quote:
[ebuild R ] media-video/kaffeine-0.8.5 USE="arts dvb encode gstreamer kdehiddenvisibility vorbis xinerama -debug -xcb" 0 kB


emerge -pv xine-lib:
Quote:
[ebuild R ] media-libs/xine-lib-1.1.8 USE="X alsa arts directfb dvd esd gnome gtk ipv6 mad nls opengl oss sdl truetype v4l vorbis win32codecs xinerama xv -a52 -aac -aalib (-altivec) -debug -dts -dxr3 -fbcon -flac -imagemagick -jack -libcaca -mmap -mng -modplug -musepack -pulseaudio -real -samba -speex -theora -vcd -vidix -wavpack -xcb -xvmc" 0 kB


emerge -pv xine-ui:
Quote:
[ebuild R ] media-video/xine-ui-0.99.5 USE="X ncurses nls readline xinerama aalib vdr -curl -debug -libcaca -lirc" 0 kB


emerge -pv x11-base/xorg-server:
Quote:
[ebuild R ] x11-base/xorg-server-1.3.0.0-r1 USE="dri ipv6 nptl sdl xorg -3dfx -debug -dmx -kdrive -minimal -xprint" INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics* -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="fbdev i810 v4l vesa -apm -ark -chips -cirrus -cyrix -dummy -epson -fglrx -glint -i128 -i740 (-impact) -imstt -mach64 -mga -neomagic (-newport) -nsc -nv -nvidia -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -vga -via -vmware -voodoo" 0 kB



lscpi finds a
VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)


... strange ...

It worked before, but I am too stupid to know/remember what package update causes the problem.
_________________
Greetings from Vienna


Last edited by anz on Fri Dec 28, 2007 3:58 am; edited 1 time in total
Back to top
View user's profile Send private message
paddlaren
n00b
n00b


Joined: 23 Nov 2005
Posts: 61
Location: Staffanstorp, Sweden

PostPosted: Mon Oct 22, 2007 11:36 am    Post subject: Reply with quote

I have the same problem and fighting it now.
In periods it works nice and suddenly it stop working and hangs all the time.

So you say that there is a package somewhere that need to be re-emerged but you cannot remember which?

Regards,
Erik
Back to top
View user's profile Send private message
paddlaren
n00b
n00b


Joined: 23 Nov 2005
Posts: 61
Location: Staffanstorp, Sweden

PostPosted: Mon Oct 22, 2007 11:54 am    Post subject: Reply with quote

After several attempts with a hanging kaffeine it start working after I re-emerge xine-lib.

The complete procedure I followed was:
* Look into gentoo-portage.com to examine the dependencies for Kaffeine.
* emerge kaffeine itself, no improvements.
* emerge xine-lib while waiting for a hanging kaffeine.
* Killed kaffeine and started it again and it worked.

One thing, one of the tries I made today where during a timed recording. The recording started and the number of available channel decreased as it should. When I tried to watch the same channel as I recorded from the GUI hang.

I will give this a chance and hopefully it is not a coincident that it works. Can some one else try the same to verify?


Regards,
Erik
Back to top
View user's profile Send private message
anz
Apprentice
Apprentice


Joined: 05 Feb 2003
Posts: 279
Location: Vienna

PostPosted: Mon Oct 22, 2007 12:50 pm    Post subject: Reply with quote

Dear Erik,
thank you very much - I will re-emere xine-lib and post the results (I hope there will be better results than Austrian songs at the Eurovision Songcontest - Austria zero points)... :wink:

Here "my" emerge-settings of xine-lib:
Quote:
[ebuild R ] media-libs/xine-lib-1.1.8 USE="X alsa arts directfb dvd esd gnome gtk ipv6 mad nls opengl oss sdl truetype v4l vorbis win32codecs xinerama xv -a52 -aac -aalib (-altivec) -debug -dts -dxr3 -fbcon -flac -imagemagick -jack -libcaca -mmap -mng -modplug -musepack -pulseaudio -real -samba -speex -theora -vcd -vidix -wavpack -xcb -xvmc" 0 kB


-- Update --
reemerging xine-lib did not change the behaviour of kaffeine. Now I can hear some "noise" before dvb-t-watching hangs. Killing and restarting kaffeine (one ore more times), watching dvb-t works ...
... strange ... (Austria still zero points)
_________________
Greetings from Vienna
Back to top
View user's profile Send private message
paddlaren
n00b
n00b


Joined: 23 Nov 2005
Posts: 61
Location: Staffanstorp, Sweden

PostPosted: Tue Oct 23, 2007 9:17 am    Post subject: Reply with quote

Well, it worked for me. Or it looked like it.

What is the output from dmesg?
My dmesg reports:
Code:

tda1004x: setting up plls for 48MHz sampling clock
tda1004x: found firmware revision 20 -- ok


Does the timed recording work?

Have you tried revdep-rebuild?
It is sometimes useful. I run it frequently (but not for a while, better do).

Maybe still a chance for point to Austria? :P

Regards,
Erik
Back to top
View user's profile Send private message
anz
Apprentice
Apprentice


Joined: 05 Feb 2003
Posts: 279
Location: Vienna

PostPosted: Tue Oct 23, 2007 11:46 am    Post subject: Reply with quote

Yupp - revdep-rebuild did not find any broken library/link.

>Does the timed recording work?
Yes

here the dmesg output:
Quote:
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
dib0700: loaded with support for 5 different device-types
dvb-usb: found a 'Hauppauge Nova-T Stick' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.10.fw'
dib0700: firmware started successfully.
dvb-usb: found a 'Hauppauge Nova-T Stick' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Hauppauge Nova-T Stick)
DVB: registering frontend 0 (DiBcom 7000MA/MB/PA/PB/MC)...
MT2060: successfully identified (IF1 = 1220)
input: IR-receiver inside an USB DVB receiver as /class/input/input7
dvb-usb: schedule remote query interval to 150 msecs.
dvb-usb: Hauppauge Nova-T Stick successfully initialized and connected.
usbcore: registered new interface driver dvb_usb_dib0700

... seems to be ok ...

... interessting - while starting xine or mplayer watching dvb both buffer the stream ... kaffeine does not?
Xine and mplayer handle dvb:// without any problems.
May be, the signal is so weak, that kaffeine sometimes crashes (is it using the xine engine?).

Thank you very much!
_________________
Greetings from Vienna
Back to top
View user's profile Send private message
paddlaren
n00b
n00b


Joined: 23 Nov 2005
Posts: 61
Location: Staffanstorp, Sweden

PostPosted: Tue Oct 23, 2007 1:46 pm    Post subject: Reply with quote

I used another DVB-decoder before this one and when the signal was weak the xine engine crashed. I have asociated it with decoding-problems due to missing frames in the stream. When I play a recorded stream that contains drops Kaffeine often crach.

Regards,
Erik
Back to top
View user's profile Send private message
paddlaren
n00b
n00b


Joined: 23 Nov 2005
Posts: 61
Location: Staffanstorp, Sweden

PostPosted: Tue Oct 23, 2007 1:47 pm    Post subject: Reply with quote

And yes, normally kaffeine is using the xine engine. But yoou can chose to use the kaffeine-built in instead.
Back to top
View user's profile Send private message
anz
Apprentice
Apprentice


Joined: 05 Feb 2003
Posts: 279
Location: Vienna

PostPosted: Tue Oct 23, 2007 2:58 pm    Post subject: Reply with quote

Dear Erik,

I 've reemerged xine-lib, qt-3.3*, kdelibs and unmerged/emerged kaffeine - same result (Austria: zero points).

But if the "amplified signal function" is enabled, kaffeine does not crash so often:
Quote:
modprobe dvb-usb-dib0700 force_lna_activation=1

May be the signal is that bad?

And yes - when the signal goes down during recording, kaffeine crashes during playing that (recorded) mpeg-file.

I will try dvb-t somewhere in Vienna, where I can see the broadcasting antenna (to get good signal).

Thank you!

--- Update ---
the signals ARE bad - the best signal gets about 30 percent (!!!)
(Austria: minus ten points)
_________________
Greetings from Vienna
Back to top
View user's profile Send private message
anz
Apprentice
Apprentice


Joined: 05 Feb 2003
Posts: 279
Location: Vienna

PostPosted: Thu Dec 27, 2007 5:04 pm    Post subject: xine engine - opengl Reply with quote

seems to be a "simple" problem with the xine engine setting:
in Settings -> xine Engine parameters -> video
the option "opengl" was chosen...
... changing it to "auto" (it seems, that xine takes xv)
and the freeze is gone ...
... I am still testing out ... and it looks good ...

--- Update ---
after using the "auto" parameter in the xine Engine - video settings (see above) kaffeine starts viewing dvb-t channels without chrashing.
But during recording - when the dvb-t signal gets weak or lost, the cpu charge goes up to 100% and kaffeine stalls (only a kill helps).

(Sorry for that bad english...)
_________________
Greetings from Vienna
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum