Hallo trollsportverein,
habe es in einer Virtuellen Maschine getestet. Ist mir mittlerweile zu unsicher mit meinem Lifesystem herum zu spielen.
Nein, hat auch nicht Funktioniert.
Mittlerweile bin ich mir auch nicht mehr sicher ob das wirklich das Problem ist, weil es als "Warning:" declariert ist und nicht als Error.
Das hier ist das Problem denke ich ...
error: incompatible types when assigning to type ‘struct percpu_ref’ from type ‘struct percpu_ref *’
test@test-VirtualBox:~/Downloads$ cat Consult /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/make.log
cat: Consult: Datei oder Verzeichnis nicht gefunden
DKMS make.log for amdgpu-5.16.9.22.20-1438747~22.04 for kernel 5.15.0-53-generic (x86_64)
So 19. listopadu 2022, 17:40:35 CET
make: Verzeichnis „/usr/src/linux-headers-5.15.0-53-generic“ wird betreten
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"
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/scheduler/sched_main.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_drv.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_device.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/scheduler/sched_fence.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/scheduler/sched_entity.o
LD [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/scheduler/amd-sched.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_tt.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_kms.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_bo.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_atombios.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_bo_util.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/atombios_crtc.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_bo_vm.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_module.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_connectors.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_execbuf_util.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_range_manager.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/atom.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_resource.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_pool.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_fence.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_device.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_ttm.o
/var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_device.c:28: warning: "pr_fmt" redefined
28 | #define pr_fmt(fmt) "[TTM DEVICE] " fmt
|
In file included from ./include/linux/kernel.h:19,
from ./include/linux/list.h:9,
from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:55,
from ./include/linux/kref.h:16,
from /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/include/kcl/kcl_kref.h:15,
from /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/backport/backport.h:6,
from <command-line>:
./include/linux/printk.h:340: note: this is the location of the previous definition
340 | #define pr_fmt(fmt) fmt
|
/var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_device.c:28: warning: "pr_fmt" redefined
28 | #define pr_fmt(fmt) "[TTM DEVICE] " fmt
|
In file included from ./include/linux/kernel.h:19,
from ./include/linux/list.h:9,
from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:55,
from ./include/linux/kref.h:16,
from /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/include/kcl/kcl_kref.h:15,
from /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/backport/backport.h:6,
from <command-line>:
./include/linux/printk.h:340: note: this is the location of the previous definition
340 | #define pr_fmt(fmt) fmt
|
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_sys_manager.o
/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] Fehler 1
make[1]: *** [scripts/Makefile.build:560: /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu] Fehler 2
make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_agp_backend.o
LD [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/amdttm.o
make: *** [Makefile:1903: /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build] Fehler 2
make: Verzeichnis „/usr/src/linux-headers-5.15.0-53-generic“ wird verlassen
test@test-VirtualBox:~/Downloads$
Habe gerade einen neuen Versuch laufen...
amdgpu-install -y --usecase=graphics --opencl=rocr --vulkan=amdvlk --no-dkms
Der Fehler scheint aber der selbe ☹
Keine Ahnung was ich noch machen kann damit der Treiber Funktioniert.
Wieso ist das jedesmal so eine sch..... diesen Treiber zu installieren.
test@test-VirtualBox:~/Downloads$ cat /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/make.log
DKMS make.log for amdgpu-5.16.9.22.20-1438747~22.04 for kernel 5.15.0-53-generic (x86_64)
So 19. listopadu 2022, 17:57:07 CET
make: Verzeichnis „/usr/src/linux-headers-5.15.0-53-generic“ wird betreten
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"
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/scheduler/sched_main.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_drv.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_device.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/scheduler/sched_fence.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/scheduler/sched_entity.o
LD [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/scheduler/amd-sched.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_tt.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_kms.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_bo.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_bo_util.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_atombios.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_bo_vm.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/atombios_crtc.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_module.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_execbuf_util.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_connectors.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_range_manager.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/atom.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_resource.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_pool.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_fence.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_device.o
/var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_device.c:28: warning: "pr_fmt" redefined
28 | #define pr_fmt(fmt) "[TTM DEVICE] " fmt
|
In file included from ./include/linux/kernel.h:19,
from ./include/linux/list.h:9,
from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:55,
from ./include/linux/kref.h:16,
from /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/include/kcl/kcl_kref.h:15,
from /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/backport/backport.h:6,
from <command-line>:
./include/linux/printk.h:340: note: this is the location of the previous definition
340 | #define pr_fmt(fmt) fmt
|
/var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_device.c:28: warning: "pr_fmt" redefined
28 | #define pr_fmt(fmt) "[TTM DEVICE] " fmt
|
In file included from ./include/linux/kernel.h:19,
from ./include/linux/list.h:9,
from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:55,
from ./include/linux/kref.h:16,
from /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/include/kcl/kcl_kref.h:15,
from /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/backport/backport.h:6,
from <command-line>:
./include/linux/printk.h:340: note: this is the location of the previous definition
340 | #define pr_fmt(fmt) fmt
|
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_sys_manager.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_ttm.o
CC [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/ttm_agp_backend.o
/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] Fehler 1
make[1]: *** [scripts/Makefile.build:560: /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu] Fehler 2
make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …
LD [M] /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/ttm/amdttm.o
make: *** [Makefile:1903: /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build] Fehler 2
make: Verzeichnis „/usr/src/linux-headers-5.15.0-53-generic“ wird verlassen
test@test-VirtualBox:~/Downloads$