From: bugzilla-daemon@freedesktop.org Subject: [Bug 111588] Framebuffer corruption when a fb which is not being scanned out gets removed Date: Mon, 09 Sep 2019 16:14:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2049130590==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0A3FB8929D for ; Mon, 9 Sep 2019 16:14:58 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2049130590== Content-Type: multipart/alternative; boundary="15680456971.90fA54d.23794" Content-Transfer-Encoding: 7bit --15680456971.90fA54d.23794 Date: Mon, 9 Sep 2019 16:14:57 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D111588 --- Comment #2 from Michel D=C3=A4nzer --- (In reply to Hans de Goede from comment #0) > 5) Plymouth internally calls src/plugins/renderers/drm/plugin.c: > ply_renderer_buffer_free() this does: > drmModeRmFB(...); > munmap (buffer->map_address, buffer->map_size); > destroy_dumb_buffer_request.handle =3D buffer->handle; > drmIoctl (fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destroy_dumb_buffer_reque= st); > Followed by calling close() on the fd. > 6) Plymouth exits > 7) 5 and/or 6 cause the gdm framebuffer being all messed up, it looks lik= e a > wrong pitch or tiling setting Would be interesting if you could further narrow down which step (or even sub-step of 5) exactly triggers the problem. --=20 You are receiving this mail because: You are the assignee for the bug.= --15680456971.90fA54d.23794 Date: Mon, 9 Sep 2019 16:14:57 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 2 on bug 11158= 8 from Michel D=C3=A4nzer
(In reply to Hans de Goede from comment #0)
> 5) Plymouth internally calls src/plugins/rendere=
rs/drm/plugin.c:
>    ply_renderer_buffer_free() this does:
>     drmModeRmFB(...);
>     munmap (buffer->map_address, buffer->map_size);
>     destroy_dumb_buffer_request.handle =3D buffer->handle;
>     drmIoctl (fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destroy_dumb_buffe=
r_request);
>    Followed by calling close() on the fd.
> 6) Plymouth exits
> 7) 5 and/or 6 cause the gdm framebuffer being all messed up, it looks =
like a
>    wrong pitch or tiling setting

Would be interesting if you could further narrow down which step (or even
sub-step of 5) exactly triggers the problem.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15680456971.90fA54d.23794-- --===============2049130590== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============2049130590==--