Editing Performance Optimizations
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | == | + | ==Graphics Check== |
− | + | {{{glxinfo | grep "Max core profile version"}}} | |
+ | It needs to show a number 4.1 or greater | ||
+ | If it doesn't you need to do the following | ||
− | + | Do a backup before preceding. These instructions written for Debian 9. | |
− | |||
− | |||
− | |||
− | + | ==Backport libdrm from sid== | |
− | + | {{{apt-get build-dep libdrm | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | apt-get build-dep libdrm | ||
apt-get source libdrm -t sid | apt-get source libdrm -t sid | ||
debuild -b -uc -us libdrm | debuild -b -uc -us libdrm | ||
− | dpkg install libdrm | + | dpkg install libdrm}}} |
− | |||
− | == | + | ==New Mesa3d== |
− | + | {{{apt-get build-dep mesa | |
− | apt-get | ||
ln -sf /usr/bin/llvm-config-3.9 /usr/bin/llvm-config | ln -sf /usr/bin/llvm-config-3.9 /usr/bin/llvm-config | ||
git clone git://anongit.freedesktop.org/git/mesa/mesa | git clone git://anongit.freedesktop.org/git/mesa/mesa | ||
cd mesa | cd mesa | ||
− | |||
./configure --prefix=/opt/mesa --enable-texture-float --with-gallium-drivers=radeonsi,swrast --with-platforms=drm,x11 --enable-glx-tls --enable-shared-glapi --enable-glx --enable-driglx-direct --enable-gles1 --enable-gles2 --enable-gbm --enable-openmax --enable-xa --enable-osmesa --with-radeonsi-llvm-compiler --enable-sysfs --enable-vdpau --enable-xvmc --enable-openmax --enable-nine | ./configure --prefix=/opt/mesa --enable-texture-float --with-gallium-drivers=radeonsi,swrast --with-platforms=drm,x11 --enable-glx-tls --enable-shared-glapi --enable-glx --enable-driglx-direct --enable-gles1 --enable-gles2 --enable-gbm --enable-openmax --enable-xa --enable-osmesa --with-radeonsi-llvm-compiler --enable-sysfs --enable-vdpau --enable-xvmc --enable-openmax --enable-nine | ||
make -j 4 | make -j 4 | ||
checkinstall | checkinstall | ||
− | |||
− | |||
− | |||
− | |||
This package will be built according to these values: | This package will be built according to these values: | ||
Line 69: | Line 37: | ||
12 - Conflicts: [ ] | 12 - Conflicts: [ ] | ||
13 - Replaces: [ ] | 13 - Replaces: [ ] | ||
− | + | }}} | |
− | + | ==Configure Xorg== | |
− | + | {{{Xorg -configure` | |
− | Xorg -configure | ||
cp xorg.conf.new /etc/X11/xorg.conf | cp xorg.conf.new /etc/X11/xorg.conf | ||
− | + | restart display manager}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |