$ sudo apt-get remove fglrx*
$ sudo apt-get purge fglrx*
Opensource drivers should be installed by default,
If not installed you can use the following command:
$ sudo apt-get install xserver-xorg-video-ati
$ xrandr -q
Xrandr was not able to recognize my graphic card.
So I used this trick from ubuntu wiki.
$ cd /usr/share/X11/xorg.conf.d/
$ sudo nano
99-vesahack.conf
...
Section "Device"
Identifier "Screen0"
VideoRam 10000
EndSection
...
$ sudo reboot
Optional fix resolution for grub.
You might need to try 'vbeinfo' in grub to see what resolutions are supported.
$ sudo nano /etc/default/grub
...
GRUB_GFXMODE=1920x1080
...
$ sudo update-grub
Update:
Purge command removed fglrx-core and flgrx which was causing a conflict.
Xrandr is able to recognize the graphic card, so 99-vesahack.conf is removed.
Ref:
http://askubuntu.com/questions/159586/how-to-install-radeon-open-source-driver#277500
https://wiki.ubuntu.com/X/Config/Resolution