Just noticed how easy it was to setup my new HP laptop graphics drivers.

Antergos installer correctly added drivers (xf86-video-ati and xf86-video-intel) during install, which was great.

The Intel driver is handling the graphics of apps by default.
But for using the power of the discrete card (AMD Radeon HD8690, Sun XT), I created a simple script using this command:

sudo echo 'DRI_PRIME=1 "[email protected]"' > /usr/local/bin/discrete

Now I can use the discrete command like this:

discrete glxinfo | grep "OpenGL renderer"

Compare the outputs of that and this command:

glxinfo | grep "OpenGL renderer"

I looked at https://wiki.archlinux.org/index.php/PRIME for some help, but I didn’t have to do any additional settings to have all working. I didn’t have to put anything into /etc/X11/xorg.conf.d nor /etc/modprobe.d. And did nothing with xrandr.

Cheers! :)