Thoughtlessly switched GPU on MAC - Can't do nothing

If you're new to FAH and need help getting started or you have very basic questions, start here.

Moderators: Site Moderators, FAHC Science Team

pawel_nopl
Posts: 1
Joined: Sun Mar 15, 2020 5:10 pm

Thoughtlessly switched GPU on MAC - Can't do nothing

Post by pawel_nopl »

Hello,

I'm very fresh here. Installed the program on my Mac. It looked very inactive, so I've started scrolling over Configuration Guide and since someone mentioned that corona needs GPU, bang – I did it.

Now I'm stuck and can not go back. This is a message I get after opening the program:
On client "local" XXXXXX Option "gpu-index" has no default and is not set. iter should be a GtkTreelter
The only option when I'm hitting the "Configure!" button on the top left is Connection (Client connection, name, address, password). All other options are gone.

I've tried to uninstall and install again. Even with cleaned hidden files, it looks like the program stores some more, because after the new installation I have the same problem...
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Thoughtlessly switched GPU on MAC - Can't do nothing

Post by bruce »

Run FAHControl and in Configure+slots remove the GPU slot.
Joe_H
Site Admin
Posts: 7883
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Thoughtlessly switched GPU on MAC - Can't do nothing

Post by Joe_H »

Quick directions for fixing this:

Go to the Applications folder and open the Folding@home folder. Use the Uninstaller located there to remove the client.

Next go to /Library/Application Support and move the FAHClient folder to the Trash. You can take the config.xml file out of the FAHClient folder to use for copying and pasting setup information like Team, Username, and passkey if you need that info. You may be prompted for an Admin account password.

Reinstall the F@h software, you will be prompted as a new install.

Because FAHControl can not connect to the background FAHClient process, Bruce's solution is not enough to correct the setup.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
IonLake
Posts: 6
Joined: Wed Apr 15, 2020 8:26 pm

Re: Thoughtlessly switched GPU on MAC - Can't do nothing

Post by IonLake »

Hi Joe H. I have the same problem. I followed your directions however there was no config.xml file...no biggie..did uninstall and re-install and the error persists. I am at a loss to understand where it is keeping the config data and not allowing me a fresh install. Running Mac 10.13.6 on a 2009 Mac Pro with 24 processor cores and 96 gb ram.
Please advise additional instructions to get the client working properly please.

to respond to bruce, when I open FAH control, it hangs to I can't go to configure + slots.
STR1D3R_2
Posts: 16
Joined: Thu Apr 02, 2020 3:03 pm

Re: Thoughtlessly switched GPU on MAC - Can't do nothing

Post by STR1D3R_2 »

_
Last edited by STR1D3R_2 on Tue Apr 21, 2020 1:50 am, edited 3 times in total.
Image
Joe_H
Site Admin
Posts: 7883
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Thoughtlessly switched GPU on MAC - Can't do nothing

Post by Joe_H »

@IonLake Unless something was installed in a non-standard location, running the Uninstall and deleting /Library/Application Support/FAHClient should remove the entire install of the client. I can't think of anything else offhand to look for, Iwill contact the person who help in the porting to OS X and writing the Uninstall if he has nany ideas.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
IonLake
Posts: 6
Joined: Wed Apr 15, 2020 8:26 pm

Re: Thoughtlessly switched GPU on MAC - Can't do nothing

Post by IonLake »

Hi Joe_H. It's really a bummer. Yes uninstalled the folder and ran the uninstall for the app. I've learned that under users it creates an .xml file and I've read it and there's nothing that shows the GPU error. I'm running a RX580 GPU and I USED to have a Ti-980 that had CUDA support. Here's the FAHclient report from running from terminal:

Code: Select all

Falcon:~ chris$ fahclient
12:51:18:************************* Folding@home Client *************************
12:51:18:    Website: https://foldingathome.org/
12:51:18:  Copyright: (c) 2009-2018 foldingathome.org
12:51:18:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
12:51:18:       Args: 
12:51:18:     Config: /Users/chris/config.xml
12:51:18:******************************** Build ********************************
12:51:18:    Version: 7.5.1
12:51:18:       Date: May 11 2018
12:51:18:       Time: 12:57:01
12:51:18: Repository: Git
12:51:18:   Revision: 4705bf53c635f88b8fe85af7675557e15d491ff0
12:51:18:     Branch: master
12:51:18:   Compiler: GNU 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)
12:51:18:    Options: -std=gnu++98 -O3 -funroll-loops -mmacosx-version-min=10.6
12:51:18:             -Wno-unused-local-typedefs
12:51:18:   Platform: darwin 15.6.0
12:51:18:       Bits: 64
12:51:18:       Mode: Release
12:51:18:******************************* System ********************************
12:51:18:        CPU: Intel(R) Xeon(R) CPU X5680 @ 3.33GHz
12:51:18:     CPU ID: GenuineIntel Family 6 Model 44 Stepping 2
12:51:18:       CPUs: 24
12:51:18:     Memory: 96.00GiB
12:51:18:Free Memory: 81.46GiB
12:51:18:    Threads: POSIX_THREADS
12:51:18: OS Version: 10.13
12:51:18:Has Battery: false
12:51:18: On Battery: false
12:51:18: UTC Offset: -5
12:51:18:        PID: 47954
12:51:18:        CWD: /Users/chris
12:51:18:         OS: Darwin 17.7.0 x86_64
12:51:18:    OS Arch: AMD64
12:51:18:       GPUs: 0
12:51:18:       CUDA: Not detected: Failed to open dynamic library 'libcuda.dylib':
12:51:18:             dlopen(libcuda.dylib, 1): image not found
12:51:18:     OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.dylib':
12:51:18:             dlopen(libOpenCL.dylib, 1): image not found
12:51:18:***********************************************************************
12:51:18:<config>
12:51:18:  <!-- Folding Slots -->
12:51:18:  <slot id='0' type='CPU'/>
12:51:18:  <slot id='1' type='CPU'/>
12:51:18:</config>
12:51:18:Trying to access database...
12:51:18:Successfully acquired database lock
12:51:18:Enabled folding slot 00: READY cpu:11
12:51:18:Enabled folding slot 01: READY cpu:11
12:51:18:ERROR:Exception: Could not bind socket to 0.0.0.0:7396: Address already in use
12:51:18:ERROR:Exception: Could not bind socket to 0.0.0.0:36330: Address already in use
12:51:18:WU00:FS00:Starting
12:51:18:WARNING:WU00:FS00:Changed SMP threads from 23 to 11 this can cause some work units to fail
12:51:18:WU00:FS00:Running FahCore: /usr/local/bin/FAHCoreWrapper /Users/chris/cores/cores.foldingathome.org/v7/osx/64bit/Core_a7.fah/FahCore_a7 -dir 00 -suffix 01 -version 705 -lifeline 47954 -checkpoint 15 -np 11
12:51:18:WU00:FS00:Started FahCore on PID 47955
12:51:18:WU00:FS00:Core PID:47956
12:51:18:WU00:FS00:FahCore 0xa7 started
12:51:18:WU01:FS01:Connecting to 65.254.110.245:8080
12:51:18:WU00:FS00:0xa7:*********************** Log Started 2020-04-16T12:51:18Z ***********************
12:51:18:WU00:FS00:0xa7:************************** Gromacs Folding@home Core ***************************
12:51:18:WU00:FS00:0xa7:       Type: 0xa7
12:51:18:WU00:FS00:0xa7:       Core: Gromacs
12:51:18:WU00:FS00:0xa7:       Args: -dir 00 -suffix 01 -version 705 -lifeline 47955 -checkpoint 15 -np
12:51:18:WU00:FS00:0xa7:             11
12:51:18:WU00:FS00:0xa7:************************************ CBang *************************************
12:51:18:WU00:FS00:0xa7:       Date: Oct 26 2019
12:51:18:WU00:FS00:0xa7:       Time: 03:00:47
12:51:18:WU00:FS00:0xa7:   Revision: 3b1c887e9f30a608262e0d62833b273e843f7c1b
12:51:18:WU00:FS00:0xa7:     Branch: master
12:51:18:WU00:FS00:0xa7:   Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
12:51:18:WU00:FS00:0xa7:    Options: -std=c++11 -O3 -funroll-loops -mmacosx-version-min=10.7
12:51:18:WU00:FS00:0xa7:             -Wno-unused-local-typedefs -stdlib=libc++ -fPIC
12:51:18:WU00:FS00:0xa7:   Platform: darwin 19.0.0
12:51:18:WU00:FS00:0xa7:       Bits: 64
12:51:18:WU00:FS00:0xa7:       Mode: Release
12:51:18:WU00:FS00:0xa7:************************************ System ************************************
12:51:18:WU00:FS00:0xa7:        CPU: Intel(R) Xeon(R) CPU X5680 @ 3.33GHz
12:51:18:WU00:FS00:0xa7:     CPU ID: GenuineIntel Family 6 Model 44 Stepping 2
12:51:18:WU00:FS00:0xa7:       CPUs: 24
12:51:18:WU00:FS00:0xa7:     Memory: 96.00GiB
12:51:18:WU00:FS00:0xa7:Free Memory: 81.45GiB
12:51:18:WU00:FS00:0xa7:    Threads: POSIX_THREADS
12:51:18:WU00:FS00:0xa7: OS Version: 10.13
12:51:18:WU00:FS00:0xa7:Has Battery: false
12:51:18:WU00:FS00:0xa7: On Battery: false
12:51:18:WU00:FS00:0xa7: UTC Offset: -5
12:51:18:WU00:FS00:0xa7:        PID: 47956
12:51:18:WU00:FS00:0xa7:        CWD: /Users/chris/work
12:51:18:WU00:FS00:0xa7:******************************** Build - libFAH ********************************
12:51:18:WU00:FS00:0xa7:    Version: 0.0.18
12:51:18:WU00:FS00:0xa7:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
12:51:18:WU00:FS00:0xa7:  Copyright: 2019 foldingathome.org
12:51:18:WU00:FS00:0xa7:   Homepage: https://foldingathome.org/
12:51:18:WU00:FS00:0xa7:       Date: Oct 26 2019
12:51:18:WU00:FS00:0xa7:       Time: 03:06:42
12:51:18:WU00:FS00:0xa7:   Revision: fcc08f30b8997509aaba3a213354c363f474e056
12:51:18:WU00:FS00:0xa7:     Branch: master
12:51:18:WU00:FS00:0xa7:   Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
12:51:18:WU00:FS00:0xa7:    Options: -std=c++11 -O3 -funroll-loops -mmacosx-version-min=10.7
12:51:18:WU00:FS00:0xa7:             -Wno-unused-local-typedefs -stdlib=libc++
12:51:18:WU00:FS00:0xa7:   Platform: darwin 19.0.0
12:51:18:WU00:FS00:0xa7:       Bits: 64
12:51:18:WU00:FS00:0xa7:       Mode: Release
12:51:18:WU00:FS00:0xa7:************************************ Build *************************************
12:51:18:WU00:FS00:0xa7:       SIMD: sse2
12:51:18:WU00:FS00:0xa7:********************************************************************************
12:51:18:WU00:FS00:0xa7:Project: 14365 (Run 459, Clone 2, Gen 36)
12:51:18:WU00:FS00:0xa7:Unit: 0x000000269bf7a4d55e84b5cd5ac355d1
12:51:18:WU00:FS00:0xa7:Digital signatures verified
12:51:18:WU00:FS00:0xa7:Reducing thread count from 11 to 10 to avoid domain decomposition by a prime number > 3
12:51:18:WU00:FS00:0xa7:Calling: mdrun -s frame36.tpr -o frame36.trr -cpi state.cpt -cpt 15 -nt 10
12:51:18:WU00:FS00:0xa7:Steps: first=0 total=250000
12:51:19:WARNING:WU01:FS01:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration
12:51:19:WU01:FS01:Connecting to 18.218.241.186:80
12:51:19:WU00:FS00:0xa7:Completed 2434 out of 250000 steps (0%)
12:51:19:WARNING:WU01:FS01:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration
12:51:19:ERROR:WU01:FS01:Exception: Could not get an assignment
12:51:20:WU01:FS01:Connecting to 65.254.110.245:8080
12:51:20:WARNING:WU01:FS01:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration
12:51:20:WU01:FS01:Connecting to 18.218.241.186:80
12:51:20:WARNING:WU01:FS01:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration
12:51:20:ERROR:WU01:FS01:Exception: Could not get an assignment
12:51:22:WU00:FS00:0xa7:Completed 2500 out of 250000 steps (1%)
Last edited by Joe_H on Thu Apr 16, 2020 3:18 pm, edited 1 time in total.
Reason: added Code tags to log
Neil-B
Posts: 2027
Joined: Sun Mar 22, 2020 5:52 pm
Hardware configuration: 1: 2x Xeon E5-2697v3@2.60GHz, 512GB DDR4 LRDIMM, SSD Raid, Win10 Ent 20H2, Quadro K420 1GB, FAH 7.6.21
2: Xeon E3-1505Mv5@2.80GHz, 32GB DDR4, NVME, Win10 Pro 20H2, Quadro M1000M 2GB, FAH 7.6.21 (actually have two of these)
3: i7-960@3.20GHz, 12GB DDR3, SSD, Win10 Pro 20H2, GTX 750Ti 2GB, GTX 1080Ti 11GB, FAH 7.6.21
Location: UK

Re: Thoughtlessly switched GPU on MAC - Can't do nothing

Post by Neil-B »

Hopefully helpful tip: If you edit your post (or when creating new replies click on the full editor next to submit), highlight the whole log entry the click on the code button at the top of that window it will put markers around it so that it appears in a scrollable window and is a bit easier to read/digest :)
2x Xeon E5-2697v3, 512GB DDR4 LRDIMM, SSD Raid, W10-Ent, Quadro K420
Xeon E3-1505Mv5, 32GB DDR4, NVME, W10-Pro, Quadro M1000M
i7-960, 12GB DDR3, SSD, W10-Pro, GTX1080Ti
i9-10850K, 64GB DDR4, NVME, W11-Pro, RTX3070

(Green/Bold = Active)
Joe_H
Site Admin
Posts: 7883
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Thoughtlessly switched GPU on MAC - Can't do nothing

Post by Joe_H »

First I will mention that running from the terminal uses different paths for the CWD: and location of the config.xml file, and as you can also see has stored the folding core under your account as well.

Heard back from person who assisted on OS X porting.

Can you check the ownership and permissions on /usr/local/bin? I see the following on my 10.13.6 system:

Code: Select all

$ ls -l /usr/local
total 0
drwxr-xr-x  4 root  wheel  136 Apr 15 14:43 bin
drwxr-xr-x  3 root  wheel  102 Apr  1  2018 remotedesktop
$ ls -l /usr/local/bin
total 21920
-rwxr-xr-x  1 root  wheel  9674368 Apr 15 03:16 FAHClient
-rwxr-xr-x  1 root  wheel  1548032 Apr 15 03:16 FAHCoreWrapper
The only other thing I can think of is that the installer creates a .plist file for FAHClient to be running in the background in /Library/LaunchDaemons named org.foldingathome.fahclient.plist. Check to see if that is there, it should be readable by 'wheel' and everyone and R/W by 'system'.

If you can check the Console log for messages around the time after you first installed the client and FAHControl could not connect that path ford not exist for /usr/local/bin/FAHClient.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
IonLake
Posts: 6
Joined: Wed Apr 15, 2020 8:26 pm

Re: Thoughtlessly switched GPU on MAC - Can't do nothing

Post by IonLake »

Code: Select all

Falcon:~ chris$ ls -l /usr/local
total 0
drwxr-xr-x   5 root  wheel  160 Apr 15 15:22 bin
drwxr-xr-x   3 root  wheel   96 Dec  9  2017 foundry
drwxr-xr-x   3 root  wheel   96 Dec  9  2017 include
drwxr-xr-x  24 root  wheel  768 Dec  9  2017 lib
drwxrwxrwx   6 root  wheel  192 Dec  9  2017 lmm
drwxr-xr-x   3 root  wheel   96 Dec  9  2017 remotedesktop
Falcon:~ chris$ ls -l /usr/local/bin
total 19064
-rwxr-xr-x  1 root  wheel  8405280 May 23  2018 FAHClient
-rwxr-xr-x  1 root  wheel  1350352 May 23  2018 FAHCoreWrapper
lrwxr-xr-x  1 root  wheel       50 May 18  2018 softraidtool -> /Library/Application Support/SoftRAID/SoftRAIDTool
I checked permissions on or.foldingathome.fahclientlist.plist and Everyone & wheel is R/O, system is R/W.

What else could I check/fix/delete to make the client responsive?
Joe_H
Site Admin
Posts: 7883
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Thoughtlessly switched GPU on MAC - Can't do nothing

Post by Joe_H »

Trying to think what else to check, things that could interfere with FAHControl connecting to FAHClient over a local net IP. That usually would be firewall settings, or some other anti-malware software setting. They connect over local IP 127.0.0.1 on port 36330. Web Control connects over the same IP, but port 7396.

Going over this step by step, the installer should request an admin account password to authorize installation. After installing, launchctl should start up a background process running FAHControl with all appropriate paths defined.

Web Control should launch in a browser window. Due to changes in security settings its default URL of https://client.foldingathome.org/ will not connect in Safari, it may work in other browsers. A workaround for Safari is to change the https to http and refresh.

This opening of Web Control is for the initial setup, but it should still start folding on what is auto-configured after a couple minutes.

At this point after an install was FAHClient running as shown in Activity Monitor or using top in Terminal?

Even without setup, FAHControl should be able to connect to FAHClient at this stage, setup can also be done there.

Hopes this gives some places to check and let us know where something does not work.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
IonLake
Posts: 6
Joined: Wed Apr 15, 2020 8:26 pm

Re: Thoughtlessly switched GPU on MAC - Can't do nothing

Post by IonLake »

I tried connecting via chrome instead of Safari. Error I get is, Folding@home disconnected. Reload page?
The client app says it's running. But it's hung. i can't click on anything, but the work queue is running and updating. There needs to be a way to pause the client so I can change settings. I can add a new client. I can also remove a client. But the information doesn't store. When I restart the app, it comes right back.

in Activity monitor, I have FAHCoreWrapper, FahCore_a7 (using 2,015% of CPU), FAHClient, and FAHControl.

I still can't fix what I broke.
IonLake
Posts: 6
Joined: Wed Apr 15, 2020 8:26 pm

Re: Thoughtlessly switched GPU on MAC - Can't do nothing

Post by IonLake »

Bump. Still broken.
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Thoughtlessly switched GPU on MAC - Can't do nothing

Post by PantherX »

I am not a Mac user but the issue with Web Control (used via the browser) was fixed in the next version which has been released: viewtopic.php?f=24&t=34466

Maybe you can finish the current WU and then try a fresh installation?
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
IonLake
Posts: 6
Joined: Wed Apr 15, 2020 8:26 pm

Re: Thoughtlessly switched GPU on MAC - Can't do nothing

Post by IonLake »

Thanks Pantherx. Here's how I fixed it.

Uninstall the client.
Delete any files since installation that have FAH in them. log files, text files, (do this at your own risk).
Go to Library and do the same thing.
Reboot.
Go get the new client and install.
BTW, when I installed it took me to the web...REMEMBERED MY LOGIN! Apparently, there's still other files that hold this data, that don't have FAH in them.
When I loaded the FAH control, the GPU was still there, BUT...
I was able to go to configure and DELETE the GPU instance, finally.
Post Reply