Commit Graph

10057 Commits

Author SHA1 Message Date
Rom Walton 89315a3ca7 NOTE: Some previously experimental features in the client software are
now important to have for the 7.0 release.  The existing 7.0 branch
      will no longer be maintained, we'll create a new branch for the 7.0
      client line at a later date.
    
    - Tag for 7.0.8 release, all platforms
      boinc_core_release_7_0_8

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=25053
2012-01-14 04:48:26 +00:00
Charlie Fenton 5b5c6f80f6 MGR: Add RDP client support for the Mac.
svn path=/trunk/boinc/; revision=25052
2012-01-14 04:36:32 +00:00
Rom Walton 0d6668fb85 - MGR: Launch the RDP client on Windows in full-screen mode to avoid
a bug where the screen doesn't refresh and keyboard/mouse events
        don't manifest until you close down the client and restart it.
        
    clientgui/
        MainDocument.cpp

svn path=/trunk/boinc/; revision=25051
2012-01-14 03:56:12 +00:00
David Anderson 46fb7bd97a - file deleter: improved logging; from Oliver
svn path=/trunk/boinc/; revision=25050
2012-01-13 23:39:14 +00:00
Rom Walton ec40a74531 Quick Updates
svn path=/trunk/boinc/; revision=25049
2012-01-13 20:33:52 +00:00
Rom Walton 1a793b834d - MGR: Add RDP support for Linux.
clientgui/
        MainDocument.cpp

svn path=/trunk/boinc/; revision=25048
2012-01-13 20:33:16 +00:00
David Anderson 81b29b0cc9 - API: fix queueing problem for graphics-related messages
(web graphics URL and remote desktop addr)
- GUI RPC and API:
    change "remote_desktop_connection" to "remote_desktop_addr" everywhere.
    It's an address, not a connection.
- vboxwrapper: log message cleanup


svn path=/trunk/boinc/; revision=25044
2012-01-13 19:00:16 +00:00
Rom Walton 97bdbee73e - VBOX: It helps to remove the older send msg routines. Oooops.
samples/vboxwrapper
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=25042
2012-01-13 15:56:40 +00:00
Rom Walton ce4650ecbb - VBOX: Cleanup a few messages stating port numbers in the stderr spew.
- VBOX: Send configuration settings in one message instead of piece meal.
    
    api/
        boinc_api.cpp, .h
    samples/vboxwrapper
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=25041
2012-01-13 15:21:00 +00:00
Charlie Fenton 9e52a9db5c client: use old Mac idle detection when running as a daemon
svn path=/trunk/boinc/; revision=25038
2012-01-13 10:35:11 +00:00
Rom Walton 4538282220 - VBOX: Make sure the configured port numbers persist across
restarts of the client software.  Remote desktop stopped
        working if the client software was restarted.

    samples/vboxwrapper
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=25037
2012-01-13 03:12:00 +00:00
Rom Walton 3bc326db3e - client: Add plumbing to support passing the remote desktop
connection information to the manager
    - MGR: Add a "Show VM Console" button for those tasks which
        report a remote desktop port number.

    client/
        app.cpp, .h
        app_control.cpp
    clientgui/
        Events.h
        MainDocument.cpp, .h
        ViewWork.cpp, .h
    lib/
        gui_rpc_client.h
        gui_rpc_client_ops.cpp

svn path=/trunk/boinc/; revision=25036
2012-01-12 22:05:25 +00:00
Rom Walton 2c54c9735a - VBOX: Report the remote desktop connection information to the
core client.  Next commit will create an extra "VM Console"
        button in the manager when detected.  Volunteers will just have
        to click the button to see what is going on with the VM.

    api/
        boinc_api.cpp, .h
    samples/vboxwrapper
        vbox.cpp, .h
        vboxwrapper.cpp, .h

svn path=/trunk/boinc/; revision=25035
2012-01-12 20:57:23 +00:00
Rom Walton fea602b6e6 - VBOX: Enable remote desktop functionality for a VM that has
<enable_remotedesktop/> specified in its vbox_job.xml file.
        
      NOTE: It does require the VirtualBox extension pack, but that
        is freely available on the VirtualBox download page.
        
    samples/vboxwrapper
        vbox.cpp, .h
        vboxwrapper.cpp, .h

svn path=/trunk/boinc/; revision=25034
2012-01-12 15:54:28 +00:00
David Anderson d4a91e5877 - LAMMPS job submission: improve completion estimate
svn path=/trunk/boinc/; revision=25033
2012-01-12 08:01:07 +00:00
David Anderson 8d1af7892f - API: respect direct_process_action even if multi_process is set
svn path=/trunk/boinc/; revision=25031
2012-01-12 00:27:21 +00:00
David Anderson 125ad03a54 - vboxwrapper: add <pf_host_port> element to config file.
Specifies host port # for port forwarding.
    If absent or zero, assign a port.


svn path=/trunk/boinc/; revision=25030
2012-01-11 23:21:17 +00:00
Charlie Fenton 5273a32b68 Mgr: When launching Mac client as a daemon, allow time for it to start
svn path=/trunk/boinc/; revision=25027
2012-01-11 11:33:03 +00:00
David Anderson 5a3367015e - first stab at improving Disk View colors
svn path=/trunk/boinc/; revision=25024
2012-01-11 03:13:49 +00:00
Charlie Fenton 5ef74674e8 client: Fix idle detection for Apple Remote Desktop and screen sharing under Mac OS 10.7
svn path=/trunk/boinc/; revision=25018
2012-01-10 10:37:37 +00:00
David Anderson dd16170fc1 - scheduler: the p_fpops value reported by clients can't be trusted.
Some credit cheats (e.g. with credit_by_runtime) can be done
    by reporting a huge value.
    Fix this by capping the value at 1.1 times the 95th percentile
    of host.p_fpops, taken over active hosts.


svn path=/trunk/boinc/; revision=25017
2012-01-09 17:35:48 +00:00
Rom Walton 3f8ca51110 - VBOX: Fix one last regression related to failed start detection. If
only one CPU is allocated, manually disable VM hardware acceleration.
        
    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=25016
2012-01-09 15:37:26 +00:00
Charlie Fenton 7222bfa200 If we have AMD GPU without CAL or NVIDIA GPU without CUDA, set available GPU RAM equal to total GPU RAM
svn path=/trunk/boinc/; revision=25015
2012-01-09 08:13:01 +00:00
David Anderson e3beeb8721 - client: reset ACTIVE_TASK::bytes_sent and bytes_received
when the task is started or restarted


svn path=/trunk/boinc/; revision=25014
2012-01-09 03:00:10 +00:00
David Anderson 436d56e70b - scheduler: change vbox_mt plan function to use at most 2 cores, not 3
(CERN doesn't actually need 3)


svn path=/trunk/boinc/; revision=25013
2012-01-09 02:48:51 +00:00
Rom Walton 6d731ccc6d - VBOX: Fix regression where the ERR_CPU_VM_EXTENSIONS_DISABLED error
message wasn't being written to stderr when the VM extensions
        were disabled via the BIOS.
        
    samples/vboxwrapper/
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=25010
2012-01-08 20:18:14 +00:00
David Anderson e8657adfd2 - scheduler: change vbox_mt app plan function to use 1, 2 or 3 CPUs
depending on how many the host has,
    and whether CPU VM extensions are present
    (this reflects the requirements of CernVM).


svn path=/trunk/boinc/; revision=25009
2012-01-08 01:28:39 +00:00
Rom Walton ba1169107e - VBOX: Sleep for the remainder of the polling period and not the
whole poll period.

    samples/vboxwrapper/
        vbox.cpp, .h
        vboxwrapper.cpp, .h

svn path=/trunk/boinc/; revision=25008
2012-01-07 20:36:48 +00:00
Rom Walton dba49cb953 - MGR: Derive from the correct base class to make the sizers work
properly.
        
    clientgui/
        BOINCBaseView.cpp, .h
        ViewNotices.cpp
        ViewResources.cpp

svn path=/trunk/boinc/; revision=25007
2012-01-06 23:37:40 +00:00
David Anderson 5020e3af2f - validator: for credit_from_runtime,
use result.flops_estimate rather than host.p_fpops;
    otherwise it doesn't work for multicore apps.
    TODO: cheat-proofing


svn path=/trunk/boinc/; revision=25006
2012-01-06 22:22:02 +00:00
David Anderson 962cee0689 - manager: parse message contents with XML_PARSER::element_content().
svn path=/trunk/boinc/; revision=25005
2012-01-06 21:58:43 +00:00
Rom Walton c79945b782 Quick Updates
svn path=/trunk/boinc/; revision=25004
2012-01-06 18:47:21 +00:00
Rom Walton 9faee707fa - VBOX: Use sscanf instead of strtol to convert a hex string.
- VBOX: Use new FloppyIO implementation that reports image
        creation errors.


    samples/vboxwrapper/
        floppyio.cpp, .h
        vbox.cpp

svn path=/trunk/boinc/; revision=25003
2012-01-06 18:44:34 +00:00
Rom Walton 1287b95f73 - MGR: Remove sash window divider between the task panel and list panel
in the advanced view. Retain the ability to dynamically adjust the
        width of the task panel based on widest button.
    - LIB: Use parse string instead of copy contents for messages RPC.
    
    clientgui/
        BOINCBaseView.cpp, .h
        ViewNotices.cpp
        ViewResources.cpp
        ViewStatistics.cpp
    lib/
        gui_rpc_client_ops.cpp

svn path=/trunk/boinc/; revision=25001
2012-01-06 17:12:19 +00:00
Charlie Fenton 9502d336c5 Mac Installer: Changes for integrated BOINC+VirtualBox Mac installer
svn path=/trunk/boinc/; revision=25000
2012-01-06 10:44:53 +00:00
Charlie Fenton 06af098512 client: Restore scaling factor for AMD OpenCL devices on Macs with OpenCL version < 1.2
svn path=/trunk/boinc/; revision=24999
2012-01-06 02:45:55 +00:00
David Anderson 57d1c580e8 - GUI RPC: use new XML parser
svn path=/trunk/boinc/; revision=24998
2012-01-05 19:58:51 +00:00
Rom Walton f9a0ba4759 - VBOX: Extract the various logs before attempting to cleanup if the
registration process fails.
        
    samples/vboxwrapper/
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=24996
2012-01-05 06:34:22 +00:00
Rom Walton f9586cdf5f Quick Updates
svn path=/trunk/boinc/; revision=24995
2012-01-04 22:04:44 +00:00
Rom Walton a6f030beb4 - VBOX: Fix a crash bug if multiple virtual VICs are defined for a VM.
I'm not sure what the heck happened.  It probably has something to
        do with my \r removal code on Windows.  Bugs hidden by other bugs
        I suppose.

    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=24994
2012-01-04 21:59:44 +00:00
Rom Walton 449cd6a1b4 - VBOX: Move start state change detection code from run() function to
start() function and use similar code to handle stop as well.
        
        Weird stuff happens when people start/stop BOINC quickly,
        it looks as though the previous VM instance isn't shutdown before we
        attempt to start it again.  Hopefully enough of a wait is in there
        for the VM to fully halt before the wrapper is terminated.
        
    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=24993
2012-01-04 21:09:58 +00:00
Rom Walton ea726d4985 - VBOX: Use strtol instead of atol to parse Vbox error codes from
stderr/stdout output.
    - VBOX: Undo my reorg yesterday with regards to report_vm_pid and
        report_net_usage.
    - VBOX: Only report network usage in the status report if
        aid.global_prefs.daily_xfer_limit_mb is non-zero
    - VBOX: Add the VM log to the list of things reported on a start
        failure.  Hypervisor log suggests that it launched the VM but
        it failed unexpectedly.  So there might be cases where it
        actually exists.

    samples/vboxwrapper/
        vbox.cpp
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=24992
2012-01-04 18:21:40 +00:00
Rom Walton 3bfd0a145f - VBOX: Restore the elapsed time from the checkpoint file instead of
aid.starting_elapsed_time.  It appears some older client versions
        are giving erratic results.
        
    samples/vboxwrapper/
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=24991
2012-01-03 21:46:57 +00:00
Rom Walton d2784ffc4b - VBOX: Per tester feedback, at an hourly status report to track
network usage.
    - VBOX: For errors where an error code is specified in the output,
        use that value when returning from vbm_open().  Make it easier
        to track failure rates by problem type in the ops pages.
        (Windows Only)
    - VBOX: Try making the process of extracting the hypervisor system
        log more robust, make a temp copy of it in the slot directory.
        Avoid exclusive file lock issues since VboxSvc will still be
        logging to it.
    - VBOX: Change the session lock text to make it clearer that the
        use of other VirtualBox management tools can cause a problem.

        
    samples/vboxwrapper/
        vbox.cpp, .h
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=24990
2012-01-03 19:06:39 +00:00
Rom Walton 21aed83249 - client: Remove scaling factor for AMD OpenCL devices. Latest
generation of drivers now report the correct memory size.
        They didn't wait for the next OpenCL spec change.
    
    client/
        coproc_detect.cpp

svn path=/trunk/boinc/; revision=24989
2012-01-03 14:03:11 +00:00
David Anderson 580f3bfd49 - client: calculate disk share for zero-priority projects correctly
svn path=/trunk/boinc/; revision=24988
2012-01-03 10:14:02 +00:00
David Anderson 5be4be2c68 - LAMMPS
svn path=/trunk/boinc/; revision=24986
2012-01-03 09:47:21 +00:00
David Anderson fb8c2ee566 - remote job submission: show input file links
- ops: fix message: app.min_version applies to HR app versions,
    not client version


svn path=/trunk/boinc/; revision=24980
2012-01-03 03:51:43 +00:00
Rom Walton 5691f06dd6 - VBOX: Fix crashing issue I introduced last night attempting to
extract the hypervisor system log.
    - VBOX: Report the hypervisor system log with any failed vboxmanage
        command that happens during the phase where we setup the VM.
        
    samples/vboxwrapper/
        vbox.cpp, .h

svn path=/trunk/boinc/; revision=24977
2012-01-02 16:58:11 +00:00
Rom Walton 2c617ba8b5 Quick Updates
svn path=/trunk/boinc/; revision=24976
2012-01-02 16:53:43 +00:00