Bug 1038 - OpenCL not able to detect more than 1 GPU devices
: OpenCL not able to detect more than 1 GPU devices
Status: NEW
Product: AMD Catalyst™Proprietary Display Driver
Classification: Unclassified
Component: Kernel Module
: 14.1
: All Linux
: low major
Assigned To: nobody
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-10 23:12 CDT by Olivier Langlois
Modified: 2014-03-10 23:12 CDT (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Langlois 2014-03-10 23:12:46 CDT
I have a computer with 2 Radeon 7970.

Prior to update to catalyst 14.2,

clGetDeviceIDs(platform, CL_DEVICE_TYPE_GPU, 0, NULL, &numDevices) 

was returning 2 devices

 [2014-03-11 00:07:40] CL Platform 0 vendor: Advanced Micro Devices, Inc.                    
 [2014-03-11 00:07:40] CL Platform 0 name: AMD Accelerated Parallel Processing                    
 [2014-03-11 00:07:40] CL Platform 0 version: OpenCL 1.2 AMD-APP (1411.4)                    
 [2014-03-11 00:07:40] Platform 0 devices: 1                    
 [2014-03-11 00:07:40] 	0	Tahiti                    
 [2014-03-11 00:07:40] ADL found more devices than opencl!    

lano1106@whippet2 ~ :( $ clinfo
Number of platforms:				 1
  Platform Profile:				 FULL_PROFILE
  Platform Version:				 OpenCL 1.2 AMD-APP (1411.4)
  Platform Name:				 AMD Accelerated Parallel Processing
  Platform Vendor:				 Advanced Micro Devices, Inc.
  Platform Extensions:				 cl_khr_icd cl_amd_event_callback cl_amd_offline_devices cl_amd_hsa 


  Platform Name:				 AMD Accelerated Parallel Processing
Number of devices:				 2
  Device Type:					 CL_DEVICE_TYPE_GPU
  Device ID:					 4098
  Board name:					 AMD Radeon HD 7900 Series

lano1106@whippet2 ~ $ lspci -nn | grep VGA
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970] [1002:6798]
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970] [1002:6798]

lano1106@whippet2 ~ $ X -version

X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.13.6-1-ck x86_64 
Current Operating System: Linux whippet2 3.13.6-1-ck #1 SMP PREEMPT Fri Mar 7 22:55:11 EST 2014 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-linux-ck root=UUID=00cd534f-472d-43f7-a847-5f469c2e4e2d ro nomodeset pci-stub.ids=1002:aaa0,8086:1d20 intel_iommu=on elevator=bfq
Build Date: 10 March 2014  01:26:45AM
 
Current version of pixman: 0.32.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.



lano1106@whippet2 ~ :( $ dmesg | grep fglrx
[   49.357365] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[   49.363313] <6>[fglrx] Maximum main memory to use for locked dma buffers: 31481 MBytes.
[   49.363762] <6>[fglrx]   vendor: 1002 device: 6798 count: 1
[   49.363764] <6>[fglrx]   vendor: 1002 device: 6798 count: 2
[   49.364546] <6>[fglrx] ioport: bar 4, base 0xe000, size: 0x100
[   49.364613] <6>[fglrx] ioport: bar 4, base 0xd000, size: 0x100
[   49.364978] <6>[fglrx] Kernel PAT support is enabled
[   49.364995] <6>[fglrx] module loaded - fglrx 13.35.5 [Feb 23 2014] with 2 minors
[   77.360713] fglrx_pci 0000:01:00.0: irq 89 for MSI/MSI-X
[   77.361206] <6>[fglrx] Firegl kernel thread PID: 638
[   77.361242] <6>[fglrx] Firegl kernel thread PID: 639
[   77.361276] <6>[fglrx] Firegl kernel thread PID: 640
[   77.361338] <6>[fglrx] IRQ 89 Enabled
[   77.368305] <6>[fglrx] Reserved FB block: Shared offset:0, size:1000000 
[   77.368307] <6>[fglrx] Reserved FB block: Unshared offset:f878000, size:4000 
[   77.368308] <6>[fglrx] Reserved FB block: Unshared offset:f87c000, size:484000 
[   77.368309] <6>[fglrx] Reserved FB block: Unshared offset:fff8000, size:8000 
[   77.368310] <6>[fglrx] Reserved FB block: Unshared offset:bfff4000, size:c000 
[   77.689365] fglrx_pci 0000:02:00.0: irq 90 for MSI/MSI-X
[   77.689714] <6>[fglrx] Firegl kernel thread PID: 642
[   77.689748] <6>[fglrx] Firegl kernel thread PID: 643
[   77.689776] <6>[fglrx] Firegl kernel thread PID: 644
[   77.689826] <6>[fglrx] IRQ 90 Enabled
[   77.697063] <6>[fglrx] Reserved FB block: Shared offset:0, size:1000000 
[   77.697065] <6>[fglrx] Reserved FB block: Unshared offset:f878000, size:4000 
[   77.697065] <6>[fglrx] Reserved FB block: Unshared offset:f87c000, size:484000 
[   77.697066] <6>[fglrx] Reserved FB block: Unshared offset:bfff4000, size:c000 
[   77.936644] <3>[fglrx:cf_object_handle_cmd] *ERROR* Can not generate cf candidates
[   97.337859] <3>[fglrx:cf_object_handle_cmd] *ERROR* Can not generate cf candidates

P.S.: Also note the last 2 error msgs. Not that I miss crossfire that much on Linux but I am pretty sure that they mean that you have broken CrossFire again.