All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
@ 2016-09-23 23:06 bugzilla-daemon
  2016-09-23 23:07 ` bugzilla-daemon
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-09-23 23:06 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 97909
           Summary: X-Plane 10 crashes with SIGSEGV on radeonsi
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: chris.bugsfd@broke-the-inter.net
        QA Contact: dri-devel@lists.freedesktop.org

Created attachment 126749
  --> https://bugs.freedesktop.org/attachment.cgi?id=126749&action=edit
Patch/Hack

The SIGSEGV is being raised because ib->buffer is NULL.

I don't know whether my solution is correct or not.

Is it okay to simply return if ib->buffer is NULL, is it okay to run those last
lines of that if block if ib->buffer isn't NULL only, is it okay to call
si_emit_draw_packets with ib->buffer being NULL, ...?

All I can say is that X-Plane is working fine with this patch/hack.

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

[-- Attachment #1.2: Type: text/html, Size: 2719 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
@ 2016-09-23 23:07 ` bugzilla-daemon
  2016-09-23 23:08 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-09-23 23:07 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Christian Inci <chris.bugsfd@broke-the-inter.net> ---
Created attachment 126750
  --> https://bugs.freedesktop.org/attachment.cgi?id=126750&action=edit
gdb backtrace with some previous errors

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

[-- Attachment #1.2: Type: text/html, Size: 1302 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
  2016-09-23 23:07 ` bugzilla-daemon
@ 2016-09-23 23:08 ` bugzilla-daemon
  2016-09-28 13:59 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-09-23 23:08 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Christian Inci <chris.bugsfd@broke-the-inter.net> ---
Created attachment 126751
  --> https://bugs.freedesktop.org/attachment.cgi?id=126751&action=edit
glxinfo output

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

[-- Attachment #1.2: Type: text/html, Size: 1227 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
  2016-09-23 23:07 ` bugzilla-daemon
  2016-09-23 23:08 ` bugzilla-daemon
@ 2016-09-28 13:59 ` bugzilla-daemon
  2016-10-25  3:59 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-09-28 13:59 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Hi Christian, that really shouldn't happen. Can you provide an apitrace that
shows the problem? My guess is that the index buffer tracking gets into an odd
state because of the previous BufferData-related errors, but I don't yet see
where that would be exactly.

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

[-- Attachment #1.2: Type: text/html, Size: 1231 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-09-28 13:59 ` bugzilla-daemon
@ 2016-10-25  3:59 ` bugzilla-daemon
  2016-11-04 20:20 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-10-25  3:59 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Christian Inci <chris.bugsfd@broke-the-inter.net> ---
I'm sorry for the long delay.

Here's the apitrace trace file: http://home.broke-the-inter.net:8082/
If there are any problems with the server, please mail me.

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

[-- Attachment #1.2: Type: text/html, Size: 1207 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-10-25  3:59 ` bugzilla-daemon
@ 2016-11-04 20:20 ` bugzilla-daemon
  2016-11-04 21:05 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-11-04 20:20 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Okay, so I could reproduce this after all with the web demo.

There is a bug in X-Plane and also questionable behaviour of the driver. The
bug in X-Plane is that it uses GL_AMD_pinned_memory with a size that is not a
multiple of a page; as per the spec, the driver is allowed to reject that, and
we do (apparently unlike the closed source driver...). X-Plane doesn't check
this error condition, and continues rendering, hence the crash, which would
also happen with a simple sequence of:

  glGenBuffers(1, &bo);
  glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, bo);
  glDrawElements(...);

Somewhat surprisingly, the OpenGL spec never states that a draw call that goes
outside the element/index buffer should flag a GL_INVALID_OPERATION. There is
also no mention of this in the GL_ARB_robust_buffer_access_behavior extension,
which is surprising.

The patch you provide may or may not go in the right direction - I'm not sure.
If we want to check that, we should do it in api_validate.c, but I'm not
convinced that we should. Meanwhile, that check wouldn't properly fix the issue
in X-Plane. To work around the bug in X-Plane, you need to run with:

MESA_EXTENSION_OVERRIDE=-GL_AMD_pinned_memory ./X-Plane-x86_64 --force_run

which will work with an unmodified driver.

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

[-- Attachment #1.2: Type: text/html, Size: 2256 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-11-04 20:20 ` bugzilla-daemon
@ 2016-11-04 21:05 ` bugzilla-daemon
  2016-11-04 21:07 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-11-04 21:05 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Marek Olšák <maraeo@gmail.com> ---
I think we should just drop draw calls with a 0-sized index buffer.

For GL_AMD_pinned_memory, I think we can just map whole pages that intersect
the mapped range.

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

[-- Attachment #1.2: Type: text/html, Size: 1125 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-11-04 21:05 ` bugzilla-daemon
@ 2016-11-04 21:07 ` bugzilla-daemon
  2017-11-24 21:14 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-11-04 21:07 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Marek Olšák <maraeo@gmail.com> ---
The pinned_memory mapping gets complicated if 2 memory ranges don't intersect
but the pages they touch do intersect.

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

[-- Attachment #1.2: Type: text/html, Size: 1076 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
                   ` (6 preceding siblings ...)
  2016-11-04 21:07 ` bugzilla-daemon
@ 2017-11-24 21:14 ` bugzilla-daemon
  2017-12-29 16:31 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2017-11-24 21:14 UTC (permalink / raw)
  To: dri-devel


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

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

Joonas Sarajärvi <muep@iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |muep@iki.fi

--- Comment #8 from Joonas Sarajärvi <muep@iki.fi> ---
Just as an extra data point, this issue and the workaround from comment #5 seem
to apply also to X-Plane 11. Tested with a Radeon RX 560 on Fedora 27 with the
stock drivers. Currently this would be:

kernel 4.13.12-300
mesa 17.2.4-2

With the MESA_EXTENSION_OVERRIDE=-GL_AMD_pinned_memory ./X-Plane-x86_64
workaround, the simulator works ok.

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

[-- Attachment #1.2: Type: text/html, Size: 2122 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
                   ` (7 preceding siblings ...)
  2017-11-24 21:14 ` bugzilla-daemon
@ 2017-12-29 16:31 ` bugzilla-daemon
  2018-04-12  2:06 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2017-12-29 16:31 UTC (permalink / raw)
  To: dri-devel


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

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

Thomas Rohloff <v10lator@myway.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |v10lator@myway.de

--- Comment #9 from Thomas Rohloff <v10lator@myway.de> ---
(In reply to Nicolai Hähnle from comment #5)
> Okay, so I could reproduce this after all with the web demo.
> 
> There is a bug in X-Plane and also questionable behaviour of the driver. The
> bug in X-Plane is that it uses GL_AMD_pinned_memory with a size that is not
> a multiple of a page; as per the spec, the driver is allowed to reject that,
> and we do (apparently unlike the closed source driver...). X-Plane doesn't
> check this error condition, and continues rendering, hence the crash, which
> would also happen with a simple sequence of:
> 
>   glGenBuffers(1, &bo);
>   glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, bo);
>   glDrawElements(...);
> 
> Somewhat surprisingly, the OpenGL spec never states that a draw call that
> goes outside the element/index buffer should flag a GL_INVALID_OPERATION.
> There is also no mention of this in the GL_ARB_robust_buffer_access_behavior
> extension, which is surprising.
> 
> The patch you provide may or may not go in the right direction - I'm not
> sure. If we want to check that, we should do it in api_validate.c, but I'm
> not convinced that we should. Meanwhile, that check wouldn't properly fix
> the issue in X-Plane. To work around the bug in X-Plane, you need to run
> with:
> 
> MESA_EXTENSION_OVERRIDE=-GL_AMD_pinned_memory ./X-Plane-x86_64 --force_run
> 
> which will work with an unmodified driver.

I opened a bug report at X-Plane and will inform you in case they reply.

BTW: Should I open a new bug report for the r600 bug (see below) ?

Here the message I wrote to the X-Plane devs:

Subject: Bug report: Wrog usage of GL_AMD_pinned_memory leads to undefined
result on Mesa drivers

From= v10lator@myway.de
IP= [SNIPPED]
Product= XPlane
Version= 11.11
OS= Linux
Summary= Wrog usage of GL_AMD_pinned_memory leads to undefined behavior on Mesa
drivers
Description= "The bug in X-Plane is that it uses GL_AMD_pinned_memory with a
size that is not a multiple of a page; as per the spec, the driver is allowed
to reject that, and we do (apparently unlike the closed source driver...).
X-Plane doesn't check this error condition, and continues rendering, hence the
crash" - Source: https://bugs.freedesktop.org/show_bug.cgi?id=97909#c5

Similar things as described in the linked bug report are happening on other
Mesa drivers, too. For example see this stacktrace from r600:

[ 1930.559125] general protection fault: 0000 [#1] PREEMPT SMP
[ 1930.559980] Modules linked in: snd_seq_midi snd_usb_audio snd_hwdep
snd_usbmidi_lib snd_rawmidi vboxpci(O) vboxnetadp(O) vboxnetflt(O) nfsd
vboxdrv(O)
[ 1930.560867] CPU: 2 PID: 646 Comm: kworker/2:2 Tainted: G           O   
4.13.0 #9
[ 1930.561771] Hardware name: To be filled by O.E.M. To be filled by
O.E.M./SABERTOOTH 990FX R2.0, BIOS 2901 05/04/2016
[ 1930.562657] Workqueue: events radeon_mn_destroy
[ 1930.563588] task: ffffa246244e5b00 task.stack: ffffa5f0409a0000
[ 1930.564509] RIP: 0010:__mutex_lock.isra.1+0x82/0x518
[ 1930.565425] RSP: 0018:ffffa5f0409a3d60 EFLAGS: 00010282
[ 1930.566312] RAX: 800000015e292268 RBX: ffffa2435d99c228 RCX:
800000015e29226f
[ 1930.567238] RDX: 800000015e29226f RSI: ffffa246244e5b00 RDI:
ffffffffb2a04c10
[ 1930.568174] RBP: ffffa5f0409a3df0 R08: ffffa2435d99c200 R09:
0000000100200007
[ 1930.569124] R10: ffffa5f0409a3e10 R11: ffffa2462c079ac0 R12:
ffffa2463ec9c400
[ 1930.570037] R13: ffffa2435d99f9e8 R14: ffffa2463ec98300 R15:
0000000000000002
[ 1930.570982] FS:  0000000000000000(0000) GS:ffffa2463ec80000(0000)
knlGS:0000000000000000
[ 1930.571938] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1930.572894] CR2: 0000000000ed7000 CR3: 00000003c8c51000 CR4:
00000000000406e0
[ 1930.573857] Call Trace:
[ 1930.574783]  ? __slab_free.isra.68+0x7a/0x210
[ 1930.575744]  ? __slab_free.isra.68+0x7a/0x210
[ 1930.576698]  ? radeon_mn_destroy+0x3a/0x188
[ 1930.577650]  ? radeon_mn_destroy+0x3a/0x188
[ 1930.578577]  ? process_one_work+0x151/0x2d0
[ 1930.579515]  ? worker_thread+0x1f0/0x380
[ 1930.580450]  ? kthread+0xf2/0x128
[ 1930.581381]  ? process_one_work+0x2d0/0x2d0
[ 1930.582309]  ? kthread_create_on_node+0x40/0x40
[ 1930.583195]  ? ret_from_fork+0x22/0x30
[ 1930.584100] Code: 85 c0 0f 84 31 02 00 00 65 48 8b 04 25 80 c2 00 00 48 8b
00 a8 08 75 23 e8 dc be 72 ff 49 8b 45 00 48 83 e0 f8 0f 84 3e 02 00 00 <8b> 58
60 e8 ee be 72 ff 85 db 0f 85 33 02 00 00 65 48 8b 04 25 
[ 1930.585083] RIP: __mutex_lock.isra.1+0x82/0x518 RSP: ffffa5f0409a3d60
[ 1930.592739] ---[ end trace 397a922d2c74a9bd ]---
[ 1932.388592] sched: RT throttling activated
[ 1935.978694] note: kworker/2:2[646] exited with preempt_count 1 
Steps= Run X-Plane 11 on Linux with Mesa drivers.

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

[-- Attachment #1.2: Type: text/html, Size: 6843 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
                   ` (8 preceding siblings ...)
  2017-12-29 16:31 ` bugzilla-daemon
@ 2018-04-12  2:06 ` bugzilla-daemon
  2018-04-12  6:05 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2018-04-12  2:06 UTC (permalink / raw)
  To: dri-devel


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

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

Timothy Arceri <t_arceri@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amarildo-geral@autistici.or
                   |                            |g

--- Comment #10 from Timothy Arceri <t_arceri@yahoo.com.au> ---
*** Bug 98492 has been marked as a duplicate of this bug. ***

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

[-- Attachment #1.2: Type: text/html, Size: 2039 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
                   ` (9 preceding siblings ...)
  2018-04-12  2:06 ` bugzilla-daemon
@ 2018-04-12  6:05 ` bugzilla-daemon
  2018-04-12  6:53 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2018-04-12  6:05 UTC (permalink / raw)
  To: dri-devel


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

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

Timothy Arceri <t_arceri@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #11 from Timothy Arceri <t_arceri@yahoo.com.au> ---
Is this still and issue for you? I just gave the X-Plane 10 demo a try had no
crash. Although I did see artifacts flickering across the screen similar to the
apitrace in bug 87059.

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

[-- Attachment #1.2: Type: text/html, Size: 2108 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
                   ` (10 preceding siblings ...)
  2018-04-12  6:05 ` bugzilla-daemon
@ 2018-04-12  6:53 ` bugzilla-daemon
  2018-04-12  7:45 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2018-04-12  6:53 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #12 from Christian Inci <chris.bugsfd@broke-the-inter.net> ---
Unfortunately I'm not able to test this till three weeks. I'll let you know the
result of the test after that, if nothing unexpected happens.

What do you think about closing this bug as WONTFIX? Working around a
third-party application bug at the operating system/at a library-level looks
like a Microsoft thing to do. (shimming)

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

[-- Attachment #1.2: Type: text/html, Size: 1350 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
                   ` (11 preceding siblings ...)
  2018-04-12  6:53 ` bugzilla-daemon
@ 2018-04-12  7:45 ` bugzilla-daemon
  2018-04-12 11:32 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2018-04-12  7:45 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #13 from Joonas Sarajärvi <muep@iki.fi> ---
I can test this week.

In my opinion, leaving this a WONTFIX would be quite unfortunate, because as
far as I know, the free AMD GPU drivers are pretty much the only way to run
X-Plane reasonably well without proprietary drivers. The more applications a
driver can succesfully run, the more useful it is. The more useful the driver,
the more likely users will use it and thus the more likely developers will
actually bother testing on that driver.

Right now I would expect this driver to be really uncommon among X-Plane users
despite it actually being capable of running that program pretty well. If
X-Plane did work out of the box, the number could be much greater.

Leaving this as WONTFIX will just contribute to the status quo where most
X-Plane users run the program with proprietary drivers.

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

[-- Attachment #1.2: Type: text/html, Size: 1791 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
                   ` (12 preceding siblings ...)
  2018-04-12  7:45 ` bugzilla-daemon
@ 2018-04-12 11:32 ` bugzilla-daemon
  2018-04-12 16:46 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2018-04-12 11:32 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #14 from Amarildo <amarildo-geral@autistici.org> ---
It's a shame they don't officially support OSS drivers despite them running
X-Plane better.

All this contributes to driver separation, confusion, and Linux still being
regarded as "not ready for quite a few games".

BTW, if you happen to run OSS drivers and wanna try X-Plane, be it v10 or v11,
set a launch command (could be on Steam too) to:

--no_pinned

This does get rid of the crashes, which are observable when e.g. clouds are
enabled.

Cheers

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

[-- Attachment #1.2: Type: text/html, Size: 1470 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
                   ` (13 preceding siblings ...)
  2018-04-12 11:32 ` bugzilla-daemon
@ 2018-04-12 16:46 ` bugzilla-daemon
  2018-06-10 17:42 ` bugzilla-daemon
  2018-08-31  5:59 ` bugzilla-daemon
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2018-04-12 16:46 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #15 from Joonas Sarajärvi <muep@iki.fi> ---
Still crashes for me on Fedora 27.

kernel 4.15.14
mesa 17.3.6
x-plane 11.11r2

The workaround with MESA_EXTENSION_OVERRIDE=-GL_AMD_pinned_memory reported in
earlier comments is also still useful.

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

[-- Attachment #1.2: Type: text/html, Size: 1182 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
                   ` (14 preceding siblings ...)
  2018-04-12 16:46 ` bugzilla-daemon
@ 2018-06-10 17:42 ` bugzilla-daemon
  2018-08-31  5:59 ` bugzilla-daemon
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2018-06-10 17:42 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #16 from Joonas Sarajärvi <muep@iki.fi> ---
Now that I tried removing the workaround again, it looks like things still work
for me. So now at least one working combination that does not trigger this bug
looks like this:

- Fedora 28
- kernel 4.16.14-300.fc28.x86_64
- mesa 18.0.2
- x-plane 11.21

Compared to my earlier report, all the bits have changed their versions. Does
anyone have any idea on if this was addressed in the driver stack or if it is
actually X-plane behaving nicer?

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

[-- Attachment #1.2: Type: text/html, Size: 1431 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] 18+ messages in thread

* [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi
  2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
                   ` (15 preceding siblings ...)
  2018-06-10 17:42 ` bugzilla-daemon
@ 2018-08-31  5:59 ` bugzilla-daemon
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2018-08-31  5:59 UTC (permalink / raw)
  To: dri-devel


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

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

Timothy Arceri <t_arceri@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #17 from Timothy Arceri <t_arceri@yahoo.com.au> ---
(In reply to Joonas Sarajärvi from comment #16)
> Now that I tried removing the workaround again, it looks like things still
> work for me. So now at least one working combination that does not trigger
> this bug looks like this:
> 
> - Fedora 28
> - kernel 4.16.14-300.fc28.x86_64
> - mesa 18.0.2
> - x-plane 11.21
> 
> Compared to my earlier report, all the bits have changed their versions.
> Does anyone have any idea on if this was addressed in the driver stack or if
> it is actually X-plane behaving nicer?

It would seem its something in the driver since I doubt they are updating
X-Plane 10 any more since X-Plane 11 has been out for some time. Anyway I'm
going to close this as fixed.

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

[-- Attachment #1.2: Type: text/html, Size: 2808 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] 18+ messages in thread

end of thread, other threads:[~2018-08-31  5:59 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-23 23:06 [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi bugzilla-daemon
2016-09-23 23:07 ` bugzilla-daemon
2016-09-23 23:08 ` bugzilla-daemon
2016-09-28 13:59 ` bugzilla-daemon
2016-10-25  3:59 ` bugzilla-daemon
2016-11-04 20:20 ` bugzilla-daemon
2016-11-04 21:05 ` bugzilla-daemon
2016-11-04 21:07 ` bugzilla-daemon
2017-11-24 21:14 ` bugzilla-daemon
2017-12-29 16:31 ` bugzilla-daemon
2018-04-12  2:06 ` bugzilla-daemon
2018-04-12  6:05 ` bugzilla-daemon
2018-04-12  6:53 ` bugzilla-daemon
2018-04-12  7:45 ` bugzilla-daemon
2018-04-12 11:32 ` bugzilla-daemon
2018-04-12 16:46 ` bugzilla-daemon
2018-06-10 17:42 ` bugzilla-daemon
2018-08-31  5:59 ` 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.