Bug 48837

Summary: infinite loop in swrast
Product: Mesa Reporter: Behdad Esfahbod <freedesktop>
Component: Drivers/DRI/swrastAssignee: mesa-dev
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Behdad Esfahbod 2012-04-17 11:21:18 UTC
Grab and compile http://code.google.com/p/glyphy, compile it (need glut and freetype), and run demo/glyphy-demo over ssh or something to force using swrast.

This used to work.  I was getting .2fps but was working (with swrast from Ubuntu 11.10).  With master, I hit the instruction limit in fragment shader:

Mesa 8.1-devel implementation error: Infinite loop detected in fragment program

When I bump the limit from 65536 to 655360000, I don't get any rendering, which suggests that indeed it's hitting an infinite loop.  But the GLyphy code is correct and should work.

Note that GLyphy doesn't work with mesa intel driver right now, but Eric Anholt sent a patchset a few days ago that fixes that.
Comment 1 Timothy Arceri 2018-04-13 10:28:15 UTC
Is this still happening? Also is this with classic swrast or llvmpipe?
Comment 2 GitLab Migration User 2019-09-18 18:45:00 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/311.

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.