From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98351] LibreOffice' OpenGL backend hangs GPU (ring 0&3 stalled) Date: Mon, 28 Nov 2016 11:14:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1191721513==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 99DC96E232 for ; Mon, 28 Nov 2016 11:14:34 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1191721513== Content-Type: multipart/alternative; boundary="14803316741.3e76F7BBC.28053"; charset="UTF-8" --14803316741.3e76F7BBC.28053 Date: Mon, 28 Nov 2016 11:14:34 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D98351 --- Comment #5 from Tomaz Vajngerl --- Hi, I'm the guy that works on the OpenGL code in LibreOffice and I have the same problem on my machine with radeonsi. The problem is with area scale shader = [1] (which is used for scaling images in the document) - more specifically with= the arrays at line 51, 52, 54, 55. I changed the scale algorithm to not use any arrays but this still seems to be nouveau to the OpenGL driver as the shader works as expected with intel or nouveau driver as well as nvidia and amd drivers on windows, but OTOH not intel driver on windows. I also managed to= get it working if I reduce the array to 16 or less. [1] https://cgit.freedesktop.org/libreoffice/core/tree/vcl/opengl/areaScaleFrag= mentShader.glsl?h=3Dlibreoffice-5-2-3#n51 --=20 You are receiving this mail because: You are the assignee for the bug.= --14803316741.3e76F7BBC.28053 Date: Mon, 28 Nov 2016 11:14:34 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 5 on bug 98351<= /a> from Tomaz Vajngerl
Hi,

I'm the guy that works on the OpenGL code in LibreOffice and I have the same
problem on my machine with radeonsi. The problem is with area scale shader =
[1]
(which is used for scaling images in the document) - more specifically with=
 the
arrays at line 51, 52, 54, 55. I changed the scale algorithm to not use any
arrays but this still seems to be nouveau to the OpenGL driver as the shader
works as expected with intel or nouveau driver as well as nvidia and amd
drivers on windows, but OTOH not intel driver on windows. I also managed to=
 get
it working if I reduce the array to 16 or less.

[1]
https://cgit.freedesk=
top.org/libreoffice/core/tree/vcl/opengl/areaScaleFragmentShader.glsl?h=3Dl=
ibreoffice-5-2-3#n51


You are receiving this mail because:
  • You are the assignee for the bug.
= --14803316741.3e76F7BBC.28053-- --===============1191721513== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1191721513==--