Boinc + Optimus + Ubuntu + GPU

Message boards : Web interfaces : Boinc + Optimus + Ubuntu + GPU
Message board moderation

To post messages, you must log in.

AuthorMessage
punktt

Send message
Joined: 4 Mar 12
Posts: 1
Lithuania
Message 42850 - Posted: 4 Mar 2012, 11:29:19 UTC

Hello, I have laptop Dell XPS l502x and I am using Ubuntu 11.04. I installed nvidia drivers using this: https://wiki.ubuntu.com/Bumblebee and Cuda - http://samiux.blogspot.com/2011/05/howto-nvidia-cuda-toolkit-40-on-ubuntu.htmlx . I when I run boinc client it says that:
Sun 04 Mar 2012 12:42:07 PM EET		Starting BOINC client version 6.10.59 for x86_64-pc-linux-gnu
Sun 04 Mar 2012 12:42:07 PM EET		Config: GUI RPC allowed from:
Sun 04 Mar 2012 12:42:07 PM EET		log flags: file_xfer, sched_ops, task
Sun 04 Mar 2012 12:42:07 PM EET		Libraries: libcurl/7.21.3 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18
Sun 04 Mar 2012 12:42:07 PM EET		Data directory: /var/lib/boinc-client
Sun 04 Mar 2012 12:42:07 PM EET		Processor: 4 GenuineIntel Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz [Family 6 Model 42 Stepping 7]
Sun 04 Mar 2012 12:42:07 PM EET		Processor: 3.00 MB cache
Sun 04 Mar 2012 12:42:07 PM EET		Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqd
Sun 04 Mar 2012 12:42:07 PM EET		OS: Linux: 2.6.38-13-generic
Sun 04 Mar 2012 12:42:07 PM EET		Memory: 7.73 GB physical, 3.81 GB virtual
Sun 04 Mar 2012 12:42:07 PM EET		Disk: 93.87 GB total, 26.67 GB free
Sun 04 Mar 2012 12:42:07 PM EET		Local time is UTC +2 hours
Sun 04 Mar 2012 12:42:07 PM EET		No usable GPUs found
Sun 04 Mar 2012 12:42:07 PM EET		No general preferences found - using BOINC defaults
Sun 04 Mar 2012 12:42:07 PM EET		Reading preferences override file
Sun 04 Mar 2012 12:42:07 PM EET		Preferences:
Sun 04 Mar 2012 12:42:07 PM EET		   max memory usage when active: 3959.00MB
Sun 04 Mar 2012 12:42:07 PM EET		   max memory usage when idle: 7126.20MB
Sun 04 Mar 2012 12:42:07 PM EET		   max disk usage: 10.00GB
Sun 04 Mar 2012 12:42:07 PM EET		   don't use GPU while active
Sun 04 Mar 2012 12:42:07 PM EET		   suspend work if non-BOINC CPU load exceeds 25 %
Sun 04 Mar 2012 12:42:07 PM EET		   (to change preferences, visit the web site of an attached project, or select Preferences in the Manager)
Sun 04 Mar 2012 12:42:07 PM EET		Not using a proxy
Sun 04 Mar 2012 12:42:07 PM EET		This computer is not attached to any projects
Sun 04 Mar 2012 12:42:07 PM EET		Visit http://boinc.berkeley.edu for instructions
Sun 04 Mar 2012 12:43:08 PM EET		Suspending computation - CPU usage is too high
Sun 04 Mar 2012 12:43:18 PM EET		Resuming computation
Sun 04 Mar 2012 01:22:52 PM EET		Fetching configuration file from http://milkyway.cs.rpi.edu/milkyway/get_project_config.php
Sun 04 Mar 2012 01:23:06 PM EET		Running CPU benchmarks
Sun 04 Mar 2012 01:23:06 PM EET		Suspending computation - running CPU benchmarks
Sun 04 Mar 2012 01:23:37 PM EET		Benchmark results:
Sun 04 Mar 2012 01:23:37 PM EET		   Number of CPUs: 4
Sun 04 Mar 2012 01:23:37 PM EET		   2549 floating point MIPS (Whetstone) per CPU
Sun 04 Mar 2012 01:23:37 PM EET		   9767 integer MIPS (Dhrystone) per CPU
Sun 04 Mar 2012 01:23:38 PM EET		Resuming computation



When I try running Boinc client via terminal I get this:
kompas@kompas-Dell-System-XPS-L502X:~$ optirun boinc
04-Mar-2012 13:31:57 [---] Starting BOINC client version 6.10.59 for x86_64-pc-linux-gnu
04-Mar-2012 13:31:57 [---] log flags: file_xfer, sched_ops, task
04-Mar-2012 13:31:57 [---] Libraries: libcurl/7.21.3 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18
04-Mar-2012 13:31:57 [---] Data directory: /home/kompas
04-Mar-2012 13:31:57 [---] Processor: 4 GenuineIntel Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz [Family 6 Model 42 Stepping 7]
04-Mar-2012 13:31:57 [---] Processor: 3.00 MB cache
04-Mar-2012 13:31:57 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 mo
04-Mar-2012 13:31:57 [---] OS: Linux: 2.6.38-13-generic
04-Mar-2012 13:31:57 [---] Memory: 7.73 GB physical, 3.81 GB virtual
04-Mar-2012 13:31:57 [---] Disk: 93.87 GB total, 26.63 GB free
04-Mar-2012 13:31:57 [---] Local time is UTC +2 hours
04-Mar-2012 13:31:57 [---] NVIDIA GPU 0: GeForce GT 540M (driver version unknown, CUDA version 4020, compute capability 2.1, 2048MB, 172 GFLOPS peak)
04-Mar-2012 13:31:57 [---] No general preferences found - using BOINC defaults
04-Mar-2012 13:31:57 [---] Preferences:
04-Mar-2012 13:31:57 [---]    max memory usage when active: 3959.00MB
04-Mar-2012 13:31:57 [---]    max memory usage when idle: 7126.20MB
*** buffer overflow detected ***: boinc terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f6d9a0d21d7]
/lib/x86_64-linux-gnu/libc.so.6(+0xfd0f0)[0x7f6d9a0d10f0]
/lib/x86_64-linux-gnu/libc.so.6(+0xfc569)[0x7f6d9a0d0569]
/lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0xd8)[0x7f6d9a048b98]
/lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x1abd)[0x7f6d9a01b31d]
/lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x94)[0x7f6d9a0d0604]
/lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7a)[0x7f6d9a0d054a]
boinc[0x462503]
boinc[0x46252a]
======= Memory map: ========
00400000-00495000 r-xp 00000000 08:07 1714108                            /usr/bin/boinc
00695000-00696000 r--p 00095000 08:07 1714108                            /usr/bin/boinc
00696000-00697000 rw-p 00096000 08:07 1714108                            /usr/bin/boinc
00697000-006a3000 rw-p 00000000 00:00 0 
01927000-01ac4000 rw-p 00000000 00:00 0                                  [heap]
200000000-700000000 ---p 00000000 00:00 0 
7f6d93a9a000-7f6d941d4000 r-xp 00000000 08:07 1718839                    /usr/lib/nvidia-current/libcuda.so.295.20
7f6d941d4000-7f6d943d4000 ---p 0073a000 08:07 1718839                    /usr/lib/nvidia-current/libcuda.so.295.20
7f6d943d4000-7f6d944c9000 rw-p 0073a000 08:07 1718839                    /usr/lib/nvidia-current/libcuda.so.295.20
7f6d944c9000-7f6d944ee000 rw-p 00000000 00:00 0 
7f6d944ee000-7f6d944fa000 r-xp 00000000 08:07 4194415                    /lib/x86_64-linux-gnu/libnss_files-2.13.so
7f6d944fa000-7f6d946f9000 ---p 0000c000 08:07 4194415                    /lib/x86_64-linux-gnu/libnss_files-2.13.so
7f6d946f9000-7f6d946fa000 r--p 0000b000 08:07 4194415                    /lib/x86_64-linux-gnu/libnss_files-2.13.so
7f6d946fa000-7f6d946fb000 rw-p 0000c000 08:07 4194415                    /lib/x86_64-linux-gnu/libnss_files-2.13.so
7f6d946fb000-7f6d946fe000 r-xp 00000000 08:07 4194500                    /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
7f6d946fe000-7f6d948fd000 ---p 00003000 08:07 4194500                    /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
7f6d948fd000-7f6d948fe000 r--p 00002000 08:07 4194500                    /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
7f6d948fe000-7f6d948ff000 rw-p 00003000 08:07 4194500                    /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
7f6d948ff000-7f6d9490e000 r-xp 00000000 08:07 1706251                    /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.9
7f6d9490e000-7f6d94b0e000 ---p 0000f000 08:07 1706251                    /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.9
7f6d94b0e000-7f6d94b0f000 r--p 0000f000 08:07 1706251                    /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.9
7f6d94b0f000-7f6d94b10000 rw-p 00010000 08:07 1706251                    /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.9
7f6d94b10000-7f6d94b15000 r-xp 00000000 08:07 1704095                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f6d94b15000-7f6d94d14000 ---p 00005000 08:07 1704095                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f6d94d14000-7f6d94d15000 r--p 00004000 08:07 1704095                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f6d94d15000-7f6d94d16000 rw-p 00005000 08:07 1704095                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f6d94d16000-7f6d94d18000 r-xp 00000000 08:07 1704084                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f6d94d18000-7f6d94f17000 ---p 00002000 08:07 1704084                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f6d94f17000-7f6d94f18000 r--p 00001000 08:07 1704084                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f6d94f18000-7f6d94f19000 rw-p 00002000 08:07 1704084                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f6d94f19000-7f6d94f1b000 r-xp 00000000 08:07 4194355                    /lib/x86_64-linux-gnu/libkeyutils.so.1.3
7f6d94f1b000-7f6d9511a000 ---p 00002000 08:07 4194355                    /lib/x86_64-linux-gnu/libkeyutils.so.1.3
7f6d9511a000-7f6d9511b000 r--p 00001000 08:07 4194355                    /lib/x86_64-linux-gnu/libkeyutils.so.1.3
7f6d9511b000-7f6d9511c000 rw-p 00002000 08:07 4194355                    /lib/x86_64-linux-gnu/libkeyutils.so.1.3
7f6d9511c000-7f6d95123000 r-xp 00000000 08:07 1706265                    /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f6d95123000-7f6d95322000 ---p 00007000 08:07 1706265                    /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f6d95322000-7f6d95323000 r--p 00006000 08:07 1706265                    /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f6d95323000-7f6d95324000 rw-p 00007000 08:07 1706265                    /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f6d95324000-7f6d95327000 r-xp 00000000 08:07 4194510                    /lib/x86_64-linux-gnu/libcom_err.so.2.1
7f6d95327000-7f6d95526000 ---p 00003000 08:07 4194510                    /lib/x86_64-linux-gnu/libcom_err.so.2.1
7f6d95526000-7f6d95527000 r--p 00002000 08:07 4194510                    /lib/x86_64-linux-gnu/libcom_err.so.2.1
7f6d95527000-7f6d95528000 rw-p 00003000 08:07 4194510                    /lib/x86_64-linux-gnu/libcom_err.so.2.1
7f6d95528000-7f6d9554d000 r-xp 00000000 08:07 1706259                    /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7f6d9554d000-7f6d9574d000 ---p 00025000 08:07 1706259                    /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7f6d9574d000-7f6d9574e000 r--p 00025000 08:07 1706259                    /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7f6d9574e000-7f6d9574f000 rw-p 00026000 08:07 1706259                    /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7f6d9574f000-7f6d95809000 r-xp 00000000 08:07 1706263                    /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7f6d95809000-7f6d95a09000 ---p 000ba000 08:07 1706263                    /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7f6d95a09000-7f6d95a12000 r--p 000ba000 08:07 1706263                    /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7f6d95a12000-7f6d95a13000 rw-p 000c3000 08:07 1706263                    /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7f6d95a13000-7f6d95a89000 r-xp 00000000 08:07 4194388                    /lib/x86_64-linux-gnu/libgcrypt.so.11.6.0
7f6d95a89000-7f6d95c89000 ---p 00076000 08:07 4194388                    /lib/x86_64-linux-gnu/libgcrypt.so.11.6.0
7f6d95c89000-7f6d95c8a000 r--p 00076000 08:07 4194388                    /lib/x86_64-linux-gnu/libgcrypt.so.11.6.0
7f6d95c8a000-7f6d95c8d000 rw-p 00077000 08:07 4194388                    /lib/x86_64-linux-gnu/libgcrypt.so.11.6.0
7f6d95c8d000-7f6d95d27000 r-xp 00000000 08:07 1706253                    /usr/lib/x86_64-linux-gnu/libgnutls.so.26.14.12
7f6d95d27000-7f6d95f27000 ---p 0009a000 08:07 1706253                    /usr/lib/x86_64-linux-gnu/libgnutls.so.26.14.12
7f6d95f27000-7f6d95f2d000 r--p 0009a000 08:07 1706253                    /usr/lib/x86_64-linux-gnu/libgnutls.so.26.14.12
7f6d95f2d000-7f6d95f2e000 rw-p 000a0000 08:07 1706253                    /usr/lib/x86_64-linux-gnu/libgnutls.so.26.14.12
7f6d95f2e000-7f6d95f47000 r-xp 00000000 08:07 1711810                    /usr/lib/libsasl2.so.2.0.23SIGABRT: abort called
Stack trace (14 frames):
boinc(boinc_catch_signal+0x45)[0x461575]
/lib/x86_64-linux-gnu/libc.so.6(+0x33d80)[0x7f6d9a007d80]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7f6d9a007d05]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x186)[0x7f6d9a00bab6]
/lib/x86_64-linux-gnu/libc.so.6(+0x6cd7b)[0x7f6d9a040d7b]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f6d9a0d21d7]
/lib/x86_64-linux-gnu/libc.so.6(+0xfd0f0)[0x7f6d9a0d10f0]
/lib/x86_64-linux-gnu/libc.so.6(+0xfc569)[0x7f6d9a0d0569]
/lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0xd8)[0x7f6d9a048b98]
/lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x1abd)[0x7f6d9a01b31d]
/lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x94)[0x7f6d9a0d0604]
/lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7a)[0x7f6d9a0d054a]
boinc[0x462503]
boinc[0x46252a]

Exiting...


optirun
command should make boinc client to use discrete GeForce 540m video card...
ID: 42850 · Report as offensive
Richard Haselgrove
Volunteer moderator
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 2560
United Kingdom
Message 42851 - Posted: 4 Mar 2012, 12:06:45 UTC

I have a similar Dell XPS L501X laptop. Under Windows, BOINC has no problem finding and using the GT 420M GPU, even when the active display is set to use the Intel HD graphics chipset.

There is a minor problem with the 'optimus' technology in current Windows versions of BOINC - the client returns "(driver version unknown)". This has been fixed for BOINC v7 (in testing), but didn't prevent CUDA applications from running.
ID: 42851 · Report as offensive
Pop Horea-Vasile

Send message
Joined: 16 Jun 11
Posts: 69
Romania
Message 49186 - Posted: 18 May 2013, 8:14:40 UTC

Install bumblebee and run boinc in terminl with command:
optirun ./boinc
then open from graphics boincmgr.

ID: 49186 · Report as offensive

Message boards : Web interfaces : Boinc + Optimus + Ubuntu + GPU

Copyright © 2017 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.