NVIDIA GPU3 Linux/Wine Headless Install Guide

Moderators: slegrand, Site Moderators, PandeGroup

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby Shelnutt2 » Mon May 14, 2012 11:36 am

smoking2000 wrote:That would be awesome! Can you provide a description how what you do to update the wrapper?


Sure, and I'll also be pushing all of the source to github this time.

To update I simple go through the API (http://developer.nvidia.com/nvidia-gpu- ... umentation) and first I make a list of new functions that aren't in my original wrapper. Then I first write a spec file this remaps the calls from the cuda function to a wine function. Then write the wine functions in my own cudart.c file. These wine functions just take the input from the cuda function and return it to the linux cuda functions. then it's done.

When a call is made for cuda normal in windows or native linux it goes like:
cuda program -> cudart.dll/cudart.so -> gpu

For wine it goes like:
cuda program -> cudart.dll (my wine version) -> cudart.so -> gpu


When I get the files on github I'll be able to explain it a little better with detailed steps and examples :).
OCforums, T32

Linux Lober!
Shelnutt2
 
Posts: 150
Joined: Sun Dec 02, 2007 5:37 pm

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby smoking2000 » Mon May 14, 2012 11:57 am

Thanks for the information thus far. I've been trying to get the wrapper code updated on-and-off for some time now, but without success.
User avatar
smoking2000
 
Posts: 571
Joined: Mon Dec 03, 2007 6:20 am
Location: Amsterdam

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby Shelnutt2 » Mon May 14, 2012 6:29 pm

smoking2000 wrote:Thanks for the information thus far. I've been trying to get the wrapper code updated on-and-off for some time now, but without success.


Yeah it's a bit tricky to get started, and it took me some time to get it right the first time. Had lots of help from some of the guys over at ocf :).

It really revolves around just four files, cudart.c, cudart.dll.spec, cufft.c, cufft.dll.spec

The spec files catch the call and redirect it to the wine function.

cudart.dll.spec:
Code: Select all
@  stdcall cudaMalloc( ptr long ) wine_cudaMalloc


When it gets a cudaMalloc call with two variables a pointer and a long it send it to the wine_cudaMalloc function.

cudart.c
Code: Select all
cudaError_t WINAPI wine_cudaMalloc(void **devPtr, size_t size) {
        WINE_TRACE("\n");
return cudaMalloc(devPtr, size);
    }



Here the wine_cudaMalloc is looking for the two parameters and then when it gets it, they return the native function. It's a simple but confusing task. To update to 4.x all I/we have to do is add in the new missing functions and change any old functions. To find these functions we just look at the docs and the header files.


Everything is on github now, if you want I can add you to the repository, or anyone else for that matter.
Shelnutt2
 
Posts: 150
Joined: Sun Dec 02, 2007 5:37 pm

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby smoking2000 » Mon May 14, 2012 9:13 pm

Shelnutt2 wrote:Everything is on github now, if you want I can add you to the repository, or anyone else for that matter.

I don't have a github account, so for now I've cloned your repo to my server: http://git.linuxminded.nl/?p=cuda-wine- ... ;a=summary

I've started a cuda4 branch there to tinker with CUDA 4.2 support without disturbing your 3.0 branch.

Maybe we should start a topic in the Developer's Den to coordinate the update and discuss development of the wrapper, leaving this topic for the user support?
User avatar
smoking2000
 
Posts: 571
Joined: Mon Dec 03, 2007 6:20 am
Location: Amsterdam

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby smoking2000 » Tue May 15, 2012 2:31 pm

smoking2000 wrote:I've started a cuda4 branch there to tinker with CUDA 4.2 support without disturbing your 3.0 branch.

Maybe we should start a topic in the Developer's Den to coordinate the update and discuss development of the wrapper, leaving this topic for the user support?

I've started a new topic in the Developer's Den to discuss my cuda4 branch: NVIDIA CUDA WINE wrapper for CUDA 4.2.

Please have a look at the changes I've posted there.
User avatar
smoking2000
 
Posts: 571
Joined: Mon Dec 03, 2007 6:20 am
Location: Amsterdam

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby ABBAS » Tue Aug 21, 2012 6:01 am

Code: Select all
    sudo sh NVIDIA-Linux-x86_64-256.35.run


ERROR: You appear to be running an X server; please exit X before
installing. For further details, please see the section INSTALLING
THE NVIDIA DRIVER in the README available on the Linux driver
download page at http://www.nvidia.com.

tried to setup the latest driver

with
Code: Select all
sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current




and I continued till

Code: Select all
:~$     sudo ./cudainit
FATAL: Module nvidia_current not found.


Mod -- Your duplicate post was deleted. I also deleted the duplicate error message within this post.
ABBAS
 
Posts: 27
Joined: Sat Apr 28, 2012 6:10 pm
Location: Cairo, Egypt

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby Hyperlife » Sun Aug 26, 2012 7:22 pm

I've always downloaded the driver directly from NVIDIA and not used the repositories to install it.

You will need to stop the X server before installing the NVIDIA driver. Which distro are you using?
Image
User avatar
Hyperlife
 
Posts: 438
Joined: Sun Dec 02, 2007 7:38 am

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby ABBAS » Tue Aug 28, 2012 3:37 pm

12.04

I tried alot to kill x server it didn't success

I can't install it with your way too ..

------------

I did all the steps with terminal not with a console session because I couldn't run a console session.

--------------

tried to install 10.04

note: randomly the internet connections go down while my phone and my laptop are connected to the internet normally , and when I ping the modem ip .. I got the reply from the ip of the PC .. looks like a problem in the OS , 10.04 is so old .. :/

success but when I run gpu3

the computer freeze

when i try to run this script

Code: Select all
    cd ~/fahgpu3
    wget http://www.linuxfah.info/wrapper-3.0/auto-mator-fermi.sh
    chmod +x auto-mator-fermi.sh
    ./auto-mator-fermi.sh


all is good excpet the last command



Code: Select all
mesmer@mesmer-desktop:~/fahgpu3$ cd ~/fahgpu3
mesmer@mesmer-desktop:~/fahgpu3$ wget http://www.linuxfah.info/wrapper-3.0/auto-mator-fermi.sh
--2012-08-28 22:45:01--  http://www.linuxfah.info/wrapper-3.0/auto-mator-fermi.sh
Resolving www.linuxfah.info... 184.168.40.1
Connecting to www.linuxfah.info|184.168.40.1|:80... connected.
HTTP request sent, awaiting response...
302 Moved Temporarily
Location: /mediawiki/ [following]
--2012-08-28 22:45:01--  http://www.linuxfah.info/mediawiki/
Reusing existing connection to www.linuxfah.info:80.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://linuxfah.info/mediawiki/index.php?title=Main_Page [following]
--2012-08-28 22:45:01--  http://linuxfah.info/mediawiki/index.php?title=Main_Page
Resolving linuxfah.info... 184.168.40.1
Reusing existing connection to www.linuxfah.info:80.
HTTP request sent, awaiting response... 200 OK
Length: 33167 (32K) [text/html]
Saving to: `auto-mator-fermi.sh.4'

100%[======================================>] 33,167      63.4K/s   in 0.5s   

2012-08-28 22:45:03 (63.4 KB/s) - `auto-mator-fermi.sh.4' saved [33167/33167]

mesmer@mesmer-desktop:~/fahgpu3$ chmod +x auto-mator-fermi.sh
mesmer@mesmer-desktop:~/fahgpu3$ ./auto-mator-fermi.sh
./auto-mator-fermi.sh: line 1: syntax error near unexpected token `newline'
./auto-mator-fermi.sh: line 1: `<!DOCTYPE html>'
mesmer@mesmer-desktop:~/fahgpu3$ ^C
mesmer@mesmer-desktop:~/fahgpu3$ ^C
mesmer@mesmer-desktop:~/fahgpu3$



also how can I monitor the gpu client? also should I start it each time i start the computer

and the same for smp?


also

Code: Select all
sudo apt-get install automake
wget http://www.linuxhardware.org/nvclock/nvclock0.8b4.tar.gz
tar xzvf nvclock0.8b4.tar.gz
cd nvclock0.8b4
./autogen.sh
./configure --disable-nvcontrol
make
sudo make install


it says that my GPU not supported

Code: Select all
mesmer@mesmer-desktop:~/fahgpu3$ cd ~/fahgpu3
mesmer@mesmer-desktop:~/fahgpu3$ wget http://www.linuxfah.info/wrapper-3.0/auto-mator-fermi.sh
--2012-08-28 22:45:01--  http://www.linuxfah.info/wrapper-3.0/auto-mator-fermi.sh
Resolving www.linuxfah.info... 184.168.40.1
Connecting to www.linuxfah.info|184.168.40.1|:80... connected.
HTTP request sent, awaiting response...
302 Moved Temporarily
Location: /mediawiki/ [following]
--2012-08-28 22:45:01--  http://www.linuxfah.info/mediawiki/
Reusing existing connection to www.linuxfah.info:80.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://linuxfah.info/mediawiki/index.php?title=Main_Page [following]
--2012-08-28 22:45:01--  http://linuxfah.info/mediawiki/index.php?title=Main_Page
Resolving linuxfah.info... 184.168.40.1
Reusing existing connection to www.linuxfah.info:80.
HTTP request sent, awaiting response... 200 OK
Length: 33167 (32K) [text/html]
Saving to: `auto-mator-fermi.sh.4'

100%[======================================>] 33,167      63.4K/s   in 0.5s   

2012-08-28 22:45:03 (63.4 KB/s) - `auto-mator-fermi.sh.4' saved [33167/33167]

mesmer@mesmer-desktop:~/fahgpu3$ chmod +x auto-mator-fermi.sh
mesmer@mesmer-desktop:~/fahgpu3$ ./auto-mator-fermi.sh
./auto-mator-fermi.sh: line 1: syntax error near unexpected token `newline'
./auto-mator-fermi.sh: line 1: `<!DOCTYPE html>'
mesmer@mesmer-desktop:~/fahgpu3$ ^C
mesmer@mesmer-desktop:~/fahgpu3$ ^C
mesmer@mesmer-desktop:~/fahgpu3$
mesmer@mesmer-desktop:~/fahgpu3$ sudo apt-get install automake
[sudo] password for mesmer:
Sorry, try again.
[sudo] password for mesmer:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
automake is already the newest version.
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.32-38 linux-headers-2.6.32-38-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mesmer@mesmer-desktop:~/fahgpu3$
mesmer@mesmer-desktop:~/fahgpu3$ sudo apt-get install automake
Reading package lists... Done
Building dependency tree       
Reading state information... Done
automake is already the newest version.
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.32-38 linux-headers-2.6.32-38-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mesmer@mesmer-desktop:~/fahgpu3$ wget http://www.linuxhardware.org/nvclock/nvclock0.8b4.tar.gz
--2012-08-28 22:49:08--  http://www.linuxhardware.org/nvclock/nvclock0.8b4.tar.gz
Resolving www.linuxhardware.org... 96.125.162.29
Connecting to www.linuxhardware.org|96.125.162.29|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 336999 (329K) [application/x-gzip]
Saving to: `nvclock0.8b4.tar.gz'

100%[======================================>] 336,999     98.9K/s   in 3.3s   

2012-08-28 22:49:12 (98.9 KB/s) - `nvclock0.8b4.tar.gz' saved [336999/336999]

mesmer@mesmer-desktop:~/fahgpu3$ tar xzvf nvclock0.8b4.tar.gz
nvclock0.8b4/
nvclock0.8b4/CVS/
nvclock0.8b4/CVS/Root
nvclock0.8b4/CVS/Repository
nvclock0.8b4/CVS/Entries
nvclock0.8b4/src/
nvclock0.8b4/src/CVS/
nvclock0.8b4/src/CVS/Root
nvclock0.8b4/src/CVS/Repository
nvclock0.8b4/src/CVS/Entries
nvclock0.8b4/src/backend/
nvclock0.8b4/src/backend/CVS/
nvclock0.8b4/src/backend/CVS/Root
nvclock0.8b4/src/backend/CVS/Repository
nvclock0.8b4/src/backend/CVS/Entries
nvclock0.8b4/src/backend/utils.c
nvclock0.8b4/src/backend/Makefile.in
nvclock0.8b4/src/backend/adt7473.c
nvclock0.8b4/src/backend/back_bsd.c
nvclock0.8b4/src/backend/back_linux.c
nvclock0.8b4/src/backend/back_win32.c
nvclock0.8b4/src/backend/backend.c
nvclock0.8b4/src/backend/backend.h
nvclock0.8b4/src/backend/bios.c
nvclock0.8b4/src/backend/config.c
nvclock0.8b4/src/backend/error.c
nvclock0.8b4/src/backend/f75375.c
nvclock0.8b4/src/backend/f75375.h
nvclock0.8b4/src/backend/i2c.c
nvclock0.8b4/src/backend/i2c.h
nvclock0.8b4/src/backend/info.c
nvclock0.8b4/src/backend/libc_wrapper.c
nvclock0.8b4/src/backend/lm99.c
nvclock0.8b4/src/backend/nv30.c
nvclock0.8b4/src/backend/nv40.c
nvclock0.8b4/src/backend/nvclock.h
nvclock0.8b4/src/backend/nvcontrol.c
nvclock0.8b4/src/backend/overclock.c
nvclock0.8b4/src/backend/w83781d.c
nvclock0.8b4/src/backend/w83l785r.c
nvclock0.8b4/src/backend/xf86i2c.c
nvclock0.8b4/src/backend/xf86i2c.h
nvclock0.8b4/src/backend/xfree.h
nvclock0.8b4/src/backend/nvreg.h
nvclock0.8b4/src/backend/nv50.c
nvclock0.8b4/src/.cvsignore
nvclock0.8b4/src/Makefile.in
nvclock0.8b4/src/nvclock.c
nvclock0.8b4/src/gtk/
nvclock0.8b4/src/gtk/CVS/
nvclock0.8b4/src/gtk/CVS/Root
nvclock0.8b4/src/gtk/CVS/Repository
nvclock0.8b4/src/gtk/CVS/Entries
nvclock0.8b4/src/gtk/.cvsignore
nvclock0.8b4/src/gtk/Makefile.in
nvclock0.8b4/src/gtk/banner.c
nvclock0.8b4/src/gtk/banner.h
nvclock0.8b4/src/gtk/banner_gl.h
nvclock0.8b4/src/gtk/banner_hw.h
nvclock0.8b4/src/gtk/gl.c
nvclock0.8b4/src/gtk/gl.h
nvclock0.8b4/src/gtk/hw.c
nvclock0.8b4/src/gtk/hw.h
nvclock0.8b4/src/gtk/interface.h
nvclock0.8b4/src/gtk/main.c
nvclock0.8b4/src/gtk/settings.c
nvclock0.8b4/src/gtk/settings.h
nvclock0.8b4/src/nvcontrol/
nvclock0.8b4/src/nvcontrol/CVS/
nvclock0.8b4/src/nvcontrol/CVS/Root
nvclock0.8b4/src/nvcontrol/CVS/Repository
nvclock0.8b4/src/nvcontrol/CVS/Entries
nvclock0.8b4/src/nvcontrol/Makefile.in
nvclock0.8b4/src/nvcontrol/libnvcontrol.c
nvclock0.8b4/src/nvcontrol/libnvcontrol.h
nvclock0.8b4/src/nvcontrol/nvcontrol.c
nvclock0.8b4/src/nvcontrol/nvcontrol.h
nvclock0.8b4/src/qt/
nvclock0.8b4/src/qt/CVS/
nvclock0.8b4/src/qt/CVS/Root
nvclock0.8b4/src/qt/CVS/Repository
nvclock0.8b4/src/qt/CVS/Entries
nvclock0.8b4/src/qt/.cvsignore
nvclock0.8b4/src/qt/Makefile.in
nvclock0.8b4/src/qt/links.xpm
nvclock0.8b4/src/qt/main.cpp
nvclock0.8b4/src/qt/nv.xpm
nvclock0.8b4/src/qt/people.xpm
nvclock0.8b4/src/qt/qt_nvclock.cpp
nvclock0.8b4/src/qt/qt_nvclock.h
nvclock0.8b4/src/qt/qt_nvclock.pro
nvclock0.8b4/src/qt/qt_xfree.cpp
nvclock0.8b4/src/qt/qt_xfree.h
nvclock0.8b4/src/qt/x.xpm
nvclock0.8b4/src/smartdimmer.c
nvclock0.8b4/.cvsignore
nvclock0.8b4/ABOUT
nvclock0.8b4/AUTHORS
nvclock0.8b4/COPYING
nvclock0.8b4/ChangeLog
nvclock0.8b4/FAQ
nvclock0.8b4/INSTALL
nvclock0.8b4/Makefile.in
nvclock0.8b4/NEWS
nvclock0.8b4/README
nvclock0.8b4/acinclude.m4
nvclock0.8b4/autogen.sh
nvclock0.8b4/configure.in
nvclock0.8b4/install-sh
nvclock0.8b4/nvclock.1
nvclock0.8b4/config.h.in
nvclock0.8b4/aclocal.m4
nvclock0.8b4/config.log
nvclock0.8b4/configure
nvclock0.8b4/config.status
nvclock0.8b4/config.h
nvclock0.8b4/stamp-h
nvclock0.8b4/nvclock.desktop
nvclock0.8b4/nvclock.png
mesmer@mesmer-desktop:~/fahgpu3$ cd nvclock0.8b4
mesmer@mesmer-desktop:~/fahgpu3/nvclock0.8b4$ ./autogen.sh
mesmer@mesmer-desktop:~/fahgpu3/nvclock0.8b4$ ./configure --disable-nvcontrol
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for library containing getopt_long... none required
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.4.0... configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating src/backend/Makefile
config.status: creating src/nvcontrol/Makefile
config.status: creating src/qt/Makefile
config.status: creating src/gtk/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing default-1 commands

NVClock build summary:
----------------------
- Commandline version enabled
- NV-CONROL support disabled
- GTK2 GUI disabled
- QT GUI disabled

mesmer@mesmer-desktop:~/fahgpu3/nvclock0.8b4$ make
make -C src all
make[1]: Entering directory `/home/mesmer/fahgpu3/nvclock0.8b4/src'
make[2]: Entering directory `/home/mesmer/fahgpu3/nvclock0.8b4/src/backend'
gcc -O0 -I../.. -I../nvcontrol   -c -o backend.o backend.c
gcc -O0 -I../.. -I../nvcontrol   -c -o bios.o bios.c
gcc -O0 -I../.. -I../nvcontrol   -c -o config.o config.c
gcc -O0 -I../.. -I../nvcontrol   -c -o error.o error.c
gcc -O0 -I../.. -I../nvcontrol   -c -o nv30.o nv30.c
gcc -O0 -I../.. -I../nvcontrol   -c -o nv40.o nv40.c
gcc -O0 -I../.. -I../nvcontrol   -c -o nv50.o nv50.c
gcc -O0 -I../.. -I../nvcontrol   -c -o info.o info.c
gcc -O0 -I../.. -I../nvcontrol   -c -o overclock.o overclock.c
gcc -O0 -I../.. -I../nvcontrol   -c -o utils.o utils.c
gcc -O0 -I../.. -I../nvcontrol   -c -o i2c.o i2c.c
gcc -O0 -I../.. -I../nvcontrol   -c -o xf86i2c.o xf86i2c.c
gcc -O0 -I../.. -I../nvcontrol   -c -o adt7473.o adt7473.c
gcc -O0 -I../.. -I../nvcontrol   -c -o f75375.o f75375.c
gcc -O0 -I../.. -I../nvcontrol   -c -o lm99.o lm99.c
gcc -O0 -I../.. -I../nvcontrol   -c -o w83781d.o w83781d.c
gcc -O0 -I../.. -I../nvcontrol   -c -o w83l785r.o w83l785r.c
gcc -O0 -I../.. -I../nvcontrol   -c -o libc_wrapper.o libc_wrapper.c
gcc -O0 -I../.. -I../nvcontrol   -c -o back_linux.o back_linux.c
back_linux.c: In function ‘check_driver’:
back_linux.c:65: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘char (*)[80]’
ar cru libbackend.a backend.o bios.o config.o error.o nv30.o nv40.o nv50.o info.o overclock.o utils.o i2c.o xf86i2c.o adt7473.o f75375.o lm99.o w83781d.o w83l785r.o libc_wrapper.o back_linux.o
ranlib libbackend.a
make[2]: Leaving directory `/home/mesmer/fahgpu3/nvclock0.8b4/src/backend'
make[2]: Entering directory `/home/mesmer/fahgpu3/nvclock0.8b4/src/nvcontrol'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mesmer/fahgpu3/nvclock0.8b4/src/nvcontrol'
make[2]: Entering directory `/home/mesmer/fahgpu3/nvclock0.8b4/src/gtk'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mesmer/fahgpu3/nvclock0.8b4/src/gtk'
make[2]: Entering directory `/home/mesmer/fahgpu3/nvclock0.8b4/src/qt'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mesmer/fahgpu3/nvclock0.8b4/src/qt'
gcc -o nvclock nvclock.c -I./backend -I./nvcontrol -I.. -L./backend -lbackend
gcc -o smartdimmer smartdimmer.c -I./backend -I./nvcontrol -I.. -L./backend -lbackend
make[1]: Leaving directory `/home/mesmer/fahgpu3/nvclock0.8b4/src'
mesmer@mesmer-desktop:~/fahgpu3/nvclock0.8b4$ sudo make install
installing ABOUT as /usr/local/share/doc/nvclock/ABOUT
installing AUTHORS as /usr/local/share/doc/nvclock/AUTHORS
installing ChangeLog as /usr/local/share/doc/nvclock/ChangeLog
installing FAQ as /usr/local/share/doc/nvclock/FAQ
installing README as /usr/local/share/doc/nvclock/README
mkdir -p /usr/local/man/man1
cp nvclock.1 /usr/local/man/man1
mkdir -p /usr/local/share/applications
mkdir -p /usr/local/share/icons/hicolor/48x48/apps
cp nvclock.desktop /usr/local/share/applications
cp nvclock.png /usr/local/share/icons/hicolor/48x48/apps
make -C src install
make[1]: Entering directory `/home/mesmer/fahgpu3/nvclock0.8b4/src'
make[2]: Entering directory `/home/mesmer/fahgpu3/nvclock0.8b4/src/backend'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/home/mesmer/fahgpu3/nvclock0.8b4/src/backend'
make[2]: Entering directory `/home/mesmer/fahgpu3/nvclock0.8b4/src/nvcontrol'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/home/mesmer/fahgpu3/nvclock0.8b4/src/nvcontrol'
make[2]: Entering directory `/home/mesmer/fahgpu3/nvclock0.8b4/src/gtk'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/home/mesmer/fahgpu3/nvclock0.8b4/src/gtk'
make[2]: Entering directory `/home/mesmer/fahgpu3/nvclock0.8b4/src/qt'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/home/mesmer/fahgpu3/nvclock0.8b4/src/qt'
mkdir -p /usr/local/bin
/usr/bin/install -c -c nvclock /usr/local/bin/nvclock
/usr/bin/install -c -c smartdimmer /usr/local/bin/smartdimmer
make[1]: Leaving directory `/home/mesmer/fahgpu3/nvclock0.8b4/src'
mesmer@mesmer-desktop:~/fahgpu3/nvclock0.8b4$
mesmer@mesmer-desktop:~/fahgpu3/nvclock0.8b4$     sudo nvclock -f -F auto
Error: Your card doesn't support fanspeed adjustments!
mesmer@mesmer-desktop:~/fahgpu3/nvclock0.8b4$     sudo nvclock -i
It seems your card isn't officialy supported in NVClock yet.
The reason can be that your card is too new.
If you want to try it anyhow [DANGEROUS], use the option -f to force the setting(s).
NVClock will then assume your card is a 'normal', it might be dangerous on other cards.
Also please email the author the pci_id of the card for further investigation.
[Get that value using the -i option].
mesmer@mesmer-desktop:~/fahgpu3/nvclock0.8b4$


also

Code: Select all
screen -S GPU3


doesn't make any changes, just clear the current terminal log and it is looks like

Code: Select all
mesmer@mesmer-desktop:~/fahgpu3/nvclock0.8b4$
ABBAS
 
Posts: 27
Joined: Sat Apr 28, 2012 6:10 pm
Location: Cairo, Egypt

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby Shelnutt2 » Sun Sep 23, 2012 9:13 pm

The problem with downloading automater is a long time ago I moved to godaddy hosting and never realized they blocked access to .sh files. So I've changed the links and added .txt. So try the following to download auto-mator. Also nvclock doesn't support anything passed 7xxx series.

http://www.linuxfah.info/wrapper-3.0/au ... rmi.sh.txt
Shelnutt2
 
Posts: 150
Joined: Sun Dec 02, 2007 5:37 pm

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby ThunderRd » Thu Sep 27, 2012 7:17 am

Hi, I'm making a first attempt to run the GPU client in WINE, on a 64-bit Gentoo machine with a GT440 Nvidia card, which is a budget Fermi card.

I followed the guide in the OP here. I installed the v3 toolkit, downloaded the wrapper files, and made the symlinks. Everything went fine until starting the client:

Code: Select all
thunderrd@Q6600:~/FAH-GPU$ nice wine Folding@home-Win32-gpu.exe -verbosity 9 -forcegpu nvidia_g80

Note: Please read the license agreement (Folding@home-Win32-gpu.exe -license). Further
use of this software requires that you have read and accepted this agreement.

[03:27:55] Gpu type=2 species=11.


--- Opening Log file [September 28 03:27:55 UTC]


# Windows GPU Console Edition #################################################
###############################################################################

                       Folding@Home Client Version 6.41r2

                          http://folding.stanford.edu

###############################################################################
###############################################################################

Launch directory: Z:\home\thunderrd\FAH-GPU
Executable: Z:\home\thunderrd\FAH-GPU\Folding@home-Win32-gpu.exe
Arguments: -verbosity 9 -forcegpu nvidia_g80

[03:27:55] - Ask before connecting: No
[03:27:55] - User name: ThunderRd (Team 45)
[03:27:55] - User ID: 69564AF90E834044
[03:27:55] - Machine ID: 2
[03:27:55]
[03:27:55] Gpu type=2 species=11.
[03:27:55] Work directory not found. Creating...
[03:27:55] Could not open work queue, generating new queue...
[03:27:55] - Preparing to get new work unit...
[03:27:55] - Autosending finished units... [September 28 03:27:55 UTC]
[03:27:55] Cleaning up work directory
[03:27:55] Trying to send all finished work units
[03:27:55] + No unsent completed units remaining.
[03:27:55] - Autosend completed
[03:27:55] + Attempting to get work packet
[03:27:55] Passkey found
[03:27:55] - Will indicate memory of 3958 MB
[03:27:55] Gpu type=2 species=11.
[03:27:55] - Detect CPU. Vendor: GenuineIntel, Family: 6, Model: 15, Stepping: 11
[03:27:55] - Connecting to assignment server
[03:27:55] Connecting to http://assign-GPU.stanford.edu:8080/
[03:27:56] Posted data.
[03:27:56] Initial: 43AB; - Successful: assigned to (171.67.108.11).
[03:27:56] + News From Folding@Home: Welcome to Folding@Home
[03:27:56] Loaded queue successfully.
[03:27:56] Gpu type=2 species=11.
[03:27:56] Sent data
[03:27:56] Connecting to http://171.67.108.11:8080/
[03:27:57] Posted data.
[03:27:57] Initial: 0000; - Receiving payload (expected size: 45935)
[03:27:58] - Downloaded at ~44 kB/s
[03:27:58] - Averaged speed for that direction ~44 kB/s
[03:27:58] + Received work.
[03:27:58] + Closed connections
[03:27:58]
[03:27:58] + Processing work unit
[03:27:58] Core required: FahCore_11.exe
[03:27:58] Core not found.
[03:27:58] - Core is not present or corrupted.
[03:27:58] - Attempting to download new core...
[03:27:58] + Downloading new core: FahCore_11.exe
[03:27:58] Downloading core (/~pande/Win32/x86/NVIDIA/G80/Core_11.fah from www.stanford.edu)
[03:27:59] Initial: AFDE; + 10240 bytes downloaded
[03:27:59] Initial: E027; + 20480 bytes downloaded
[03:27:59] Initial: 8EE5; + 30720 bytes downloaded
[03:28:00] Initial: 9838; + 40960 bytes downloaded
[03:28:00] Initial: D615; + 51200 bytes downloaded
[03:28:00] Initial: CAA5; + 61440 bytes downloaded
[03:28:00] Initial: 3354; + 71680 bytes downloaded
[03:28:00] Initial: 6FF7; + 81920 bytes downloaded
[03:28:00] Initial: 5BA3; + 92160 bytes downloaded
[03:28:00] Initial: 23F0; + 102400 bytes downloaded
[03:28:00] Initial: C043; + 112640 bytes downloaded
[03:28:00] Initial: 2DB2; + 122880 bytes downloaded
[03:28:00] Initial: E434; + 133120 bytes downloaded
[03:28:00] Initial: 321F; + 143360 bytes downloaded
[03:28:00] Initial: 93B0; + 153600 bytes downloaded
[03:28:01] Initial: 245F; + 163840 bytes downloaded
[03:28:01] Initial: 6150; + 174080 bytes downloaded
[03:28:01] Initial: A664; + 184320 bytes downloaded
[03:28:02] Initial: 6EF8; + 194560 bytes downloaded
[03:28:02] Initial: 65A4; + 204800 bytes downloaded
[03:28:02] Initial: F31D; + 215040 bytes downloaded
[03:28:02] Initial: AD3D; + 225280 bytes downloaded
[03:28:02] Initial: FEF9; + 235520 bytes downloaded
[03:28:02] Initial: 9A18; + 245760 bytes downloaded
[03:28:02] Initial: F515; + 256000 bytes downloaded
[03:28:03] Initial: 7CD9; + 266240 bytes downloaded
[03:28:03] Initial: 0905; + 276480 bytes downloaded
[03:28:03] Initial: D379; + 286720 bytes downloaded
[03:28:04] Initial: 4E51; + 296960 bytes downloaded
[03:28:04] Initial: B099; + 307200 bytes downloaded
[03:28:04] Initial: 4645; + 317440 bytes downloaded
[03:28:04] Initial: D03A; + 327680 bytes downloaded
[03:28:05] Initial: 1144; + 337920 bytes downloaded
[03:28:05] Initial: 9388; + 348160 bytes downloaded
[03:28:05] Initial: 34A4; + 358400 bytes downloaded
[03:28:05] Initial: BD67; + 368640 bytes downloaded
[03:28:05] Initial: 0594; + 378880 bytes downloaded
[03:28:05] Initial: AFD1; + 389120 bytes downloaded
[03:28:05] Initial: 1A2A; + 399360 bytes downloaded
[03:28:06] Initial: 59F1; + 409600 bytes downloaded
[03:28:06] Initial: 2512; + 419840 bytes downloaded
[03:28:06] Initial: 74B1; + 430080 bytes downloaded
[03:28:07] Initial: 94F2; + 440320 bytes downloaded
[03:28:07] Initial: D8E0; + 450560 bytes downloaded
[03:28:08] Initial: 01A4; + 460800 bytes downloaded
[03:28:08] Initial: BCAF; + 471040 bytes downloaded
[03:28:08] Initial: B064; + 481280 bytes downloaded
[03:28:09] Initial: 3236; + 491520 bytes downloaded
[03:28:09] Initial: 3291; + 501760 bytes downloaded
[03:28:09] Initial: 6A7F; + 512000 bytes downloaded
[03:28:10] Initial: 61F7; + 522240 bytes downloaded
[03:28:10] Initial: F17C; + 532480 bytes downloaded
[03:28:10] Initial: 4E88; + 542720 bytes downloaded
[03:28:10] Initial: 7111; + 552960 bytes downloaded
[03:28:10] Initial: 1568; + 563200 bytes downloaded
[03:28:10] Initial: 9B04; + 573440 bytes downloaded
[03:28:11] Initial: 783B; + 583680 bytes downloaded
[03:28:11] Initial: 2FC8; + 593920 bytes downloaded
[03:28:11] Initial: E6E7; + 604160 bytes downloaded
[03:28:12] Initial: E7AB; + 614400 bytes downloaded
[03:28:12] Initial: D677; + 624640 bytes downloaded
[03:28:12] Initial: 5C98; + 634880 bytes downloaded
[03:28:13] Initial: 7BEE; + 645120 bytes downloaded
[03:28:13] Initial: D127; + 655360 bytes downloaded
[03:28:14] Initial: CADE; + 665067 bytes downloaded
[03:28:14] Verifying core Core_11.fah...
[03:28:14] Signature is VALID
[03:28:14]
[03:28:14] Trying to unzip core FahCore_11.exe
[03:28:14] Decompressed FahCore_11.exe (1908736 bytes) successfully
[03:28:19] + Core successfully engaged
[03:28:24]
[03:28:24] + Processing work unit
[03:28:24] Core required: FahCore_11.exe
[03:28:24] Core found.
[03:28:24] Working on queue slot 01 [September 28 03:28:24 UTC]
[03:28:24] + Working ...
[03:28:24] - Calling '.\FahCore_11.exe -dir work/ -suffix 01 -nice 19 -checkpoint 15 -verbose -lifeline 8 -version 641'

[03:28:24]
[03:28:24] *------------------------------*
[03:28:24] Folding@Home GPU Core
[03:28:24] Version 1.31 (Tue Sep 15 10:57:42 PDT 2009)
[03:28:24]
[03:28:24] Compiler  : Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86
[03:28:24] Build host: amoeba
[03:28:24] Board Type: Nvidia
[03:28:24] Core      :
[03:28:24] Preparing to commence simulation
[03:28:24] - Looking at optimizations...
[03:28:24] DeleteFrameFiles: successfully deleted file=work/wudata_01.ckp
[03:28:24] - Created dyn
[03:28:24] - Files status OK
[03:28:24] - Expanded 45423 -> 251112 (decompressed 552.8 percent)
[03:28:24] Called DecompressByteArray: compressed_data_size=45423 data_size=251112, decompressed_data_size=251112 diff=0
[03:28:24] - Digital signature verified
[03:28:24]
[03:28:24] Project: 5769 (Run 9, Clone 247, Gen 2951)
[03:28:24]
[03:28:24] Assembly optimizations on if available.
[03:28:24] Entering M.D.
[03:28:30] Tpr hash work/wudata_01.tpr:  3313734608 2409987814 4274655210 188962676 3431777749
[03:28:30]
[03:28:30] Calling fah_main args: 14 usage=100
[03:28:30]
[03:28:35] CoreStatus = 63 (99)
[03:28:35] + Error starting Folding@Home core.
[03:28:40]
[03:28:40] + Processing work unit
[03:28:40] Core required: FahCore_11.exe
[03:28:40] Core found.
[03:28:40] Working on queue slot 01 [September 28 03:28:40 UTC]
[03:28:40] + Working ...
[03:28:40] - Calling '.\FahCore_11.exe -dir work/ -suffix 01 -nice 19 -checkpoint 15 -verbose -lifeline 8 -version 641'

[03:28:40]
[03:28:40] *------------------------------*
[03:28:40] Folding@Home GPU Core
[03:28:40] Version 1.31 (Tue Sep 15 10:57:42 PDT 2009)
[03:28:40]
[03:28:40] Compiler  : Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86
[03:28:40] Build host: amoeba
[03:28:40] Board Type: Nvidia
[03:28:40] Core      :
[03:28:40] Preparing to commence simulation
[03:28:40] - Ensuring status. Please wait.
[03:28:49] - Looking at optimizations...
[03:28:49] - Working with standard loops on this execution.
[03:28:49] - Previous termination of core was improper.
[03:28:49] - Files status OK
[03:28:49] - Expanded 45423 -> 251112 (decompressed 552.8 percent)
[03:28:49] Called DecompressByteArray: compressed_data_size=45423 data_size=251112, decompressed_data_size=251112 diff=0
[03:28:49] - Digital signature verified
[03:28:49]
[03:28:49] Project: 5769 (Run 9, Clone 247, Gen 2951)
[03:28:49]
[03:28:49] Entering M.D.
[03:28:55] Tpr hash work/wudata_01.tpr:  3313734608 2409987814 4274655210 188962676 3431777749
[03:28:55]
[03:28:55] Calling fah_main args: 14 usage=100
[03:28:55]
[03:28:58] CoreStatus = 63 (99)
[03:28:58] + Error starting Folding@Home core.
[03:29:03]
[03:29:03] + Processing work unit
[03:29:03] Core required: FahCore_11.exe
[03:29:03] Core found.
[03:29:03] Working on queue slot 01 [September 28 03:29:03 UTC]
[03:29:03] + Working ...
[03:29:03] - Calling '.\FahCore_11.exe -dir work/ -suffix 01 -nice 19 -checkpoint 15 -verbose -lifeline 8 -version 641'

[03:29:03]
[03:29:03] *------------------------------*
[03:29:03] Folding@Home GPU Core
[03:29:03] Version 1.31 (Tue Sep 15 10:57:42 PDT 2009)
[03:29:03]
[03:29:03] Compiler  : Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86
[03:29:03] Build host: amoeba
[03:29:03] Board Type: Nvidia
[03:29:03] Core      :
[03:29:03] Preparing to commence simulation
[03:29:03] - Ensuring status. Please wait.
[03:29:13] - Looking at optimizations...
[03:29:13] - Working with standard loops on this execution.
[03:29:13] - Previous termination of core was improper.
[03:29:13] - Going to use standard loops.
[03:29:13] - Files status OK
[03:29:13] - Expanded 45423 -> 251112 (decompressed 552.8 percent)
[03:29:13] Called DecompressByteArray: compressed_data_size=45423 data_size=251112, decompressed_data_size=251112 diff=0
[03:29:13] - Digital signature verified
[03:29:13]
[03:29:13] Project: 5769 (Run 9, Clone 247, Gen 2951)
[03:29:13]
[03:29:13] Entering M.D.
[03:29:19] Tpr hash work/wudata_01.tpr:  3313734608 2409987814 4274655210 188962676 3431777749
[03:29:19]
[03:29:19] Calling fah_main args: 14 usage=100
[03:29:19]
[03:29:21] CoreStatus = 63 (99)
[03:29:21] + Error starting Folding@Home core.
[03:29:21] - Attempting to download new core...
[03:29:21] + Downloading new core: FahCore_11.exe
[03:29:21] Downloading core (/~pande/Win32/x86/NVIDIA/G80/Core_11.fah from www.stanford.edu)
[03:29:22] Initial: AFDE; + 10240 bytes downloaded
[03:29:22] Initial: E027; + 20480 bytes downloaded
[03:29:22] Initial: 8EE5; + 30720 bytes downloaded
[03:29:23] Initial: 9838; + 40960 bytes downloaded
[03:29:23] Initial: D615; + 51200 bytes downloaded
[03:29:23] Initial: CAA5; + 61440 bytes downloaded
[03:29:23] Initial: 3354; + 71680 bytes downloaded
[03:29:23] Initial: 6FF7; + 81920 bytes downloaded
[03:29:24] Initial: 5BA3; + 92160 bytes downloaded
[03:29:24] Initial: 23F0; + 102400 bytes downloaded
[03:29:24] Initial: C043; + 112640 bytes downloaded
[03:29:24] Initial: 2DB2; + 122880 bytes downloaded
[03:29:24] Initial: E434; + 133120 bytes downloaded
[03:29:24] Initial: 321F; + 143360 bytes downloaded
[03:29:24] Initial: 93B0; + 153600 bytes downloaded
[03:29:25] Initial: 245F; + 163840 bytes downloaded
[03:29:25] Initial: 6150; + 174080 bytes downloaded
[03:29:25] Initial: A664; + 184320 bytes downloaded
[03:29:25] Initial: 6EF8; + 194560 bytes downloaded
[03:29:25] Initial: 65A4; + 204800 bytes downloaded
[03:29:25] Initial: F31D; + 215040 bytes downloaded
[03:29:25] Initial: AD3D; + 225280 bytes downloaded
[03:29:25] Initial: FEF9; + 235520 bytes downloaded
[03:29:26] Initial: 9A18; + 245760 bytes downloaded
[03:29:26] Initial: F515; + 256000 bytes downloaded
[03:29:26] Initial: 7CD9; + 266240 bytes downloaded
[03:29:26] Initial: 0905; + 276480 bytes downloaded
[03:29:26] Initial: D379; + 286720 bytes downloaded
[03:29:26] Initial: 4E51; + 296960 bytes downloaded
[03:29:26] Initial: B099; + 307200 bytes downloaded
[03:29:26] Initial: 4645; + 317440 bytes downloaded
[03:29:26] Initial: D03A; + 327680 bytes downloaded
[03:29:26] Initial: 1144; + 337920 bytes downloaded
[03:29:27] Initial: 9388; + 348160 bytes downloaded
[03:29:27] Initial: 34A4; + 358400 bytes downloaded
[03:29:27] Initial: BD67; + 368640 bytes downloaded
[03:29:27] Initial: 0594; + 378880 bytes downloaded
[03:29:27] Initial: AFD1; + 389120 bytes downloaded
[03:29:27] Initial: 1A2A; + 399360 bytes downloaded
[03:29:27] Initial: 59F1; + 409600 bytes downloaded
[03:29:27] Initial: 2512; + 419840 bytes downloaded
[03:29:27] Initial: 74B1; + 430080 bytes downloaded
[03:29:27] Initial: 94F2; + 440320 bytes downloaded
[03:29:28] Initial: D8E0; + 450560 bytes downloaded
[03:29:28] Initial: 01A4; + 460800 bytes downloaded
[03:29:28] Initial: BCAF; + 471040 bytes downloaded
[03:29:29] Initial: B064; ^C***** Got a SIGTERM signal (2)
[03:29:29] Killing all core threads

Folding@Home Client Shutdown.
thunderrd@Q6600:~/FAH-GPU$


This happens repeatedly. I have researched 63 [99] but all ideas I have tried do not seem to work. I have checked the symlinks several times, and the linking seems to be correct. The result is identical using forcegpu_fermi. Clearly, I am missing something, but I don't know what :)

Code: Select all
Q6600 thunderrd # ls /dev/nv*
/dev/nvidia0  /dev/nvidiactl
Q6600 thunderrd #
Last edited by ThunderRd on Fri Sep 28, 2012 4:29 am, edited 1 time in total.
ThunderRd
 
Posts: 146
Joined: Sun Dec 02, 2007 5:30 am
Location: Nong Khai, Thailand

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby ThunderRd » Fri Sep 28, 2012 4:23 am

OK, I seem to have made some progress:

Code: Select all
thunderrd@Q6600:~$ su
Password:
Q6600 thunderrd # ./cudainit
mknod: ‘/dev/nvidia0’: File exists
mknod: ‘/dev/nvidiactl’: File exists
Q6600 thunderrd # exit
exit
thunderrd@Q6600:~$ cd FAH-GPU
thunderrd@Q6600:~/FAH-GPU$ nice wine Folding@home-Win32-gpu.exe -verbosity 9 -forcegpu nvidia_fermi

Note: Please read the license agreement (Folding@home-Win32-gpu.exe -license). Further
use of this software requires that you have read and accepted this agreement.

[04:13:54] Gpu type=3 species=20.


--- Opening Log file [September 28 04:13:54 UTC]


# Windows GPU Console Edition #################################################
###############################################################################

                       Folding@Home Client Version 6.41r2

                          http://folding.stanford.edu

###############################################################################
###############################################################################

Launch directory: Z:\home\thunderrd\FAH-GPU
Executable: Z:\home\thunderrd\FAH-GPU\Folding@home-Win32-gpu.exe
Arguments: -verbosity 9 -forcegpu nvidia_fermi

[04:13:54] - Ask before connecting: No
[04:13:54] - User name: ThunderRd (Team 45)
[04:13:54] - User ID: 69564AF90E834044
[04:13:54] - Machine ID: 2
[04:13:54]
[04:13:54] Gpu type=3 species=20.
[04:13:54] Work directory not found. Creating...
[04:13:54] Could not open work queue, generating new queue...
[04:13:54] - Preparing to get new work unit...
[04:13:54] - Autosending finished units... [September 28 04:13:54 UTC]
[04:13:54] Cleaning up work directory
[04:13:54] Trying to send all finished work units
[04:13:54] + No unsent completed units remaining.
[04:13:54] - Autosend completed
[04:13:54] + Attempting to get work packet
[04:13:54] Passkey found
[04:13:54] - Will indicate memory of 3958 MB
[04:13:54] Gpu type=3 species=20.
[04:13:54] - Detect CPU. Vendor: GenuineIntel, Family: 6, Model: 15, Stepping: 11
[04:13:54] - Connecting to assignment server
[04:13:54] Connecting to http://assign-GPU.stanford.edu:8080/
[04:13:55] Posted data.
[04:13:55] Initial: 43AB; - Successful: assigned to (171.67.108.142).
[04:13:55] + News From Folding@Home: Welcome to Folding@Home
[04:13:55] Loaded queue successfully.
[04:13:55] Gpu type=3 species=20.
[04:13:55] Sent data
[04:13:55] Connecting to http://171.67.108.142:8080/
[04:13:56] Posted data.
[04:13:56] Initial: 0000; - Receiving payload (expected size: 146024)
[04:13:59] - Downloaded at ~47 kB/s
[04:13:59] - Averaged speed for that direction ~47 kB/s
[04:13:59] + Received work.
[04:13:59] + Closed connections
[04:13:59]
[04:13:59] + Processing work unit
[04:13:59] Core required: FahCore_15.exe
[04:13:59] Core not found.
[04:13:59] - Core is not present or corrupted.
[04:13:59] - Attempting to download new core...
[04:13:59] + Downloading new core: FahCore_15.exe
[04:13:59] Downloading core (/~pande/Win32/x86/NVIDIA/Fermi/Core_15.fah from www.stanford.edu)
[04:14:00] Initial: AFDE; + 10240 bytes downloaded
[04:14:00] Initial: B149; + 20480 bytes downloaded
[04:14:00] Initial: F258; + 30720 bytes downloaded
[04:14:01] Initial: 3445; + 40960 bytes downloaded
[04:14:01] Initial: D51F; + 51200 bytes downloaded
[04:14:01] Initial: 8320; + 61440 bytes downloaded
[04:14:01] Initial: 6857; + 71680 bytes downloaded
[04:14:01] Initial: 8B0D; + 81920 bytes downloaded
[04:14:01] Initial: 5CC2; + 92160 bytes downloaded
[04:14:01] Initial: 49D2; + 102400 bytes downloaded
[04:14:02] Initial: 7422; + 112640 bytes downloaded
[04:14:02] Initial: 1089; + 122880 bytes downloaded
[04:14:02] Initial: 432F; + 133120 bytes downloaded
[04:14:02] Initial: 269E; + 143360 bytes downloaded
[04:14:03] Initial: 6958; + 153600 bytes downloaded
[04:14:03] Initial: A0EA; + 163840 bytes downloaded
[04:14:03] Initial: 28C4; + 174080 bytes downloaded
[04:14:03] Initial: 4000; + 184320 bytes downloaded
[04:14:03] Initial: 6390; + 194560 bytes downloaded
[04:14:03] Initial: A0A9; + 204800 bytes downloaded
[04:14:04] Initial: 8BB6; + 215040 bytes downloaded
[04:14:04] Initial: EF7E; + 225280 bytes downloaded
[04:14:04] Initial: B00E; + 235520 bytes downloaded
[04:14:04] Initial: 21E9; + 245760 bytes downloaded
[04:14:04] Initial: CBE4; + 256000 bytes downloaded
[04:14:05] Initial: 8E95; + 266240 bytes downloaded
[04:14:05] Initial: 4680; + 276480 bytes downloaded
[04:14:06] Initial: AD7E; + 286720 bytes downloaded
[04:14:06] Initial: 286B; + 296960 bytes downloaded
[04:14:07] Initial: CF0F; + 307200 bytes downloaded
[04:14:07] Initial: 9232; + 317440 bytes downloaded
[04:14:07] Initial: 1560; + 327680 bytes downloaded
[04:14:08] Initial: 1EEA; + 337920 bytes downloaded
[04:14:08] Initial: 3405; + 348160 bytes downloaded
[04:14:08] Initial: DC5B; + 358400 bytes downloaded
[04:14:09] Initial: F98E; + 368640 bytes downloaded
[04:14:09] Initial: 586D; + 378880 bytes downloaded
[04:14:10] Initial: EBD3; + 389120 bytes downloaded
[04:14:10] Initial: 55CE; + 399360 bytes downloaded
[04:14:10] Initial: 9783; + 409600 bytes downloaded
[04:14:10] Initial: 354C; + 419840 bytes downloaded
[04:14:11] Initial: 9ED3; + 430080 bytes downloaded
[04:14:11] Initial: 4724; + 440320 bytes downloaded
[04:14:11] Initial: 595F; + 450560 bytes downloaded
[04:14:11] Initial: 3C30; + 460800 bytes downloaded
[04:14:11] Initial: 6DCC; + 471040 bytes downloaded
[04:14:11] Initial: 4C51; + 481280 bytes downloaded
[04:14:12] Initial: 0AC2; + 491520 bytes downloaded
[04:14:12] Initial: BAF8; + 501760 bytes downloaded
[04:14:13] Initial: ECEA; + 512000 bytes downloaded
[04:14:13] Initial: 9F17; + 522240 bytes downloaded
[04:14:13] Initial: 9FDA; + 532480 bytes downloaded
[04:14:14] Initial: 9C9D; + 542720 bytes downloaded
[04:14:14] Initial: E006; + 552960 bytes downloaded
[04:14:15] Initial: 29C4; + 563200 bytes downloaded
[04:14:15] Initial: 7460; + 573440 bytes downloaded
[04:14:16] Initial: 2157; + 583680 bytes downloaded
[04:14:16] Initial: 93F1; + 593920 bytes downloaded
[04:14:16] Initial: 8EFC; + 604160 bytes downloaded
[04:14:16] Initial: 7329; + 614400 bytes downloaded
[04:14:17] Initial: 80F2; + 624640 bytes downloaded
[04:14:17] Initial: 9A1F; + 634880 bytes downloaded
[04:14:17] Initial: 4C46; + 645120 bytes downloaded
[04:14:17] Initial: 4B60; + 655360 bytes downloaded
[04:14:17] Initial: 5405; + 665600 bytes downloaded
[04:14:18] Initial: 1005; + 675840 bytes downloaded
[04:14:18] Initial: 311A; + 686080 bytes downloaded
[04:14:18] Initial: 5F86; + 696320 bytes downloaded
[04:14:18] Initial: A83E; + 706560 bytes downloaded
[04:14:19] Initial: 3426; + 716800 bytes downloaded
[04:14:19] Initial: 7489; + 727040 bytes downloaded
[04:14:20] Initial: BF49; + 737280 bytes downloaded
[04:14:20] Initial: 2F5A; + 747520 bytes downloaded
[04:14:20] Initial: BF36; + 757760 bytes downloaded
[04:14:21] Initial: 4120; + 768000 bytes downloaded
[04:14:21] Initial: ABAF; + 778240 bytes downloaded
[04:14:21] Initial: 3CD0; + 788480 bytes downloaded
[04:14:22] Initial: 39BF; + 798720 bytes downloaded
[04:14:22] Initial: 0EDC; + 808960 bytes downloaded
[04:14:23] Initial: BA99; + 819200 bytes downloaded
[04:14:23] Initial: 718D; + 829440 bytes downloaded
[04:14:24] Initial: 87BF; + 839680 bytes downloaded
[04:14:24] Initial: 87AE; + 849920 bytes downloaded
[04:14:24] Initial: 7C3B; + 860160 bytes downloaded
[04:14:25] Initial: 3E6D; + 870400 bytes downloaded
[04:14:25] Initial: D63B; + 880640 bytes downloaded
[04:14:25] Initial: CCAE; + 890880 bytes downloaded
[04:14:25] Initial: EAE0; + 901120 bytes downloaded
[04:14:25] Initial: 2D01; + 911360 bytes downloaded
[04:14:26] Initial: 4A00; + 921600 bytes downloaded
[04:14:26] Initial: 7EF1; + 931840 bytes downloaded
[04:14:26] Initial: C64D; + 942080 bytes downloaded
[04:14:26] Initial: DB24; + 952320 bytes downloaded
[04:14:27] Initial: 0E09; + 962560 bytes downloaded
[04:14:27] Initial: 083A; + 972800 bytes downloaded
[04:14:28] Initial: 8F16; + 983040 bytes downloaded
[04:14:28] Initial: 6F1A; + 993280 bytes downloaded
[04:14:28] Initial: BE3E; + 1003520 bytes downloaded
[04:14:29] Initial: 5339; + 1013760 bytes downloaded
[04:14:29] Initial: 5801; + 1024000 bytes downloaded
[04:14:30] Initial: 1191; + 1034240 bytes downloaded
[04:14:30] Initial: 2CB1; + 1044480 bytes downloaded
[04:14:30] Initial: E022; + 1054720 bytes downloaded
[04:14:31] Initial: 0000; + 1064960 bytes downloaded
[04:14:31] Initial: 260A; + 1075200 bytes downloaded
[04:14:32] Initial: 4ABF; + 1085440 bytes downloaded
[04:14:33] Initial: DF88; + 1095680 bytes downloaded
[04:14:33] Initial: 1D09; + 1105920 bytes downloaded
[04:14:33] Initial: 185E; + 1116160 bytes downloaded
[04:14:33] Initial: 6717; + 1126400 bytes downloaded
[04:14:34] Initial: 8D4D; + 1136640 bytes downloaded
[04:14:34] Initial: 0D13; + 1146880 bytes downloaded
[04:14:35] Initial: 04B9; + 1157120 bytes downloaded
[04:14:35] Initial: 4B8C; + 1167360 bytes downloaded
[04:14:36] Initial: E148; + 1177600 bytes downloaded
[04:14:36] Initial: 785E; + 1187840 bytes downloaded
[04:14:36] Initial: 24EF; + 1198080 bytes downloaded
[04:14:36] Initial: 1E91; + 1208320 bytes downloaded
[04:14:37] Initial: 9460; + 1218560 bytes downloaded
[04:14:37] Initial: 8C4C; + 1228800 bytes downloaded
[04:14:37] Initial: 5447; + 1239040 bytes downloaded
[04:14:37] Initial: BBB9; + 1249280 bytes downloaded
[04:14:37] Initial: ED1B; + 1259520 bytes downloaded
[04:14:38] Initial: 294B; + 1269760 bytes downloaded
[04:14:38] Initial: C105; + 1280000 bytes downloaded
[04:14:38] Initial: 2E08; + 1290240 bytes downloaded
[04:14:38] Initial: 264D; + 1300480 bytes downloaded
[04:14:39] Initial: 2089; + 1310720 bytes downloaded
[04:14:39] Initial: 2220; + 1320960 bytes downloaded
[04:14:40] Initial: 7FAE; + 1331200 bytes downloaded
[04:14:40] Initial: 965D; + 1341440 bytes downloaded
[04:14:40] Initial: 1F5E; + 1351680 bytes downloaded
[04:14:41] Initial: 8198; + 1361920 bytes downloaded
[04:14:41] Initial: E782; + 1372160 bytes downloaded
[04:14:41] Initial: FFFF; + 1382400 bytes downloaded
[04:14:42] Initial: 56C0; + 1392640 bytes downloaded
[04:14:42] Initial: 9B12; + 1402880 bytes downloaded
[04:14:42] Initial: 1729; + 1413120 bytes downloaded
[04:14:43] Initial: 9031; + 1423360 bytes downloaded
[04:14:43] Initial: 9C23; + 1433600 bytes downloaded
[04:14:43] Initial: E73F; + 1443840 bytes downloaded
[04:14:43] Initial: B822; + 1454080 bytes downloaded
[04:14:43] Initial: EF66; + 1464320 bytes downloaded
[04:14:44] Initial: 9278; + 1474560 bytes downloaded
[04:14:44] Initial: 9FAF; + 1484800 bytes downloaded
[04:14:44] Initial: 3C9E; + 1495040 bytes downloaded
[04:14:44] Initial: C589; + 1505280 bytes downloaded
[04:14:44] Initial: FE0B; + 1515520 bytes downloaded
[04:14:44] Initial: 55CC; + 1525760 bytes downloaded
[04:14:44] Initial: 306E; + 1536000 bytes downloaded
[04:14:45] Initial: 5D53; + 1546240 bytes downloaded
[04:14:45] Initial: 085B; + 1556480 bytes downloaded
[04:14:45] Initial: 2D59; + 1559166 bytes downloaded
[04:14:45] Verifying core Core_15.fah...
[04:14:45] Signature is VALID
[04:14:45]
[04:14:45] Trying to unzip core FahCore_15.exe
[04:14:45] Decompressed FahCore_15.exe (4685824 bytes) successfully
[04:14:50] + Core successfully engaged
[04:14:55]
[04:14:55] + Processing work unit
[04:14:55] Core required: FahCore_15.exe
[04:14:55] Core found.
[04:14:55] Working on queue slot 01 [September 28 04:14:55 UTC]
[04:14:55] + Working ...
[04:14:55] - Calling '.\FahCore_15.exe -dir work/ -suffix 01 -nice 19 -checkpoint 15 -verbose -lifeline 8 -version 641'

[04:14:55]
[04:14:55] *------------------------------*
[04:14:55] Folding@Home GPU Core
[04:14:55] Version                2.22 (Thu Dec 8 17:08:05 PST 2011)
[04:14:55] Build host             SimbiosNvdWin7
[04:14:55] Board Type             NVIDIA/CUDA
[04:14:55] Core                   15
[04:14:55]
[04:14:55] Window's signal control handler registered.
[04:14:55] Preparing to commence simulation
[04:14:55] - Looking at optimizations...
[04:14:55] DeleteFrameFiles: successfully deleted file=work/wudata_01.ckp
[04:14:55] - Created dyn
[04:14:55] - Files status OK
[04:14:55] sizeof(CORE_PACKET_HDR) = 512 file=<>
[04:14:55] - Expanded 145512 -> 660986 (decompressed 454.2 percent)
[04:14:55] Called DecompressByteArray: compressed_data_size=145512 data_size=660986, decompressed_data_size=660986 diff=0
[04:14:55] - Digital signature verified
[04:14:55]
[04:14:55] Project: 8018 (Run 188, Clone 1, Gen 19)
[04:14:55]
[04:14:55] Assembly optimizations on if available.
[04:14:55] Entering M.D.
[04:14:57] Tpr hash work/wudata_01.tpr:  3881641966 1438356871 3674109899 46718772 505404043
[04:14:57] GPU device info: vendor=0 device=0 name=<NA> match=0
[04:14:57] Working on GRowing Old MAkes el Chrono Sweat
[04:14:57] Client config found, loading data.
[04:14:58] Starting GUI Server
[04:16:00] Setting checkpoint frequency: 250000
[04:16:00] Completed         3 out of 25000000 steps (0%).



I was able to get rid of the 63 = (99) by making symlinks in the FAH directory that link to the .wine/../system32 directory. I don't know if this is the right thing to do or if it's a kludge, but as you can see it did start. However, the client hangs at 3 out of 25000000 forever, never progressing. Does anyone have an idea what I can try at this point?
ThunderRd
 
Posts: 146
Joined: Sun Dec 02, 2007 5:30 am
Location: Nong Khai, Thailand

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby bruce » Fri Sep 28, 2012 4:58 pm

The 3 out of xxxx is very quick. The 250000 out of xxxx takes A LOT longer. Are you sure it's really "Forever"? I don't have enough data to know.

The GT440 is not exactly a powerhouse and some of the new projects take a lot longer that older projects. Which project has been assigned and what's it's timeout (preferred deadline)?
bruce
 
Posts: 22827
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby Hyperlife » Sat Sep 29, 2012 3:49 am

Also, can you run "top" and see if FahCore_15.exe is taking any CPU time?
User avatar
Hyperlife
 
Posts: 438
Joined: Sun Dec 02, 2007 7:38 am

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby ThunderRd » Sat Sep 29, 2012 4:16 pm

Well, I started over and I think that it is now working correctly, 1 frame taking roughly 21 minutes with 3-4% CPU usage. On the project it has been assigned [8018] it yields a shade under 4000 PPD, which is about the same as my 9600GTs [non-Fermi]. I would have thought it would do better than that, seeing as this one is a Fermi card [albeit a low-end one] but I'm happy to get it going at all. Do you guys have any handle on comparison between a 9600GT and this GT440?

I did find that for me at least, creating the symlinks in the client directory to the cuda files in the .wine/.../system32 directory is absolutely necessary. Without them the client does not start. This is not mentioned in the guide, but I did see it somewhere in someone's troubleshooting thread. Should it be added to the guide?

Thank you both for your responses. This is actually a test for my team. I don't have a big-time card in my Linux boxen, only in my Windows machine [which does the same WU at 3:25 per frame, 23000 PPD], but several guys on my team have top-shelf GPUs in their Linux rigs that aren't producing due to lack of success in setting up the client in WINE. I thought if I could get it going, perhaps I can give them a hand or write a guide for the team. It seems I have accomplished that, so I'll pass the knowledge on.

Here's to getting a native Linux client soonish :)
ThunderRd
 
Posts: 146
Joined: Sun Dec 02, 2007 5:30 am
Location: Nong Khai, Thailand

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby Hyperlife » Sun Sep 30, 2012 10:56 pm

My guide works fine on Ubuntu, but I've never tried it on Gentoo. I'd rather not customize the guide for each distro unless I can test it myself, and I don't think I have the time to create a Gentoo guide nowadays. Glad you got it working, though!

For what it's worth, the 9600 GT is ranked higher than the GT 440 on the graphics card hierarchy chart at Tom's Hardware:

http://www.tomshardware.com/reviews/gam ... 107-7.html
User avatar
Hyperlife
 
Posts: 438
Joined: Sun Dec 02, 2007 7:38 am

PreviousNext

Return to unOfficial Linux GPU (WINE wrapper) (3rd party support)

Who is online

Users browsing this forum: No registered users and 1 guest

cron