Can i get a little bit of assistance with getting the full functionality of Vega 64 and Vega 64 Frontier on linux?
Currently on my Debian Stretch system, i am using kernel 4.15.12 which i compiled and installed myself. I went out and fetched the firmware files needed to be dropped in /lib/firmware/amdgpu. Rebooted, and was glad to experience full screen support. However, i notice when running
glxinfo | grep OpenGL , i get
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits).
To the best of my knowledge, this means the CPU is still picking up the load for rendering, and would explain my low FPS within the environment.
Reading around, and this thread, it seem i need to upgrade my LLVM to atleast 5.0 for support. I went ahead and enabled stretch-backports temporarly, install LLVM 6.0, disabled the backports, and rebooted. I can confirm the LLVM 6.0 installed correctly as far as the package is concerned, but it doesn't seem to be used, LLVM 3.9 is still in use.
Im unsure where i need to go from here, something with mesa? and comipiling my own LLVM similar like i did with the kernel? and i read something about a specific flag needing to be enabled in my Kernel?
I been trying to solve this myself for quite some time, but alot of this is going outside my scope of current skill.
Any guidance would be greatly appreciated on what i should be looking to do next to solve my issues.
Thanks!
--Trevor K Smith
UpdateIve read this from a friendly user above.
Edit for future searchers:
The answer seems to be that a newer llvm is required for Vega support. Debian 9 comes with llvm 3.9. Building mesa with llvm 5.0, 6.0 or 7.0 all produced working 3D libraries with Vega. Newer versions of llvm are available from the repositories at llvm.org, and it also looks like Debian stretch backports contains llvm 5.0.
Am i missing a command to enable llvm 5.0 so that it actually gets put in use? I believe i have the package installed correctly, however, it still uses 3.9.
Here is a command that may be helpful.
- Code: Select all
root@M14EBR:~# dpkg-query -l | grep llvm
ii libllvm3.9:amd64 1:3.9.1-9 amd64 Modular compiler and toolchain technologies, runtime library
ii libllvm6.0:amd64 1:6.0-1~bpo9+1 amd64 Modular compiler and toolchain technologies, runtime library
ii llvm-6.0 1:6.0-1~bpo9+1 amd64 Modular compiler and toolchain technologies
ii llvm-6.0-dev 1:6.0-1~bpo9+1 amd64 Modular compiler and toolchain technologies, libraries and headers
ii llvm-6.0-runtime 1:6.0-1~bpo9+1 amd64 Modular compiler and toolchain technologies, IR interpreter