Workaround broken PCIe speeds on Intel Arc #344
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.
Hi again,
Intel Arc Alchemist has a weird (hardware?) bug, where the card and one of it's two PCIe bridges report their link speed as PCIe 1.0 x1, this PR implements a workaround to get the correct speed from it's first PCIe bridge.
e.g.
lspci -tv
:I have checked a few probes on the Linux Hardware Database to verify whether it's just my system or card, and it's not. There is also a bug report on Intel's website with some info.
I have no idea if this is fixed in Battlemage.
I've also added Intel to the libdrm detection in
src/CMakeLists.txt
, and moved AMDGPU and MSM support checks out of the libdrm detection block sinceFATAL_ERROR
will cause CMake will exit anyway. I hope this is okay.Thanks,
Steve