AnsweredAssumed Answered

Problems with Experimental OpenCL driver for Ubuntu 16.04

Question asked by hpollak on Sep 14, 2016



I try tor bring the solution from Experimental OpenCL driver for Ubuntu 16.04 to work on my ubuntu, but I 'm to stupid to bring it to work.


On the 1st pcie slot there is my R9 380 on the 2nd is a HD 6850, the second card is working with X, In Bios it is configured to take the 6850 as primary and it workd.

dmesg says fglrx is loaded before radeon. but clinfo allways run into a segfault.

the amdgpu module is blacklisted.



last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot

new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot

can't access /run/u-d-c-nvidia-was-loaded file

/etc/modprobe.d is not a file

/etc/modprobe.d is not a file

/etc/modprobe.d is not a file

/etc/modprobe.d is not a file

/etc/modprobe.d is not a file

Looking for fglrx modules in /lib/modules/4.4.0-36-generic/updates/dkms

Found fglrx module: fglrx.ko

Looking for nvidia modules in /lib/modules/4.4.0-36-generic/updates/dkms

Is nvidia loaded? no

Was nvidia unloaded? no

Is nvidia blacklisted? no

Is fglrx loaded? yes

Was fglrx unloaded? no

Is fglrx blacklisted? no

Is intel loaded? no

Is radeon loaded? yes

Is radeon blacklisted? no

Is amdgpu loaded? yes

Is amdgpu blacklisted? yes

Is nouveau loaded? no

Is nouveau blacklisted? no

Is fglrx kernel module available? yes

Is nvidia kernel module available? no

Vendor/Device Id: 1002:6939

BusID "PCI:1@0:0:0"

Is boot vga? no

Vendor/Device Id: 1002:6739

BusID "PCI:2@0:0:0"

Is boot vga? yes

Skipping "/dev/dri/card1", driven by "radeon"

Found "/dev/dri/card0", driven by "amdgpu"

Number of connected outputs for /dev/dri/card0: 0

Found "/dev/dri/card1", driven by "radeon"

output 0:

        DisplayPort connector

output 1:

        HDMIA connector

Number of connected outputs for /dev/dri/card1: 2

Skipping "/dev/dri/card1", driven by "radeon"

Skipping "/dev/dri/card0", driven by "amdgpu"

Skipping "/dev/dri/card1", driven by "radeon"

Skipping "/dev/dri/card0", driven by "amdgpu"

Does it require offloading? no

last cards number = 2

Has amd? yes

Has intel? no

Has nvidia? no

How many cards? 2

Has the system changed? No

main_arch_path x86_64-linux-gnu, other_arch_path i386-linux-gnu

Current alternative: /usr/lib/x86_64-linux-gnu/mesa/

Current core alternative: /usr/lib/fglrx-core/

Current egl alternative: /usr/lib/x86_64-linux-gnu/mesa-egl/

Is nvidia enabled? no

Is nvidia egl enabled? no

Is fglrx enabled? no

Is mesa enabled? yes

Is mesa egl enabled? yes

Is pxpress enabled? no

Is prime enabled? no

Is prime egl enabled? no

Is nvidia available? no

Is nvidia egl available? no

Is fglrx available? no

Is fglrx-core available? yes

Is mesa available? yes

Is mesa egl available? yes

Is pxpress available? no

Is prime available? no

Is prime egl available? no

Proprietary driver installer detected

Nothing to do




AMDGPU module is blacklistet, I have allso tried to give nogpumanger as startparameter in grub but in all cases /dev/dri/card0 is driven by amdgpu.


[2.188608] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[2.188611] Disabling lock debugging due to kernel taint
[2.192635] [drm] amdgpu kernel modesetting enabled.
[2.197596] CRAT table not found
[2.197601] Finished initializing topology ret=0
[2.197658] kfd kfd: Initialized module
[2.197914] checking generic (d0000000 5b0000) vs hw (b0000000 10000000)
[2.197974] amdgpu 0000:01:00.0: enabling device (0000 -> 0003)
[2.198314] [drm] initializing kernel modesetting (TONGA 0x1002:0x6939 0x174B:0xE308 0xF1).
[2.198331] [drm] register mmio base: 0xFDA80000
[2.198332] [drm] register mmio size: 262144
[2.198336] [drm] doorbell mmio base: 0xCFE00000
[2.198337] [drm] doorbell mmio size: 2097152
[2.198345] [drm] probing gen 2 caps for device 1002:5978 = 300d02/0
[2.198347] [drm] probing mlw for device 1002:5978 = 300d02
[2.200664] fglrx: module verification failed: signature and/or required key missing - taintin



how can I avoid, thate amdpu starts on my R9 and flgrx run on, so I can use the OpenCl 2.0 features?


best regards