cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

parkjhp
Journeyman III

Does not yet support the A10 on linux?

I bought A10 notebook(HP g6 2002ax, A10-4600M(+7660G) + HD7670M, ubuntu11.10x64) for OpenCL Programming

Ubuntu is running normally

But, there is some problem on OpenCL

I can find 7670M & A10-4600(CPU) for OpenCL

but, I cant find 7660G for OpenCL(ckeck it use clinfo)

I intalled catalyst 12.04 first and AMD APP SDK 2.7 next.

Did I do something wrong? or

AMD APP SDK does not yet support the A10 on linux?

Tags (2)
0 Likes
22 Replies
settle
Challenger

Re: Does not yet support the A10 on linux?

Since a similar thing happens with my A8 notebook (HP dv6z-6b000 with an A8-3530MX and an Radeon HD 6750M), The problem is more fundamental in the driver, part of which requires that a screen be initialized on a AMD graphics device if it is to be used in an OpenCL application.

If you use the command line aticonfig you can switch between the igpu and dgpu (rebooting may be required), but clinfo only recognizes the active gpu since that's the one on which the screen is initialized.  If you can hook up crossfire with the two graphics devices then the screen is initialized seemlessly across both devices and you should see both in clinfo.

If you get this to work how I think you want it to work (both fully functional independent of the other), please let me know how.

0 Likes
kcarney
Staff
Staff

Re: Does not yet support the A10 on linux?

Here's what I heard back --

"My guess is that this is an HP BIOS problem.

It sound like the laptop has both the integrated GPU and a discrete mobile GPU (?) and the drivers only see the dGPU.

There are BIOS switches to enable / disable the GPUs.  I do not know if both GPUs can be enabled simultaneously – have not tried it.

He should be able to run on the 7670M just fine."

Is this helpful?

Kristen

0 Likes
jape
Adept I

Re: Does not yet support the A10 on linux?

I have the same problem on my toshiba Satellite-S875D (A10 + HD 7610M).  Both devices are recognized, but only one GPU (and the cpu) is reported with clinfo: 

jape@jape-Satellite-S875D:~/Downloads$ aticonfig --list-adapters

* 0. 00:01.0 AMD Radeon HD 7660G  

1. 01:00.0 AMD Radeon HD 7500/7600 Series   

jape@jape-Satellite-S875D:~/Downloads$ clinfo

Number of platforms:                            1  

Platform Profile:                              FULL_PROFILE  

Platform Version:                              OpenCL 1.2 AMD-APP (923.1)  

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    

Platform Name:                                 AMD Accelerated Parallel Processing

Number of devices:                               2  

Device Type:                                   CL_DEVICE_TYPE_GPU  

Device ID:                                     4098  

Board name:                                    AMD Radeon HD 7500/7600 Series  

Device Topology:                               PCI[ B#1, D#0, F#0 ]  

Max compute units:                             5

... 

Any thoughts? 

jp

0 Likes
nou
Exemplar

Re: Does not yet support the A10 on linux?

do you export DISPLAY=:0 ? default value cause that only first GPU is visible.

0 Likes
jape
Adept I

Re: Does not yet support the A10 on linux?

Thanks for the suggestion, but it didn't make a difference for me. The 7660G is still being ignored.  I tried windows, and there both GPU devices show up with clinfo.

0 Likes
jape
Adept I

Re: Does not yet support the A10 on linux?

OK.  I was able to get the 7660G (A10 processor) to show up under clinfo by using aticonfig to swap the active gpu to be the embedded one :

sudo aticonfig  --px-igpu

and then restart X.

clinfo:

Number of platforms:                         1
  Platform Profile:                          FULL_PROFILE
  Platform Version:                          OpenCL 1.2 AMD-APP (923.1)
  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

  Platform Name:                             AMD Accelerated Parallel Processing
Number of devices:                           2
  Device Type:                               CL_DEVICE_TYPE_GPU
  Device ID:                                 4098
  Board name:                                AMD Radeon HD 7660G
  Device Topology:                           PCI[ B#0, D#1, F#0 ]

...

Now I just need to figure out how to get both GPUs enabled, like under windows.

regards

jp

0 Likes
pbcpbt
Adept I

Re: Does not yet support the A10 on linux?

My clinfo also shows only 7600m and CPU, but aticonfig shows both 7660g (default) and 7600m.

In fact when I start any sample from AMD APP SDK 2.8 it only let me use 7660g and/or CPU but not 7600m!!!

0 Likes
pbcpbt
Adept I

Re: Does not yet support the A10 on linux?

It works for me too.

In fact 7660g works faster than 7670m but it does not work with OpenGL applications for some reason

0 Likes
heman
Adept II

Re: Does not yet support the A10 on linux?

hi pbcpbt,

can you tell, how you made the two gpus work together. Was it a problem related to setting some environment variable.

I will try to check this, if i can arrange a similar configuration at my end.

Thanks

workitem7

0 Likes