mesa3d-comp-bridge
mesa3d-comp-bridge copied to clipboard
How to run vega on non-PCIE 3.0 slot with this?
HI matszpk,
You mentioned that you have successfully run Vega on non-PCIE 3.0 slot in:
https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/amd-linux/998338-amdgpu-pro-opencl-compiler-hacked-into-mesa-s-clover
But AMDGPU-Pro 17.40 does not recognize Vega if inserted into non-PCIE 3.0 slot. How did you fix that?
Actually, AMDGPU-PRO OpenCL can't recognize Vega under slot non-PCIE 3.0 or PCIE 3.0 without atomics. Firstly, try run lspci
to get list of recognized PCI devices (Vega must be in this list). Secondly try to find Vega in /sys/class/drm/card?/device/device
(if in some card? directory has device file with content 0x687f
then you AMDGPU-PRO recognized Vega) or just simply check what is state of the GPU Tach (if any led lights then your Vega has been recognized by drivers). I have Vega on PCIE 3.0 slot, but my platform doesn't support PCIE atomics.
You can use same Mesa3D OpenCL with any drivers that handles Vega or my invent mesa3d-comp-bridge
but only with AMDGPU-PRO drivers.
This trick with GPU Tach is good if your Vega is not main graphics card to display. Better way to check whether is Vega recognized is checking /sys/class/drm/card?/device/device
content or just use my amdcovc tool.
Now my Vega runs on a PCIE 2.0 slot.
Thank you very much!