components/x11/mesa: further fixes and enablement of dri (i915) and gallium (swrast, crocus, iris) drivers #20576
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As per title.
These fixes in addition to the previous fixes I have contributed will result in an almost error free Xorg log. When starting xorg-server there is an error for no devices found. When poking further it is around device initialisation. I read this to be an error in libdrm, resulting from the update in 2024.
When trying to load a gallium driver there is an error. When poked further it leads to libGLESv2.
Outstanding TODO:
With this PR, someone should be able to tweak libdrm and get a working Intel dri setup, just like we had before. Once the initial TODOs are complete i.e. Glamor enablement in xorg-server, we are not far away from a Mesa with working gallium drivers.