Le blog de Jean David TECHER, un Réunionnais à Saint-Priest/Lyon

Aller au contenu | Aller au menu | Aller à la recherche


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 >

jeudi 21 avril 2016

WebSite davidgis.fr will be down in May 2016 (Vacation). Back in June 2016 - Reminder #1

A few notes
  • WebSite davidgis.fr will be down in May, 2016. WebSite davidgis.fr will be shutdown on Saturday 30-April-2016 for one month, back in June 2016. We will be on vacation for one month.
  • We plan to get back in June, 2016.
  • Main Youtube channel https://www.youtube.com/user/davidtecher is still up in May, 2016.
  • We will not provide any Wine sources patches with Gallium Nine in May, 2016

mardi 19 avril 2016

Lost Planet 3 on Linux | Gallium Nine | Wine-Staging 1.9.7

Someone else was supposed to try to make a video on youtube for this game. But without any new for a couple of days I took decision to test it myself. Well wel well...

Video Youtube

Steam and dependancies

There are a couple of packages to install through winetricks with this game.
winetricks -q vcrun2008sp1 vcrun2010 d3dcompiler_43 dotnet40
Unfortunately Steam will try to reinstall a couple of these packages each time you want to launch the game. So here is the trick. As usual we will make Steam believe that all dependancies are already installed.
  1. Create a temporary registry file Lost_Planet_3.reg
    david@amdgaming:~$ cat << _EOF_ > Lost_Planet_3.reg
    REGEDIT4
    
    [HKEY_LOCAL_MACHINE\Software\Valve\Steam\Apps\CommonRedist\vcredist\2008]
    "x86 SP1"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\Software\Valve\Steam\Apps\CommonRedist\vcredist\2010]
    "x86"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\Software\Valve\Steam\Apps\CommonRedist\DirectX\Jun2010]
    "dxsetup"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\Software\Valve\Steam\Apps\CommonRedist\.NET\4.0]
    "4.0"=dword:00000001
    
    
    [HKEY_CURRENT_USER\Control Panel\Desktop]
    "FontSmoothing"="2"
    "FontSmoothingTypeFontSmoothingType"=dword:00000002
    "FontSmoothingGammaFontSmoothingGamma"=dword:00000578
    "FontSmoothingOrientationFontSmoothingOrientation"=dword:00000001
    _EOF_
  2. Load it using regedit
    regedit Lost_Planet_3.reg

vendredi 15 avril 2016

LLVM 3.9 / AMDGPU on Linux 32 Bits

In this ticket I share the first tests I did for LLVM 3.9.0. Since we are in April 2016 then LLVM 3.9 is currently being developped. So it is time to test it . For my own tests I am using cmake version 2.8.12.2

root@amdgaming:~# cmake --version
cmake version 2.8.12.2

LLVM is required to play native Windows games on Linux through Wine when you use Open Source Drivers (Mesa/xf86-video-ati/Gallium Nine). I need LLVM so I can use SIScheduler (R600_DEBUG=sisched) for a couple of games to come.

Then let's go!
  • Create a folder for source
    mkdir -pv /opt/Sources/llvm-3.9.0_$(date -I)
    cd /opt/Sources/llvm-3.9.0_$(date -I)
  • Download latest LLVM sources and clang sources from SVN Repo
    svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
    cd llvm/tools/
    svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
  • It is recommended to build LLVM binairies out of llvm sources folder. We will create another folder
    mkdir -pv /opt/Builds/llvm-3.9.0_$(date -I)_build
    cd /opt/Builds/llvm-3.9.0_$(date -I)_build
  • Configure LLVM using cmake
    cmake -G "Unix Makefiles" \
    	-DCMAKE_INSTALL_PREFIX=/opt/llvm/3.7.0 \
    	-DLLVM_ENABLE_ASSERTIONS=Off \
    	-DBUILD_SHARED_LIBS=ON \
    	-DCMAKE_BUILD_TYPE=Release \
    	-DLLVM_TARGETS_TO_BUILD="AMDGPU;X86" \
    		/opt/Sources/llvm-3.9.0_$(date -I)/llvm/
    Notices
    • -DCMAKE_INSTALL_PREFIX is set to /opt/llvm/3.7.0. I started my tests on LLVM for version 3.7 in 2015. Since 2015 on my Ubuntu 14.10 computer I am used to reuse the same folder to test llvm. (perhaps I should update it to /opt/llvm/3.9.0/ ?)
    • -DBUILD_SHARED_LIBS is set to ON to make life easier for Mesa when Mesa will be linked to LLVM. LLVM is built statically (unless I am wrong?)
    • -DCMAKE_BUILD_TYPE=Release avoids to get an annoying issue while ld is trying to link everything for libclang.so. We avoid the error "Memory exhausted" = not enough memory.
    • -DLLVM_TARGETS_TO_BUILD="AMDGPU;X86" are specific targets (AMDGPU support and x86 for my Linux 32 Bits). Specifying targets helps
      • to reduce targets lists and avoid to build unused targets
      • to reduce expected time to build llvm. It is well known that LLVM takes a lot of time to be built
  • Build
    make -j4
  • Install
    make install

mardi 5 avril 2016

Wine-Staging 1.9.7 and Gallium-Nine (Sources to download) - New page

Since February 2016 I maintain another web page so you can download easily latest Wine-Staging Sources repatched with Gallium Nine. Archives are available too.

Sources for Wine-Staging 1.9.7 and Gallium Nine are available on mediafire.com http://www.mediafire.com/download/418h06bsep1cc93/Wine-Staging-1.9.7_Gallium-Nine_Steam-Hacks.tar.bz2