mesa3d-comp-bridge icon indicating copy to clipboard operation
mesa3d-comp-bridge copied to clipboard

How to run vega on non-PCIE 3.0 slot with this?

Open fanlong opened this issue 7 years ago • 3 comments

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?

fanlong avatar Feb 05 '18 05:02 fanlong

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.

matszpk avatar Feb 05 '18 06:02 matszpk

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.

matszpk avatar Feb 05 '18 06:02 matszpk

Now my Vega runs on a PCIE 2.0 slot.

Thank you very much!

fanlong avatar Feb 05 '18 08:02 fanlong