R9 390x has garbage performance on Linux - please help

Oh perhaps it’s because it’s card1 - there’s an iGPU as well:

:~$ ls /sys/class/drm/
card0/          card0-HDMI-A-1/ card0-HDMI-A-3/ card1/          card1-DP-3/     card1-DVI-D-1/  renderD128/     ttm/
card0-DP-1/     card0-HDMI-A-2/ card0-VGA-1/    card1-DP-2/     card1-DP-4/     card1-HDMI-A-4/ renderD129/     version

Update: yup that did the trick… going to test now

1 Like

It’s set to high but I’m getting 2fps on Unigine Valley even so.

I’ve got the Radeon Profile utility running as well and the temps are 60c idle doing nothing so this doesn’t really seem like a win even if it worked.

Is the AMDGPU driver in use by the 390? Blacklisting radeon via blacklist.conf never worked for me on Ubuntu. What’s the output of lspci -k?

These were the boot parameters I used from the arch wiki:
radeon.cik_support=0 amdgpu.cik_support=1 amdgpu.dpm=1 amdgpu.dc=1

Well, this is certainly interesting…

:~$ lspci -k
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
        Subsystem: ASUSTeK Computer Inc. 4th Gen Core Processor DRAM Controller
        Kernel driver in use: hsw_uncore
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
        Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
        Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
        Kernel driver in use: i915
        Kernel modules: i915
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
        Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller
        Subsystem: ASUSTeK Computer Inc. 9 Series Chipset Family USB xHCI Controller
        Kernel driver in use: xhci_hcd
00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1
        Subsystem: ASUSTeK Computer Inc. 9 Series Chipset Family ME Interface
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (2) I218-V
        Subsystem: ASUSTeK Computer Inc. Ethernet Connection (2) I218-V
        Kernel driver in use: e1000e
        Kernel modules: e1000e
00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2
        Subsystem: ASUSTeK Computer Inc. 9 Series Chipset Family USB EHCI Controller
        Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
        Subsystem: ASUSTeK Computer Inc. 9 Series Chipset Family HD Audio Controller
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0)
        Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 4 (rev d0)
        Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1
        Subsystem: ASUSTeK Computer Inc. 9 Series Chipset Family USB EHCI Controller
        Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation Z97 Chipset LPC Controller
        Subsystem: ASUSTeK Computer Inc. 9 Series Chipset Family Z97 LPC Controller
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode]
        Subsystem: ASUSTeK Computer Inc. 9 Series Chipset Family SATA Controller [AHCI Mode]
        Kernel driver in use: ahci
        Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller
        Subsystem: ASUSTeK Computer Inc. 9 Series Chipset Family SMBus Controller
        Kernel modules: i2c_i801
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT / Grenada XT [Radeon R9 290X/390X] (rev 80)
        Subsystem: ASUSTeK Computer Inc. Radeon R9 390X
        Kernel driver in use: amdgpu
        Kernel modules: radeon, amdgpu
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
        Subsystem: ASUSTeK Computer Inc. Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
02:00.0 SATA controller: Kingston Technology Company, Inc. Device 0010 (rev 10)
        Subsystem: Kingston Technology Company, Inc. Device 0100
        Kernel driver in use: ahci
        Kernel modules: ahci
03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4352 802.11ac Wireless Network Adapter (rev 03)
        Subsystem: ASUSTeK Computer Inc. BCM4352 802.11ac Wireless Network Adapter
        Kernel modules: bcma
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT / Grenada XT [Radeon R9 290X/390X] (rev 80)
        Subsystem: ASUSTeK Computer Inc. Radeon R9 390X
        Kernel driver in use: amdgpu
        Kernel modules: radeon, amdgpu
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
        Subsystem: ASUSTeK Computer Inc. Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

I’m not sure with si vs cik is all about but i have those parameters and more. Maybe more isn’t good?

Some other info:

:~$ ls /usr/share/X11/xorg.conf.d/
00-amdgpu.conf  10-amdgpu.conf  10-quirks.conf  10-radeon.conf  40-libinput.conf
:/usr/share/X11/xorg.conf.d$ cat 00-amdgpu.conf
Section "OutputClass"
        Identifier "AMDgpu"
        MatchDriver "amdgpu"
        Driver "amdgpu"
EndSection

Section "Files"
        ModulePath "/opt/amdgpu-pro/lib/xorg/modules"
        ModulePath "/opt/amdgpu/lib/xorg/modules"
        ModulePath "/usr/lib/xorg/modules"
EndSection
:/usr/share/X11/xorg.conf.d$ cat 10-amdgpu.conf
Section "OutputClass"
        Identifier "AMDgpu"
        MatchDriver "amdgpu"
        Driver "amdgpu"
        Option "AccelMethod" "glamor"
        Option "DRI" "3"
EndSection
:/usr/share/X11/xorg.conf.d$ cat 10-radeon.conf
Section "OutputClass"
        Identifier "Radeon"
        MatchDriver "radeon"
        Driver "radeon"
EndSection

Hmmm, well amdgpu driver is in use.

Based on the arch wiki SI is for southern island cards and CIK is for sea island cards. I believe the 390 was a sea island card. Maybe just try the CIK parameters as a test.

1 Like

Alright I may have figured it out… I disabled the intel iGPU in the bios and forced only the PCIE and poof, I’m getting 60fps in Rocket League & 30-50fps at 2k in Valley.

It’s as if it was rendering the games with the iGPU regardless of which monitor the game was on. Anyone have any idea what was going on there?

Going to run a Rise of the Tomb Raider bench when it’s downloaded.

Update: … Rise of the Tomb Raider just loads a black options window - can’t play…

Apparently my Vulkan setup is borked:

vulkaninfo

Vulkan Instance Version: 1.1.82

ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
WARNING: radv is not a conformant vulkan implementation, testing use only.
WARNING: radv is not a conformant vulkan implementation, testing use only.

Instance Extensions:
====================
Instance Extensions     count = 17
        VK_EXT_acquire_xlib_display         : extension revision  1
        VK_EXT_debug_report                 : extension revision  8
        VK_EXT_debug_utils                  : extension revision  1
        VK_EXT_direct_mode_display          : extension revision  1
        VK_EXT_display_surface_counter      : extension revision  1
        VK_KHR_device_group_creation        : extension revision  1
        VK_KHR_display                      : extension revision 23
        VK_KHR_external_fence_capabilities  : extension revision  1
        VK_KHR_external_memory_capabilities : extension revision  1
        VK_KHR_external_semaphore_capabilities: extension revision  1
        VK_KHR_get_display_properties2      : extension revision  1
        VK_KHR_get_physical_device_properties2: extension revision  1
        VK_KHR_get_surface_capabilities2    : extension revision  1
        VK_KHR_surface                      : extension revision 25
        VK_KHR_wayland_surface              : extension revision  6
        VK_KHR_xcb_surface                  : extension revision  6
        VK_KHR_xlib_surface                 : extension revision  6
Layers: count = 5
=======
:

Does the radeon item in Kernel modules: radeon, amdgpu mean anything bad?

That just means which modules are installed on the kernel and are compatible with the device.

You probably need to install both i686 and amd64 versions of vulkan and deps. I’m not familiar packages and multilib on Ubuntu based distros though, so I can’t really help you too much there.

1 Like

Gotcha. Sure I can try installing more Vulkan stuff but first I’ve got some other Ubuntu-specific issue to deal with before that:

:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  amdgpu-core
The following NEW packages will be installed:
  amdgpu-core
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
45 not fully installed or removed.
Need to get 0 B/2,348 B of archives.
After this operation, 12.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-core 18.50-725072 [2,348 B]
(Reading database ... 310964 files and directories currently installed.)
Preparing to unpack .../amdgpu-core_18.50-725072_all.deb ...
ERROR: This package can only be installed on Ubuntu 18.04.
dpkg: error processing archive /var/opt/amdgpu-pro-local/./amdgpu-core_18.50-725072_all.deb (--unpack):
 new amdgpu-core package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/opt/amdgpu-pro-local/./amdgpu-core_18.50-725072_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~$ sudo apt-get purge amdgpu-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'amdgpu-core' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 amdgpu-dkms : Depends: amdgpu-core but it is not going to be installed
 amdgpu-lib : Depends: amdgpu-core (= 18.50-725072) but it is not going to be installed
 glamor-amdgpu : Depends: amdgpu-core but it is not going to be installed
 gst-omx-amdgpu : Depends: amdgpu-core but it is not going to be installed
 libdrm-amdgpu-common : Depends: amdgpu-core but it is not going to be installed
 libdrm2-amdgpu : Depends: amdgpu-core but it is not going to be installed
 libdrm2-amdgpu:i386 : Depends: amdgpu-core:i386
 libegl1-amdgpu-mesa : Depends: amdgpu-core but it is not going to be installed
 libegl1-amdgpu-mesa:i386 : Depends: amdgpu-core:i386
 libgbm1-amdgpu : Depends: amdgpu-core but it is not going to be installed
 libgbm1-amdgpu:i386 : Depends: amdgpu-core:i386
 libgl1-amdgpu-mesa-dri : Depends: amdgpu-core but it is not going to be installed
 libgl1-amdgpu-mesa-dri:i386 : Depends: amdgpu-core:i386
 libglapi-amdgpu-mesa : Depends: amdgpu-core but it is not going to be installed
 libglapi-amdgpu-mesa:i386 : Depends: amdgpu-core:i386
 libllvm7.0-amdgpu : Depends: amdgpu-core but it is not going to be installed
 libllvm7.0-amdgpu:i386 : Depends: amdgpu-core:i386
 libwayland-amdgpu-client0 : Depends: amdgpu-core but it is not going to be installed
 libwayland-amdgpu-client0:i386 : Depends: amdgpu-core:i386
 libwayland-amdgpu-egl1 : Depends: amdgpu-core but it is not going to be installed
 libwayland-amdgpu-egl1:i386 : Depends: amdgpu-core:i386
 libwayland-amdgpu-server0 : Depends: amdgpu-core but it is not going to be installed
 libwayland-amdgpu-server0:i386 : Depends: amdgpu-core:i386
 mesa-amdgpu-va-drivers : Depends: amdgpu-core but it is not going to be installed
 mesa-amdgpu-va-drivers:i386 : Depends: amdgpu-core:i386
 mesa-amdgpu-vdpau-drivers : Depends: amdgpu-core but it is not going to be installed
 mesa-amdgpu-vdpau-drivers:i386 : Depends: amdgpu-core:i386
 xserver-xorg-amdgpu-video-amdgpu : Depends: amdgpu-core but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

I tried to install the AMD supplied drivers for 18.04 (no 18.10 available yet) but now apt-get is stuck in a broken state and somehow even though the installers failed, they installed amdgpu-uninstall & amdgpu-pro-uninstall and I can’t install or remove anything.

Well, that’s a very helpful message. This is why I don’t like apt. (I promise I won’t rant)

You should never install a 3rd party core tool like GPU drivers on an unmatching release version, unless you want an unstable system. That said, lesson learned, let’s move on to fixing this.


Okay, let’s try the following, see if this gets us a more detailed error from the -f install command:

sudo dpkg --configure -a

Side note: AMDGPU-pro doesn’t actually provide any additional performance for games. It just provides some compute tools. If you’re just playing games, you shouldn’t need it.

1 Like

It’s certainly bitten me in the ass enough to not like it.

You’d think I would learn that but I’ve probably done it numerous times because there appears to be no other option and it seems like maybe eventually it will work…

What about the amdgpu-install script which technically isn’t pro? It seems like it provides the amdgpu driver files.

Anyway, this is a long one alright:

:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of libegl1-amdgpu-mesa:amd64:
 libegl1-amdgpu-mesa:amd64 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libegl1-amdgpu-mesa:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libegl1-amdgpu-mesa:i386:
 libegl1-amdgpu-mesa:i386 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libegl1-amdgpu-mesa:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libwayland-amdgpu-client0:amd64:
 libwayland-amdgpu-client0:amd64 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libwayland-amdgpu-client0:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libwayland-amdgpu-client0:i386:
 libwayland-amdgpu-client0:i386 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libwayland-amdgpu-client0:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mesa-amdgpu-va-drivers:amd64:
 mesa-amdgpu-va-drivers:amd64 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package mesa-amdgpu-va-drivers:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mesa-amdgpu-va-drivers:i386:
 mesa-amdgpu-va-drivers:i386 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package mesa-amdgpu-va-drivers:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libllvm7.0-amdgpu:amd64:
 libllvm7.0-amdgpu:amd64 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libllvm7.0-amdgpu:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libllvm7.0-amdgpu:i386:
 libllvm7.0-amdgpu:i386 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libllvm7.0-amdgpu:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amdgpu-lib32:
 amdgpu-lib32 depends on libllvm7.0-amdgpu:i386 (= 1:7.0-725072); however:
  Package libllvm7.0-amdgpu:i386 is not configured yet.
 amdgpu-lib32 depends on libwayland-amdgpu-client0:i386 (= 1.15.0-725072); however:
  Package libwayland-amdgpu-client0:i386 is not configured yet.
 amdgpu-lib32 depends on libegl1-amdgpu-mesa:i386 (= 1:18.2.0-725072); however:
  Package libegl1-amdgpu-mesa:i386 is not configured yet.
 amdgpu-lib32 depends on mesa-amdgpu-va-drivers:i386 (= 1:18.2.0-725072); however:
  Package mesa-amdgpu-va-drivers:i386 is not configured yet.

dpkg: error processing package amdgpu-lib32 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amdgpu-dkms:
 amdgpu-dkms depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package amdgpu-dkms (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of xserver-xorg-amdgpu-video-amdgpu:
 xserver-xorg-amdgpu-video-amdgpu depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package xserver-xorg-amdgpu-video-amdgpu (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mesa-amdgpu-vdpau-drivers:amd64:
 mesa-amdgpu-vdpau-drivers:amd64 depends on libllvm7.0-amdgpu; however:
  Package libllvm7.0-amdgpu:amd64 is not configured yet.
 mesa-amdgpu-vdpau-drivers:amd64 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package mesa-amdgpu-vdpau-drivers:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mesa-amdgpu-vdpau-drivers:i386:
 mesa-amdgpu-vdpau-drivers:i386 depends on libllvm7.0-amdgpu; however:
  Package libllvm7.0-amdgpu:i386 is not configured yet.
 mesa-amdgpu-vdpau-drivers:i386 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package mesa-amdgpu-vdpau-drivers:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of glamor-amdgpu:amd64:
 glamor-amdgpu:amd64 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package glamor-amdgpu:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgbm1-amdgpu:amd64:
 libgbm1-amdgpu:amd64 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libgbm1-amdgpu:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgbm1-amdgpu:i386:
 libgbm1-amdgpu:i386 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libgbm1-amdgpu:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglapi-amdgpu-mesa:amd64:
 libglapi-amdgpu-mesa:amd64 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libglapi-amdgpu-mesa:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglapi-amdgpu-mesa:i386:
 libglapi-amdgpu-mesa:i386 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libglapi-amdgpu-mesa:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgles1-amdgpu-mesa:amd64:
 libgles1-amdgpu-mesa:amd64 depends on libglapi-amdgpu-mesa (= 1:18.2.0-725072); however:
  Package libglapi-amdgpu-mesa:amd64 is not configured yet.

dpkg: error processing package libgles1-amdgpu-mesa:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgles1-amdgpu-mesa:i386:
 libgles1-amdgpu-mesa:i386 depends on libglapi-amdgpu-mesa (= 1:18.2.0-725072); however:
  Package libglapi-amdgpu-mesa:i386 is not configured yet.

dpkg: error processing package libgles1-amdgpu-mesa:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxatracker2-amdgpu:amd64:
 libxatracker2-amdgpu:amd64 depends on libllvm7.0-amdgpu; however:
  Package libllvm7.0-amdgpu:amd64 is not configured yet.

dpkg: error processing package libxatracker2-amdgpu:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxatracker2-amdgpu:i386:
 libxatracker2-amdgpu:i386 depends on libllvm7.0-amdgpu; however:
  Package libllvm7.0-amdgpu:i386 is not configured yet.

dpkg: error processing package libxatracker2-amdgpu:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libosmesa6-amdgpu:amd64:
 libosmesa6-amdgpu:amd64 depends on libglapi-amdgpu-mesa (= 1:18.2.0-725072); however:
  Package libglapi-amdgpu-mesa:amd64 is not configured yet.

dpkg: error processing package libosmesa6-amdgpu:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libosmesa6-amdgpu:i386:
 libosmesa6-amdgpu:i386 depends on libglapi-amdgpu-mesa (= 1:18.2.0-725072); however:
  Package libglapi-amdgpu-mesa:i386 is not configured yet.

dpkg: error processing package libosmesa6-amdgpu:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgles2-amdgpu-mesa:amd64:
 libgles2-amdgpu-mesa:amd64 depends on libglapi-amdgpu-mesa (= 1:18.2.0-725072); however:
  Package libglapi-amdgpu-mesa:amd64 is not configured yet.

dpkg: error processing package libgles2-amdgpu-mesa:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgles2-amdgpu-mesa:i386:
 libgles2-amdgpu-mesa:i386 depends on libglapi-amdgpu-mesa (= 1:18.2.0-725072); however:
  Package libglapi-amdgpu-mesa:i386 is not configured yet.

dpkg: error processing package libgles2-amdgpu-mesa:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgl1-amdgpu-mesa-dri:amd64:
 libgl1-amdgpu-mesa-dri:amd64 depends on libglapi-amdgpu-mesa; however:
  Package libglapi-amdgpu-mesa:amd64 is not configured yet.
 libgl1-amdgpu-mesa-dri:amd64 depends on libllvm7.0-amdgpu; however:
  Package libllvm7.0-amdgpu:amd64 is not configured yet.
 libgl1-amdgpu-mesa-dri:amd64 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libgl1-amdgpu-mesa-dri:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgl1-amdgpu-mesa-dri:i386:
 libgl1-amdgpu-mesa-dri:i386 depends on libglapi-amdgpu-mesa; however:
  Package libglapi-amdgpu-mesa:i386 is not configured yet.
 libgl1-amdgpu-mesa-dri:i386 depends on libllvm7.0-amdgpu; however:
  Package libllvm7.0-amdgpu:i386 is not configured yet.
 libgl1-amdgpu-mesa-dri:i386 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libgl1-amdgpu-mesa-dri:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libdrm-amdgpu-common:
 libdrm-amdgpu-common depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libdrm-amdgpu-common (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libwayland-amdgpu-server0:amd64:
 libwayland-amdgpu-server0:amd64 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libwayland-amdgpu-server0:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libwayland-amdgpu-server0:i386:
 libwayland-amdgpu-server0:i386 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libwayland-amdgpu-server0:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amdgpu-lib:
 amdgpu-lib depends on amdgpu-core (= 18.50-725072); however:
  Package amdgpu-core is not installed.
 amdgpu-lib depends on libdrm-amdgpu-common (= 1.0.0-725072); however:
  Package libdrm-amdgpu-common is not configured yet.
 amdgpu-lib depends on libllvm7.0-amdgpu (= 1:7.0-725072); however:
  Package libllvm7.0-amdgpu:amd64 is not configured yet.
 amdgpu-lib depends on libwayland-amdgpu-client0 (= 1.15.0-725072); however:
  Package libwayland-amdgpu-client0:amd64 is not configured yet.
 amdgpu-lib depends on libwayland-amdgpu-server0 (= 1.15.0-725072); however:
  Package libwayland-amdgpu-server0:amd64 is not configured yet.
 amdgpu-lib depends on libxatracker2-amdgpu (= 1:18.2.0-725072); however:
  Package libxatracker2-amdgpu:amd64 is not configured yet.
 amdgpu-lib depends on libgbm1-amdgpu (= 1:18.2.0-725072); however:
  Package libgbm1-amdgpu:amd64 is not configured yet.
 amdgpu-lib depends on libegl1-amdgpu-mesa (= 1:18.2.0-725072); however:
  Package libegl1-amdgpu-mesa:amd64 is not configured yet.
 amdgpu-lib depends on libgles1-amdgpu-mesa (= 1:18.2.0-725072); however:
  Package libgles1-amdgpu-mesa:amd64 is not configured yet.
 amdgpu-lib depends on libgles2-amdgpu-mesa (= 1:18.2.0-725072); however:
  Package libgles2-amdgpu-mesa:amd64 is not configured yet.
 amdgpu-lib depends on libglapi-amdgpu-mesa (= 1:18.2.0-725072); however:
  Package libglapi-amdgpu-mesa:amd64 is not configured yet.
 amdgpu-lib depends on libgl1-amdgpu-mesa-dri (= 1:18.2.0-725072); however:
  Package libgl1-amdgpu-mesa-dri:amd64 is not configured yet.
 amdgpu-lib depends on libosmesa6-amdgpu (= 1:18.2.0-725072); however:
  Package libosmesa6-amdgpu:amd64 is not configured yet.
 amdgpu-lib depends on mesa-amdgpu-va-drivers (= 1:18.2.0-725072); however:
  Package mesa-amdgpu-va-drivers:amd64 is not configured yet.
 amdgpu-lib depends on mesa-amdgpu-vdpau-drivers (= 1:18.2.0-725072); however:
  Package mesa-amdgpu-vdpau-drivers:amd64 is not configured yet.
 amdgpu-lib depends on glamor-amdgpu (= 1.19.0-725072); however:
  Package glamor-amdgpu:amd64 is not configured yet.
 amdgpu-lib depends on xserver-xorg-amdgpu-video-amdgpu (= 1:18.1.99-725072); however:
  Package xserver-xorg-amdgpu-video-amdgpu is not configured yet.

dpkg: error processing package amdgpu-lib (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gst-omx-amdgpu:
 gst-omx-amdgpu depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package gst-omx-amdgpu (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mesa-amdgpu-omx-drivers:amd64:
 mesa-amdgpu-omx-drivers:amd64 depends on libllvm7.0-amdgpu; however:
  Package libllvm7.0-amdgpu:amd64 is not configured yet.

dpkg: error processing package mesa-amdgpu-omx-drivers:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libegl1-amdgpu-mesa-drivers:amd64:
 libegl1-amdgpu-mesa-drivers:amd64 depends on libegl1-amdgpu-mesa (= 1:18.2.0-725072); however:
  Package libegl1-amdgpu-mesa:amd64 is not configured yet.
 libegl1-amdgpu-mesa-drivers:amd64 depends on libglapi-amdgpu-mesa (= 1:18.2.0-725072); however:
  Package libglapi-amdgpu-mesa:amd64 is not configured yet.

dpkg: error processing package libegl1-amdgpu-mesa-drivers:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libegl1-amdgpu-mesa-drivers:i386:
 libegl1-amdgpu-mesa-drivers:i386 depends on libegl1-amdgpu-mesa (= 1:18.2.0-725072); however:
  Package libegl1-amdgpu-mesa:i386 is not configured yet.
 libegl1-amdgpu-mesa-drivers:i386 depends on libglapi-amdgpu-mesa (= 1:18.2.0-725072); however:
  Package libglapi-amdgpu-mesa:i386 is not configured yet.

dpkg: error processing package libegl1-amdgpu-mesa-drivers:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libwayland-amdgpu-egl1:amd64:
 libwayland-amdgpu-egl1:amd64 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libwayland-amdgpu-egl1:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libwayland-amdgpu-egl1:i386:
 libwayland-amdgpu-egl1:i386 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libwayland-amdgpu-egl1:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libdrm2-amdgpu:amd64:
 libdrm2-amdgpu:amd64 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libdrm2-amdgpu:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libdrm2-amdgpu:i386:
 libdrm2-amdgpu:i386 depends on amdgpu-core; however:
  Package amdgpu-core is not installed.

dpkg: error processing package libdrm2-amdgpu:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amdgpu:
 amdgpu depends on amdgpu-dkms (= 18.50-725072); however:
  Package amdgpu-dkms is not configured yet.
 amdgpu depends on amdgpu-lib (= 18.50-725072); however:
  Package amdgpu-lib is not configured yet.

dpkg: error processing package amdgpu (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgl1-amdgpu-mesa-glx:amd64:
 libgl1-amdgpu-mesa-glx:amd64 depends on libdrm2-amdgpu; however:
  Package libdrm2-amdgpu:amd64 is not configured yet.
 libgl1-amdgpu-mesa-glx:amd64 depends on libglapi-amdgpu-mesa (= 1:18.2.0-725072); however:
  Package libglapi-amdgpu-mesa:amd64 is not configured yet.

dpkg: error processing package libgl1-amdgpu-mesa-glx:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgl1-amdgpu-mesa-glx:i386:
 libgl1-amdgpu-mesa-glx:i386 depends on libdrm2-amdgpu; however:
  Package libdrm2-amdgpu:i386 is not configured yet.
 libgl1-amdgpu-mesa-glx:i386 depends on libglapi-amdgpu-mesa (= 1:18.2.0-725072); however:
  Package libglapi-amdgpu-mesa:i386 is not configured yet.

dpkg: error processing package libgl1-amdgpu-mesa-glx:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libdrm-amdgpu-amdgpu1:amd64:
 libdrm-amdgpu-amdgpu1:amd64 depends on libdrm2-amdgpu (= 1:2.4.95-725072); however:
  Package libdrm2-amdgpu:amd64 is not configured yet.
 libdrm-amdgpu-amdgpu1:amd64 depends on libdrm-amdgpu-common; however:
  Package libdrm-amdgpu-common is not configured yet.

dpkg: error processing package libdrm-amdgpu-amdgpu1:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libdrm-amdgpu-amdgpu1:i386:
 libdrm-amdgpu-amdgpu1:i386 depends on libdrm2-amdgpu (= 1:2.4.95-725072); however:
  Package libdrm2-amdgpu:i386 is not configured yet.
 libdrm-amdgpu-amdgpu1:i386 depends on libdrm-amdgpu-common; however:
  Package libdrm-amdgpu-common is not configured yet.

dpkg: error processing package libdrm-amdgpu-amdgpu1:i386 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libegl1-amdgpu-mesa:amd64
 libegl1-amdgpu-mesa:i386
 libwayland-amdgpu-client0:amd64
 libwayland-amdgpu-client0:i386
 mesa-amdgpu-va-drivers:amd64
 mesa-amdgpu-va-drivers:i386
 libllvm7.0-amdgpu:amd64
 libllvm7.0-amdgpu:i386
 amdgpu-lib32
 amdgpu-dkms
 xserver-xorg-amdgpu-video-amdgpu
 mesa-amdgpu-vdpau-drivers:amd64
 mesa-amdgpu-vdpau-drivers:i386
 glamor-amdgpu:amd64
 libgbm1-amdgpu:amd64
 libgbm1-amdgpu:i386
 libglapi-amdgpu-mesa:amd64
 libglapi-amdgpu-mesa:i386
 libgles1-amdgpu-mesa:amd64
 libgles1-amdgpu-mesa:i386
 libxatracker2-amdgpu:amd64
 libxatracker2-amdgpu:i386
 libosmesa6-amdgpu:amd64
 libosmesa6-amdgpu:i386
 libgles2-amdgpu-mesa:amd64
 libgles2-amdgpu-mesa:i386
 libgl1-amdgpu-mesa-dri:amd64
 libgl1-amdgpu-mesa-dri:i386
 libdrm-amdgpu-common
 libwayland-amdgpu-server0:amd64
 libwayland-amdgpu-server0:i386
 amdgpu-lib
 gst-omx-amdgpu
 mesa-amdgpu-omx-drivers:amd64
 libegl1-amdgpu-mesa-drivers:amd64
 libegl1-amdgpu-mesa-drivers:i386
 libwayland-amdgpu-egl1:amd64
 libwayland-amdgpu-egl1:i386
 libdrm2-amdgpu:amd64
 libdrm2-amdgpu:i386
 amdgpu
 libgl1-amdgpu-mesa-glx:amd64
 libgl1-amdgpu-mesa-glx:i386
 libdrm-amdgpu-amdgpu1:amd64
 libdrm-amdgpu-amdgpu1:i386
1 Like

amdgpu is built into the kernel. you should never have to install it.

You might need packages for Xorg/Wayland, or Vulkan or EGL, or whatever, but it shouldn’t be installed with a script like that.

Don’t take this the wrong way, but you strike me as someone new to Linux. I say that because you’re stuck in the windows (or mac) style mentality of:

  1. go to website for program
  2. download installer for program
  3. run installer.

Whereas, 99.9999% of programs and tools that you will use on Linux are as follows:

  1. use package manager to search for program/tool name
  2. install package with package manager.

If you get in this mindset, you’ll allow the package manager to use it’s built-in safeties to prevent you from having a damaged system.


Now with that said, I’m going to ask that you have a install USB ready, because my next suggestions could leave you with a system that will boot, but won’t start the graphical interface, and at that point, it’s sometimes easier to reinstall. (also backup personal stuff in /home)

Now, if you’re feeling up to it, let’s remove these packages:

sudo dpkg -r libegl1-amdgpu-mesa:amd64 libegl1-amdgpu-mesa:i386 libwayland-amdgpu-client0:amd64 libwayland-amdgpu-client0:i386 mesa-amdgpu-va-drivers:amd64 mesa-amdgpu-va-drivers:i386 libllvm7.0-amdgpu:amd64 libllvm7.0-amdgpu:i386 amdgpu-lib32 amdgpu-dkms xserver-xorg-amdgpu-video-amdgpu mesa-amdgpu-vdpau-drivers:amd64 mesa-amdgpu-vdpau-drivers:i386 glamor-amdgpu:amd64 libgbm1-amdgpu:amd64 libgbm1-amdgpu:i386 libglapi-amdgpu-mesa:amd64 libglapi-amdgpu-mesa:i386 libgles1-amdgpu-mesa:amd64 libgles1-amdgpu-mesa:i386 libxatracker2-amdgpu:amd64 libxatracker2-amdgpu:i386 libosmesa6-amdgpu:amd64 libosmesa6-amdgpu:i386 libgles2-amdgpu-mesa:amd64 libgles2-amdgpu-mesa:i386 libgl1-amdgpu-mesa-dri:amd64 libgl1-amdgpu-mesa-dri:i386 libdrm-amdgpu-common libwayland-amdgpu-server0:amd64 libwayland-amdgpu-server0:i386 amdgpu-lib gst-omx-amdgpu mesa-amdgpu-omx-drivers:amd64 libegl1-amdgpu-mesa-drivers:amd64 libegl1-amdgpu-mesa-drivers:i386 libwayland-amdgpu-egl1:amd64 libwayland-amdgpu-egl1:i386 libdrm2-amdgpu:amd64 libdrm2-amdgpu:i386 amdgpu libgl1-amdgpu-mesa-glx:amd64 libgl1-amdgpu-mesa-glx:i386 libdrm-amdgpu-amdgpu1:amd64 libdrm-amdgpu-amdgpu1:i386

Basically, what we’re doing here is removing all those packages (hopefully, they’re only packages that were installed by the amdgpu-install script).

Once you’re done with that, go ahead and run the following:

sudo apt -f install

Let’s see if that throws a fit. If it doesn’t, let’s make sure the system is not going to break on reboot by doing the following:

sudo apt install ubuntu-desktop

ubuntu-desktop is a metapackage that has dependencies for everything you need for a functional system. If the amdgpu-install script removed anything critical, this should reinstall it.

If nothing errors out, go ahead and give it a reboot while crossing your fingers, your kids fingers, your dogs fingers and your pet rock’s fingers. :stuck_out_tongue:

2 Likes

I do try to stay away from odd installers on Linux but I’ve been screwed by a PPA as often as an installer either way. Zillions of articles recommending installing GPU PPA’s alone but no mention of how much they can screw up your systems configuration if not properly cleaned up which requires yet another special tool you wouldn’t know about that doesn’t just come with PPA functionality…

Not new but also never had the eons of time necessary to gain much experience beyond the basics. Frankly I despise how much of a PITA everything is with Linux and how much trouble such small things cause. I’d still use it over Windows any day though.

For instance… why on Earth couldn’t useless apt-get remove those things the same way that dpkg -r command did and where would anyone would have figured out that was the way to do it ?! really?

end rant

That did the trick btw and so more odd broken stuff and apt-get works again - thanks.

Tried (https://linuxconfig.org/install-and-test-vulkan-on-linux): sudo apt-get install libvulkan1 mesa-vulkan-drivers vulkan-utils but it was already installed.

Yeah, so the problem is that there are lots of different causes to GPU problems and a new package isn’t a panacea.

From here on out, feel free to ask here, we’re always happy to help.

So apt and apt-get are sort of wrapper scripts for dpkg. kinda.

think of apt as the tool that you use for the friendly interface and dpkg is the I’m giving you an order, now do it sort of application. dpkg is a bit more of a dangerous-in-the-wrong-hands kind of program.

Additionally, you weren’t telling it to uninstall the correct package. apparently that amdgpu-install script manually installed a bunch of packages before that one package we were getting errors about was installed.

I really blame the amdgpu-install command on this one.


Awesome!

TBH, I wasn’t 100% sure that would work, I haven’t touched Ubuntu in 4 years, probably?

Okay, so that’s good. Next up, let’s try this:

sudo apt install libvulkan1:i386 mesa-vulkan-drivers:i396 vulkan-utils:i386

That should give you the 32 bit binaries. I’m not sure that it will fix it, but it’s complaining about having the wrong architecture.

Beyond this, you’re in an area that I really can’t help with, since I don’t have the foggiest idea why it’s doing this. (assuming it’s not fixed by installing the x86 binaries)

1 Like

390 was a Volcanic island, not sea island.

I’m running a 390x as well and had a lot of graphics trouble on 18.10 so I’m back on 18.04 for the forseeable future. I’ve never had any trouble on 18.04 with this card.

1 Like

Thanks that clears up some.

I installed 2/3 of the 32-bit vulkan items but mesa-vulkan-drivers:i396 can’t be found.

vulkaninfo still spits out:

Vulkan Instance Version: 1.1.82

ERROR: [Loader Message] Code 0 : /usr/lib/x86_64-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS64
ERROR: [Loader Message] Code 0 : /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS64
ERROR: [Loader Message] Code 0 : /usr/lib/x86_64-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS64
ERROR: [Loader Message] Code 0 : /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS64
WARNING: radv is not a conformant vulkan implementation, testing use only.
WARNING: radv is not a conformant vulkan implementation, testing use only.
'DISPLAY' environment variable not set... skipping surface info
1 Like

For what it’s worth, it’s now performing well in 18.10 and just vulkan is borked probably through strange things I’ve done.

Well, I got you past your apt errors, but I don’t think I can help with these vulkan specific errors. I just don’t know enough about vulkan’s setup on Ubuntu to help.

1 Like