FPS graph with GALLIUM_HUD_DUMP_DIR and Kst2

fps.kst – https://gist.github.com/pontostroy/f3ef92affed4675ae5fb436962783fd6

Dump and draw FPS graph with GALLIUM_HUD

With GALLIUM_HUD_DUMP_DIR you can dump fps graph to file

Create dirs for test runs

mkdir /tmp/1
mkdir /tmp/2

Run first run


End second for comparison


Visualize the data (from 2 files) with gnuplot

gnuplot -p -e 'set terminal X11 size 1280,720;set ylabel "fps";set yrange[5000:8000];plot "/tmp/1/fps" title "1-run" with lines lw 4;replot "/tmp/2/fps" title "2-run" with lines lw 4'

Visualize the data (from 1 files) with gnuplot

gnuplot -p -e 'set terminal X11 size 1280,720;set ylabel "fps";set yrange[5000:8000];plot "/tmp/1/fps" title "1-run" with lines lw 4

Rust vulkan(amdgpu-pro\radv) on opensuse

No server for pre release, so no in-game video

How to run STEAM without runtime on openSUSE

sudo cp ~/.steam/bin32/libtier0_s.so /usr/local/lib/
sudo cp ~/.steam/bin32/libvstdlib_s.so /usr/local/lib/
sudo cp ~/.steam/bin32/vgui2_s.so /usr/local/lib/
sudo ln -s /usr/lib/libudev.so.1 /usr/lib/libudev.so.0
sudo ln -s /usr/lib64/libudev.so.1 /usr/lib64/libudev.so.0
sudo ldconfig


OpenGL gpuinfo Windows vs Mesa on radeon r280x



Gears on Gallium 2016.12.23 amdgpu-pro edition

Released an updated Gears on Gallium iso image:
openSUSE – Leap 42.2
Mesa-git – 13.1_git2016.12.23 + vendor and gl render override patch + RADV vulkan driver (radv-wip-doom-wine branch)
Kernel – + amdgpu-pro driver(amdgpu preloaded so use only with radeon >= HD 7700(all gcn cards) )
libdrm – 2.4.99_git2016.12.15
Mesa-demos – 9.1.0_git2016.04.05
wine – 2.0_rc2-gallium-nine+staging + (id Software games patch)
xorg-server – 1.19.99 with amdgpu as default ddx driver (edit /etc/X11/xorg.conf.d/50-device.conf to change ddx driver)
xf86-video-ati – 7.99.99_2016.12.15
xf86-video-amdgpu – 1.1.99_2016.12.15
xf86-video-intel – 2.9.99_2016.12.06
xf86-video-nouveau – 1.1.99_2016.07.22
KDE – 5.8.90git
LLVM – 4.0svn
Phoronix Test Suite – 6.8
Steam –
LXDE – 0.8.0
Amdgpu-pro 16.50 – vulkan and opencl parts.

Users root and gog has empty password.
The image is the hybrid iso, can be written as the CD and as USB flash drive (use dd or win32diskimager for writing).
Download 943 mb
md5 624f84da7d9158df3898f0adae6d9108
sha256 7f58e75672cf9a2141c1c37e452bc64d5fa03be7ad3f22727b3e072404f0f7a7

How to use wine on livecd:
It’s better make /home/gog/.wine as symlink to external hdd\usb (ram disk is only 700 mb) or add ramdisk_size=1024000 (1gb) to kernel parameters to increase ramdisk size.

Use sudo disable_radv.sh for switching to amdgpu-pro vulkan driver, and sudo enable_radv.sh  for switching back to opensource mesa vulkan driver.

For VAAPI and VDPAU use
VDPAU_DRIVER=radeonsi | r600 | nouveau
LIBVA_DRIVER_NAME=radeonsi | r600 | nouveau | i965

Mesa vendor and gl renderer override

OpenGL vendor string: AMD inc.
OpenGL renderer string: Radeon HD 7970
OpenGL core profile version string: 4.3 (Core Profile) Mesa 12.1.0-devel (git-0420666 pontostroy:X11)
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

Use LIBGL_DRI3_DISABLE=1 steam if you have problem with steam (symbol lookup error: /usr/lib/libxcb-dri3.so.0: undefined symbol: xcb_send_request_with_fds)
steam fix

Wine-csmt Nvidia blob vs gallium-nine radeon

I just found this video with gtx 1070 wine-csmt valley benchmark

let test my 7970 with same settings

So gtx 1070(2016 year card) wine-csmt has 48.8 fps
hd 7970(2011 year card) gallium-nine has 55.4 fps

Unity 5.6 simple scene: Linux vs Windows(opengl,dx9,dx11,vulkan)


 DX11  DX9
 dx11  dx9
 opengl  vulk



 opengl  vulk
 WINE-DX9(gallium-nine)  WINE-DX11
 wine-dx9  wine-dx11
 wine-vulk  wine-gl

Unity 5.6 Linux Amdgpu-pro\RADV vulkan test

openSUSE 42.2 Mesa + Amdgpu-pro vulkan and opencl

To get working amdgpu-pro vulkan and opencl just use default kernel with amdgpu-pro-dkms and install

zypper in amdgpu-pro-dkms libdrm-amdgpu-pro vulkan-amdgpu-pro libopencl-amdgpu-pro-icd libopencl-amdgpu-pro-clinfo