[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-09 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #48 from coe...@gmail.com --- (In reply to coekbe from comment #45) > Note how > there are never any writes or reads on the FIFO at all in the test app. Yet > the hammering goes on. > I was confused about this. This is actually the correct

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-09 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #47 from Mauro Carvalho Chehab --- (In reply to José JORGE from comment #46) > Yes a big thanks for all, it was beyond my abilities... Yeah, fixing performance issues usually is not trivial. > For an end user, is there an idea when an offi

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-09 Thread José JORGE
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #46 from José JORGE --- Yes a big thanks for all, it was beyond my abilities... For an end user, is there an idea when an official release will bring this fix? -- You are receiving this mail because: You are watching all bug changes.

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #45 from coe...@gmail.com --- (In reply to Mauro Carvalho Chehab from comment #43) > > That's the expected behavior. Basically, reads and writes are buffered > internally at the Kernel. When such buffer is filled, a write to the > buffer will

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=368907 Mauro Carvalho Chehab changed: What|Removed |Added Status|CONFIRMED |RESOLVED Resolution|---

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #43 from Mauro Carvalho Chehab --- (In reply to coekbe from comment #41) > Created attachment 106508 [details] > Demo app to show infinite signal emission > > It looks like using a write notifier on a FIFO (or an ordinary file) is > invalid

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #42 from coe...@gmail.com --- Created attachment 106509 --> https://bugs.kde.org/attachment.cgi?id=106509&action=edit A patch using a read notifier Another patch fixing the 100% cpu usage -- You are receiving this mail because: You are w

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=368907 coe...@gmail.com changed: What|Removed |Added CC||coe...@gmail.com --- Comment #41 from coe...@

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread Jan Palus
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #40 from Jan Palus --- Looks like this was it! After applying last patch issue did not occur within 10min of constant channel switching. Thanks a lot Mauro! -- You are receiving this mail because: You are watching all bug changes.

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=368907 Mauro Carvalho Chehab changed: What|Removed |Added Attachment #106506|0 |1 is obsolete|

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #38 from Mauro Carvalho Chehab --- Created attachment 106506 --> https://bugs.kde.org/attachment.cgi?id=106506&action=edit Disable notifier if no data (In reply to Jan Palus from comment #36) > Looks like it's still the same, but I'm not

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread Jan Palus
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #37 from Jan Palus --- And just to be clear -- not empty counter continues to increase with the same pace once bug is triggered and everything works fine (TV runs smoothly), it's just high CPU usage in the background that changes. -- You a

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread Jan Palus
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #36 from Jan Palus --- Looks like it's still the same, but I'm not really sure whether we are on the same page -- writeToPipe() is not looping. It is rather called a lot once the bug is triggered. I've made following small adjustment to its

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=368907 Mauro Carvalho Chehab changed: What|Removed |Added Attachment #106501|0 |1 is obsolete|

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=368907 Mauro Carvalho Chehab changed: What|Removed |Added Attachment #106498|0 |1 is obsolete|

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #33 from Mauro Carvalho Chehab --- (In reply to Mauro Carvalho Chehab from comment #32) > Ok, error 11 is EAGAIN. I suspect that the pipeline buffer is full. > Probably, VLC is too slow to handle the DVB channel you're tuning. > > Please ch

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #32 from Mauro Carvalho Chehab --- Created attachment 106500 --> https://bugs.kde.org/attachment.cgi?id=106500&action=edit Wait 100ms before retrying after an error (In reply to Jan Palus from comment #31) > Thanks for the patch. Unfortun

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread Jan Palus
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #31 from Jan Palus --- Thanks for the patch. Unfortunately it does not change much -- issue is still there. New warning is constantly printed when kaffeine operates normally: 08-07-17 14:23:17.447 [Warning ] kaffeine.mediawidget: Error 11 w

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #30 from Mauro Carvalho Chehab --- Created attachment 106498 --> https://bugs.kde.org/attachment.cgi?id=106498&action=edit Don't ignore errors when writing to libVLC pipe (In reply to Jan Palus from comment #29) > It appears once the issu

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread Jan Palus
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #29 from Jan Palus --- It appears once the issue is triggered DvbLiveViewInternal::writeToPipe() is called thousands of times a second but buffers is always empty. -- You are receiving this mail because: You are watching all bug changes.

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-08 Thread Jan Palus
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #28 from Jan Palus --- Some random observations: 1. For some reason issue is much easier to reproduce if kaffeine is run from gdb. Usually takes single channel change to trigger the problem 2. With enabled G_MAIN_POLL_DEBUG in glib I see qui

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-07 Thread Szymon Stefanek
https://bugs.kde.org/show_bug.cgi?id=368907 Szymon Stefanek changed: What|Removed |Added CC||pra...@kvirc.net Status|UNCONFIRM

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-05 Thread Jan Palus
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #26 from Jan Palus --- Created attachment 106452 --> https://bugs.kde.org/attachment.cgi?id=106452&action=edit callgrind output Also attaching callgrind output -- You are receiving this mail because: You are watching all bug changes.

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-05 Thread Jan Palus
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #25 from Jan Palus --- I experience the same issue (version 2.0.10). Seems like it starts to happen as soon as some glitch in decoding is encountered -- video artifacts, green screen which kaffeine recovers from within seconds but keeps on u

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-07-05 Thread Jan Palus
https://bugs.kde.org/show_bug.cgi?id=368907 Jan Palus changed: What|Removed |Added CC||jan.pa...@gmail.com --- Comment #24 from Jan Palus

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-04-30 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=368907 stetsbeq...@womentie.de changed: What|Removed |Added CC||stetsbeq...@womentie.de --- Comment #2

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-03-23 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #22 from Mauro Carvalho Chehab --- (In reply to José JORGE from comment #21) > (In reply to Mauro Carvalho Chehab from comment #18) > > Bug #371579 was fixed upstream. Could you please test if this solved the > > issue for you? > > Issue no

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-03-20 Thread Michal Donat
https://bugs.kde.org/show_bug.cgi?id=368907 Michal Donat changed: What|Removed |Added CC||mic...@donat.cz -- You are receiving this mail

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-02-19 Thread José JORGE
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #21 from José JORGE --- (In reply to Mauro Carvalho Chehab from comment #18) > Bug #371579 was fixed upstream. Could you please test if this solved the > issue for you? Issue not solved as of today's GIT. I could get one time kaffeine to on

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-02-16 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #20 from Mauro Carvalho Chehab --- (In reply to José JORGE from comment #19) > (In reply to Mauro Carvalho Chehab from comment #18) > > Bug #371579 was fixed upstream. Could you please test if this solved the > > issue for you? > > Thanks,

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-02-16 Thread José JORGE
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #19 from José JORGE --- (In reply to Mauro Carvalho Chehab from comment #18) > Bug #371579 was fixed upstream. Could you please test if this solved the > issue for you? Thanks, but I suppose I have to checkout form git? Or can I try a tarba

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2017-02-16 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #18 from Mauro Carvalho Chehab --- (In reply to José JORGE from comment #17) > (In reply to Mauro Carvalho Chehab from comment #16) > > If any of this task happens as often as the scheduler is called, it will > > show 100% CPU usage. It is h

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-12-27 Thread José JORGE
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #17 from José JORGE --- (In reply to Mauro Carvalho Chehab from comment #16) > If any of this task happens as often as the scheduler is called, it will > show 100% CPU usage. It is hard to discover what task is taking more time > without pro

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-12-27 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #16 from Mauro Carvalho Chehab --- a "100% CPU" usage, doesn't really mean that the CPU is 100%. The way the Kernel generates this stat is by identifying how many times the Kernel task scheduler is idle, e. g. if there's no pending task to b

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-12-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=368907 yuli...@mailbox.org changed: What|Removed |Added CC||yuli...@mailbox.org -- You are receiving

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-12-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=368907 johan.claudebreunin...@gmail.com changed: What|Removed |Added CC||johan.claudebreuninger@gmai

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-12-18 Thread knossos456
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #14 from knossos456 --- oups in wrong section -- You are receiving this mail because: You are watching all bug changes.

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-12-18 Thread knossos456
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #13 from knossos456 --- my diseqc propblem is solved, I've changed the switch. I have now problems on some DVB-S2 - 8PSK transponder. DVB-S2 QPSK seem to be OK in all cases. For example, i can't scan : http://fr.kingofsat.net/tp.php?tp=259

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-12-02 Thread José JORGE
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #12 from José JORGE --- (In reply to Mauro Carvalho Chehab from comment #11) > option is accepted there. You could try those: > --no-video-title-show -V xcb_glx > or: > --no-video-title-show -V xcb_xv > > and re-start Kaffeine.

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-12-02 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #11 from Mauro Carvalho Chehab --- (In reply to Mauro Carvalho Chehab from comment #10) > (In reply to José JORGE from comment #8) > > (In reply to knossos456 from comment #7) > > I use vlc 2.2.4. It is important to understand that the 100%

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-12-02 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #10 from Mauro Carvalho Chehab --- (In reply to José JORGE from comment #8) > (In reply to knossos456 from comment #7) > > If you dont use virtual adapters, please notice also that kaffeine 2.0x use > > vlc as dvb core, and perhaps your vers

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-11-22 Thread knossos456
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #9 from knossos456 --- Ok, understanded. Have VLC same probleme with a recoded HD stream ? Have you installed Ubuntu from scratch or upgraded a previous version ? What will done the command vdpauinfo ? On my side, for VDPAU, i had to insta

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-11-21 Thread José JORGE
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #8 from José JORGE --- (In reply to knossos456 from comment #7) > If you dont use virtual adapters, please notice also that kaffeine 2.0x use > vlc as dvb core, and perhaps your version of Vlc is not correct, version > > 2.22 is requested. >

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-11-20 Thread knossos456
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #7 from knossos456 --- I'm on Ubuntu 16.04 LTS. I roll back to Kaffeine 1.22 too because Kaffeine 2.0x have crach problemes with virtual dvb adapter (dvbloopback) wich is need to descramble. If you dont use virtual adapters, please notice a

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-11-20 Thread Oscar Fuentes
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #6 from Oscar Fuentes --- Kubuntu 16.10 comes with Kaffeine 2.0.4. As far as I recall I never experienced the same problem with Kaffeine 1.x, for the 8 years I'm using it. (Currently I'm using Kaffeine 1.2.2 again due to this problem and a

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-11-20 Thread knossos456
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #5 from knossos456 --- And wich version of Kaffeine for each (exact 2.0x version)? Have you same problem with Kaffeine 1.22 based on Xnine ? -- You are receiving this mail because: You are watching all bug changes.

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-11-19 Thread Oscar Fuentes
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #4 from Oscar Fuentes --- Mine is an ATI HD6450 (also R600) using the radeon non-propietary driver. No problems with VLC. -- You are receiving this mail because: You are watching all bug changes.

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-11-19 Thread José JORGE
https://bugs.kde.org/show_bug.cgi?id=368907 --- Comment #3 from José JORGE --- (In reply to knossos456 from comment #2) > Have you same problem with VLC (because newest Kaffeine is based on VLC > core) ? > For me and ATI 5450, all is OK (VLC and Kaffeine) for VDPAU and ubuntu 16.04 > ( under 3% c

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-11-19 Thread knossos456
https://bugs.kde.org/show_bug.cgi?id=368907 knossos456 changed: What|Removed |Added CC||knossos...@gmail.com --- Comment #2 from knossos45

[kaffeine] [Bug 368907] kaffeine sometimes uses 100% CPU

2016-10-15 Thread Oscar Fuentes via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368907 Oscar Fuentes changed: What|Removed |Added CC||o...@wanadoo.es --- Comment #1 from Oscar Fuent