AnsweredAssumed Answered

Support for installing Driver on OpenSUSE Tumbleweed

Question asked by graphic2017designer on Aug 6, 2018

Hi,

Thanks for all .I'm trying to install amdgpu-pro 18.20 for awhile on my OpenSUSE Tumbleweed .

 

GPU

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tonga PRO [Radeon R9 285/380] [1002:6939]

  Subsystem: PC Partner Limited / Sapphire Technology Device [174b:e306]

  Kernel driver in use: amdgpu

  Kernel modules: amdgpu

Downgrade xorg-x11-server to require X11_ABI_VIDEODRV = 20.0

REPO home:lbssousa:multi-seat:forwardport

xorg-x11-server-extra-debuginfo-1.20.0-551.1.x86_64

xorg-x11-server-debuginfo-1.20.0-551.1.x86_64

xorg-x11-server-source-1.20.0-551.1.x86_64

xorg-x11-Xvnc-java-1.9.0-179.1.noarch

xorg-x11-server-wayland-1.20.0-551.1.x86_64

xorg-x11-7.6_1-192.11.noarch

xorg-x11-server-sdk-1.20.0-551.1.x86_64

xorg-x11-essentials-7.6_1-192.11.noarch

xorg-x11-server-extra-1.20.0-551.1.x86_64

xorg-x11-server-wayland-debuginfo-1.20.0-551.1.x86_64

xorgproto-devel-2018.4-1.1.x86_64

xorg-x11-driver-video-7.6_1-228.1.x86_64

xorg-x11-server-7.6_1.18.3-12.13.10.x86_64

xorg-x11-server-Xspice-debuginfo-0.1.5-53.25.x86_64

xorg-x11-Xvnc-debuginfo-1.9.0-179.1.x86_64

xorg-cf-files-1.0.6-27.2.noarch

xorg-x11-libs-7.6.1-137.4.noarch

xorg-x11-devel-7.6.1-137.4.noarch

xorg-x11-amdgpu-drv-amdgpu-1.4.0-606297.x86_64

xorg-x11-server-debugsource-1.20.0-551.1.x86_64

xorg-x11-libX11-ccache-7.6-37.16.noarch

xorg-sgml-doctools-1.11-14.12.noarch

xorg-x11-fonts-core-7.6-115.2.noarch

xorg-x11-Xvnc-novnc-1.9.0-179.1.noarch

xorg-scripts-1.0.1-14.11.noarch

xorg-x11-Xvnc-1.9.0-179.1.x86_64

xorg-x11-util-devel-7.6_1-44.11.noarch

xorg-x11-fonts-7.6-115.2.noarch

 

Following this page from AMD Forums to include tumbleweed as supported os


https://community.amd.com/thread/228506

 

Then Install all the remain amdgpu-pro packages manaually

 

Packages

opencl-amdgpu-pro-18.20-606297.x86_64

libopencl-amdgpu-pro-18.20-606297.x86_64

clinfo-amdgpu-pro-18.20-606297.x86_64

roct-amdgpu-pro-devel-1.0.8-606297.x86_64

amdgpu-pro-core-18.20-606297.noarch

libegl-amdgpu-pro-18.20-606297.x86_64

libgles-amdgpu-pro-18.20-606297.x86_64

libgl-amdgpu-pro-ext-18.20-606297.x86_64

roct-amdgpu-pro-1.0.8-606297.x86_64

libgl-amdgpu-pro-18.20-606297.x86_64

libgbm-amdgpu-pro-base-18.20-606297.noarch

opencl-orca-amdgpu-pro-icd-18.20-606297.x86_64

libgl-amdgpu-pro-dri-18.20-606297.x86_64

opencl-amdgpu-pro-devel-18.20-606297.x86_64

libgl-amdgpu-pro-appprofiles-18.20-606297.noarch

lf-amdgpu-pro-devel-18.20-606297.x86_64

libgbm-amdgpu-pro-devel-18.20-606297.x86_64

amdgpu-pro-18.20-606297.x86_64

libgbm-amdgpu-pro-18.20-606297.x86_64

opencl-amdgpu-pro-icd-18.20-606297.x86_64

Now I'n getting error when installing amdgpu-dkms-18.20.that's saying

makefile.log

DKMS make.log for amdgpu-18.20-606297 for kernel 4.17.11-1-vanilla (x86_64)

Mon Aug 6 01:48:58 EET 2018

make: Entering directory '/usr/src/linux-4.17.11-1-obj/x86_64/vanilla'

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkcl/kcl_drm.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkcl/main.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/lib/chash.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkcl/symbols.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_module.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/scheduler/gpu_scheduler.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/ttm/ttm_memory.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdgpu/amdgpu_drv.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/ttm/ttm_tt.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/ttm/ttm_bo.o

  LD [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/lib/amdchash.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/ttm/ttm_bo_util.o

/var/lib/dkms/amdgpu/18.20-606297/build/amd/amdgpu/amdgpu_drv.c: In function ‘amdgpu_pmops_runtime_suspend’:

/var/lib/dkms/amdgpu/18.20-606297/build/amd/amdgpu/amdgpu_drv.c:757:2: error: implicit declaration of function ‘vga_switcheroo_set_dynamic_switch’; did you mean ‘vga_switcheroo_process_delayed_switch’? [-Werror=implicit-function-declaration]

  vga_switcheroo_set_dynamic_switch(pdev, VGA_SWITCHEROO_OFF);

  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  vga_switcheroo_process_delayed_switch

cc1: some warnings being treated as errors

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_device.o

make[4]: *** [/usr/src/linux-4.17.11-1-vanilla/scripts/Makefile.build:312: /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdgpu/amdgpu_drv.o] Error 1

make[3]: *** [/usr/src/linux-4.17.11-1-vanilla/scripts/Makefile.build:559: /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdgpu] Error 2

make[3]: *** Waiting for unfinished jobs....

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/ttm/ttm_bo_vm.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkcl/kcl_fence.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkcl/kcl_fence_array.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/ttm/ttm_module.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkcl/kcl_kthread.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/scheduler/sched_fence.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_chardev.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/ttm/ttm_object.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/ttm/ttm_lock.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_topology.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_pasid.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_doorbell.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkcl/kcl_io.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkcl/kcl_mn.o

  LD [M] /var/lib/dkms/amdgpu/18.20-606297/build/scheduler/amd-sched.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkcl/kcl_reservation.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_flat_memory.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_process.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/ttm/ttm_execbuf_util.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/ttm/ttm_page_alloc.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/ttm/ttm_bo_manager.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/ttm/ttm_page_alloc_dma.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/ttm/ttm_agp_backend.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_queue.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkcl/kcl_drm_global.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_mqd_manager.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_mqd_manager_cik.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkcl/kcl_bitmap.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_mqd_manager_vi.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_mqd_manager_v9.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkcl/kcl_pci.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_kernel_queue.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_kernel_queue_cik.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_kernel_queue_vi.o

  LD [M] /var/lib/dkms/amdgpu/18.20-606297/build/ttm/amdttm.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_kernel_queue_v9.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_packet_manager.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_process_queue_manager.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_device_queue_manager.o

  LD [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkcl/amdkcl.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_device_queue_manager_cik.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_device_queue_manager_vi.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_device_queue_manager_v9.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_interrupt.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_events.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/cik_event_interrupt.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_int_process_v9.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_dbgdev.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_dbgmgr.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_crat.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_rdma.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_peerdirect.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_ipc.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_iommu.o

  CC [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/kfd_debugfs.o

  LD [M] /var/lib/dkms/amdgpu/18.20-606297/build/amd/amdkfd/amdkfd.o

make[2]: *** [/usr/src/linux-4.17.11-1-vanilla/Makefile:1571: _module_/var/lib/dkms/amdgpu/18.20-606297/build] Error 2

make[1]: *** [Makefile:146: sub-make] Error 2

make: *** [Makefile:24: __sub-make] Error 2

make: Leaving directory '/usr/src/linux-4.17.11-1-obj/x86_64/vanilla'

 

Also

cat /sys/kernel/debug/vgaswitcheroo/switch

Back with no such file or directory

 

 

So Looking forward to your support as soon as you could.

 

Thanks again

Outcomes