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

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


samedi 13 juillet 2013

Xen 4.3.0 (stable) / VGA Passthrough for ATI

Xen 4.3.0 is out. Time to test it for VGA Passthrough.

Download Xen 4.3.0 sources

wget http://bits.xensource.com/oss-xen/release/4.3.0/xen-4.3.0.tar.gz
tar xvzf xen-4.3.0.tar.gz 
cd xen-4.3.0

Configure

CURL=$(which curl-config) XML=$(which xml2-config) ./configure --prefix=/usr

Make a first build for tools and cleanup the folder

  • Make a first build for tools
    cd tools
    make -j4
  • Clean up the folder
    make clean

Download and apply the patches

  • Download and apply the 1st patch. This patch aims at overpassing the 3-4GB of RAM limitation for domU. It helps to have more than 3-4GB of RAM for domU
    cd qemu-xen
    wget "http://marc.info/?l=qemu-devel&m=136177475215360&q=raw" -O - | patch -p1
  • Download and apply the 2nd patch. This patch adds support for ATI Card (VGA passthrough)
    cd ../..
    wget ftp://ftp.enjellic.com/pub/xen/xen-4.2.0.ati-passthrough.patch -O - | patch -p1
  • We have to modify tools/qemu-xen-traditional/hw/pt-graphics.c file so we can run build stubdom
    for i in 0 3;do sed -i "s:^.*iopl(${i});$://iopl(${i});:g" tools/qemu-xen-traditional/hw/pt-graphics.c;done

    NOTICE if this workaround is not apply then you should have this error

    .../stubdom/mini-os-x86_64-ioemu/mini-os.o: In function `ati_hw_out':
    .../stubdom/ioemu/hw/pt-graphics.c:84: undefined reference to `iopl'
    .../stubdom/mini-os-x86_64-ioemu/mini-os.o: In function `ati_hw_in':
    .../stubdom/ioemu/hw/pt-graphics.c:72: undefined reference to `iopl'
    .../stubdom/ioemu/hw/pt-graphics.c:74: undefined reference to `iopl' 

Build and install xen and stubdom

  • Build
    make -j4 xen && make -j4 stubdom
  • Install
    make install-xen && make install-stubdom

Build and install tools

  • Cleanup tools
    cd tools
    make clean
  • Reverse the workaround
    cd ..
    for i in 0 3;do sed -i "s:^.*iopl(${i});$:iopl(${i});:g" tools/qemu-xen-traditional/hw/pt-graphics.c;done
  • Build and install tools
    make -j4 tools
    make install-tools PYTHON_PREFIX_ARG=

Linux script to manage domU (start/stop....)

Download the Linux shell script ftp://ftp.enjellic.com/pub/xen/run-passthrough and updated it to your own needs

dimanche 7 juillet 2013

'Deadpool' on Ubuntu 12.04 32-Bit (ATI HD 7970)

This game ies very amazing!

Youtube Video

URL = http://www.youtube.com/watch?feature=player_detailpage&v=odYuUXEIpmU

Known (fixed) issue with AMD driver 13.4: Red screen when Deadpool is dying

It is not recommened to test amd driver catalyst 13.4. For this version you may hade weird textures/red textures when deadpool's health is lower than 20-30%. It means that you've got a red screen. The only fix I have is to downgrade your video card driver. I tested for either amd driver 12.10 or amd driver 13.1. The game works fine with this driver version. (13.1 or 12.10).

Known (fixed) issue: when game is starting (logos scenes) screen colors are only in black and white / grey scale

winetricks d3dx9_36

vendredi 5 juillet 2013

PPAS 9.1: Download postgresplusas-9.1.9.16-1-linux-x64.run

Download it manually
wget "http://sbp.enterprisedb.com/getfile.jsp?fileid=2907" -O postgresplusas-9.1.9.16-1-linux-x64.run