* [Bug 109679] [CI][BAT] CHAMELIUM: igt@kms_chamelium@hdmi-crc-fast - fail - Chamelium RPC call failed: RPC failed at server. <type 'exceptions.ZeroDivisionError'>:integer division or
[not found] <bug-109679-502@http.bugs.freedesktop.org/>
@ 2019-02-19 16:18 ` bugzilla-daemon
2019-02-19 16:19 ` bugzilla-daemon
` (3 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2019-02-19 16:18 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 736 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109679
Martin Peres <martin.peres@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
QA Contact|intel-gfx-bugs@lists.freede |
|sktop.org |
Assignee|intel-gfx-bugs@lists.freede |dri-devel@lists.freedesktop
|sktop.org |.org
Component|DRM/Intel |IGT
--- Comment #1 from Martin Peres <martin.peres@free.fr> ---
Actually, moving this to IGT as this is unlikely a problem of i915.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2678 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 109679] [CI][BAT] CHAMELIUM: igt@kms_chamelium@hdmi-crc-fast - fail - Chamelium RPC call failed: RPC failed at server. <type 'exceptions.ZeroDivisionError'>:integer division or
[not found] <bug-109679-502@http.bugs.freedesktop.org/>
2019-02-19 16:18 ` [Bug 109679] [CI][BAT] CHAMELIUM: igt@kms_chamelium@hdmi-crc-fast - fail - Chamelium RPC call failed: RPC failed at server. <type 'exceptions.ZeroDivisionError'>:integer division or bugzilla-daemon
@ 2019-02-19 16:19 ` bugzilla-daemon
2019-02-19 18:10 ` bugzilla-daemon
` (2 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2019-02-19 16:19 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 574 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109679
--- Comment #2 from CI Bug Log <cibuglog@gmail.com> ---
The CI Bug Log issue associated to this bug has been updated.
### New filters associated
* CHAMELIUM: igt@kms_chamelium@hdmi-crc-fast - fail - Chamelium RPC call
failed: RPC failed at server. <type
'exceptions.ZeroDivisionError'>:integer division or
-
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5629/fi-kbl-7500u/igt@kms_chamelium@hdmi-crc-fast.html
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1777 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 109679] [CI][BAT] CHAMELIUM: igt@kms_chamelium@hdmi-crc-fast - fail - Chamelium RPC call failed: RPC failed at server. <type 'exceptions.ZeroDivisionError'>:integer division or
[not found] <bug-109679-502@http.bugs.freedesktop.org/>
2019-02-19 16:18 ` [Bug 109679] [CI][BAT] CHAMELIUM: igt@kms_chamelium@hdmi-crc-fast - fail - Chamelium RPC call failed: RPC failed at server. <type 'exceptions.ZeroDivisionError'>:integer division or bugzilla-daemon
2019-02-19 16:19 ` bugzilla-daemon
@ 2019-02-19 18:10 ` bugzilla-daemon
2019-02-19 18:31 ` bugzilla-daemon
2019-02-19 19:22 ` bugzilla-daemon
4 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2019-02-19 18:10 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1747 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109679
--- Comment #3 from Stuart Summers <stuart.summers@intel.com> ---
Agree this looks like an issue in IGT or possibly in the chameleond daemon. At
a quick glance, there aren't a whole lot of places in the CaptureVideo path
that might trigger this exception in chameleond. It does look feasible that if
we were to pass a 0 for width and height, we could potentially get a
div-by-zero exception when chameleond prepares the video output:
CaptureVideo ->
_PrepareCapturingVideo/_captured_params['max_frame_limit']/flow_manager.GetMaxFrameLimit
-> input_flow.GetMaxFrameLimit -> frame_manager.GetMaxFrameLimit ->
field_manager.GetMaxFieldLimit -> VideoDumper.GetMaxFieldLimit:
def GetMaxFieldLimit(cls, width, height):
"""Returns of the maximal number of fields which can be dumped."""
BYTE_PER_PIXEL = 3
PAGE_SIZE = 4096
field_size = width * height * BYTE_PER_PIXEL
field_size = ((field_size - 1) / PAGE_SIZE + 1) * PAGE_SIZE
return cls._DUMP_BUFFER_SIZE / field_size
That said, running this myself locally does not result in the failure of this
sighting, and from kms_chamelium.c, during the CRC check, we are passing 0 for
width and height:
chamelium_capture(data->chamelium, port, 0, 0, 0, 0, count);
So I'd expect this to fail all the time if the issue were in the Python call I
indicated above.
And I'd also expect for CI to have seen this already if that were the case,
given this code has been present for some time.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2851 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 109679] [CI][BAT] CHAMELIUM: igt@kms_chamelium@hdmi-crc-fast - fail - Chamelium RPC call failed: RPC failed at server. <type 'exceptions.ZeroDivisionError'>:integer division or
[not found] <bug-109679-502@http.bugs.freedesktop.org/>
` (2 preceding siblings ...)
2019-02-19 18:10 ` bugzilla-daemon
@ 2019-02-19 18:31 ` bugzilla-daemon
2019-02-19 19:22 ` bugzilla-daemon
4 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2019-02-19 18:31 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1288 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109679
--- Comment #4 from Stuart Summers <stuart.summers@intel.com> ---
Sent that previous comment a little too quickly... It looks like we aren't
actually sending those 0's in the first place, in addition to my off-by-one
(given we are taking 0 - 1, not 0) miss:
(w && h) ? "(iiiiii)" : "(iinnnn)",
>From chameleond, this will autofill x, y, width, and height based on the
current resolution. Maybe the resolution was misconfigured? Or perhaps there's
an issue in the chamelium FPGA?
I still think it would be interesting here to get the chameleond log (see
request here: https://gitlab.freedesktop.org/gfx-ci/i915-infra/issues/29 + the
recent patch I posted to igt). There is quite a bit of state logging in
chameleond with that patch run locally with --d.
The only other thing I see interesting in the logs is this, just before the
error:
(kms_chamelium:2877) igt_chamelium-DEBUG: Chamelium needs FSM, handling
I don't see that when I run locally. Maybe we're getting a spurious hotplug
event while trying to capture video? Or maybe the video capture is taking to
long and/or hung for some reason, causing the hotplug to timeout?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2445 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 109679] [CI][BAT] CHAMELIUM: igt@kms_chamelium@hdmi-crc-fast - fail - Chamelium RPC call failed: RPC failed at server. <type 'exceptions.ZeroDivisionError'>:integer division or
[not found] <bug-109679-502@http.bugs.freedesktop.org/>
` (3 preceding siblings ...)
2019-02-19 18:31 ` bugzilla-daemon
@ 2019-02-19 19:22 ` bugzilla-daemon
4 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2019-02-19 19:22 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 451 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109679
Easwar Hariharan <easwar.hariharan@intel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|dri-devel@lists.freedesktop |stuart.summers@intel.com
|.org |
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1270 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-02-19 19:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-109679-502@http.bugs.freedesktop.org/>
2019-02-19 16:18 ` [Bug 109679] [CI][BAT] CHAMELIUM: igt@kms_chamelium@hdmi-crc-fast - fail - Chamelium RPC call failed: RPC failed at server. <type 'exceptions.ZeroDivisionError'>:integer division or bugzilla-daemon
2019-02-19 16:19 ` bugzilla-daemon
2019-02-19 18:10 ` bugzilla-daemon
2019-02-19 18:31 ` bugzilla-daemon
2019-02-19 19:22 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.