Summary: | Valgrind show a lot of invalid read/write when running Godot Engine | ||
---|---|---|---|
Product: | Mesa | Reporter: | Rafał <synaptykq> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED INVALID | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Valgrind Laptop |
Description
Rafał
2019-06-26 10:21:57 UTC
This error probably also doesn't occur on Fedora 27 with RX580 Mesa - 17.2.4 - https://github.com/godotengine/godot/issues/16214#issuecomment-361773504 Oh, nevermind I found that this bug is over six year old - https://www.phoronix.com/scan.php?page=news_item&px=MTQzNjk The real issue here is that we have lots of GPU allocations that don't come in through libc so valgrind doesn't know about them. Valgrind then complains every time we touch these allocations from the CPU even though it's totally valid. If you install the valgrind-devel package and build mesa yourself, it should detect valgrind and add hints to the driver to help valgrind out errors will go away. |
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.