Created attachment 139791 [details]
the logs which I collected: dmesg_full, dri_error, xrandr
1. Load any model in Simplify3D program, click "Prepare to Print", zoom in model and rotate it.
Here is the video I made showing this crash: https://www.youtube.com/watch?v=B6vmhraoalI
It crashes each time I zoom the model quite close to the viewpoint.
* uname -a: Linux dell3350 4.16.8-1-default #1 SMP PREEMPT Wed May 9 10:29:52 UTC 2018 (9269cc1) x86_64 x86_64 x86_64 GNU/Linux
* Linux distribution: opensuse tumbleweed
* Machine or mother board model: a laptop Dell 3350 Vostro
* Display connector: HDMI
(In reply to Dima Gorbenko from comment #0)
> Created attachment 139791 [details]
> the logs which I collected: dmesg_full, dri_error, xrandr
> 1. Load any model in Simplify3D program, click "Prepare to Print", zoom in
> model and rotate it.
> Here is the video I made showing this crash:
> It crashes each time I zoom the model quite close to the viewpoint.
> * uname -a: Linux dell3350 4.16.8-1-default #1 SMP PREEMPT Wed May 9
> 10:29:52 UTC 2018 (9269cc1) x86_64 x86_64 x86_64 GNU/Linux
> * Linux distribution: opensuse tumbleweed
> * Machine or mother board model: a laptop Dell 3350 Vostro
> * Display connector: HDMI
Hi Dima, that's second issue reported to the same application. https://bugs.freedesktop.org/show_bug.cgi?id=106158 here is first one. Could you please provide your model, used in the app? I didn't face with it before, so, created file will speed up my tries to reproduce the issue.
Thank you in advance.
Created attachment 139871 [details]
The ring.stl file model for Simplify3D
Sure, attached model here.
This crash happens quite often within this application (Simplify3D), sometimes I even have nothing to do - just slice model (this happens when I click "Prepare to print" button) and the crash happens.
And, the model itself I attached does not causes crash - I was getting it with other models as well.
I was using the latest Simplify3D version for Linux.
What other information do you need ?
Created attachment 139901 [details]
How to avoid crashing
Uncheck checkbox "Build plate" shown on the image to avoid crashing.
We figured out that patch https://patchwork.freedesktop.org/patch/225172/ fixes this bug.
Hi Dima. Could you please apply that patch and check?
I made about 15 tries with it, and didn't get any hangs.
So, I've downloaded Mesa, compiled master branch (firstly without your patch), then loaded compiled libs by using LIBGL_DRIVERS_PATH variable to specify path to compiled mesa libs, and assured that application Simplify3D works and creates "crash" in dri/mesa (?) system.
Then I applied patch, compiled mesa, and run Simplify3D with patched libs -- I didn't notice the crash this time.
I did such testing (with patched and not-patched libs) few times to get sure patch works.
Seems like it works ! Thank you so much !
If you need me to do some other testing, or some information - let me know.
Hi again, Dima. Good news, patch was accepted and added to mesa-master. I think, issue can be closed as fixed.
Author: vadym.shovkoplias <email@example.com>
Date: Thu May 24 14:16:46 2018 +0300
i965: Disable guardband clipping on SandyBridge for odd dimensions
Signed-off-by: Andriy Khulap <firstname.lastname@example.org>
Acked-by: Rafael Antognolli <email@example.com>