AMD GPU install - Changing recognized 'flavor'

I have an R9 380 G4 GC and I'm unable to support the second monitor because Zorin is using a fallback generic driver that is running the card at 33Mhz (painfully slow that...)
I've tried installing the generic debian OEM graphics driver from AMD but I get an error stating that Zorin is not supported.
From what I understand Zorin is not terribly different from a normal debian install.
Is there a way to trick the software into thinking it is installing on a supported system so as to force compatability?

This is the error I get when I try to install using AMD's guide:
sudo ./amdgpu-install
[sudo] password for ******:
Unsupported DEB-based OS: /etc/os-release ID 'zorin'

This is the active controller...

*-display
description: VGA compatible controller
product: Tonga PRO [Radeon R9 285/380]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:09:00.0
version: f1
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=amdgpu latency=0
resources: irq:85 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:e000(size=256) memory:fcf00000-fcf3ffff memory:c0000-dffff

1 Like

You can try editing your release file to trick the installer into thinking your release is Debian or Ubuntu

sudo nano /etc/os-release

Find the line with ID=zorin

Change that to ID=debian
Exit and save, then try installing the drivers.
If successful, please immediately go back in and revert your os release to zorin

sudo nano /etc/os-release

ID=debian to ID=zorin.

1 Like

Well, that got me further...
deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./
Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Get:4 file:/var/opt/amdgpu-pro-local ./ Packages [129 kB]
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:8 http://download.mono-project.com/repo/debian stable-xenial InRelease
Hit:9 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
Hit:10 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic InRelease
Hit:11 https://ksp-ckan.s3-us-west-2.amazonaws.com/deb stable InRelease
Get:12 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:13 http://ppa.launchpad.net/zorinos/apps/ubuntu bionic InRelease
Get:14 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [48.5 kB]
Hit:15 https://packages.zorinos.com/stable bionic InRelease
Get:16 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2,127 kB]
Get:17 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [60.5 kB]
Hit:18 https://packages.zorinos.com/patches bionic InRelease
Hit:19 http://ppa.launchpad.net/zorinos/drivers/ubuntu bionic InRelease
Hit:20 https://packages.zorinos.com/apps bionic InRelease
Hit:21 https://packages.zorinos.com/drivers bionic InRelease
Hit:22 http://ppa.launchpad.net/zorinos/patches/ubuntu bionic InRelease
Hit:23 https://packages.zorinos.com/premium bionic InRelease
Hit:24 http://ppa.launchpad.net/zorinos/stable/ubuntu bionic InRelease
Get:25 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [1,309 kB]
Get:26 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:27 http://us.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [421 kB]
Get:28 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [294 kB]
Get:29 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,738 kB]
Get:30 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1,568 kB]
Get:31 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [290 kB]
Get:32 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:33 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [9,268 B]
Fetched 8,122 kB in 11s (746 kB/s)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://ksp-ckan.s3-us-west-2.amazonaws.com/deb stable InRelease' doesn't support architecture 'i386'
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '21.20-1271047' (localhost [all]) for 'amdgpu-pin'
The following NEW packages will be installed:
amdgpu-pin
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 0 B/2,836 B of archives.
After this operation, 27.6 kB of additional disk space will be used.
Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-pin 21.20-1271047 [2,836 B]
Selecting previously unselected package amdgpu-pin.
(Reading database ... 371760 files and directories currently installed.)
Preparing to unpack .../amdgpu-pin_21.20-1271047_all.deb ...
Unpacking amdgpu-pin (21.20-1271047) ...
Setting up amdgpu-pin (21.20-1271047) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
amdgpu : Depends: amdgpu-lib (= 21.20-1271047) but it is not going to be installed
amdgpu-lib32 : Depends: amdgpu-lib (= 21.20-1271047) but it is not going to be installed or
amdgpu-lib-hwe (= 21.20-1271047) but it is not installable
Depends: libdrm2-amdgpu:i386 (= 1:2.4.100-1271047)
Depends: libdrm-amdgpu-amdgpu1:i386 (= 1:2.4.100-1271047)
Depends: libllvm12.0-amdgpu:i386 (= 1:12.0-1271047)
Depends: libwayland-amdgpu-client0:i386 (= 1.18.0-1271047)
Depends: libwayland-amdgpu-server0:i386 (= 1.18.0-1271047)
Depends: libxatracker2-amdgpu:i386 (= 1:21.1.0-1271047)
Depends: libgbm1-amdgpu:i386 (= 1:21.1.0-1271047)
Depends: libegl1-amdgpu-mesa:i386 (= 1:21.1.0-1271047)
Depends: libegl1-amdgpu-mesa-drivers:i386 (= 1:21.1.0-1271047)
Depends: libgl1-amdgpu-mesa-glx:i386 (= 1:21.1.0-1271047)
Depends: libgl1-amdgpu-mesa-dri:i386 (= 1:21.1.0-1271047)
Depends: mesa-amdgpu-va-drivers:i386 (= 1:21.1.0-1271047)
Depends: mesa-amdgpu-vdpau-drivers:i386 (= 1:21.1.0-1271047)
E: Unable to correct problems, you have held broken packages.

It looks like I have a wrong depository specified... Not sure how to change it or what to change it too.
Looks like I need to remove Hit 11... somehow.

Ok so I learned how to edit my repository list. and I fixed that, but its still returning an incomplete install error:

~/Downloads/amdgpu-pro-21.20-1271047-ubuntu-20.04$ '/home/sirdll/Downloads/amdgpu-pro-21.20-1271047-ubuntu-20.04/amdgpu-install'
deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./
Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Get:4 file:/var/opt/amdgpu-pro-local ./ Packages [129 kB]
Hit:5 http://download.mono-project.com/repo/debian stable-xenial InRelease
Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:7 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:8 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:9 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
Hit:10 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic InRelease
Hit:11 https://packages.zorinos.com/stable bionic InRelease
Get:12 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:13 https://packages.zorinos.com/patches bionic InRelease
Hit:14 http://ppa.launchpad.net/zorinos/apps/ubuntu bionic InRelease
Hit:15 https://packages.zorinos.com/apps bionic InRelease
Hit:16 https://packages.zorinos.com/drivers bionic InRelease
Hit:17 https://packages.zorinos.com/premium bionic InRelease
Hit:18 http://ppa.launchpad.net/zorinos/drivers/ubuntu bionic InRelease
Hit:19 http://ppa.launchpad.net/zorinos/patches/ubuntu bionic InRelease
Hit:20 http://ppa.launchpad.net/zorinos/stable/ubuntu bionic InRelease
Fetched 252 kB in 2s (149 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '21.20-1271047' (localhost [all]) for 'amdgpu-pin'
The following NEW packages will be installed:
amdgpu-pin
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 0 B/2,836 B of archives.
After this operation, 27.6 kB of additional disk space will be used.
Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-pin 21.20-1271047 [2,836 B]
Selecting previously unselected package amdgpu-pin.
(Reading database ... 371760 files and directories currently installed.)
Preparing to unpack .../amdgpu-pin_21.20-1271047_all.deb ...
Unpacking amdgpu-pin (21.20-1271047) ...
Setting up amdgpu-pin (21.20-1271047) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
amdgpu : Depends: amdgpu-lib (= 21.20-1271047) but it is not going to be installed
amdgpu-lib32 : Depends: amdgpu-lib (= 21.20-1271047) but it is not going to be installed or
amdgpu-lib-hwe (= 21.20-1271047) but it is not installable
Depends: libdrm2-amdgpu:i386 (= 1:2.4.100-1271047)
Depends: libdrm-amdgpu-amdgpu1:i386 (= 1:2.4.100-1271047)
Depends: libllvm12.0-amdgpu:i386 (= 1:12.0-1271047)
Depends: libwayland-amdgpu-client0:i386 (= 1.18.0-1271047)
Depends: libwayland-amdgpu-server0:i386 (= 1.18.0-1271047)
Depends: libxatracker2-amdgpu:i386 (= 1:21.1.0-1271047)
Depends: libgbm1-amdgpu:i386 (= 1:21.1.0-1271047)
Depends: libegl1-amdgpu-mesa:i386 (= 1:21.1.0-1271047)
Depends: libegl1-amdgpu-mesa-drivers:i386 (= 1:21.1.0-1271047)
Depends: libgl1-amdgpu-mesa-glx:i386 (= 1:21.1.0-1271047)
Depends: libgl1-amdgpu-mesa-dri:i386 (= 1:21.1.0-1271047)
Depends: mesa-amdgpu-va-drivers:i386 (= 1:21.1.0-1271047)
Depends: mesa-amdgpu-vdpau-drivers:i386 (= 1:21.1.0-1271047)
E: Unable to correct problems, you have held broken packages.

:man_facepalming:
I'm a m0r0n...
I have a 64bit machine and its telling me that its not installing the 32 bit software....
Imma restart and see where this gets me.
Thanks for the help.

Well the gui and other graphics based software is much more responsive, so thanks for that. still not sure if I was successful in installing.
Still unable to recognize the second monitor.
I'll keep digging.

Well (S)hip (H)igh (I)n (T)ransit...
I just ran lshw -c display
and I got:
*-display
description: VGA compatible controller
product: Tonga PRO [Radeon R9 285/380]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:09:00.0
version: f1
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=amdgpu latency=0
resources: irq:85 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:e000(size=256) memory:fcf00000-fcf3ffff memory:c0000-dffff

This is exactly the same as before. Not sure why the computer is more responsive. Looks like its still underdriving the clock massively using the generic driver.

Uninstalled vanilla driver recommended by radeon and installed pro driver using
./amdgpu-pro-21.20-1271047-ubuntu-20.04/amdgpu-pro-install

setup both monitors to use HDMI and rebooted.
I now have 2 monitors. :partying_face:

1 Like

Hi and welcome to the forum.
Yours is a classic case of self help if I ever saw one :smiley:
The good thing is you have a solution and a record of what you did. Sharing that on here may also help others in the future.

2 Likes

He ain't called the MontanaMissile for nothing.

1 Like

@Aravisian I am guilty of doing you a disservice. I somehow missed the second post, which was from you, so MM may only be credited 90% self help. I hope this will not cause him to explode :grin:

how to uninstall vanilla driver??

This is a very good question.
But also not really important - if you prefer the AMDGPU-Pro, you need only install it to use it.
Scroll down to
Proprietary AMDGPU-PRO drivers

You will see a warning stating the the drivers have not been made for Ubuntu 20.04 yet, but that the article would by updated when they are.
The drivers have been made and are available on the download page linked.
The article never got updated.