* [Bug 102008] DRI_PRIME causes X Error of failed request: BadAlloc (insufficient resources for operation)
@ 2017-08-01 21:20 bugzilla-daemon
2017-08-02 1:42 ` bugzilla-daemon
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-08-01 21:20 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1922 bytes --]
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@lists.freedesktop.org
Reporter: bartos.petr@gmail.com
QA Contact: dri-devel@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.
[-- Attachment #1.2: Type: text/html, Size: 3317 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 102008] DRI_PRIME causes X Error of failed request: BadAlloc (insufficient resources for operation)
2017-08-01 21:20 [Bug 102008] DRI_PRIME causes X Error of failed request: BadAlloc (insufficient resources for operation) bugzilla-daemon
@ 2017-08-02 1:42 ` bugzilla-daemon
2017-08-02 21:04 ` bugzilla-daemon
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-08-02 1:42 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 244 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102008
--- Comment #1 from Michel Dänzer <michel@daenzer.net> ---
Please track down which commit exactly broke it.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1112 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 102008] DRI_PRIME causes X Error of failed request: BadAlloc (insufficient resources for operation)
2017-08-01 21:20 [Bug 102008] DRI_PRIME causes X Error of failed request: BadAlloc (insufficient resources for operation) bugzilla-daemon
2017-08-02 1:42 ` bugzilla-daemon
@ 2017-08-02 21:04 ` bugzilla-daemon
2017-08-03 0:25 ` bugzilla-daemon
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-08-02 21:04 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 2183 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102008
--- Comment #2 from bartos.petr@gmail.com ---
So I have some partial results.
First problem I've encoutered is that I had to use patch from
https://bugs.freedesktop.org/show_bug.cgi?id=101774 in order to be able to
build mesa between 7250cbafb90271579a1d07160498e902996cbc97 and
5ffe0c9e1be0257de1943135244419cbc86a6d84 so I hope it does not affect these
results.
Second problem I found is that problem is connected with using modesetting DDX
drivers, and between working and non-working commits is some problem causing
segfault with modesetting drivers (X do not start). So I have tested not only
particular commits, but also DDX driver combinations:
intel - IGPU, DRI3, SNA accel
radeon - DGPU, DRI3, glamor accel
modesetting - both, default settings
So far I managed to find this (I have not finished bisecting yet, so these
commits are ones I've found so far):
f33d8af7aa354d00808f8bfd55028c396c706635
intel, radeon - OK
intel, modesetting - OK
modesetting, radeon - ERROR
modesetting, modesetting - ERROR
81fb1547772d42c527318837d4207ecdb6899e5d
intel, radeon - OK
intel, modesetting - SEGFAULT
modesetting, radeon - SEGFAULT
modesetting, modesetting - SEGFAULT
3645268748c44825ce8d37bf03f684731eb2652a
intel, radeon - OK
intel, modesetting - SEGFAULT
modesetting, radeon - SEGFAULT
modesetting, modesetting - SEGFAULT
84ed8b67c56b323cd834d463151e1a3c0430c53e
intel, radeon - OK
intel, modesetting - OK
modesetting, radeon - OK
modesetting, modesetting - OK
So it seems between somewhere between 84ed8b67c56b323cd834d463151e1a3c0430c53e
and f33d8af7aa354d00808f8bfd55028c396c706635
(https://cgit.freedesktop.org/mesa/mesa/log/?qt=range&q=84ed8b67c56b323cd834d463151e1a3c0430c53e..f33d8af7aa354d00808f8bfd55028c396c706635)
modesetting driver started to segfault which was fixed, but this fix probably
also caused problem which I have reported.
It also seems there is no problem when using only intel+radeon DDX drivers.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3415 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 102008] DRI_PRIME causes X Error of failed request: BadAlloc (insufficient resources for operation)
2017-08-01 21:20 [Bug 102008] DRI_PRIME causes X Error of failed request: BadAlloc (insufficient resources for operation) bugzilla-daemon
2017-08-02 1:42 ` bugzilla-daemon
2017-08-02 21:04 ` bugzilla-daemon
@ 2017-08-03 0:25 ` bugzilla-daemon
2017-08-03 3:26 ` bugzilla-daemon
2017-08-04 13:52 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-08-03 0:25 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 578 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102008
Mike Lothian <mike@fireburn.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mike@fireburn.co.uk
--- Comment #3 from Mike Lothian <mike@fireburn.co.uk> ---
I've been seeing this too, out of interest Bartos do 32bit apps render
correctly with DRI_PRIME I've been getting a black screen?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2033 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 102008] DRI_PRIME causes X Error of failed request: BadAlloc (insufficient resources for operation)
2017-08-01 21:20 [Bug 102008] DRI_PRIME causes X Error of failed request: BadAlloc (insufficient resources for operation) bugzilla-daemon
` (2 preceding siblings ...)
2017-08-03 0:25 ` bugzilla-daemon
@ 2017-08-03 3:26 ` bugzilla-daemon
2017-08-04 13:52 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-08-03 3:26 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 888 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102008
--- Comment #4 from MWATTT <megwattt@gmail.com> ---
I also have this problem to with my laptop (Intel Skylake iGPU + AMD TOPAZ
dGPU)
The issue is only with opengl, radv works fine.
The BadAlloc only happens with some window sizes. It can be easily tested with
glxgears. For instance, there is no problem with 1600x900 or default size,
300x300. With this height (300), I can resize the width between 257 and 448
without hitting a BadAlloc.
With a width of 192, I have no problem with the following heights:
123, 124, 129, 123, 131, 132, 134, 135, 136, 139, 140, 145, 146, 147, 148, 150,
151, 152, 155, 156, 161
I have a BadAlloc with those heights:
125, 126, 127, 128, 133, 137, 138, 141, 142, 143, 144, 149, 153, 154, 157, 158,
159, 160
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1748 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 102008] DRI_PRIME causes X Error of failed request: BadAlloc (insufficient resources for operation)
2017-08-01 21:20 [Bug 102008] DRI_PRIME causes X Error of failed request: BadAlloc (insufficient resources for operation) bugzilla-daemon
` (3 preceding siblings ...)
2017-08-03 3:26 ` bugzilla-daemon
@ 2017-08-04 13:52 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-08-04 13:52 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1161 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102008
bartos.petr@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/Gallium/radeonsi |Drivers/DRI/i965
QA Contact|dri-devel@lists.freedesktop |intel-3d-bugs@lists.freedes
|.org |ktop.org
Assignee|dri-devel@lists.freedesktop |intel-3d-bugs@lists.freedes
|.org |ktop.org
--- Comment #5 from bartos.petr@gmail.com ---
So after applying patch to avoid segfault (from
655a32f729a46176c1fc0c1727b33c15c69cad78) I was able to further bisect and
found that error is caused by commit
34e1ccbfbe851ecf4ebbfc86d70da384d176d994
Therefore I have also changed component from radeonsi to i965.
As for rendering, Mike, I am using plasma where I must disable kwin compositor
for full screen apps, else I see also blackscreen (but I did not notice, that
is is related to 32 or 64bit apps)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2782 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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-08-04 13:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-01 21:20 [Bug 102008] DRI_PRIME causes X Error of failed request: BadAlloc (insufficient resources for operation) bugzilla-daemon
2017-08-02 1:42 ` bugzilla-daemon
2017-08-02 21:04 ` bugzilla-daemon
2017-08-03 0:25 ` bugzilla-daemon
2017-08-03 3:26 ` bugzilla-daemon
2017-08-04 13:52 ` 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.