Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Using "amdgpu-install --usecase=graphics" gives:
- <about 50 hit or get urls>
- Reading package lists... Done
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- linux-headers-5.15.0-53-generic is already the newest version (5.15.0-53.59)
- linux-modules-extra-5.15.0-53-generic is already the newest version (5.15.0-53.59)
- amdgpu-dkms is already the newest version (1:5.16.9.22.20.50200-1438747~22.04)
- amdgpu-lib is already the newest version (22.20.50200-1438747~22.04)
- The following packages were automatically installed and are no longer required:
- <about 300 packages>
- Use 'sudo apt autoremove' to remove them.
- 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
- 1 not fully installed or removed.
- After this operation, 0 B of additional disk space will be used.
- Do you want to continue? [Y/n]
- Setting up amdgpu-dkms (1:5.16.9.22.20.50200-1438747~22.04) ...
- Removing old amdgpu-5.16.9.22.20.50200-1438747~22.04 DKMS files...
- Deleting module amdgpu-5.16.9.22.20.50200-1438747~22.04 completely from the DKMS tree.
- Loading new amdgpu-5.16.9.22.20.50200-1438747~22.04 DKMS files...
- Building for 5.15.0-53-generic
- Building for architecture x86_64
- Building initial module for 5.15.0-53-generic
- ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-dkms.0.crash'
- Error! Bad return status for module build on kernel: 5.15.0-53-generic (x86_64)
- Consult /var/lib/dkms/amdgpu/5.16.9.22.20.50200-1438747~22.04/build/make.log for more information.
- dkpg: error processing package amdgpu-dkms (--configure):
- installed amdgpu-dkms package post-installation script subprocess returned error exit status 10
- Errors encountered while processing:
- amdgpu-dkms
- E: Sub-process /usr/bin/dpkg returned an error code (1)
- ---------------------------------------
- The log file gives:
- make: Entering directory 'usr/src/linux-headers-5.15.0-53-generic'
- warning: the compiler differs from the one used to build the kernel
- The kernel was built by: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
- You are using: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
- /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/Makefile:26: "Local GCC version 110303 does not match kernel compiler GCC version 110200"
- /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/Makefile:27: "This may cause unexpected and hard-to-isolate compiler-related issues"
- <some unremarkable processing>
- /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_ttm.c: In function 'amdgpu_ssg_init':
- /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_ttm.c:2313:31: error: incompatible types when assigning to type 'struct percpu_ref' from type 'struct percpu_ref *'
- 2313 | adev->ssg.pgmap.ref = &adev->ssg.ref;
- | ^
- make[2]: *** [scripts/Makefile.build:297: /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_ttm.o] Error 1
- make[2]: *** Waiting for unfinished jobs...
- make[1]: *** [scripts/Makefile.build:560: /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu] Error 2
- make: *** [Makefile:1903: /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build] Error 2
- make: Leaving directory 'usr/src/linux-headers-5.15.0-53-generic'
- ---------------------------------------
- Using "amdgpu-install --vulkan=amdvlk" gives:
- rocm-opencl-runtime is already the newest version (5.2.0.50200-65).
- Some packages could not be installed. This may mean that you have
- requested an impossible situation or if you are using the unstable
- distribution that some required packages have not been created
- or moved out of Incoming.
- The following information may help to resolve the situation:
- The following packages have unmet dependencies:
- rocm-llvm : Depends: python but it is not installable
- Depends: libstdc++-5-dev but it is not installable or
- libstdc++-7-dev but it is not installable
- Depends: libgcc-5-dev but it is not installable or
- libgcc-5-dev but it is not installable
- E: Unable to correct problems, you have held broken packages.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement