matszpk / mesa3d-comp-bridge

Mesa3D Clover with Compiler's Bridge (AMDOCL2)
19 stars 1 forks source link

problems Building the project #4

Open tuxd3v opened 6 years ago

tuxd3v commented 6 years ago

Hello, I have a kavery CPU 8700, with r7 integrated graphics. I own 2 RX 580 ellesmere cards gfx8. I have AMDGPU-PRO stack installed on Ubuntu 18.04

AMDGPU-PRO OpenCL doesn't work, saying that amdkfd: Rejects atomics.. Rocm is even worst..

So I decided to try this project. I have already built CLRadeonExtender 0.18 on /opt/CLRX When it build if trowed a glx not found,( which is strange..): " -- New AMDGPU-PRO is found -- OpenCL not found -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR) -- OpenGL not found " Now I was preparing to build mesa3d-comp-bridge. I already installed the dependencies nedded by ./autogensh: autotools, autoconf, bison, flex, python3-mako, python-mako, x11proto-gl-dev, libdrm-dev

but When I try to ./configure ... , it trows me: checking for DRIGL... no configure: error: Package requirements (x11 xext xdamage >= 1.1 xfixes x11-xcb xcb xcb-glx >= 1.8.1 xcb-dri2 >= 1.8) were not met:

No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found No package 'xcb' found No package 'xcb-glx' found No package 'xcb-dri2' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables DRIGL_CFLAGS and DRIGL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " I tried ./configure with: " ./configure --prefix=/opt/mymesa --enable-opencl --enable-opencl-icd --enable-gbm --with-llvm-prefix=/opt/mymesa --with-platforms=drm,x11 --with-dri-drivers=swrast,radeon,i915,i965 --with-gallium-drivers=svga,r600,radeonsi --enable-glx-tls --enable-comp-bridge " ...its the same example in README front page.

What do you think I am doing wrong?

Thanks in Advance for you time. Best Regards

matszpk commented 6 years ago

Are you have installed needed by Mesa3D X11 development stuff (packages with includes and libraries)? OpenCL is not required by CLRadeonExtender to be eliglible for mesa3d-comp-bridge (comp-bridge uses only AmdCL2 and Gallium format stuff to prepping Gallium programs). Your command seemingly is good you put good paths to needed projects. I was not trying to build comp-bridge with new CLRadeonExtender 0.18 but should be built with latest version. If you have a working AmdOCL you just try to use new Radeon Software Linux (version for Ubuntu has been released). If you want to use comp-bridge (it is not recommended) just try to install X11 devel packages.