cancel
Showing results for 
Search instead for 
Did you mean: 

Graphics Cards

NCS
Journeyman III

Radeon RX 7900 XT driver does not install properly on Linux (amdgpu-dkms)

Hello everyone, I've spent the entire last day trying to solve my issue of not being able to install the driver for the Radeon RX 7900 XT, but I just cannot seem to make any progress. I hope someone here can help me out.

 

First things first, when I try to boot into Linux, I must do so with Safe Graphics mode / nomodeset enabled, or else my PC will not boot into Kubuntu.Even with that (or because of it?) only one monitor is recognized at a resolution of 1024x768.

I am currently running Kubuntu 22.04.

This is a fresh installation (one of many), as trying to fix my problem with the previous installation messed things up very badly.

 

To get to the point, trying to install amdgpu-install, it will always, without fail, result in an error when the installer tries to install amdgpu-dkms.

For a Kernel, I have installed 6.0.9, as the previous one (5.15.xx) caused problems (or at least so I thought).

I updated my GCC to version 12.2.0, which should be matching the version the installer was compiled with (however, the error log still states that the GCC version are different).

 

The error code of the amdgpu build file:

 

DKMS make.log for amdgpu-5.18.13-1520974.22.04 for kernel 6.0.9-060009-generic (x86_64)
Sa 17. Dez 15:22:57 CET 2022
make: Entering directory '/usr/src/linux-headers-6.0.9-060009-generic'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-9ubuntu1) 12.2.0
  You are using:           gcc (GCC) 12.2.0
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/scheduler/sched_main.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/scheduler/sched_fence.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/scheduler/sched_entity.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/drm_gem_ttm_helper.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/ttm_tt.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/ttm_bo.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/ttm_bo_util.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/ttm_bo_vm.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/main.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/ttm_module.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/symbols.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/ttm_execbuf_util.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_common.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/ttm_range_manager.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_kernel_params.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/ttm_resource.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/ttm_pool.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/dma-buf/dma-resv.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/ttm_device.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_backlight.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/ttm_sys_manager.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/ttm_agp_backend.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_ioctl.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdgpu/amdgpu_drv.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_kthread.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_io.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_perf_event.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_seq_file.o
/var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/ttm_pool.c: In function ‘ttm_pool_mgr_init’:
/var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/ttm_pool.c:726:16: error: too few arguments to function ‘register_shrinker’
  726 |         return register_shrinker(&mm_shrinker);
      |                ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/mm.h:20,
                 from ./include/linux/scatterlist.h:8,
                 from ./include/linux/dma-mapping.h:10,
                 from /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/include/kcl/kcl_dma_mapping.h:5,
                 from /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/backport/backport.h:9,
                 from <command-line>:
./include/linux/shrinker.h:99:27: note: declared here
   99 | extern int __printf(2, 3) register_shrinker(struct shrinker *shrinker,
      |                           ^~~~~~~~~~~~~~~~~
/var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/ttm_pool.c:727:1: error: control reaches end of non-void function [-Werror=return-type]
  727 | }
      | ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:249: /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm/ttm_pool.o] Error 1
make[2]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_suspend.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_pci.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdgpu/amdgpu_device.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_mm.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_memory.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_sched.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_fence.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_fence_array.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_reservation.o
In file included from /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdgpu/amdgpu.h:69,
                 from /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/backport/include/kcl/kcl_amdgpu_drm_fb_helper.h:35,
                 from /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/backport/backport.h:84,
                 from <command-line>:
/var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdgpu/amdgpu_mode.h:308:32: error: field ‘base’ has incomplete type
  308 |         struct drm_framebuffer base;
      |                                ^~~~
In file included from /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/backport/backport.h:85:
/var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/backport/include/kcl/kcl_amdgpu_drm_gem_framebuffer_helper.h: In function ‘kcl_drm_gem_fb_set_obj’:
/var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/backport/include/kcl/kcl_amdgpu_drm_gem_framebuffer_helper.h:12:19: error: invalid use of undefined type ‘struct drm_framebuffer’
   12 |                 fb->obj[index] = obj;
      |                   ^~
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_drm_cache.o
  LD [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amddrm_ttm_helper.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_drm_auth.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_drm_fb.o
make[2]: *** [scripts/Makefile.build:249: /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdgpu/amdgpu_drv.o] Error 1
make[2]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_drm_print.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_fbmem.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_drm_crtc.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_drm_connector.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_drm_atomic_helper.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_device_cgroup.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_mn.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_drm_modes.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_time.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_ftrace.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_acpi_table.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_page_alloc.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_numa.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_fs_read_write.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_drm_aperture.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_drm_drv.o
In file included from /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdgpu/amdgpu.h:69,
                 from /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/backport/include/kcl/kcl_amdgpu_drm_fb_helper.h:35,
                 from /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/backport/backport.h:84,
                 from <command-line>:
/var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdgpu/amdgpu_mode.h:308:32: error: field ‘base’ has incomplete type
  308 |         struct drm_framebuffer base;
      |                                ^~~~
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_drm_simple_kms_helper.o
In file included from /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/backport/backport.h:85:
/var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/backport/include/kcl/kcl_amdgpu_drm_gem_framebuffer_helper.h: In function ‘kcl_drm_gem_fb_set_obj’:
/var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/backport/include/kcl/kcl_amdgpu_drm_gem_framebuffer_helper.h:12:19: error: invalid use of undefined type ‘struct drm_framebuffer’
   12 |                 fb->obj[index] = obj;
      |                   ^~
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_bitmap.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_vmscan.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_dma_fence_chain.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_mce_amd.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_workqueue.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_cpumask.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_drm_dsc_helper.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_debugfs_inode.o
  CC [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_sysfs_emit.o
make[1]: *** [scripts/Makefile.build:465: /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/ttm] Error 2
make[1]: *** Waiting for unfinished jobs....
/var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/kcl_cpumask.c:6:1: warning: "/*" within comment [-Wcomment]
    6 | /**
      |  
make[2]: *** [scripts/Makefile.build:249: /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdgpu/amdgpu_device.o] Error 1
make[1]: *** [scripts/Makefile.build:465: /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdgpu] Error 2
  LD [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/scheduler/amd-sched.o
  LD [M]  /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build/amd/amdkcl/amdkcl.o
make: *** [Makefile:1858: /var/lib/dkms/amdgpu/5.18.13-1520974.22.04/build] Error 2
make: Leaving directory '/usr/src/linux-headers-6.0.9-060009-generic'

 

 

My system information:

 

H/W path                          Device          Class          Description
============================================================================
                                                  system         System Product Name (SKU)
/0                                                bus            ROG STRIX X570-E GAMING
/0/0                                              memory         64KiB BIOS
/0/35                                             memory         32GiB System Memory
/0/35/0                                           memory         [empty]
/0/35/1                                           memory         16GiB DIMM DDR4 Synchronous Unbuffered (Unreg
/0/35/2                                           memory         [empty]
/0/35/3                                           memory         16GiB DIMM DDR4 Synchronous Unbuffered (Unreg
/0/38                                             memory         768KiB L1 cache
/0/39                                             memory         6MiB L2 cache
/0/3a                                             memory         64MiB L3 cache
/0/3b                                             processor      AMD Ryzen 9 3900X 12-Core Processor
/0/100                                            bridge         Starship/Matisse Root Complex
/0/100/0.2                                        generic        Starship/Matisse IOMMU
/0/100/1.2                                        bridge         Starship/Matisse GPP Bridge
/0/100/1.2/0                                      bridge         Matisse Switch Upstream
/0/100/1.2/0/1                                    bridge         Matisse PCIe GPP Bridge
/0/100/1.2/0/1/0                  /dev/nvme0      storage        GIGABYTE GP-GSM2NE3100TNTD
/0/100/1.2/0/1/0/0                hwmon0          disk           NVMe disk
/0/100/1.2/0/1/0/2                /dev/ng0n1      disk           NVMe disk
/0/100/1.2/0/1/0/1                /dev/nvme0n1    disk           1024GB NVMe disk
/0/100/1.2/0/1/0/1/1              /dev/nvme0n1p1  volume         953GiB EXT4 volume
/0/100/1.2/0/3                                    bridge         Matisse PCIe GPP Bridge
/0/100/1.2/0/3/0                  wlp4s0          network        Wi-Fi 6 AX200
/0/100/1.2/0/4                                    bridge         Matisse PCIe GPP Bridge
/0/100/1.2/0/4/0                  enp5s0          network        RTL8125 2.5GbE Controller
/0/100/1.2/0/5                                    bridge         Matisse PCIe GPP Bridge
/0/100/1.2/0/5/0                  enp6s0          network        I211 Gigabit Network Connection
/0/100/1.2/0/8                                    bridge         Matisse PCIe GPP Bridge
/0/100/1.2/0/8/0                                  generic        Starship/Matisse Reserved SPP
/0/100/1.2/0/8/0.1                                bus            Matisse USB 3.0 Host Controller
/0/100/1.2/0/8/0.1/0              usb1            bus            xHCI Host Controller
/0/100/1.2/0/8/0.1/0/3            input2          input          dakai PS/2+USB Keyboard
/0/100/1.2/0/8/0.1/0/4            input7          input          UGTABLET 15.6 inch PenDisplay
/0/100/1.2/0/8/0.1/0/5                            bus            USB2.0 Hub
/0/100/1.2/0/8/0.1/0/5/1                          input          USB Receiver
/0/100/1.2/0/8/0.1/0/5/1/0        input25         input          Logitech M325
/0/100/1.2/0/8/0.1/0/5/1/1        input26         input          Logitech Performance MX
/0/100/1.2/0/8/0.1/0/5/2          input15         input          SINOWEALTH Game Mouse Keyboard
/0/100/1.2/0/8/0.1/0/6                            communication  AX200 Bluetooth
/0/100/1.2/0/8/0.1/1              usb2            bus            xHCI Host Controller
/0/100/1.2/0/8/0.3                                bus            Matisse USB 3.0 Host Controller
/0/100/1.2/0/8/0.3/0              usb3            bus            xHCI Host Controller
/0/100/1.2/0/8/0.3/0/1            scsi7           storage        USB Mass Storage Device
/0/100/1.2/0/8/0.3/0/1/0.0.0      /dev/sdc        disk           16GB FlashDisk
/0/100/1.2/0/8/0.3/0/1/0.0.0/0    /dev/sdc        disk           16GB 
/0/100/1.2/0/8/0.3/0/1/0.0.0/0/1  /dev/sdc1       volume         15GiB Windows FAT volume
/0/100/1.2/0/8/0.3/0/4                            input          AURA LED Controller
/0/100/1.2/0/8/0.3/1              usb4            bus            xHCI Host Controller
/0/100/1.2/0/9                                    bridge         Matisse PCIe GPP Bridge
/0/100/1.2/0/9/0                                  storage        FCH SATA Controller [AHCI mode]
/0/100/1.2/0/a                                    bridge         Matisse PCIe GPP Bridge
/0/100/1.2/0/a/0                  scsi1           storage        FCH SATA Controller [AHCI mode]
/0/100/1.2/0/a/0/0                /dev/sda        disk           2TB WDC WD20EARX-00P
/0/100/1.2/0/a/0/0/1              /dev/sda1       volume         127MiB reserved partition
/0/100/1.2/0/a/0/0/2              /dev/sda2       volume         1862GiB EXT4 volume
/0/100/1.2/0/a/0/1                /dev/sdb        disk           256GB M4-CT256M4SSD2
/0/100/1.2/0/a/0/1/1                              volume         511MiB Windows FAT volume
/0/100/1.2/0/a/0/1/2              /dev/sdb2       volume         237GiB EXT4 volume
/0/100/3.1                                        bridge         Starship/Matisse GPP Bridge
/0/100/3.1/0                                      bridge         Navi 10 XL Upstream Port of PCI Express Switc
/0/100/3.1/0/0                                    bridge         Navi 10 XL Downstream Port of PCI Express Swi
/0/100/3.1/0/0/0                                  display        Advanced Micro Devices, Inc. [AMD/ATI]
/0/100/3.1/0/0/0.1                card0           multimedia     Advanced Micro Devices, Inc. [AMD/ATI]
/0/100/3.1/0/0/0.1/0              input29         input          HDA ATI HDMI HDMI/DP,pcm=3
/0/100/3.1/0/0/0.1/1              input30         input          HDA ATI HDMI HDMI/DP,pcm=7
/0/100/3.1/0/0/0.1/2              input31         input          HDA ATI HDMI HDMI/DP,pcm=8
/0/100/3.1/0/0/0.1/3              input32         input          HDA ATI HDMI HDMI/DP,pcm=9
/0/100/3.1/0/0/0.2                                bus            Advanced Micro Devices, Inc. [AMD/ATI]
/0/100/3.1/0/0/0.2/0              usb5            bus            xHCI Host Controller
/0/100/3.1/0/0/0.2/1              usb6            bus            xHCI Host Controller
/0/100/3.1/0/0/0.3                                bus            Advanced Micro Devices, Inc. [AMD/ATI]
/0/100/7.1                                        bridge         Starship/Matisse Internal PCIe GPP Bridge 0 t
/0/100/7.1/0                                      generic        Starship/Matisse PCIe Dummy Function
/0/100/8.1                                        bridge         Starship/Matisse Internal PCIe GPP Bridge 0 t
/0/100/8.1/0                                      generic        Starship/Matisse Reserved SPP
/0/100/8.1/0.1                                    generic        Starship/Matisse Cryptographic Coprocessor PS
/0/100/8.1/0.3                                    bus            Matisse USB 3.0 Host Controller
/0/100/8.1/0.3/0                  usb7            bus            xHCI Host Controller
/0/100/8.1/0.3/0/1                card1           multimedia     USB 2.0 Camera: USB 2.0 Camera
/0/100/8.1/0.3/1                  usb8            bus            xHCI Host Controller
/0/100/8.1/0.4                    card2           multimedia     Starship/Matisse HD Audio Controller
/0/100/8.1/0.4/0                  input33         input          HD-Audio Generic Front Mic
/0/100/8.1/0.4/1                  input34         input          HD-Audio Generic Rear Mic
/0/100/8.1/0.4/2                  input35         input          HD-Audio Generic Line
/0/100/8.1/0.4/3                  input36         input          HD-Audio Generic Line Out Front
/0/100/8.1/0.4/4                  input37         input          HD-Audio Generic Line Out Surround
/0/100/8.1/0.4/5                  input38         input          HD-Audio Generic Line Out CLFE
/0/100/8.1/0.4/6                  input39         input          HD-Audio Generic Front Headphone
/0/100/14                                         bus            FCH SMBus Controller
/0/100/14.3                                       bridge         FCH LPC Bridge
/0/100/14.3/0                                     system         PnP device PNP0c01
/0/100/14.3/1                                     system         PnP device PNP0c02
/0/100/14.3/2                                     system         PnP device PNP0b00
/0/100/14.3/3                                     system         PnP device PNP0c02
/0/100/14.3/4                                     system         PnP device PNP0c02
/0/101                                            bridge         Starship/Matisse PCIe Dummy Host Bridge
/0/102                                            bridge         Starship/Matisse PCIe Dummy Host Bridge
/0/103                                            bridge         Starship/Matisse PCIe Dummy Host Bridge
/0/104                                            bridge         Starship/Matisse PCIe Dummy Host Bridge
/0/105                                            bridge         Starship/Matisse PCIe Dummy Host Bridge
/0/106                                            bridge         Starship/Matisse PCIe Dummy Host Bridge
/0/107                                            bridge         Starship/Matisse PCIe Dummy Host Bridge
/0/108                                            bridge         Matisse/Vermeer Data Fabric: Device 18h; Func
/0/109                                            bridge         Matisse/Vermeer Data Fabric: Device 18h; Func
/0/10a                                            bridge         Matisse/Vermeer Data Fabric: Device 18h; Func
/0/10b                                            bridge         Matisse/Vermeer Data Fabric: Device 18h; Func
/0/10c                                            bridge         Matisse/Vermeer Data Fabric: Device 18h; Func
/0/10d                                            bridge         Matisse/Vermeer Data Fabric: Device 18h; Func
/0/10e                                            bridge         Matisse/Vermeer Data Fabric: Device 18h; Func
/0/10f                                            bridge         Matisse/Vermeer Data Fabric: Device 18h; Func
/1                                /dev/fb0        display        EFI VGA
/2                                input0          input          Power Button
/3                                input1          input          Power Button
/4                                input27         input          Eee PC WMI hotkeys

 

 

I looked up several pages online, so it's possible I forgot to mention something, but nothing I tried helped.

Does someone see anything odd here?

4 Replies
Gibibit
Adept I

Huh, so I'm not the only one with this issue. I also upgraded to a 7900 XT while running Kubuntu, and had to go through the same steps. Do you happen to have changed from nvidia to amd while installing this card? It might be necessary to uninstall the old nvidia drivers.

This askubuntu post helped me to uninstall nvidia drivers: https://askubuntu.com/a/206289

Note that you have to reinstall the kubuntu-desktop package after running the purge command with the regex. NOT ubuntu-desktop!

Even after I got the driver to work I still have a lot of issues. My Steam installation stopped working, it no longer launches. I tried the flatpak version but all the games installed through that lag to no end. Only thing that I got to work so far is Super Tux Cart from Discover. Oh and Blender does run.

Aside from destroying my Kubuntu installation, switching cards also bricked my Windows installation... started to get stuck on file system checks and could no longer boot into it. Overall a really stressful experience using AMD so far.

I'm now going to try a fresh install, maybe of plain Ubuntu, on a seperate partition. This is a pain in the ass to deal with.

 

PS: if you do still have nvidia drivers, I recommend uninstalling both nvidia and amd drivers and then running amdgpu-install again. (whats amdgpu-dkms anyway?)

0 Likes
Gibibit
Adept I

Forgot to add: by chance I also happen to be running a X570 motherboard, although it's the ASRock X570 Taichi variant.

0 Likes
Wolfick
Journeyman III

Just happened to stumble upon this upon looking up whether anyone had experience running it on a GCC build.

In any case, you are not the only one who has experienced this. As soon as your computer tries to swap to amdgpu, it will hang because of the older Radeon drivers. Setting nomodeset stops kernal mode setting (KMS) and naturally prevents this by bypassing it, but it causes other issues as you are experiencing. AMD are working on a solution to this afaik, but it is probably some ways off before being fully implemented. 

Ubuntu (and ubuntu based distros such as Pop OS) with official drivers also have the issue, at least for me, in which I can only output to one monitor. I would expect this to be resolved by the 23.04 release.

Here is my research and conclusion that may be of assistance.

https://forum.manjaro.org/t/amd-7900-xt-constant-screen-flickering-between-previous-and-current-stat...

anoduck
Journeyman III

Yet another user looking for a solution to the failed installation of the AMDgpu driver. It has seriously hindered usability of my system, applications like FreeCAD are painfully slow, and even VSCode is seriously reduced in performance. It has been three months since this thread was last posted, and a solution is still not available.

I have read somewhere that AMD no longer produces their own drivers in house, but have outsourced driver creation to Microsoft. If this is true, I wonder if that has anything to do with the driver failure we are experiencing.

Either mesa is going to need to provide support for the more advanced features of these graphic cards, or AMD needs to fix it ASAP. The cards were very popular and the lack of driver support effects a great number of users.

I am running Kali Linux rolling release bleeding-edge.

My error log is posted here:

Yet another user looking for a solution to the failed installation of the amdgpu driver. It has seriously hindered usability of my system, applications like FreeCAD are painfully slow, and even VSCode is seriously reduced in performance. It has been three months since this thread was last posted, and a solution is still not available.

I have read somewhere that AMD no longer produces their own drivers in house, but have outsourced driver creation to Microsoft. If this is true, I wonder if that has anything to do with the driver failure we are experiencing.

Either mesa is going to need to provide support for the more advanced features of these graphic cards, or AMD needs to fix it ASAP. The cards were very popular and the lack of driver support effects a great number of users.

I am running Kali Linux rolling release bleeding-edge.

My error log is posted to a gist in github. https://gist.github.com/anoduck/b641f883cf80d027813666912eca8102