Bug 25764

Summary: [RADEON:R600C] glLineStipple gives inconsistent results
Product: Mesa Reporter: Rafael Monica <monraaf>
Component: Drivers/DRI/R600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: jobi
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 40936    
Attachments: test program
bad line stipple
good line stipple

Description Rafael Monica 2009-12-22 14:25:00 UTC
Created attachment 32253 [details]
test program

glLineStipple gives inconsistent results on my HD 3200, Maybe something is overwriting the PA_SC_LINE_STIPPLE register or register is not properly saved and restored?

attached is a small test program, and the output at different runs.
Comment 1 Rafael Monica 2009-12-22 14:26:25 UTC
Created attachment 32254 [details]
bad line stipple
Comment 2 Rafael Monica 2009-12-22 14:27:01 UTC
Created attachment 32255 [details]
good line stipple
Comment 3 James Willcox 2010-11-29 08:34:16 UTC
I have this problem as well on a 785G.  Mesa master as of today, r600c.
Comment 4 Alberto Milone 2011-01-13 09:45:45 UTC
I'm unable to reproduce the problem with my Radeon HD 4200 with Mesa 7.9~git20100924 and linux 2.6.35 in Ubuntu 10.10. I can reproduce it in Ubuntu 10.04 though.
Comment 5 Jerome Glisse 2011-03-08 09:56:42 UTC
Does it works better with r600g ?
Comment 6 Dave Airlie 2011-11-06 05:06:37 UTC
please retry with latest r600g.
Comment 7 Jerome Glisse 2012-02-22 10:02:23 UTC
Closing, reopen if it's an issue with recent r600g from mesa 8.0 or newer

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.