Difference between revisions of "Performance Optimizations"
Jump to navigation
Jump to search
Debug data:
Line 1: | Line 1: | ||
==Graphics Check== | ==Graphics Check== | ||
− | + | <pre>glxinfo | grep "Max core profile version"</pre> | |
It needs to show a number 4.1 or greater | It needs to show a number 4.1 or greater | ||
If it doesn't you need to do the following | If it doesn't you need to do the following | ||
Line 7: | Line 7: | ||
==Backport libdrm from sid== | ==Backport libdrm from sid== | ||
− | + | <pre> | |
− | + | apt-get build-dep libdrm | |
− | + | apt-get source libdrm -t sid | |
− | + | debuild -b -uc -us libdrm | |
+ | dpkg install libdrm | ||
+ | </pre> | ||
==New Mesa3d== | ==New Mesa3d== | ||
− | + | <pre> | |
+ | apt-get build-dep mesa | ||
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 | ||
Line 20: | Line 23: | ||
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 37: | Line 41: | ||
12 - Conflicts: [ ] | 12 - Conflicts: [ ] | ||
13 - Replaces: [ ] | 13 - Replaces: [ ] | ||
− | + | </pre> | |
==Configure Xorg== | ==Configure Xorg== | ||
− | + | <pre> | |
+ | Xorg -configure` | ||
cp xorg.conf.new /etc/X11/xorg.conf | cp xorg.conf.new /etc/X11/xorg.conf | ||
− | restart display manager | + | restart display manager |
+ | </pre> |
Revision as of 05:06, 11 October 2017
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 source libdrm -t sid debuild -b -uc -us libdrm dpkg install libdrm
New Mesa3d
apt-get build-dep mesa ln -sf /usr/bin/llvm-config-3.9 /usr/bin/llvm-config git clone git://anongit.freedesktop.org/git/mesa/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 make -j 4 checkinstall This package will be built according to these values: 0 - Maintainer: [ your@email ] 1 - Summary: [ open source 3D computer graphics library ] 2 - Name: [ mesa ] 3 - Version: [ version number from git ] 4 - Release: [ 1 ] 5 - License: [ MIT ] 6 - Group: [ checkinstall ] 7 - Architecture: [ amd64 ] 8 - Source location: [ mesa ] 9 - Alternate source location: [ ] 10 - Requires: [ ] 11 - Provides: [ mesa ] 12 - Conflicts: [ ] 13 - Replaces: [ ]
Configure Xorg
Xorg -configure` cp xorg.conf.new /etc/X11/xorg.conf restart display manager
Debug data:
[SQLBagOStuff] MainObjectStash using store ReplicatedBagOStuff
[objectcache] MainWANObjectCache using store EmptyBagOStuff
IP: 18.116.37.175
Start request GET /mediawiki/index.php?diff=next&oldid=2708&title=Performance_Optimizations
HTTP HEADERS:
CONTENT-TYPE:
CONTENT-LENGTH: 0
USER-AGENT: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HOST: zero-k.info
ACCEPT-ENCODING: gzip, br, zstd, deflate
ACCEPT: */*
CONNECTION: close[localisation] LocalisationCache: using store LCStoreDB
[session] SessionManager using store SqlBagOStuff
[DBReplication] Cannot use ChronologyProtector with EmptyBagOStuff
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: request info {
"IPAddress": "18.116.37.175",
"UserAgent": "Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)",
"ChronologyProtection": false,
"ChronologyPositionIndex": 0,
"ChronologyClientId": false
}[DBConnection] Wikimedia\Rdbms\LoadBalancer::lazyLoadReplicationPositions: executed chronology callback.
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[session] SessionBackend "6pko3mf41trc557isc8ufqsbk6e01fuh" is unsaved, marking dirty in constructor
[session] SessionBackend "6pko3mf41trc557isc8ufqsbk6e01fuh" save: dataDirty=1 metaDirty=1 forcePersist=0
[cookie] already deleted setcookie: "wikidb229_mw__session", "", "1712763616", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_UserID", "", "1712763616", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_Token", "", "1712763616", "/", "", "", "1"
[cookie] already deleted setcookie: "forceHTTPS", "", "1712763616", "/", "", "", "1"
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
Title::getRestrictionTypes: applicable restrictions to [[Performance Optimizations]] are {edit,move}
[ContentHandler] Created handler for wikitext: WikitextContentHandler
Article::view: showing diff page
DifferenceEngine old '2708' new 'next' rcid ''
[MessageCache] MessageCache using store SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] SqlBagOStuff::lock failed due to timeout for wikidb229-mw_:messages:en.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database
ParserFactory: using preprocessor: Preprocessor_Hash
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions->__construct
DifferenceEngine old '0' new '0' rcid '0'
WikiPage::getParserOutput: using parser cache: no
[caches] parser: SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
Parser cache options found.
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:9537adb8e3d96911a5f0778a3da1d035:0)
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:9537adb8e3d96911a5f0778a3da1d035:0)
MediaWiki::preOutputCommit: primary transaction round committed
MediaWiki::preOutputCommit: pre-send deferred updates completed
MediaWiki::preOutputCommit: session changes committed
MediaWiki::preOutputCommit: LBFactory shutdown completed
Title::getRestrictionTypes: applicable restrictions to [[Performance Optimizations]] are {edit,move}