Created attachment 120247 [details]
The program app is here: https://github.com/marcosps/experimentations/blob/master/glsl/test_shader.cxx
I just load two shaders and the draw a triangle. The same program works without DRI_PRIME=1.
I already compiled the xf86-video-intel, but I don't know how to setup the new driver in Fedora 23... Can this be related to DRI2?
Please let me know if you you need any additional info.
Created attachment 120248 [details]
Xorg old, showing the crash
Created attachment 120249 [details]
ABRT also created a bug in RedHat bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1286874
When requesting the intel driver to use DRI3, I can't see the crashes:
[marcos@localhost glsl]$ cat /etc/X11/xorg.conf.d/30-dri3.conf
Option "AccelMethod" "sna"
Option "DRI" "3"
# Driver "modesetting"
# Option "AccelMethod" "glamor"
# Option "AccelMethod" "none"
# Option "ShadowFB" "off"
But instead, I get a black window, instead of my shaders...
I'm going to assume the DRICloseScreen in the middle of the stack is just the unwinder getting confused and so this looks like a nouveau bug and not a core DRI2 bug.
(In reply to Chris Wilson from comment #5)
> I'm going to assume the DRICloseScreen in the middle of the stack is just
> the unwinder getting confused and so this looks like a nouveau bug and not a
> core DRI2 bug.
So, in this case, there is a start point to look at to solve this problem? I would like ot help fixing this issue...
-- 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/xorg/driver/xf86-video-nouveau/issues/242.