All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 102337] New: Full system crash when running a custom OpenGL 4.3 graphic engine
@ 2017-08-21 15:15 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-102337-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2017-08-21 15:15 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

            Bug ID: 102337
           Summary: Full system crash when running a custom OpenGL 4.3
                    graphic engine
           Product: Mesa
           Version: 17.1
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Drivers/DRI/nouveau
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
          Reporter: from.the.darkest.past-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
        QA Contact: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org

Created attachment 133645
  --> https://bugs.freedesktop.org/attachment.cgi?id=133645&action=edit
glxinfo output

I wrote a custom graphic engine as a school project and tested it on different
platforms; it works everywhere (both nVidia and AMD) with binary drivers but
triggers a whole system crash (only the mouse cursor remains responsive) on
MESA + Nouveau.

I am testing it with Ubuntu 17.10 daily build (kernel version 4.12) that
supports OpenGL 4.3 (which is required) on my nVidia card, a GT 740. The full
source code is available at https://github.com/TheBrokenGod/OmegaEngine and
includes a makefile for simple compilation. 

The engine executes some complicated shaders (contained in Source.cpp) in order
to allow order-independent transparency through linked lists of fragments.

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 102337] Full system crash when running a custom OpenGL 4.3 graphic engine
       [not found] ` <bug-102337-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2017-08-21 15:18   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2017-08-21 16:03   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2017-08-21 15:18 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
A few things:

1. Does the engine do threaded GL calls? If so, nouveau will crash and burn.
2. Does this still happen with the latest code from mesa git?
3. Can you see what's in dmesg when things go south? (Perhaps by ssh'ing in or
using netconsole, depending on how bad things get.)

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 102337] Full system crash when running a custom OpenGL 4.3 graphic engine
       [not found] ` <bug-102337-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2017-08-21 15:18   ` [Bug 102337] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2017-08-21 16:03   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2017-08-21 19:37   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2017-08-21 16:03 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #2 from TheBrokenGod <from.the.darkest.past-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
1. I make no use of threads; I don't know for sure if GLFW does it with OpenGL
but I don't think so.

2. I am using Ubuntu 17.10 as LiveCD, unfortunately I cannot install it to hard
drive and recompile MESA, plus I wouldn't know how to do it ;) However the
included version should be very recent.

3. https://pastebin.com/HE7rTetG

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 102337] Full system crash when running a custom OpenGL 4.3 graphic engine
       [not found] ` <bug-102337-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2017-08-21 15:18   ` [Bug 102337] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2017-08-21 16:03   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2017-08-21 19:37   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2017-08-22 12:44   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2019-09-18 20:45   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2017-08-21 19:37 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
You can try a more up-to-date stack from https://nouveau.pmoreau.org/

Your dmesg does not include any errors, which is surprising given that the
system hangs. Can happen though.

What are the steps to reproduce this? (i.e. how does one operate your program)

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 102337] Full system crash when running a custom OpenGL 4.3 graphic engine
       [not found] ` <bug-102337-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (2 preceding siblings ...)
  2017-08-21 19:37   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2017-08-22 12:44   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2019-09-18 20:45   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2017-08-22 12:44 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #4 from TheBrokenGod <from.the.darkest.past-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
I tried the 08/21 image but I'm having trouble installing the needed packages.
I managed to install and run LXDE but when trying to install the rest it says
there is no enough space, which is strange because with 8GB of RAM there should
be plenty of it. Unfortunately I have no free partition on which perform the
installation.

Anyway, it is very simple to reproduce the problem:

1) Download the whole project from https://github.com/TheBrokenGod/OmegaEngine
and unzip it
2) Install the following packages and libraries: make, g++, glfw, glew, assimp,
freeimage
3) Run 'make -f makefile' in the root directory of the project
4) Launch the test scene with './omega Scene/scene.dae'

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 102337] Full system crash when running a custom OpenGL 4.3 graphic engine
       [not found] ` <bug-102337-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (3 preceding siblings ...)
  2017-08-22 12:44   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2019-09-18 20:45   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2019-09-18 20:45 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

GitLab Migration User <gitlab-migration-wf5LKTHn7b+es5Oj371l6A@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #5 from GitLab Migration User <gitlab-migration-wf5LKTHn7b+es5Oj371l6A@public.gmane.org> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1138.

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-09-18 20:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-21 15:15 [Bug 102337] New: Full system crash when running a custom OpenGL 4.3 graphic engine bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-102337-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2017-08-21 15:18   ` [Bug 102337] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2017-08-21 16:03   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2017-08-21 19:37   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2017-08-22 12:44   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2019-09-18 20:45   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

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.