dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 104598] vkmark with kwin compositing: Page flip failed: Cannot allocate memory
Date: Tue, 15 May 2018 16:18:57 +0000	[thread overview]
Message-ID: <bug-104598-502-Qp32svWO97@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-104598-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 1208 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104598

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|DRM/AMDgpu                  |DRM/other

--- Comment #7 from Michel Dänzer <michel@daenzer.net> ---
Thanks, I was finally able to reproduce this. Seems like it's only reproducible
if the app runs at >= ~10K FPS.

It happens because the client submits so many PresentPixmap requests within a
single vertical blank period that the corresponding DRM vblank events fill up
the kernel DRM event queue. Then when the compositor sends a PresentPixmap
request, the page flip ioctl gets -ENOMEM from drm_event_reserve_init and
propagates it. (That the modesetting driver can't deal with this is its bug)

Options for addressing this:

The kernel might allow queuing page flip events even when the queue is full
with vblank events.

The xserver present code should be able to re-use a single DRM vblank event for
multiple client requests with the same target MSC.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2595 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2018-05-15 16:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-104598-502@http.bugs.freedesktop.org/>
2018-01-12 11:48 ` [Bug 104598] vkmark with kwin compositing: Page flip failed: Cannot allocate memory bugzilla-daemon
2018-01-12 15:15 ` bugzilla-daemon
2018-01-12 15:21 ` bugzilla-daemon
2018-01-12 15:53 ` bugzilla-daemon
2018-04-27 16:39 ` bugzilla-daemon
2018-05-14  8:21 ` bugzilla-daemon
2018-05-15 16:18 ` bugzilla-daemon [this message]
2018-05-16  7:58 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-104598-502-Qp32svWO97@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox