I am trying to set up ubuntu 16.04 to use an amd gpu and a Nvidia gpu at the same time. The amd gpu is a R9 390x and Nvidia a 1070 GTX.
I have been able to install each driver seperatly with one card in at a time without a problem but getting them to work together has been a big problem.
I wish to use the nvidia for display and crypto mining while the amd card just for mining.
I have tried using the instructions from this link :
NVIDIA card for CUDA and AMD card for display on Ubuntu 16.04
But it is using the cards the other way round (AMD for display) and even after following the instructions (but installing the AMD card first and NVIDIA last), I am logged out after trying to log in once I've installed the second/NVIDIA GPU.
Ideally a guide on how to install the AMD driver and then the NVIDIA driver on 16.04 and still have use of both cards (Nvidia as display) is what I need.
It works fine on windows 10 but I haven't had any luck getting them both to work at the same time on Ubuntu even on previous distributions.
Any help would be appreciated!
Best Answer
sudo apt install nvidia-384
)Ctrl+Alt+F1
sudo nvidia-xconfig
sudo nano /etc/X11/xorg.conf
lspci | egrep -h "VGA|3D controller"
- remember identifiers at the beginning of each line:sudo nano /etc/X11/xorg.conf
and use these identifiers:If it doesn’t work - please provide output of
lspci | egrep -h "VGA|3D controller"
, your/etc/X11/xorg.conf
and/var/log/Xorg.0.log
.P.S. somebody please guide me how to properly "post" this answer for these similar questions: