Skip to content

[Issue]: amdgpu fails to compile with dkms under Ubuntu 26.04, kernel 7.0.0-22 #220

Closed

Description

@Battlesheepu

Problem Description

Context

I've decided to create a separate issue for what I've reported in the comment to rocm/rocm. I'll reuse some of the description from that comment. Things have worked for me under kernel ver. 7.0.0-15. They stopped when Ubuntu put out an upgrade to 7.0.0-22.

What's wrong

Unsure if this is the right place, but since I did install the drivers via the amdgpu-install script, I'm not sure where else to go.

While things seem to have worked error-less so far for me on the 7.0.0-15-generic on Ubuntu 26.04, recent upgrade to 7.0.0-22 using Ubuntu's upgrade UI can't compile amdgpu with dkms.

I'm also slightly confused, as the download page for the Radeon drivers does list 26.04 as a supported system now. Does that mean that 26.04, with it's 7.x kernel is now supported, and its only the 7.0.0-22 kernel that needs some work?

Logs (unsure what could be relevant and what not, so, for now, I'm just grepping for ~30 lines around any errors):

$ grep -A15 -B15 -i error  /var/lib/dkms/amdgpu/6.19.4-2337710.26.04/build/make.log 
  CC [M]  drm_buddy.o
  CC [M]  scheduler/sched_main.o
  CC [M]  scheduler/sched_fence.o
  CC [M]  scheduler/sched_entity.o
  CC [M]  amd/amdxcp/amdgpu_xcp_drv.o
  CC [M]  ttm/ttm_tt.o
  CC [M]  amd/amdkcl/main.o
  CC [M]  amd/amdkcl/kcl_common.o
  CC [M]  amd/amdxcp/./backport/kcl_drm_drv.o
  CC [M]  ttm/ttm_bo.o
  CC [M]  amd/amdkcl/kcl_kernel_params.o
  CC [M]  ttm/ttm_bo_util.o
  CC [M]  amd/amdkcl/dma-buf/dma-resv.o
  CC [M]  amd/amdgpu/amdgpu_drv.o
  CC [M]  amd/amdgpu/amdgpu_device.o
scheduler/sched_entity.c:732:1: internal compiler error: Segmentation fault
  732 | EXPORT_SYMBOL(drm_sched_entity_push_job);
      | ^~~~~~~~~~~~~
amd/amdkcl/main.c:14:12: warning: no previous prototype for ‘amdkcl_init’ [-Wmissing-prototypes]
   14 | int __init amdkcl_init(void)
      |            ^~~~~~~~~~~
amd/amdkcl/main.c:29:13: warning: no previous prototype for ‘amdkcl_exit’ [-Wmissing-prototypes]
   29 | void __exit amdkcl_exit(void)
      |             ^~~~~~~~~~~
  CC [M]  amd/amdkcl/kcl_dma-resv.o
  CC [M]  amd/amdkcl/kcl_ioctl.o
  CC [M]  amd/amdkcl/kcl_io.o
  LD [M]  amd/amdxcp/amdxcp.o
0x79bcec245caf ???
	./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x79bcec22a600 __libc_start_call_main
	../sysdeps/nptl/libc_start_call_main.h:59
0x79bcec22a717 __libc_start_main_impl
	../csu/libc-start.c:360
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-15/README.Bugs> for instructions.
  CC [M]  amd/amdkcl/kcl_security.o
make[5]: *** [/usr/src/linux-headers-7.0.0-22-generic/scripts/Makefile.build:289: scheduler/sched_entity.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  CC [M]  ttm/ttm_bo_vm.o
  CC [M]  ttm/ttm_module.o
  CC [M]  amd/amdgpu/amdgpu_reg_access.o
  CC [M]  amd/amdkcl/kcl_suspend.o
In file included from ./amd/amdgpu/../backport/backport.h:148,
                 from <command-line>:
././include/kcl/kcl_dma_fence_unwrap.h:115:9: warning: ‘dma_fence_unwrap_merge’ redefined
  115 | #define dma_fence_unwrap_merge kcl_dma_fence_unwrap_merge
      |         ^~~~~~~~~~~~~~~~~~~~~~
In file included from ././include/kcl/header/linux/dma-fence-unwrap.h:6,
                 from ././include/kcl/kcl_dma_fence_unwrap.h:11:
/usr/src/linux-headers-7.0.0-22-generic/include/linux/dma-fence-unwrap.h:69:9: note: this is the location of the previous definition
   69 | #define dma_fence_unwrap_merge(...)                                     \
      |         ^~~~~~~~~~~~~~~~~~~~~~
--
      |      ^~~~~~~~~~~~~~~~~~~
  CC [M]  ttm/ttm_pool.o
  LD [M]  amddrm_buddy.o
  CC [M]  amd/amdgpu/amdgpu_connectors.o
  CC [M]  amd/amdkcl/kcl_memory.o
In file included from ./amd/amdgpu/../backport/backport.h:148,
                 from <command-line>:
././include/kcl/kcl_dma_fence_unwrap.h:115:9: warning: ‘dma_fence_unwrap_merge’ redefined
  115 | #define dma_fence_unwrap_merge kcl_dma_fence_unwrap_merge
      |         ^~~~~~~~~~~~~~~~~~~~~~
In file included from ././include/kcl/header/linux/dma-fence-unwrap.h:6,
                 from ././include/kcl/kcl_dma_fence_unwrap.h:11:
/usr/src/linux-headers-7.0.0-22-generic/include/linux/dma-fence-unwrap.h:69:9: note: this is the location of the previous definition
   69 | #define dma_fence_unwrap_merge(...)                                     \
      |         ^~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/src/linux-headers-7.0.0-22-generic/scripts/Makefile.build:548: scheduler] Error 2
make[4]: *** Waiting for unfinished jobs....
  CC [M]  ttm/ttm_device.o
  CC [M]  amd/amdgpu/atom.o
  CC [M]  ttm/ttm_sys_manager.o
In file included from ./amd/amdgpu/../backport/backport.h:148,
                 from <command-line>:
././include/kcl/kcl_dma_fence_unwrap.h:115:9: warning: ‘dma_fence_unwrap_merge’ redefined
  115 | #define dma_fence_unwrap_merge kcl_dma_fence_unwrap_merge
      |         ^~~~~~~~~~~~~~~~~~~~~~
In file included from ././include/kcl/header/linux/dma-fence-unwrap.h:6,
                 from ././include/kcl/kcl_dma_fence_unwrap.h:11:
/usr/src/linux-headers-7.0.0-22-generic/include/linux/dma-fence-unwrap.h:69:9: note: this is the location of the previous definition
   69 | #define dma_fence_unwrap_merge(...)                                     \
      |         ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  amd/amdkcl/kcl_fence.o
--
                 from ././include/kcl/kcl_dma_fence_unwrap.h:11:
/usr/src/linux-headers-7.0.0-22-generic/include/linux/dma-fence-unwrap.h:69:9: note: this is the location of the previous definition
   69 | #define dma_fence_unwrap_merge(...)                                     \
      |         ^~~~~~~~~~~~~~~~~~~~~~
In file included from ./amd/amdgpu/../backport/backport.h:148,
                 from <command-line>:
././include/kcl/kcl_dma_fence_unwrap.h:115:9: warning: ‘dma_fence_unwrap_merge’ redefined
  115 | #define dma_fence_unwrap_merge kcl_dma_fence_unwrap_merge
      |         ^~~~~~~~~~~~~~~~~~~~~~
In file included from ././include/kcl/header/linux/dma-fence-unwrap.h:6,
                 from ././include/kcl/kcl_dma_fence_unwrap.h:11:
/usr/src/linux-headers-7.0.0-22-generic/include/linux/dma-fence-unwrap.h:69:9: note: this is the location of the previous definition
   69 | #define dma_fence_unwrap_merge(...)                                     \
      |         ^~~~~~~~~~~~~~~~~~~~~~
amd/amdgpu/amdgpu_device.c: In function ‘amdgpu_device_get_uid’:
amd/amdgpu/amdgpu_device.c:7032:1: error: unrecognizable insn:
 7032 | }
      | ^
(insn 272 271 273 7 (parallel [
            (set (reg:SI 5 di)
                (const_int 0 [0]))
            (clobber (reg:CC 0 ax))
        ]) "amd/amdgpu/amdgpu_device.c":7032:1 -1
     (nil))
during RTL pass: shorten
amd/amdgpu/amdgpu_device.c:7032:1: internal compiler error: in insn_min_length, at config/i386/i386.md:26080
  CC [M]  amd/amdgpu/amdgpu_bios.o
In file included from ./amd/amdgpu/../backport/backport.h:148,
                 from <command-line>:
././include/kcl/kcl_dma_fence_unwrap.h:115:9: warning: ‘dma_fence_unwrap_merge’ redefined
  115 | #define dma_fence_unwrap_merge kcl_dma_fence_unwrap_merge
      |         ^~~~~~~~~~~~~~~~~~~~~~
In file included from ././include/kcl/header/linux/dma-fence-unwrap.h:6,
                 from ././include/kcl/kcl_dma_fence_unwrap.h:11:
/usr/src/linux-headers-7.0.0-22-generic/include/linux/dma-fence-unwrap.h:69:9: note: this is the location of the previous definition
   69 | #define dma_fence_unwrap_merge(...)                                     \
      |         ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  amd/amdkcl/kcl_drm_modes.o
0x7fab8982a600 __libc_start_call_main
	../sysdeps/nptl/libc_start_call_main.h:59
0x7fab8982a717 __libc_start_main_impl
	../csu/libc-start.c:360
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-15/README.Bugs> for instructions.
make[5]: *** [/usr/src/linux-headers-7.0.0-22-generic/scripts/Makefile.build:289: amd/amdgpu/amdgpu_device.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  CC [M]  amd/amdkcl/kcl_time.o
  CC [M]  amd/amdkcl/kcl_acpi_table.o
amd/amdkcl/kcl_device_cgroup.c:29:6: warning: no previous prototype for ‘amdkcl_dev_cgroup_init’ [-Wmissing-prototypes]
   29 | void amdkcl_dev_cgroup_init(void)
      |      ^~~~~~~~~~~~~~~~~~~~~~
In file included from ./amd/amdgpu/../backport/backport.h:148,
                 from <command-line>:
././include/kcl/kcl_dma_fence_unwrap.h:115:9: warning: ‘dma_fence_unwrap_merge’ redefined
  115 | #define dma_fence_unwrap_merge kcl_dma_fence_unwrap_merge
      |         ^~~~~~~~~~~~~~~~~~~~~~
In file included from ././include/kcl/header/linux/dma-fence-unwrap.h:6,
                 from ././include/kcl/kcl_dma_fence_unwrap.h:11:
/usr/src/linux-headers-7.0.0-22-generic/include/linux/dma-fence-unwrap.h:69:9: note: this is the location of the previous definition
   69 | #define dma_fence_unwrap_merge(...)                                     \
--
      |      ^~~~~~~~~~~~~~~~~
  CC [M]  amd/amdkcl/kcl_i2c_core_base.o
  CC [M]  amd/amdkcl/kcl_mempool.o
  CC [M]  amd/amdkcl/kcl_debugfs_file.o
  CC [M]  amd/amdkcl/kcl_sysfs_emit.o
  CC [M]  amd/amdkcl/kcl_wbrf.o
In file included from amd/amdkcl/kcl_dma_fence_unwrap.c:7:
././include/kcl/kcl_dma_fence_unwrap.h:115:9: warning: ‘dma_fence_unwrap_merge’ redefined
  115 | #define dma_fence_unwrap_merge kcl_dma_fence_unwrap_merge
      |         ^~~~~~~~~~~~~~~~~~~~~~
In file included from ././include/kcl/header/linux/dma-fence-unwrap.h:6,
                 from ././include/kcl/kcl_dma_fence_unwrap.h:11:
/usr/src/linux-headers-7.0.0-22-generic/include/linux/dma-fence-unwrap.h:69:9: note: this is the location of the previous definition
   69 | #define dma_fence_unwrap_merge(...)                                     \
      |         ^~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/src/linux-headers-7.0.0-22-generic/scripts/Makefile.build:548: amd/amdgpu] Error 2
  LD [M]  amd/amdkcl/amdkcl.o
make[3]: *** [/usr/src/linux-headers-7.0.0-22-generic/Makefile:2110: .] Error 2
make[2]: *** [/usr/src/linux-headers-7.0.0-22-generic/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/amdgpu/6.19.4-2337710.26.04/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-7.0.0-22-generic'
make: *** [Makefile:54: modules] Error 2

# exit code: 2
# elapsed time: 00:00:22
----------------------------------------------------------------

OS Information

$ echo "OS:" && cat /etc/os-release | grep -E "^(NAME=|VERSION=)";                                                                                                                                         
  echo "CPU: " && cat /proc/cpuinfo | grep "model name" | sort --unique;
  echo "GPU:" && /opt/rocm/bin/rocminfo | grep -E "^\s*(Name|Marketing Name)";
OS:
NAME="Ubuntu"
VERSION="26.04 LTS (Resolute Raccoon)"
CPU: 
model name	: AMD Ryzen 7 5800X 8-Core Processor
GPU:
zsh: no such file or directory: /opt/rocm/bin/rocminfo

Operating System

Ubuntu 26.04

CPU

Ryzen 5800x

GPU

Radeon 9070XT

ROCm Version

7.13.0~pre2-25753625030 (based on dpkg -l output). I am not sure if this tis the version you're asking for.

ROCm Component

No response

Steps to Reproduce

Upgrade Ubuntu 26.04 from Kernel 7.0.0-15 to 7.0.0-22 while having installed the drivers from the newest amdgpu-install (amdgpu-install_31.30.313000-1_all.deb).

OR

While on Kernel 7.0.0-15, when Kernel 7.0.0-22 is also installed, run

$ amdgpu-install --usecase=rocm
(...)
Autoinstall of module amdgpu/6.19.4-2337710.26.04 for kernel 7.0.0-22-generic (x86_64)
Building module(s).............(bad exit status: 2)
Failed command:
'make' KERNELVER=7.0.0-22-generic
ERROR (dkms apport): There was a segmentation fault when trying to build the module
(...)

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

/opt/rocm/bin/rocminfo wasn't installed, so I grabbed rocminfo from the apt repo.

$ /usr/bin/rocminfo --suport
ROCk module version 6.19.4 is loaded
=====================    
HSA System Attributes    
=====================    
Runtime Version:         1.1
Runtime Ext Version:     1.14
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:  18446744073709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE                              
System Endianness:       LITTLE                             
Mwaitx:                  DISABLED
XNACK enabled:           NO
DMAbuf Support:          YES
VMM Support:             YES

==========               
HSA Agents               
==========               
*******                  
Agent 1                  
*******                  
  Name:                    AMD Ryzen 7 5800X 8-Core Processor 
  Uuid:                    CPU-XX                             
  Marketing Name:          AMD Ryzen 7 5800X 8-Core Processor 
  Vendor Name:             CPU                                
  Feature:                 None specified                     
  Profile:                 FULL_PROFILE                       
  Float Round Mode:        NEAR                               
  Max Queue Number:        0(0x0)                             
  Queue Min Size:          0(0x0)                             
  Queue Max Size:          0(0x0)                             
  Queue Type:              MULTI                              
  Node:                    0                                  
  Device Type:             CPU                                
  Cache Info:              
    L1:                      32768(0x8000) KB                   
  Chip ID:                 0(0x0)                             
  ASIC Revision:           0(0x0)                             
  Cacheline Size:          64(0x40)                           
  Max Clock Freq. (MHz):   4853                               
  BDFID:                   0                                  
  Internal Node ID:        0                                  
  Compute Unit:            16                                 
  SIMDs per CU:            0                                  
  Shader Engines:          0                                  
  Shader Arrs. per Eng.:   0                                  
  WatchPts on Addr. Ranges:1                                  
  Memory Properties:       
  Features:                None
  Pool Info:               
    Pool 1                   
      Segment:                 GLOBAL; FLAGS: FINE GRAINED        
      Size:                    15768640(0xf09c40) KB              
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Recommended Granule:4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       TRUE                               
    Pool 2                   
      Segment:                 GLOBAL; FLAGS: EXTENDED FINE GRAINED
      Size:                    15768640(0xf09c40) KB              
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Recommended Granule:4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       TRUE                               
    Pool 3                   
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    15768640(0xf09c40) KB              
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Recommended Granule:4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       TRUE                               
    Pool 4                   
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED      
      Size:                    15768640(0xf09c40) KB              
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Recommended Granule:4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       TRUE                               
  ISA Info:                
*******                  
Agent 2                  
*******                  
  Name:                    gfx1201                            
  Uuid:                    GPU-61e2dbe34c7722ff               
  Marketing Name:          AMD Radeon RX 9070 XT              
  Vendor Name:             AMD                                
  Feature:                 KERNEL_DISPATCH                    
  Profile:                 BASE_PROFILE                       
  Float Round Mode:        NEAR                               
  Max Queue Number:        128(0x80)                          
  Queue Min Size:          64(0x40)                           
  Queue Max Size:          131072(0x20000)                    
  Queue Type:              MULTI                              
  Node:                    1                                  
  Device Type:             GPU                                
  Cache Info:              
    L1:                      32(0x20) KB                        
    L2:                      8192(0x2000) KB                    
    L3:                      65536(0x10000) KB                  
  Chip ID:                 30032(0x7550)                      
  ASIC Revision:           1(0x1)                             
  Cacheline Size:          256(0x100)                         
  Max Clock Freq. (MHz):   2460                               
  BDFID:                   2816                               
  Internal Node ID:        1                                  
  Compute Unit:            64                                 
  SIMDs per CU:            2                                  
  Shader Engines:          4                                  
  Shader Arrs. per Eng.:   2                                  
  WatchPts on Addr. Ranges:4                                  
  Coherent Host Access:    FALSE                              
  Memory Properties:       
  Features:                KERNEL_DISPATCH 
  Fast F16 Operation:      TRUE                               
  Wavefront Size:          32(0x20)                           
  Workgroup Max Size:      1024(0x400)                        
  Workgroup Max Size per Dimension:
    x                        1024(0x400)                        
    y                        1024(0x400)                        
    z                        1024(0x400)                        
  Max Waves Per CU:        32(0x20)                           
  Max Work-item Per CU:    1024(0x400)                        
  Grid Max Size:           4294967295(0xffffffff)             
  Grid Max Size per Dimension:
    x                        2147483647(0x7fffffff)             
    y                        65535(0xffff)                      
    z                        65535(0xffff)                      
  Max fbarriers/Workgrp:   32                                 
  Packet Processor uCode:: 218                                
  SDMA engine uCode::      662                                
  IOMMU Support::          None                               
  Pool Info:               
    Pool 1                   
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED      
      Size:                    16695296(0xfec000) KB              
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Recommended Granule:2048KB                             
      Alloc Alignment:         4KB                                
      Accessible by all:       FALSE                              
    Pool 2                   
      Segment:                 GROUP                              
      Size:                    64(0x40) KB                        
      Allocatable:             FALSE                              
      Alloc Granule:           0KB                                
      Alloc Recommended Granule:0KB                                
      Alloc Alignment:         0KB                                
      Accessible by all:       FALSE                              
  ISA Info:                
    ISA 1                    
      Name:                    amdgcn-amd-amdhsa--gfx1201         
      Machine Models:          HSA_MACHINE_MODEL_LARGE            
      Profiles:                HSA_PROFILE_BASE                   
      Default Rounding Mode:   NEAR                               
      Default Rounding Mode:   NEAR                               
      Fast f16:                TRUE                               
      Workgroup Max Size:      1024(0x400)                        
      Workgroup Max Size per Dimension:
        x                        1024(0x400)                        
        y                        1024(0x400)                        
        z                        1024(0x400)                        
      Grid Max Size:           4294967295(0xffffffff)             
      Grid Max Size per Dimension:
        x                        2147483647(0x7fffffff)             
        y                        65535(0xffff)                      
        z                        65535(0xffff)                      
      FBarrier Max Size:       32                                 
    ISA 2                    
      Name:                    amdgcn-amd-amdhsa--gfx12-generic   
      Machine Models:          HSA_MACHINE_MODEL_LARGE            
      Profiles:                HSA_PROFILE_BASE                   
      Default Rounding Mode:   NEAR                               
      Default Rounding Mode:   NEAR                               
      Fast f16:                TRUE                               
      Workgroup Max Size:      1024(0x400)                        
      Workgroup Max Size per Dimension:
        x                        1024(0x400)                        
        y                        1024(0x400)                        
        z                        1024(0x400)                        
      Grid Max Size:           4294967295(0xffffffff)             
      Grid Max Size per Dimension:
        x                        2147483647(0x7fffffff)             
        y                        65535(0xffff)                      
        z                        65535(0xffff)                      
      FBarrier Max Size:       32                                 
*** Done ***   

Additional Information

$ gcc --version            
gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0

$ dpkg -l | grep -i  amdgpu 
ii  amdgpu-dkms                                1:6.19.4.31300000-2337710.26.04             all          amdgpu driver in DKMS format.
ii  amdgpu-dkms-firmware                       31.30.0.0.31300000-2337710.26.04            all          firmware blobs used by amdgpu driver in DKMS format
ii  amdgpu-install                             31.30.0.0.31300000-2338789.26.04            all          AMDGPU driver repository and installer
ii  libdrm-amdgpu1:amd64                       2.4.131-1                                   amd64        Userspace interface to amdgpu-specific kernel DRM services -- runtime
ii  libdrm-amdgpu1:i386                        2.4.131-1                                   i386         Userspace interface to amdgpu-specific kernel DRM services -- runtime

$ dpkg -l | grep -i rocm 
ii  amdrocm-amdsmi7.13                         7.13.0~pre2-25753625030                     amd64        AMD System Management libraries
ii  amdrocm-base7.13                           7.13.0~pre2-25753625030                     amd64        The ROCm-base package contains essential ROCm utilities
ii  amdrocm-blas7.13-gfx120x                   7.13.0~pre2-25753625030                     amd64        AMD library for BLAS in ROCm
ii  amdrocm-ck7.13-gfx120x                     7.13.0~pre2-25753625030                     amd64        High Performance Composable Kernel for AMD GPUs
ii  amdrocm-core7.13-gfx120x                   7.13.0~pre2-25753625030                     amd64        AMD ROCm core metapackage
ii  amdrocm-debugger7.13                       7.13.0~pre2-25753625030                     amd64        ROCm debugger
ii  amdrocm-decode7.13                         7.13.0~pre2-25753625030                     amd64        AMD ROCm video decode library
ii  amdrocm-dnn7.13-gfx120x                    7.13.0~pre2-25753625030                     amd64        AMD DNN Library
ii  amdrocm-fft7.13-gfx120x                    7.13.0~pre2-25753625030                     amd64        ROCm FFT library
ii  amdrocm-gfx120x                            7.13.0~pre2-25753625030                     amd64        AMD ROCm metapackage
ii  amdrocm-hipify7.13                         7.13.0~pre2-25753625030                     amd64        Hipify CUDA source
ii  amdrocm-jpeg7.13                           7.13.0~pre2-25753625030                     amd64        AMD ROCm JPEG decode library
ii  amdrocm-llvm7.13                           7.13.0~pre2-25753625030                     amd64        ROCm LLVM compiler
ii  amdrocm-math-common7.13                    7.13.0~pre2-25753625030                     amd64        Common files for math library
ii  amdrocm-opencl                             7.13.0~pre2-25753625030                     amd64        AMD ROCm opencl libraries
ii  amdrocm-opencl7.13                         7.13.0~pre2-25753625030                     amd64        AMD ROCm opencl libraries
ii  amdrocm-profiler-base7.13                  7.13.0~pre2-25753625030                     amd64        ROCm profiler tools
ii  amdrocm-rand7.13-gfx120x                   7.13.0~pre2-25753625030                     amd64        ROCm random number generation library
ii  amdrocm-rccl7.13                           7.13.0~pre2-25753625030                     amd64        ROCm Communication Collectives Library. Optimized primitives for collective multi-GPU communication
ii  amdrocm-rocshmem7.13                       7.13.0~pre2-25753625030                     amd64        The ROCm OpenSHMEM (rocSHMEM) library, is an intra-kernel networking library that provides GPU-centric networking
ii  amdrocm-runtime                            7.13.0~pre2-25753625030                     amd64        AMD HIP Runtime for ROCm platforms
ii  amdrocm-runtime7.13                        7.13.0~pre2-25753625030                     amd64        AMD HIP Runtime for ROCm platforms
ii  amdrocm-solver7.13-gfx120x                 7.13.0~pre2-25753625030                     amd64        AMD library for solver in ROCm
ii  amdrocm-sparse7.13-gfx120x                 7.13.0~pre2-25753625030                     amd64        AMD library for sparse  in ROCm
ii  amdrocm-sysdeps7.13                        7.13.0~pre2-25753625030                     amd64        ROCm system dependencies
ii  amdrocm7.13-gfx120x                        7.13.0~pre2-25753625030                     amd64        AMD ROCm metapackage
rc  rocm-opencl                                2.0.0.70200-43~24.04                        amd64        clr built using CMake

This issue causes a kernel panic when my system tries to boot with the new Kernel, forcing me to reboot and choose an older one (7.0.0-15).

Thank you for all of your hard work.

Activity

  1. Battlesheepu commented on Jun 4, 2026

    @Battlesheepu
    Author

    Update: Uhm, something happened. Ubuntu asked me to restart my PC to "finish my upgrade" (?), post-restart I'm in the new Kernel (7.0.0-22) with things just working.

    Looking at /var/lib/dkms/amdgpu/6.19.4-2337710.26.04/7.0.0-22-generic/x86_64/log/make.log, created today (June 4) at 13:23 (GMT+2), I see that things... just succeeded. I see no difference in the package versions I've listed above.

    Unsure if this was you or the Ubuntu team, but it seems,

    somehow,

    ... amdgpu has returned.

  2. Battlesheepu commented on Jun 25, 2026

    @Battlesheepu
    Author

    Solved per https://projects.blender.org/blender/blender/issues/160362

    tl;dr

    Seems that, for some reason, DKMS gave up after trying to compile for still-present 6.x Linux Headers.
    Removing them allowed the DKMS to move forward.

    Closing, as, well - things work and the fix is described.

  3. wmszyfelbein commented on Aug 12, 2026

    @wmszyfelbein

    I have the same problem.
    amdgpu-install add headers for 7.0.0-14 during installation.
    NVidia is better?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions