[Bug 102008] DRI_PRIME causes X Error of failed request: BadAlloc (insufficient resources for operation)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 1 21:20:24 UTC 2017


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

            Bug ID: 102008
           Summary: DRI_PRIME causes X Error of failed request:  BadAlloc
                    (insufficient resources for operation)
           Product: Mesa
           Version: 17.2
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: bartos.petr at gmail.com
        QA Contact: dri-devel at lists.freedesktop.org

Hi,
I'm on Fedora using git mesa from  che/mesa Copr repository. From build based
on commit 5ffe0c9 I am encountering problem with using discrete Radeon R5 M240
via DRI_PRIME. When using wine, it crashes with message:

X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  148 ()
  Minor opcode of failed request:  2
  Serial number of failed request:  4615
  Current serial number in output stream:  4616

Steam via wine with DRI_PRIME starts, but crashes whenever any game is started
or when system information dialog is invoked (with above message).

Native Steam with DRI_PRIME does not start at all, some native games work
(Amnesia), some not (Serious Sam Fusion), however message printed when using
wine does not appear.

Last mesa built which works for me is based on commit 7250cba.

I'm using modesetting driver for both GPUs. Programs with DRI_PRIME starts when
DRI3 is disabled via LIBGL_DRI3_DISABLE, however in that case image is
distorted and thus unusable.

I thought it might be some problem related to 101867 or 101876, however these
should be fixed and latest mesa build based on commit b8bea9a still does not
work for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170801/40d27769/attachment-0001.html>


More information about the dri-devel mailing list