Page 1 of 1

Hacking Core_17 on x86 Linux with AMD GPUs

Posted: Sat May 10, 2014 4:15 pm
by kk_isitlongenough
The install page (https://folding.stanford.edu/home/guide ... all-guide/) say there no support for Linux AMD GPU folding.

Is there is a way I could try it anyway? Is there a build somewhere? Or is there a way to compile and debug it?

At this address, there is a core for Linux AMD GPU for AMD64 => http://www.stanford.edu/~pande/Linux/AM ... ore_17.fah

Is there a way to build it for x86 (It is not available in the x86 folder)?

Assuming it was an OpenCL binary that could be compatible with either arch. I tricked F@H to download this anyway.

Unsuprisingly it does return an error =>

15:53:56:WARNING:WU03:FS01:FahCore returned: FAILED_3 (255 = 0xff)

I'm willing to test and hack Core_17 on x86 AMD GPUs but I would need more info, and access to proper code and binary.

Anyone have an idea to make this work? I've been running OpenCL app for a year on that setup without any issue whatsover, so I mean OpenCL can't be THAT broken on linux AMD drivers. More likely F@H is using OpenCL in a bad way (edge-cases), or some particular function call it need are broken, while the rest of thoses works fine.

Moving to Windows is not an option.
Moving to AMD64 could be an option, but I would require solid evidence it would work because it would reprensent at lot of work to migrate.

My setup =>

Ubuntu 12.04
4x Radeon R9 280X 3GB
AMD 13.04 Driver.

Re: Hacking Core_17 on x86 Linux with AMD GPUs

Posted: Sat May 10, 2014 7:15 pm
by P5-133XL
It is possible to manually DL and install a core.

Do note: "Hacking" is not allowed in our EULA!. Be very careful in what you do and follow those rules. I would not want you to suffer the consequences. PG takes hacking very seriously.

Beyond that, please don't kill-off WU's with your testing, for the researchers don't appreciate that for it delays the science.

Re: Hacking Core_17 on x86 Linux with AMD GPUs

Posted: Sat May 10, 2014 8:32 pm
by PantherX
Welcome to the F@H Forum kk_isitlongenough,

In addition to what P5-133XL stated, please note that support for native inux 32-bit is planned. However, there isn't any ETA as to when that will happen. The FahCore_17 that you found listed was used by the testers to see how AMD GPUs would perform (this was done several months ago and AMD had many issues). If you are interested, you can join #fah on irc.freenode.net where you might be able to get your questions directly answered by the lead developer of FahCore_17, proteneer who is a member of Pande Group.

Re: Hacking Core_17 on x86 Linux with AMD GPUs

Posted: Sat May 10, 2014 10:34 pm
by kk_isitlongenough
Thx for your reply.

As for Hacking, I was refering the nice kind of it, don't worry. Want I want is to use beta core and try to make it work.

It is possible to manually DL and install a core. <= That I did, already, and in a much more efficient way than listed on that page. Those instuction didn't work for me.

And I'll definitivly look into the #fah channel on freenode!

"please note that support for native inux 32-bit is planned" <= Doesn't it mean that 64 bit is supported? Or both are under an undefined ETA?

Thank you.

Re: Hacking Core_17 on x86 Linux with AMD GPUs

Posted: Sat May 10, 2014 10:58 pm
by PantherX
kk_isitlongenough wrote:..."please note that support for native inux 32-bit is planned" <= Doesn't it mean that 64 bit is supported? Or both are under an undefined ETA?...
The breakdown is like this:
Linux 64-bit:
Nvidia -> Supported
AMD -> Was tested but unable to make it work. Will be retested in the future (No ETA)

Linux 32-bit:
Nvidia -> Planned (No ETA)
AMD -> Planned (No ETA)

Generally, Linux 64-bit is used by development to fix all bugs and once it is deemed stable enough, is then ported to Windows and Linux 32 (that's the plan which is subjected to change, for additional details, please read this viewtopic.php?f=96&t=25288)

Re: Hacking Core_17 on x86 Linux with AMD GPUs

Posted: Sat May 10, 2014 10:59 pm
by P5-133XL
Currently only 64 bit Linux with Nvidia GPU's is supported. They tried to make Linux x64 work for AMD but the OpenCL driver was buggy. So when AMD was tested all WU's failed. To my knowledge, while the AMD GPU drivers have progressed the OpenCL driver version has not changed. So no Linux AMD support.

In Linux, FAHCore_17 was only created for x64 so there is no x32 support for any GPU. Early on Proteneer said that x32 would eventually come but that day has not yet arrived.