I was messing around and found that the reason why it's doing this is because there are old, corrupt or no drivers. For me it was my graphics driver. Try re-installing the graphics driver. It helped a lot.
These are the commands I used:
sudo apt-get install fglrx
After that drivers are installed. Now it is necessary to install the
pxpress package that switches graphics:
sudo apt-get install fglrx-pxpress
You should now get a message that the discrete card is activated. Reboot system again.
After the restart you can see that the Radeon card is active with this:
Now we need AMD Catalyst Center for switching graphic cards:
sudo apt-get install fglrx-amdcccle
After reboot start AMD Catalyst Center with this:
And change graphics to Integrated to see if everything works.
sudo when switching graphic cards.
Everything works great for me now.