Discussion:
[kaffeine] [Bug 397532] New: Jams
Add Reply
Wabi
2018-08-16 18:17:13 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=397532

Bug ID: 397532
Summary: Jams
Product: kaffeine
Version: 2.0.15
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: mchehab+***@kernel.org
Reporter: ***@gmail.com
Target Milestone: ---

There are jams frequently in dvb-c after upgrading to Ubuntu 18.04.
--
You are receiving this mail because:
You are watching all bug changes.
Wabi
2018-08-17 17:06:28 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=397532

--- Comment #1 from Wabi <***@gmail.com> ---
Move the mouse helps. It's repeated about 1 minute.
--
You are receiving this mail because:
You are watching all bug changes.
Wabi
2018-08-18 19:45:39 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=397532

--- Comment #2 from Wabi <***@gmail.com> ---
German channels haven't this problem but polish only have.
--
You are receiving this mail because:
You are watching all bug changes.
Wabi
2018-08-18 20:31:43 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=397532

--- Comment #3 from Wabi <***@gmail.com> ---
There isn't any problems when I switched from Ubuntu to Unity in system
starting.
--
You are receiving this mail because:
You are watching all bug changes.
Mauro Carvalho Chehab
2018-11-06 16:46:46 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=397532

--- Comment #4 from Mauro Carvalho Chehab <mchehab+***@kernel.org> ---
(In reply to Wabi from comment #3)
Post by Wabi
There isn't any problems when I switched from Ubuntu to Unity in system
starting.
Sorry, but, if you want some action on this bug, you need to better report it:

1) what do you mean by "jams"?
2) What's your current environment (GPU, TV board, CPU, ...)?
3) Please post the Kernel logs (dmesg);
4) Please post Kaffeine debug logs;
5) What do you mean by "switching from Ubuntu to Unity"? Ubuntu is a
distribution; Unity is just a windows manager.
--
You are receiving this mail because:
You are watching all bug changes.
Wabi
2018-11-08 08:43:09 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=397532

--- Comment #5 from Wabi <***@gmail.com> ---
My replies:
1) Jams of sound and picture of tv programs continous by about 7 seconds every
15 seconds
2) Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller,
TechnoTrend AG TT-TVStick CT2-4400, Intel(R) Pentium(R) CPU G3260 @ 3.30GHz
3) I don't know when I can get it
4) I don't know when I can get it
5) When I logging on starting Ubuntu 18.04 I can switched between Gnome, Unity
and Ubuntu choosing a gear
--
You are receiving this mail because:
You are watching all bug changes.
Mauro Carvalho Chehab
2018-11-08 09:47:05 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=397532

--- Comment #6 from Mauro Carvalho Chehab <mchehab+***@kernel.org> ---
(In reply to Wabi from comment #5)
Post by Wabi
1) Jams of sound and picture of tv programs continous by about 7 seconds
every 15 seconds
Kaffeine sets a Kernel buffer in order to store the data received from the TV
card. It creates internally a thread that reads from the buffer. Such thread
should be able to fully read the buffer before the next one arrives, as
otherside packets will be lost. From your description, I suspect that this is
what's happening: something is causing the Kaffeine's thread to be scheduled to
wake too late.

That could happen on some situations:
- the GPU driver is taking a very long time to display the video;
- the CPU load is too high;
- the kernel you're using is on voluntary mode (it was compiled with
preemption is disabled) and some task is holding the CPU for a very long time.
Post by Wabi
2) Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller,
3) I don't know when I can get it
4) I don't know when I can get it
Without logs, we can only guess the cause of the jams. Btw, based on what you
said, we may also need the Xorg (and/or Wayland) logs.
Post by Wabi
5) When I logging on starting Ubuntu 18.04 I can switched between Gnome,
Unity and Ubuntu choosing a gear
Gnome and Unity are clear: both are window managers. I suspect that, on Ubuntu,
both "profiles" use X11.

I've no idea what your "Ubuntu" profile actually means, but clearly it is doing
something bad.

Perhaps this "Ubuntu" profile is loading an userspace video driver that doesn't
do video acceleration, or perhaps it is starting a process that is keeping the
CPU under a very high load. Do you know if it uses X11 or Wayland?
--
You are receiving this mail because:
You are watching all bug changes.
Mauro Carvalho Chehab
2018-11-08 09:47:44 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=397532

Mauro Carvalho Chehab <mchehab+***@kernel.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|Jams |Jams of sound and picture
| |of tv programs continuous
| |by about 7 seconds every 15
| |seconds
--
You are receiving this mail because:
You are watching all bug changes.
Mauro Carvalho Chehab
2018-11-08 09:48:34 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=397532

Mauro Carvalho Chehab <mchehab+***@kernel.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|Jams of sound and picture |Jams of sound and picture n
|of tv programs continuous |TV programs continuous by
|by about 7 seconds every 15 |about 7 seconds every 15
|seconds |seconds on an specific
| |Window Manager setup
--
You are receiving this mail because:
You are watching all bug changes.
Mauro Carvalho Chehab
2018-11-08 10:11:42 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=397532

--- Comment #7 from Mauro Carvalho Chehab <mchehab+***@kernel.org> ---
(In reply to Wabi from comment #1)
Post by Wabi
Move the mouse helps. It's repeated about 1 minute.
That is probably making the scheduler to wake Kaffeine process earlier, in
order to handle mouse events. I would expect this kind of behaviour if some
other process is running in background, making CPU busy.

(In reply to Wabi from comment #2)
Post by Wabi
German channels haven't this problem but polish only have.
Perhaps that polish channel is using a higher resolution or require a different
kind of video acceleration. I would expect this kind of behavior if, for such
channel, instead of using the GPU for doing a video decoding, it is doing it in
software.

Btw, there was a reported bug that Kaffeine eats too much CPU when doing video
de-interlacing. Perhaps, for this polish channel, it is doing software
de-interlacing, with can be very CPU intensitive specially on high-res
channels. On Kaffeine 2.0.15, the default changed to "Disabled", as most
channels nowadays don't need de-interlacing. Yet, Kaffeine stores your
preference. So, I suggest you to double-check if de-interlacing is disabled on
your setup.

This is at this menu:

Playback -> Video -> Deinterlace

The first option there is "Disabled". If you change via this menu, the setting
will be persistent.
--
You are receiving this mail because:
You are watching all bug changes.
Mauro Carvalho Chehab
2018-11-08 10:22:17 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=397532

--- Comment #8 from Mauro Carvalho Chehab <mchehab+***@kernel.org> ---
(In reply to Mauro Carvalho Chehab from comment #7)
Post by Mauro Carvalho Chehab
Btw, there was a reported bug that Kaffeine eats too much CPU when doing
video de-interlacing.
The bug in question is:
https://bugs.kde.org/show_bug.cgi?id=389783

This bug also seems to be a duplicate of the same issue:
https://bugs.kde.org/show_bug.cgi?id=387750
--
You are receiving this mail because:
You are watching all bug changes.
Wabi
2018-11-08 16:18:20 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=397532

--- Comment #9 from Wabi <***@gmail.com> ---
After updating system this bug seems to be deleted. I had deintarlace enabled
before.
--
You are receiving this mail because:
You are watching all bug changes.
Mauro Carvalho Chehab
2018-11-08 18:29:09 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=397532

Mauro Carvalho Chehab <mchehab+***@kernel.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|REPORTED |RESOLVED

--- Comment #10 from Mauro Carvalho Chehab <mchehab+***@kernel.org> ---
(In reply to Wabi from comment #9)
Post by Wabi
After updating system this bug seems to be deleted. I had deintarlace
enabled before.
Ok, I'll close this one too. It is likely the deinterlace setting.

*** This bug has been marked as a duplicate of bug 389783 ***
--
You are receiving this mail because:
You are watching all bug changes.
Loading...