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

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

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
    "x86 SP1"=dword:00000001
    [HKEY_CURRENT_USER\Control Panel\Desktop]
  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

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

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 \
    	-DCMAKE_BUILD_TYPE=Release \
    		/opt/Sources/llvm-3.9.0_$(date -I)/llvm/
    • -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