Summary: | LibreOffice' OpenGL backend hangs GPU (ring 0&3 stalled) | ||
---|---|---|---|
Product: | Mesa | Reporter: | Clemens Eisserer <linuxhippy> |
Component: | Drivers/Gallium/radeonsi | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | Default DRI bug account <dri-devel> |
Severity: | normal | ||
Priority: | medium | CC: | julien.isorce, quikee |
Version: | 12.0 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Clemens Eisserer
2016-10-20 09:11:53 UTC
Thank you for the report. I cannot reproduce this on Tonga. Does this still happen for you with a later kernel and/or Mesa git? There have been some hang fixes relatively recently. Are there any messages in dmesg before the "ring stalled" messages? I've just tried to reproduce - and the issue seems to be gone with kernel 4.8.4 :) Thanks :) Sorry that I step in, here. r600g - NI/Turks XT But how have you got enabled OpenGL by all means in LO? I have openSUSE 13.2 + all devel stuff... LO 5.2.2.2.0+ Latest stable kernel: 4.8.6-5.g1d89b44-default Mesa git, etc. pp. OpenGL is enabled OpenGL force is enabled But any time (since ever?) I get: OpenGL is currently _disabled_...??? Update to LO 5.2.3.x.x? Thanks, Dieter Worked out of the box - maybe radeonsi supports some extensions LO requires and r600 is missing? After all, at least with mesa LO's OpenGL backend is not worth the trouble - it is slow and rendering isn't pixel-perfect. 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/areaScaleFragmentShader.glsl?h=libreoffice-5-2-3#n51 I'm using "Radeon R7 370" on Fedora 25 Does this happen with latest mesa and llvm? (In reply to Marek Olšák from comment #7) > Does this happen with latest mesa and llvm? Assuming it was fixed as per comment 2 and closing. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.