Building module:
Cleaning build area...(bad exit status: 2)
make -j16 KERNELRELEASE=6.2.0-20-generic -j16 TTM_NAME=amdttm SCHED_NAME=amd-sched -C /lib/modules/6.2.0-20-generic/build M=/var/lib/dkms/amdgpu/5.18.13-1538762.22.04/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.2.0-20-generic (x86_64)
Consult /var/lib/dkms/amdgpu/5.18.13-1538762.22.04/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
...fail!
Specifically:
Building module: 6.2.0-20- generic -j16 TTM_NAME=amdttm SCHED_NAME= amd-sched -C /lib/modules/ 6.2.0-20- generic/ build M=/var/ lib/dkms/ amdgpu/ 5.18.13- 1538762. 22.04/build. ..(bad exit status: 2) dkms/amdgpu/ 5.18.13- 1538762. 22.04/build/ make.log for more information.
Cleaning build area...(bad exit status: 2)
make -j16 KERNELRELEASE=
Error! Bad return status for module build on kernel: 6.2.0-20-generic (x86_64)
Consult /var/lib/
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
...fail!
This is not an Ubuntu DKMS.