Plasma OpenGL 2 error when installing RX 460 Propietary driver

Hi all.

I have bought a new Shappire RX 460 GPU, i have downloaded and installed “16.60” driver for this card from ATI website. Installation goes well but when i reboot an error appears, something related “opengl 2 cannot start plasma, check drivers”

I can see some opened before install windows but background is black.

What can i do to solve it?

Thanks all

This is about the amdgpu pro driver, right? (fglrx has been abandoned by AMD and won’t work anymore on current Linux versions)

AFAIK, you may need kernel 4.9 or later for that to work.
You can get it from the Kernel:stable repo:
http://download.opensuse.org/repositories/Kernel:/stable/openSUSE_Leap_42.2

You likely have to reinstall the driver after installing the new kernel.

Hi

Tnx for help, i have installed from that repo 4.10 kernel.

When i install lastest ati driver i fails, here is the log fail:

DKMS make.log for amdgpu-pro-16.60-379184 for kernel 4.10.1-3.g8c10701-default (x86_64)
Fri Mar  3 21:14:48 CET 2017
make: Entering directory '/usr/src/linux-4.10.1-3.g8c10701-obj/x86_64/default'
  LD      /var/lib/dkms/amdgpu-pro/16.60-379184/build/built-in.o
  LD      /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdkcl/built-in.o
  CC [M]  /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdkcl/kcl_drm.o
  CC [M]  /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdkcl/kcl_fence.o
  LD      /var/lib/dkms/amdgpu-pro/16.60-379184/build/ttm/built-in.o
  CC [M]  /var/lib/dkms/amdgpu-pro/16.60-379184/build/ttm/ttm_memory.o
In file included from /var/lib/dkms/amdgpu-pro/16.60-379184/build/ttm/backport/backport.h:5:0,
                 from <command-line>:0:
/var/lib/dkms/amdgpu-pro/16.60-379184/build/include/kcl/kcl_fence.h:5:25: fatal error: linux/fence.h: No such file or directory
 #include <linux/fence.h>
                         ^
compilation terminated.
/usr/src/linux-4.10.1-3.g8c10701/scripts/Makefile.build:295: recipe for target '/var/lib/dkms/amdgpu-pro/16.60-379184/build/ttm/ttm_memory.o' failed
make[4]: *** [/var/lib/dkms/amdgpu-pro/16.60-379184/build/ttm/ttm_memory.o] Error 1
/usr/src/linux-4.10.1-3.g8c10701/scripts/Makefile.build:554: recipe for target '/var/lib/dkms/amdgpu-pro/16.60-379184/build/ttm' failed
make[3]: *** [/var/lib/dkms/amdgpu-pro/16.60-379184/build/ttm] Error 2
make[3]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdkcl/kcl_mn.o
In file included from /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdkcl/kcl_fence.c:2:0:
/var/lib/dkms/amdgpu-pro/16.60-379184/build/include/kcl/kcl_fence.h:5:25: fatal error: linux/fence.h: No such file or directory
 #include <linux/fence.h>
                         ^
compilation terminated.
/usr/src/linux-4.10.1-3.g8c10701/scripts/Makefile.build:295: recipe for target '/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdkcl/kcl_fence.o' failed
make[4]: *** [/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdkcl/kcl_fence.o] Error 1
make[4]: *** Waiting for unfinished jobs....
  LD      /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/built-in.o
  CC [M]  /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/amdgpu_device.o
  CC [M]  /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/amdgpu_drv.o
  CC [M]  /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/amdgpu_kms.o
In file included from /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
                 from /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/../backport/backport.h:5,
                 from <command-line>:0:
/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/amdgpu.h:37:25: fatal error: linux/fence.h: No such file or directory
 #include <linux/fence.h>
                         ^
compilation terminated.
In file included from /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
                 from /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/../backport/backport.h:5,
                 from <command-line>:0:
/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/amdgpu.h:37:25: fatal error: linux/fence.h: No such file or directory
 #include <linux/fence.h>
                         ^
compilation terminated.
/usr/src/linux-4.10.1-3.g8c10701/scripts/Makefile.build:295: recipe for target '/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/amdgpu_kms.o' failed
make[4]: *** [/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/amdgpu_kms.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
                 from /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/../backport/backport.h:5,
                 from <command-line>:0:
/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/amdgpu.h:37:25: fatal error: linux/fence.h: No such file or directory
 #include <linux/fence.h>
                         ^
compilation terminated.
/usr/src/linux-4.10.1-3.g8c10701/scripts/Makefile.build:295: recipe for target '/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/amdgpu_device.o' failed
make[4]: *** [/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/amdgpu_device.o] Error 1
/usr/src/linux-4.10.1-3.g8c10701/scripts/Makefile.build:295: recipe for target '/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/amdgpu_drv.o' failed
make[4]: *** [/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/amdgpu_drv.o] Error 1
/usr/src/linux-4.10.1-3.g8c10701/scripts/Makefile.build:554: recipe for target '/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu' failed
make[3]: *** [/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu] Error 2
/usr/src/linux-4.10.1-3.g8c10701/scripts/Makefile.build:554: recipe for target '/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdkcl' failed
make[3]: *** [/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdkcl] Error 2
/usr/src/linux-4.10.1-3.g8c10701/Makefile:1500: recipe for target '_module_/var/lib/dkms/amdgpu-pro/16.60-379184/build' failed
make[2]: *** [_module_/var/lib/dkms/amdgpu-pro/16.60-379184/build] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make: *** [__sub-make] Error 2
make: Leaving directory '/usr/src/linux-4.10.1-3.g8c10701-obj/x86_64/default'

How i can solve it?

Thanks!!!

Sorry, but I have no idea.

There is another thread about the (seemingly) same problem, though it is about the nvidia driver:
https://forums.opensuse.org/showthread.php/523020-OpenSUSE-tumbleweed-nvidia-driver-installation-error-fence-h
Seems to be caused by an incompatible change in kernel 4.10.
Sorry, didn’t know about that, 4.9 should have worked fine though…

There’s also Installation problems of amdgpu driver - Hardware - openSUSE Forums

Maybe you find help there?

Though I suppose you’ll have to wait for AMD to release a new version that supports kernel 4.10 then… :
(unless there’s a patch to be found somewhere)

Thanks.

Anyway, it’s there a safe place from i can download 4.9 kernel?

Thanks again.

Ok, i will try to compile 4.9 kernel from kernel.org

Anyone have a good tutorial to compile a kernel in openSUSE 42.2 ?

Thanks all

Hi again.

I have compiled a 4.9 kernel, and i have this errors when system boot

user@linux-khwe:~> dmesg | grep amdgpu
    2.618961] [drm] **amdgpu** kernel modesetting enabled.
    2.623285] **amdgpu** 0000:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff
    2.624079] **amdgpu** 0000:01:00.0: Direct firmware load for **amdgpu**/polaris11_mc.bin failed with error -2
    2.624080] mc: Failed to load firmware "**amdgpu**/polaris11_mc.bin"
    2.624181] [drm:gmc_v8_0_sw_init [[b]amdgpu]] *ERROR* Failed to load mc firmware!
    2.624262] [drm:[b]amdgpu_device_init **amdgpu**]] *ERROR* sw_init of IP block <gmc_v8_0> failed -2
    2.624329] **amdgpu** 0000:01:00.0: **amdgpu**_init failed
    2.624396] **amdgpu** 0000:01:00.0: Fatal error during GPU init
    2.624462] [drm] **amdgpu**: finishing device.
    2.625288] **amdgpu**: probe of 0000:01:00.0 failed with error -2

Also propietary driver shows a blank screen when booting, i think polaris firmware can work with my card (RX 460), how i can work it and solve it?