Message boards :
Proth Prime Search :
ATI card on Wubi
Author |
Message |
|
Running Wubi on my older Athlon 64 X2 6000+ because my copy of Vista is only 32 bit. I've very recently acquired a Radeon HD5670, and I've used it on the windows side to successfully complete a PPS Sieve task.
I'm pretty unfamiliar w/ Linux, but I looked up a wiki on how to install the catalyst drivers on Ubuntu (11.10 (the one that starts w/ an O)), and I believe I have them up and running. The pre-packaged catalyst drivers for ubuntu are version 11.8.
After installing the Catalyst drivers on windows (admittedly it was version 11.11), primegrid immediately recognized the card, and it was just a matter of turning on GPU computing in my preferences, and I was up and going. Primegrid is NOT, however, detecting the GPU on the Linux side. . .
What super simple step, that any N00B should know about, am I missing?
Thanks,
CW | |
|
|
Dont even spend your time on Linux. I try what you now trying, change many different Linux distros, make own kernels, but to Windows, always is slower, not for small percentage, but from 10% and higher.
And since all of use what to crunch faster, Linux is not answer...
____________
92*10^1439761-1 REPDIGIT PRIME :) :) :)
314187728^131072+1 GENERALIZED FERMAT
31*332^367560+1 CRUS PRIME
Proud member of team Aggie The Pew. Go Aggie! | |
|
|
Do you have any numbers to back that up? I don't know much about GPU computing yet, so maybe that is the case, but I'd have to see the numbers from an identical computer before I'd believe it. . . Unfortunately I'm an engineer at heart, and I need proof. :-)
In my own experience w/ CPU computing on Sieves (not Prime testing w/ LLR, but with Sieves to knock out candidates to be LLRed), the benefits of 64 bit applications far outstrip any disadvantage that may exist from being in Linux. So for the upcoming challenge, which in on PPS Sieve, I would like to be running a 64 bit OS, and since I don't have a 64 bit windows, that means running Wubi. That way while my GPU is screaming along completing WU in just under two hours, at least my CPU is finishing more work units in 5 hours rather than 9 hours (haven't actually run any yet, so I could be off by a factor of 10 or more on the CPU times . . .)
So if you have any numbers showing that 64 bit Linux is much slower than 32 bit Windows, for Sieving w/ a GPU (although I think the OS bandwidth doesn't matter w/ a GPU?), and with the same sieve running on both (so a PPS Sieve on both OS, or a GCW Sieve on both OS) I would LOVE to see them.
Thanks,
CW | |
|
|
Running Wubi on my older Athlon 64 X2 6000+ because my copy of Vista is only 32 bit. I've very recently acquired a Radeon HD5670, and I've used it on the windows side to successfully complete a PPS Sieve task.
I'm pretty unfamiliar w/ Linux, but I looked up a wiki on how to install the catalyst drivers on Ubuntu (11.10 (the one that starts w/ an O)), and I believe I have them up and running. The pre-packaged catalyst drivers for ubuntu are version 11.8.
After installing the Catalyst drivers on windows (admittedly it was version 11.11), primegrid immediately recognized the card, and it was just a matter of turning on GPU computing in my preferences, and I was up and going. Primegrid is NOT, however, detecting the GPU on the Linux side. . .
What super simple step, that any N00B should know about, am I missing?
Thanks,
CW
How about following instructions?
There is a whole thread on ppsieve ATI/OpenCL testing. But there are links under project preferences that say:
"Requires AMD Accelerated Parallel Processing (APP) drivers. If APP driver not available for your card, then the ATI Stream SDK is needed."
I would first suggest ensuring boinc sees the card under Linux and then crunch another project or two that support ATI/AMD cards. Once you have successful crunching that projects (ie valid WUs) then get PrimeGrid to work. It may work immediately with boinc but can be tricky to get right if it is does not. | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 13513 ID: 53948 Credit: 237,712,514 RAC: 0
                           
|
CW,
I know exactly where you're coming from. When my primary machine was Vista-32 I was running Ubuntu in a VM to run the 64 bit sieves.
However...
If you're running the sieve on your GPU, it doesn't matter whether the OS is 32 bit or 64 bit. (Or, at least with CUDA. Perhaps it's different with ATI.)
So, you can run the GPU in your native 32 bit Vista with no speed penalty.
As for your CPU, **THAT** you can run under a VM to get the 64 bit advantage. I never used Wubi myself, so I forget if it's a VM or a dual-boot. If it's a VM, then you're set -- run one BOINC install in WUBI for the CPU and another in Vista for the GPU and you're golden.
That, btw, is exactly what I used to do before switching to 64 bit windows. (Well, almost exactly. I used VMWare rather than Wubi.)
Of course, with the monsterous difference in speed between CUDA and CPU, I wouldn't even bother running the sieves on the CPU. On my hardware CUDA is 40 times faster than the CPU.
The software for ATI isn't nearly as good, unfortunately, so your CPU's contribution, relatively speaking, will be higher than mine.
Note: If memory serves, you need to have a CPU that supports virtualization -- and it needs to be turned on in the BIOS -- in order to run a 64 bit OS in a VM when the native OS is 32 bits. Many, but not all, modern CPUs support virtualization.
____________
My lucky number is 75898524288+1 | |
|
|
How about following instructions?
There is a whole thread on ppsieve ATI/OpenCL testing. But there are links under project preferences that say:
"Requires AMD Accelerated Parallel Processing (APP) drivers. If APP driver not available for your card, then the ATI Stream SDK is needed."
I would first suggest ensuring boinc sees the card under Linux and then crunch another project or two that support ATI/AMD cards. Once you have successful crunching that projects (ie valid WUs) then get PrimeGrid to work. It may work immediately with boinc but can be tricky to get right if it is does not.
How about reading the OP? ;-)
BOINC, and Primegrid are not DETECTING the GPU. It's not just that it won't download WU, or that it fails out on the WU. Primegrid won't SEE the GPU right now. ;-)
I did try reading through that thread, but it's very very long, and I was unable to find a place in there where it stopped talking about a manual testing effort, and started discussing BOINC implementation. On the windows side, all I needed was the Catalyst driver package, and I was up and running without needing to download either the APP or the Stream SDK, so I had assumed that one or the other came with the Catalyst Driver package.
As far as Wubi, it's a dual boot, which boots up a full Ubuntu installation. The only real difference between Wubi and a full Ubuntu install is how it's stored on the hard drive. For a native Ubuntu install, you format a partition in whatever the Linux file format is, and then install Ubuntu into that partition. With Wubi, the entire installation resides in one LARGE NTSC file, that is internally broken up so Ubuntu sees it as being a drive formatted in Linux format.
For General crunching, I would probably just live in Windows, and let the GPU crank away while the CPU does PPS Sieve or some other LLR project. . . but for the challenge that's happening in a couple weeks, every last work unit can help, so I wanted to squeeze out the 4-5 extra WU that the CPU will allow me to do.
If I have some time over the weekend I'll try to figure out whether I have APP or Stream SDK, and try and figure out how to find them in the mess that is Software Center. . . if only it were as easy as downloading a self installer . . . sigh.
Thanks for the replies,
CW | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 13513 ID: 53948 Credit: 237,712,514 RAC: 0
                           
|
Athlon 64 X2 6000+
I *think* that CPU supports virtualization (according to Wikipedia, for whatever that's worth), so you could use a VM and get the best of both worlds simultaneously. There's at least two good VMs out there (VMWare and VirtualBox???).
Setting up a VM is actually very simple (as simple as setting up Wubi), and you won't have to fight with the driver issue.
____________
My lucky number is 75898524288+1 | |
|
rroonnaalldd Volunteer developer Volunteer tester
 Send message
Joined: 3 Jul 09 Posts: 1213 ID: 42893 Credit: 34,634,263 RAC: 0
                 
|
Setting up a VM is actually very simple (as simple as setting up Wubi), and you won't have to fight with the driver issue. Simple? It depends on the used Host-OS...
For W7/W2k8-R2 with SP1 you need at least VMware Workstation 7.14 or Player 3.14 (WS8/Player4 seems to be only a beta-version with lousy performance and some weird bugs), for Vista (SP forgotten) should be WS6.54 or 6.55 the fastest and for linux in most cases it is depended of the used kernel-version. Kernel 3.0 or lower versions of 3.1 need either WS8.01/Player4.01 or a community patch to get all needed vmware-kernel-modules compiled. Hint: VMware uses the BKL (Big Kernel Lock) in all older VMware-products than WS8/Player4.
I prefer the Workstation and not the standalone-app Player. Each Workstation-inst includes also the Player-app. If the WS eval-licence is expired after 30/60 days, you use the Player-app and lose only some unnecessary features like Hot-Snapshots. The rest is full functionally. You can create new virtual machines or change existing and so on.
____________
Best wishes. Knowledge is power. by jjwhalen
| |
|
|
How about following instructions?
There is a whole thread on ppsieve ATI/OpenCL testing. But there are links under project preferences that say:
"Requires AMD Accelerated Parallel Processing (APP) drivers. If APP driver not available for your card, then the ATI Stream SDK is needed."
I would first suggest ensuring boinc sees the card under Linux and then crunch another project or two that support ATI/AMD cards. Once you have successful crunching that projects (ie valid WUs) then get PrimeGrid to work. It may work immediately with boinc but can be tricky to get right if it is does not.
How about reading the OP? ;-)
BOINC, and Primegrid are not DETECTING the GPU. It's not just that it won't download WU, or that it fails out on the WU. Primegrid won't SEE the GPU right now. ;-)
Please note that PrimeGrid is not just BOINC!
So obviously I did read it otherwise I would not have provided the suggestion of ensuring boinc sees the card!.
Since boinc is not seeing the GPU then you have not installed the drivers correctly - if you did then 'fglrxinfo' should return something - this is from my linux host:
$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 5800 Series
OpenGL version string: 4.1.10666 Compatibility Profile Context
Since you are using Ubuntu via wubi, look for BinaryDriverHowtoATI or similar (just google). You must get boinc to see your GPU under Linux otherwise everything else is moot.
| |
|
|
I must have misunderstood. . .
How do I see if BOINC is seeing the gfx card? I've only ever crunched for Primegrid and SoB, so what other projects use an ATI gpu that might recognize it while primegrid isn't
This is what that command is telling me:
display: :0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 5670
OpenGL version string: 4.1.11005 Compatibility Profile Context
And how do I figure out whether I have APP or ATI Stream SDK installed?
I tried searching for both App and SDK in the Ubuntu software center and came up empty. . . I'm kinda at a loss. . .I guess I could give this whole package/ *.deb thing a try, and install 11.11 instead. . .
Thanks again | |
|
|
I must have misunderstood. . .
How do I see if BOINC is seeing the gfx card? I've only ever crunched for Primegrid and SoB, so what other projects use an ATI gpu that might recognize it while primegrid isn't
This is what that command is telling me:
display: :0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 5670
OpenGL version string: 4.1.11005 Compatibility Profile Context
And how do I figure out whether I have APP or ATI Stream SDK installed?
I tried searching for both App and SDK in the Ubuntu software center and came up empty. . . I'm kinda at a loss. . .I guess I could give this whole package/ *.deb thing a try, and install 11.11 instead. . .
Thanks again
There are a few quirks in boinc that depend on how you installed boinc. I do not use the distro's version so I installed mine from the boinc site and run it from a terminal within my window manager.
You need to find the initial part of the boinc log (depends on how it is installed and run) where boinc reports the GPU (about the 12 line). It probably says:
No usable GPUs found
You can not use the GPU until the log says something like this (my host):
ATI GPU 0: ATI Radeon HD5800 series (Cypress) (CAL version 1.4.1353, 1024MB, 1792 GFLOPS peak)
So see if this helps you
Debian/Ubuntu/Mint/Derivatives - GPU recognition fixes
| |
|
Message boards :
Proth Prime Search :
ATI card on Wubi |