Summary: | `gallium: remove pipe_index_buffer and set_index_buffer` causes glitches and crash in gallium nine | ||
---|---|---|---|
Product: | Mesa | Reporter: | raffarti |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | winedbg backtrace |
Description
raffarti
2017-05-18 11:46:31 UTC
`-O2` was looking fine, but turns out it's just a little more stable. Less glitches and fewer crashes, but still broken. Created attachment 131405 [details]
winedbg backtrace
winedbg crashes at startup with memory corruption
Sorry previously attached backtrace is invalid, please ignore it. Should be fixed by https://lists.freedesktop.org/archives/mesa-dev/2017-May/156453.html Please confirm. Sorry but I can't manage to apply this patch, which branch/commit it's supposed to be applied on? (tried on master) patching file src/gallium/state_trackers/nine/device9.c Hunk #1 succeeded at 2915 with fuzz 1 (offset -12 lines). patching file src/gallium/state_trackers/nine/indexbuffer9.c Hunk #1 FAILED at 49. Hunk #2 FAILED at 73. 2 out of 2 hunks FAILED -- saving rejects to file src/gallium/state_trackers/nine/indexbuffer9.c.rej patching file src/gallium/state_trackers/nine/indexbuffer9.h patching file src/gallium/state_trackers/nine/nine_state.c Hunk #1 FAILED at 1575. Hunk #2 FAILED at 2540. Hunk #3 FAILED at 2561. Hunk #4 succeeded at 2606 with fuzz 2. Hunk #5 succeeded at 2622 with fuzz 2. 3 out of 5 hunks FAILED -- saving rejects to file src/gallium/state_trackers/nine/nine_state.c.rej It applies well for me on master. You can also find the patch here: https://github.com/iXit/Mesa-3D ah, I'm on git://anongit.freedesktop.org/mesa/mesa , I'll try iXit then it won't compile due to some issue with llvm (5.0 master branch, which was fine for mesa repo), which version should I use? Hi Axel, I've tested your patch with Unigine Heaven, HL2 mod Metastasis and STALKER: Shadows of Chernobyl. Everything is fine, no glitches, no crashes. Alright, there was some weird issue with my local repo, I can confirm everything is working on my end too. Fixed by: 7e04ae74d44105dca8190fc2fdd2ab8581cbe698 |
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.