Bug 110287 - Surfer Boy Shader Toy demo freezes the Intel driver [Fixed in Mesa 18.3+]
Summary: Surfer Boy Shader Toy demo freezes the Intel driver [Fixed in Mesa 18.3+]
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 18.0
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
URL: https://www.shadertoy.com/view/ldd3DX
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-30 02:42 UTC by Artem S. Tashkinov
Modified: 2019-04-01 13:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Artem S. Tashkinov 2019-03-30 02:42:50 UTC
I've tried viewing this demo in Firefox and Chrome - both freeze indefinitely.

Environment:

Fedora 28
Kernel 5.0.5
Mesa 18.0.5-4
xorg-x11-drv-intel-2.99.917-32.20171025.fc28.x86_64
xorg-x11-server-Xorg-1.19.6-10.fc28.x86_64
Comment 1 Artem S. Tashkinov 2019-03-30 02:45:11 UTC
VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)
Comment 2 Mark Janes 2019-03-31 20:23:14 UTC
This shader works for me on debian testing (mesa 18.3.4, linux 4.19).  I also have HD 520.

Can you try with latest mesa?
Comment 3 Denis 2019-04-01 08:51:01 UTC
hi, Artem, Mark.
I have the same GPU, and I checked 18.0.5, 18.3.4 (system) and built from git 19.1.0

Results:

18.0.5 - waited for about 2-3 minutes, page with shader didn't appear
18.3.4 - shader appeared after about 1 minute
19.1.0 - shader appeared after about 1 minute

So I am agree with Mark, issue doesn't exist in 18.3.4+ mesa versions.
(checked in FF, kernel - 4.20.16).
Comment 4 Artem S. Tashkinov 2019-04-01 11:39:42 UTC
(In reply to Denis from comment #3)
> hi, Artem, Mark.
> I have the same GPU, and I checked 18.0.5, 18.3.4 (system) and built from
> git 19.1.0
> 
> Results:
> 
> 18.0.5 - waited for about 2-3 minutes, page with shader didn't appear
> 18.3.4 - shader appeared after about 1 minute
> 19.1.0 - shader appeared after about 1 minute
> 
> So I am agree with Mark, issue doesn't exist in 18.3.4+ mesa versions.
> (checked in FF, kernel - 4.20.16).

OK then, looks like Fedora's Mesa is outdated though in a perfect world older Mesa could receive a fix but given the fact that your resources are limited I'll just upgrade to a newer Fedora soon.
Comment 5 Artem S. Tashkinov 2019-04-01 11:41:31 UTC
(In reply to Denis from comment #3)
> hi, Artem, Mark.
> I have the same GPU, and I checked 18.0.5, 18.3.4 (system) and built from
> git 19.1.0
> 
> Results:
> 
> 18.0.5 - waited for about 2-3 minutes, page with shader didn't appear
> 18.3.4 - shader appeared after about 1 minute
> 19.1.0 - shader appeared after about 1 minute
> 
> So I am agree with Mark, issue doesn't exist in 18.3.4+ mesa versions.
> (checked in FF, kernel - 4.20.16).

I'm just curious why it takes a whole minute for this shader to initialize? This does seem like a bug. No one will wait for a whole minute to see the results - they will consider Linux broken.

Should I file a bug report about that?
Comment 6 Denis 2019-04-01 12:49:36 UTC
>I'm just curious why it takes a whole minute for this shader to initialize? This does seem like a bug. No one will wait for a whole minute to see the results - they will consider Linux broken.

hm, agree. I re-checked timings one more time, and found out that there was my bad in calculation. I built mesa with debug flags.
New results (for release versions mesa):

18.3.5 (system) - 5.6 sec
19.1.0 (git-master release) - 5.5 sec

Before closing I would suggest to update mesa and re-check, whether you have the same result with me or not.

In your case you can compile mesa manually, no need to make full system upgrade.

btw - I am testing on fedora 29, it is shipping with 18.3.5
Comment 7 Artem S. Tashkinov 2019-04-01 13:03:59 UTC
(In reply to Denis from comment #6)
> 18.3.5 (system) - 5.6 sec
> 19.1.0 (git-master release) - 5.5 sec

Oh, that's just fine. This shader is quite intense - even my GTX 1060 struggles with it. Thank you for a quick response, much appreciated!


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.