Date: Thu, 09 Mar 2017 18:13:55 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 217664] OpenGL applications crash in brw_workaround_depthstencil_alignment() Message-ID: <bug-217664-7141-myzAwGJtrc@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-217664-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-217664-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217664 Jan Beich (mail not working) <jbeich@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[emulators/ppsspp] |OpenGL applications crash |Segmentation fault: Fails |in |to initialize OpenGL |brw_workaround_depthstencil | |_alignment() Keywords| |crash, i915 Status|New |Open Flags|maintainer-feedback?(jbeich |maintainer-feedback+ |@FreeBSD.org) | Assignee|jbeich@FreeBSD.org |x11@FreeBSD.org --- Comment #3 from Jan Beich (mail not working) <jbeich@FreeBSD.org> --- (In reply to Sergei Akhmatdinov from comment #2) > > Can you try attachment 180618 [details]? Can you try SNA in xorg.conf p= er intel(4x)? > > How do I go about applying the patch $ fetch -o /tmp/Mesa-17.0.1.diff 'https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D180618' $ cd /usr/ports $ svn patch /tmp/Mesa-17.0.1.diff || patch -Efsp0 -i /tmp/Mesa-17.0.1.diff After that upgrade packages installed from the following ports graphics/dri graphics/gbm graphics/libEGL graphics/libglapi graphics/libglesv2 graphics/libosmesa > or applying SNA? If you don't have /etc/X11/xorg.conf and /usr/local/etc/X11/xorg.conf then create the later and put something like the following. Otherwise, adjust AccelMethod in existing Device but make sure Driver is "intel". Section "Device" Identifier "integrated_card" Driver "intel" Option "AccelMethod" "sna" EndSection > > Just in case, here is a backtrace for glxgears: > ------------------------- > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 805416000 (LWP 100169/glxgears)] > get_stencil_miptree (irb=3D0x8054650e0) at brw_misc_state.c:229 > 229 brw_misc_state.c: No such file or directory. > in brw_misc_state.c > Current language: auto; currently minimal > (gdb) bt > #0 get_stencil_miptree (irb=3D0x8054650e0) at brw_misc_state.c:229 > #1 0x0000000805bced4f in brw_workaround_depthstencil_alignment (brw=3D0x= 806c0d3e8, clear_mask=3D18) > at brw_misc_state.c:245 > #2 0x0000000805ba6e93 in brw_clear (ctx=3D0x806c0d3e8, mask=3D18) at brw= _clear.c:271 > #3 0x00000008056a4913 in _mesa_Clear (mask=3D16640) at clear.c:224 > #4 0x0000000800ddefcc in glClear (mask=3D16640) at glapi_mapi_tmp.h:3084 I can reproduce the crash on drm-next (i915kms, Skylake GT2, SNA), Mesa 17.= 0.1. DRI3 appears to be broken which affects modesetting that cannot work without it. For now make sure to use "intel" in xorg.conf and remove Option "DRI" "3" or set it to "2". --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217664-7141-myzAwGJtrc>