Bug 22460 - Demos crash with NV40 driver
Summary: Demos crash with NV40 driver
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/nouveau (show other bugs)
Version: git
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Nouveau Project
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-24 15:49 UTC by Bob Gleitsmann
Modified: 2009-08-24 12:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch to fix problem above (515 bytes, patch)
2009-06-24 15:49 UTC, Bob Gleitsmann
Details | Splinter Review

Description Bob Gleitsmann 2009-06-24 15:49:31 UTC
Created attachment 27097 [details] [review]
Patch to fix problem above

Most  demo programs included in Mesa tree crash with segment violation when using nouveau driver with NV40 cards. The patch fixes most of the problems. The drivers for the the rest of the nvidia family seem to have this correct I hope this is the right place and the right format for the patch.

Best Wishes,

Bob Gleitsmann
Comment 1 Younes Manton 2009-06-25 08:13:14 UTC
Thanks, I'll apply if noone else gets to it.

It works on x86 because ptx ends up in the same stack location either way, so I never saw this. Don't know how that code got in there in the first place either, I wrote the NV40 version then just copied the contents to NV04-NV30, or so I recall.
Comment 2 Younes Manton 2009-06-30 07:21:58 UTC
Done. Thanks.
Comment 3 Adam Jackson 2009-08-24 12:32:33 UTC
Mass version move, cvs -> git


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.