I have installed all the steam related stuff.
Announcement
Collapse
No announcement yet.
Debian + radeonsi
Collapse
X
-
Originally posted by lorenzoz View PostCan you point me to a guide? So I can try?
Originally posted by lorenzoz View PostI have another problem now.
I'm back on my APU CPU. A8-3870k with FOSS radeon driver.
But steam prompt me:
Code:Error: OpenGL GLX context is not using direct rendering, which may cause performance problems.
Comment
-
Originally posted by lorenzoz View PostThe problem appeared when I switched from self-compiled mesa+glamor+ati to the standard set from debian.Last edited by dungeon; 02 July 2014, 07:17 PM.
Comment
-
Originally posted by dungeon View PostMaybe this:
Look at this thread, basically you need to make sure not to use shipped gcc library (and stdc++ too):
http://www.phoronix.com/forums/showt...ian-Steam-r600
Originally posted by dungeon View PostAh this one , yes self compiled can be different and with/without some problems distro packages can have . But distros prefer shared libraries, i guess you compile with --disable-llvm-shared-libs ?
Can't see that line.
Code:#--with-llvm-shared-libs \ PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/local/share/pkgconfig ./autogen.sh --sysconfdir=/etc --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu \ --enable-debug \ CPPFLAGS="-m64" \ CXXFLAGS="-m64" \ --enable-64-bit --disable-32-bit \ --enable-texture-float \ --with-gallium-drivers=r600,swrast,radeonsi \ --with-dri-drivers="" \ --enable-vdpau \ --enable-egl --enable-gles1 --enable-gles2 \ --enable-glx-tls \ --with-egl-platforms=x11,drm \ --enable-gbm \ --enable-gallium-egl \ --enable-gallium-osmesa \ --with-osmesa-bits=32 \ --disable-dri3 \ --disable-opencl \ --enable-shared-glapi \ --disable-r600-llvm-compiler \ --enable-gallium-llvm
Then I reinstalled them pointing at that file.
That's probably a rude way, but I don't have time to dig more.
Now I'm back, a stock debian sid with my APU.
I'll look to another guide to compile necessary stuff for my pitcairn GPU.
Comment
-
I've found some steps and I've tried to put them all together. Can you help me finding errors?
I'll try to build and install this during week-end.
Initial script (I choose llvm-3.5 so I can have OpenGl 3.3):
Code:aptitude install automake xutils-dev libgl1-mesa-dev libegl1-mesa-dev libgbm-dev libgbm1 libtool xserver-xorg-dev checkinstall flex bison pkg-config libvdpau-dev libxcb-xfixes0-dev libelf-dev libexpat1-dev libbsd-dev llvm-3.5 llvm-3.5-runtime llvm-3.5-dev git
Code:git clone git://anongit.freedesktop.org/xorg/driver/glamor cd glamor ./autogen.sh --prefix=/usr --enable-glx-tls --enable-xv make fakeroot checkinstall --install=no --pkgarch=amd64 --backup=no --pkgname=glamor --pkgversion=`cat VERSION` --default
Code:git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-ati cd xf86-video-ati ./autogen.sh --prefix=/usr fakeroot checkinstall --install=no --pkgarch=amd64 --backup=no --pkgname=xf86-video-ati --pkgversion=`cat VERSION` --replaces=xserver-xorg-video-radeon,xserver-xorg-video-ati --default
Code:#!/bin/bash PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/local/share/pkgconfig ./autogen.sh --sysconfdir=/etc --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-debug \ CPPFLAGS="-m64" \ CXXFLAGS="-m64" \ --enable-64-bit --disable-32-bit \ --enable-texture-float \ --with-gallium-drivers=swrast,radeonsi \ --with-dri-drivers="" \ --enable-vdpau \ --enable-egl --enable-gles1 --enable-gles2 \ --enable-glx-tls \ --with-egl-platforms=x11,drm \ --enable-gbm \ --enable-gallium-egl \ --enable-gallium-osmesa \ --with-osmesa-bits=32 \ --enable-gallium-llvm \ --disable-dri3 \ #--enable-opencl \ #--with-llvm-shared-libs \ --enable-shared-glapi --disable-llvm-shared-libs
Code:#!/bin/bash fakeroot checkinstall --install=no --replaces libgles1-mesa:amd64,opencl-headers,libgl1-mesa-dev,libglapi-mesa:amd64,libgles2-mesa:amd64,libgbm1:amd64,libegl1-mesa-dev,libgl1-mesa-dri:i386,libgl1-mesa-dri:amd64,libgl1-mesa-glx:amd64,libegl1-mesa:amd64,libgl1-mesa-swx11:amd64,libegl1-mesa-drivers:amd64,libosmesa6-dev:amd64,mesa-common-dev --pkgname=mesa --pkgversion=`cat VERSION` --pkgarch=amd64 --backup=no --default
Code:#!/bin/bash PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/local/share/pkgconfig ./autogen.sh --sysconfdir=/etc --prefix=/usr --libdir=/usr/lib/i386-linux-gnu --enable-debug \ CPPFLAGS="-m32" \ CXXFLAGS="-m32" \ --with-llvm-prefix=/usr/local/lib/llvm32 \ LDFLAGS="-L/usr/lib/i386-linux-gnu -L/usr/lib -L/usr/local/lib/llvm32/lib" \ --disable-64-bit --enable-32-bit \ --enable-texture-float \ --with-gallium-drivers=swrast,radeonsi \ --with-dri-drivers="" \ --enable-vdpau \ --enable-egl --enable-gles1 --enable-gles2 \ --enable-glx-tls \ --with-egl-platforms=x11,drm \ --enable-gbm \ --enable-gallium-egl \ --enable-gallium-osmesa \ --with-osmesa-bits=32 \ --enable-gallium-llvm \ --disable-dri3 \ #--enable-opencl \ #--with-llvm-shared-libs \ --enable-shared-glapi --disable-llvm-shared-libs
Code:#!/bin/bash fakeroot checkinstall --install=no --replaces libgles1-mesa:i386,libgl1-mesa-dev,libglapi-mesa:i386,libgles2-mesa:i386,libgbm1:i386,libegl1-mesa-dev,libgl1-mesa-dri:i386,libgl1-mesa-dri:i386,libgl1-mesa-glx:i386,libegl1-mesa:i386,libgl1-mesa-swx11:i386,libegl1-mesa-drivers:i386,libosmesa6-dev:i386,mesa-common-dev --pkgname=mesa32 --pkgversion=`cat VERSION` --pkgarch=i386 --backup=no --exclude=/etc/*,/usr/include/* --nodoc --default
Comment
-
Originally posted by lorenzoz View PostI've found some steps and I've tried to put them all together. Can you help me finding errors?
Initial script (I choose llvm-3.5 so I can have OpenGl 3.3):
Building glamor:
Building xf86-video-ati:
Is it necessary to build mesa 32bit in a chroot?
---------------------------
I see you found a trick for your problem with checkinstall to avoid those two packages overwrites some files (--exclude=/etc/*,/usr/include/*), that should work .Last edited by dungeon; 03 July 2014, 03:18 PM.
Comment
-
Yeah in first script when you build 64bit mesa, you miss llvm prefix In 32bit one you have it but prefix goes to --with-llvm-prefix=/usr/local/lib/llvm32 i guess you have builded your own llvm 32bit there or not?
If you prefer to use llvm-3.5 packages which are in Debian sid or upstream snapshots debs --with-llvm-prefix=/usr/lib/llvm-3.5 should be proper for now .
Comment
-
Originally posted by dungeon View PostYeah in first script when you build 64bit mesa, you miss llvm prefix In 32bit one you have it but prefix goes to --with-llvm-prefix=/usr/local/lib/llvm32 i guess you have builded your own llvm 32bit there or not?
If you prefer to use llvm-3.5 packages which are in Debian sid or upstream snapshots debs --with-llvm-prefix=/usr/lib/llvm-3.5 should be proper for now .
I give it a try and it failed in building .deb.
Code:Making install in osmesa make[3]: Entering directory '/media/lorenzo/games/mesa/mesa/src/gallium/targets/osmesa' CC target.lo CXXLD libOSMesa.la /usr/lib/llvm-3.5/lib/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)': (.text._ZN4llvm3sys7Process23FileDescriptorHasColorsEi+0x47): undefined reference to `setupterm' /usr/lib/llvm-3.5/lib/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)': (.text._ZN4llvm3sys7Process23FileDescriptorHasColorsEi+0x78): undefined reference to `tigetnum' /usr/lib/llvm-3.5/lib/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)': (.text._ZN4llvm3sys7Process23FileDescriptorHasColorsEi+0x81): undefined reference to `set_curterm' /usr/lib/llvm-3.5/lib/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)': (.text._ZN4llvm3sys7Process23FileDescriptorHasColorsEi+0x89): undefined reference to `del_curterm' collect2: error: ld returned 1 exit status Makefile:698: recipe for target 'libOSMesa.la' failed make[3]: *** [libOSMesa.la] Error 1 make[3]: Leaving directory '/media/lorenzo/games/mesa/mesa/src/gallium/targets/osmesa' Makefile:524: recipe for target 'install-recursive' failed make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory '/media/lorenzo/games/mesa/mesa/src/gallium/targets' Makefile:530: recipe for target 'install-recursive' failed make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory '/media/lorenzo/games/mesa/mesa/src' Makefile:579: recipe for target 'install-recursive' failed make: *** [install-recursive] Error 1 **** Installation failed. Aborting package creation.
But can't find a solution.
the actual mesa-build script:
Code:#!/bin/bash PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/local/share/pkgconfig ./autogen.sh --sysconfdir=/etc --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-debug \ CPPFLAGS="-m64" \ CXXFLAGS="-m64" \ --with-llvm-prefix=/usr/lib/llvm-3.5 \ --enable-64-bit --disable-32-bit \ --enable-texture-float \ --with-gallium-drivers=swrast,radeonsi \ --with-dri-drivers="" \ --enable-vdpau \ --enable-egl --enable-gles1 --enable-gles2 \ --enable-glx-tls \ --with-egl-platforms=x11,drm \ --enable-gbm \ --enable-gallium-egl \ --enable-gallium-osmesa \ --with-osmesa-bits=32 \ --enable-gallium-llvm \ --disable-r600-llvm-compiler \ --disable-dri3 \ --enable-shared-glapi \ --disable-llvm-shared-libs \
Comment
-
Comment