Did you know we have a Forum? Come and say hi!
Latest Comments by Shmerl
Some reflections on radv, the first open source Vulkan driver for AMD GPUs
31 Dec 2017 at 3:51 am UTC

Quoting: GustyGhostHopefully, by the time this arrives downstream, AMD's DC code will be properly reworked for merge into mainline kernel.
AMD display code (DC) is already merged in Linux 4.15.

Wine 3.0 RC4 is now available, more glorious bug fixes
31 Dec 2017 at 1:24 am UTC

The Witcher 3 freeze is still not fixed (for invisible monsters patch).

Reminder: Update your PC info for the next round of statistics updates
29 Dec 2017 at 5:58 pm UTC

Quoting: SinaCutieAMD RX 460 was the last card I used.
That's strange, since Polaris is quite well supported. I didn't have any major issues with RX 480. What exactly was the problem with your card?

Reminder: Update your PC info for the next round of statistics updates
28 Dec 2017 at 11:09 pm UTC

Example of how you can do it (assuming you put your mesa in /opt/mesa-${branch})

mesa_run.sh

#!/bin/bash

export mesa_dir=${mesa_dir:-"mesa-master"}

if [[ "$1" == "32" ]]; then
   arch_dir="x86"
   vk_arch="i686"
   shift
else
   arch_dir="x86_64"
   vk_arch="x86_64"
fi

mesa_env="LD_LIBRARY_PATH=/opt/${mesa_dir}/${arch_dir}:$LD_LIBRARY_PATH LIBGL_DRIVERS_PATH=/opt/${mesa_dir}/${arch_dir} EGL_DRIVERS_PATH=/opt/${mesa_dir}/${arch_dir} VK_ICD_FILENAMES=/opt/${mesa_dir}/${arch_dir}/radeon_icd.${vk_arch}.json"

echo "Mesa env:"
echo "${mesa_env}"
echo "==========================================="

export ${mesa_env}
$@

Reminder: Update your PC info for the next round of statistics updates
28 Dec 2017 at 11:05 pm UTC

Quoting: slaapliedjeSo are you just launching with an LD_PRELOAD? Or do you change the .desktop file? I was going to ask about steam command parameters, but I don't think you use it due to DRM, right?
I'm using LD_LIBRARY_PATH and a bunch of variables needed for OpenGL and Vulkan custom locations. See in the linked wiki page. I'll update it soon and will also put my common scripts somewhere so you can see examples.

I.e. I made a script mesa_run.sh which launches its parameter with custom mesa, and I simply use that when I want to run something using that custom Mesa, rather default system one. You surely can use the same idea in desktop launchers and other scripts.

Reminder: Update your PC info for the next round of statistics updates
28 Dec 2017 at 10:00 pm UTC

Quoting: natis1For starters, Gentoo includes git versions of all packages in its repos so no need to git clone, ./configure, make, make install anything manually. Arch does something similar with its aur.

More importantly though, when you build a package from source using a git repository as the source on Arch that package is tracked by your package manager and can be updated along with the rest of your system (pacaur -Syu --devel). As far as I know, Debian and variants lets you build a package from source, but doesn't automatically keep it up to date. If you install Mesa git but never update it it will quickly fall behind the fixed release version.
I see. But all those methods install Mesa as a replacement for stable one. That's not the goal for me in this case. I like to have experimental / master Mesa alongside stable one, and only use it on demand when needed. So in such case building it and placing it in custom location works best.

Here is an example how to do it: https://www.gamingonlinux.com/wiki/Building_Mesa_from_source

AMD have now officially open-sourced their 'AMDVLK' Linux Vulkan driver
28 Dec 2017 at 9:57 pm UTC

Actually correction, the refresh is going to be 12 nm. 7 nm will be used already in Navi, so that's in 2019.

Reminder: Update your PC info for the next round of statistics updates
28 Dec 2017 at 8:13 pm UTC

Quoting: slaapliedjeWell, the open source driver went through many names / iterations. radeon, radeonhd, radeonsi, radv, etc. Nvidia has had nv, nouveau.
I think you are mixing up kernel driver (radeon / amdgpu), and API implementations (radeonsi/r600 for OpenGL, radv/amdvlk for Vulkan and etc.). Having different names is quite reasonable, if they have actually different code for different hardware, or simply different implementations.

Reminder: Update your PC info for the next round of statistics updates
28 Dec 2017 at 4:27 am UTC

Quoting: natis1I personally disagree. It's much harder to build Mesa from source on a distro like Ubuntu or openSUSE than Arch or Gentoo.
How exactly is it harder? Check how official distro packages configure and build Mesa, and use that as a starting point.

And in this case, I don't need PPAs and binary click installers, because I don't want to replace system Mesa with a manually built one, especially if it's a master branch. I need to use them in parallel.