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

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


1 2 3 >

jeudi 29 janvier 2015

Ubuntu 14.10 - Upgrade Linux kernel from 3.18.1 to 3.18.4 (incremental patches)

My sources for 3.18.1 are located at /opt/linux-3.18.1. Kernel 3.18.1 is my current kernel. I wanted to upgrade because I read important notes in ChangeLog-3.18.4. This way my kernel will be up-to-date.
  • Go to this folder
    cd /opt/linux-3.18.1
  • Download incremental patches
    mkdir tmp_patch
    cd tmp_patch/
    wget https://www.kernel.org/pub/linux/kernel/v3.x/incr/patch-3.18.1-2.xz
    wget https://www.kernel.org/pub/linux/kernel/v3.x/incr/patch-3.18.2-3.xz
    wget https://www.kernel.org/pub/linux/kernel/v3.x/incr/patch-3.18.3-4.xz
    
  • Decompress these patches
    xz -d patch-3.18.1-2.xz
    xz -d patch-3.18.2-3.xz
    xz -d patch-3.18.3-4.xz
  • Apply these patches
    cd ..
    patch -p1 < tmp_patch/patch-3.18.1-2
    patch -p1 < tmp_patch/patch-3.18.2-3
    patch -p1 < tmp_patch/patch-3.18.3-4
  • The usual commands to build kernel
    • Nothing to change using command below (I will just click 'Yes' since all my options are already checked)
      make menuconfig
      Notice: Just run make mrproper before command above to keep your kernel folder clean -- if required !--
    • Build everything
      make -j4 bzImage modules
      Notice: If you have a DVD or a film to watch then ....Command above should take a while
    • Install
      make -j4 INSTALL_MOD_STRIP=1 modules_install
      make -j4 INSTALL_MOD_STRIP=1 install
      make -j4 INSTALL_MOD_STRIP=1 headers_install
      Notice: INSTALL_MOD_STRIP=1 is pretty useful. This flag helps to install binaries with a smaller size :)

mercredi 28 janvier 2015

Resident Evil HD - Wine-Staging 1.7.35 Gallium Nine (ATI HD 7970)

Youtube video

Prerequisites

  1. Use winetricks to install all dependencies
    winetricks wmp10 d3dcompiler_43 d3dx9 xact_jun2010
  2. Using google try to find windowsmedia-kb942423-x86-intl.exe. You need this installer to install libraries so Wine can play WMV files -- based on WVC1 --. If you don't install this then you may get a black screen (just after CAPCOM logo while starting the game).Once downloaded
    wine windowsmedia-kb942423-x86-intl.exe

    Notice: installation might hang at the end. [CTRL]+|C] is your friend

Configuration file - config.ini

$WINEPREFIX/user/yourname/Local\ Settings/Application\ Data/CAPCOM/Resident\ Evil\ -\ biohazard HD\ REMASTER/config.ini

Xbox 360 controller

A quite difficult to get the same mapping as you are supposed to get in the game. So here is mine
  • Unload module xpad
    sudo rmmod xpad
  • Plug your controler
  • Here is my command
    xboxdrv --detach-kernel-driver   --buttonmap X=A,A=X --buttonmap lt=lb,lb=lt
    I guess there might be a better mapping
As I did for Dark Souls using AntiMicro a couple years ago I think Antimicro should be a better solution. I will this solution when I have more time :)

mardi 27 janvier 2015

Resident Evil 6 (Benchmark & Game) - Wine-Staging 1.7.35 Gallium Nine (ATI HD 7970)

Youtube Video


Video 1: Benchmark

Video 2: Game

Winetricks

winetricks wmp10 d3dcompiler_43 d3dx9
  • wmp10: Windows Media Player 10 so wmv files can be played
  • d3dcompiler_43 d3dx9: to avoid any glitch for benchmark

Sources

Tools Version/Commit Download Comment
Wine-Staging 1.7.35 wine-staging-1.7.35_GalliumNine_RE6.tar.bz2 Version patched with Gallium Nine
Mesa-3D GalliumNine e660f9bd44847ec4a3996f5e2119a5e53e83a195 Mesa-3D_2015-01-24_v003.tar.bz2 Those sources are taken from iXit Git Repo (Gallium Nine). I applied my own patches so I can play PCSX2, nullDC, Dark Souls II

Usefull Links

lundi 26 janvier 2015

Ubuntu 14.10: Upgrade from libxext-dev 1.3.2 to 1.3.3 (build packages .deb manually)

Using libxext-dev 1.3.2 on Ubuntu 14.10 I got this fucking error

_xgeWireToEvent: Unknown extension 148, this should never happen

This error has been fixed for libxext-dev 1.3.3. Unfortunately this version is not available. So I have to rebuild .deb manually

Instructions below help to build packages .deb
mkdir Xext-1.3.3

cd Xext-1.3.3

apt-get build-dep libxext-dev

wget http://ftp.de.debian.org/debian/pool/main/libx/libxext/libxext_1.3.3-1.dsc \
        http://ftp.de.debian.org/debian/pool/main/libx/libxext/libxext_1.3.3.orig.tar.gz \
        http://ftp.de.debian.org/debian/pool/main/libx/libxext/libxext_1.3.3-1.diff.gz

dpkg-source -x libxext_1.3.3-1.dsc

cd libxext-1.3.3/



dpkg-buildpackage -rfakeroot -b

cd ..

dpkg -i libxext6_1.3.3-1_i386.deb \
           libxext6-dbg_1.3.3-1_i386.deb  \
           libxext-dev_1.3.3-1_i386.deb  \
           libxext-doc_1.3.3-1_all.deb