Debian Hybrid AMD Graphics Samsung Laptop

Debian 9 introduces support for hybrid graphics, where an intel gpu is used for day to day desktop operation, and then more intensive operations like video and 3d are offloaded to the more powerful and battery draining AMD gpu.

This is how I set it up on my Ativ Book 8 Samsung laptop to utilise hybrid graphics. I imagine it will work on any similar system with an Intel/AMD hybrid gpu setup.

Firstly make sure debian has detected both gpus

This will output something like below. Under some circumstances the last part of each provider line will provide a nice descriptive name like ‘Intel’ etc. Mine didn’t and came out like below.

The next thing is to tell Debian which gpu is to be used for more intensive tasks.  From some google research I identified that the VERDE gpu is the AMD gpu so I set it as follows:

Lastly you can check that the system is going to offload intensive tasks to the AMD card by running the following

Which should output