1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-01 18:55:36 +00:00
Commit Graph

2213 Commits

Author SHA1 Message Date
Kano
cbe6ab1906 configure.ac epoll.h not used now 2012-04-24 23:00:07 +10:00
Con Kolivas
11fb7ec935 Update NEWS. 2012-04-24 22:52:03 +10:00
Con Kolivas
ae06712414 Merge pull request #176 from kanoi/master
Icarus code tested and working on Linux and Windows
2012-04-24 00:06:37 -07:00
Kano
16b9ebee28 Icarus restore auto/noauto handling 2012-04-24 02:30:31 +10:00
Kano
403f63ae20 Icarus update to new add_cgpu() 2012-04-24 02:23:29 +10:00
Kano
80f4fbbdeb Icarus driver working with Linux and Windows 2012-04-24 02:14:03 +10:00
Kano
7e65126936 api.c fix unused variable compile warning 2012-04-23 22:01:36 +10:00
Con Kolivas
ce65e14d15 Merge pull request #174 from kanoi/master
Ensure everyone sees the same screen/api name as the previous version
2012-04-23 01:56:21 -07:00
Kano
cad0855ba8 Ensure everyone sees the same screen/api name as the previous version for ZTex 2012-04-23 18:10:21 +10:00
Kano
20676694f3 Ensure everyone sees the same screen/api name as the previous version for Bitforce 2012-04-23 18:07:13 +10:00
Kano
e369d787e0 Ensure everyone sees the same screen/api name as the previous version for Icarus 2012-04-23 18:06:30 +10:00
Con Kolivas
9175e4f25c Display all OpenCL devices when -n is called as well to allow debugging of differential mapping of OpenCL to ADL. 2012-04-23 17:56:31 +10:00
Con Kolivas
f5f089f5b4 Add a --gpu-map option which will allow arbitrarily mapping ADL devices to OpenCL devices for instances where association by enumeration alone fails. 2012-04-23 17:40:47 +10:00
Con Kolivas
99331991ba Increase upper limit on number of extra items to queue as some FPGA code can't yet reliably keep many devices busy. 2012-04-23 09:53:40 +10:00
nelisky
5f5e1063f4 Firmware 15d4 support
Not yet using suspend and while we have fpga counting implemented it isn't being used yet, thus only the groundwork for quad board support is done, not actually working yet.
2012-04-22 08:14:54 -07:00
Con Kolivas
d6edd07c4a Display configuration file information when -c option is passed and only when file exists on loading default config file. 2012-04-22 21:09:36 +10:00
Con Kolivas
6ffdbc3aeb Display configuration file loaded, if any, and debug output if configuration file parsing failed. 2012-04-22 20:50:50 +10:00
Con Kolivas
40e6dd7cc5 Merge pull request #173 from luke-jr/bugfix_noauto
"-S noauto" option, to inhibit FPGA autoscanning
2012-04-21 22:47:46 -07:00
Con Kolivas
e6f9afe6bc Add missing ztex header to Makefile for distribution. 2012-04-22 15:05:04 +10:00
Luke Dashjr
f1ae7bbb08 Document long-form COM port device names on Windows, required to specify serial ports above 9 2012-04-22 01:04:34 -04:00
Luke Dashjr
0f74ba059e Implement and document "-S noauto" to inhibit autoscanning without specifying a serial device 2012-04-22 01:03:38 -04:00
Luke Dashjr
d7cb49efcd Icarus: Ignore "auto" flag 2012-04-22 00:57:30 -04:00
Con Kolivas
98c0b297b8 Merge pull request #162 from luke-jr/workaround_icarus_uart_issue
Workaround Icarus UART failures by reopening the tty every scanhash
2012-04-21 21:40:37 -07:00
Luke Dashjr
0d30a6520f Merge branch 'master' into workaround_icarus_uart_issue
Conflicts:
	driver-icarus.c
2012-04-22 00:36:54 -04:00
Con Kolivas
e95384e59a Include ztex bitstreams firmware in distribution and install if configured in. 2012-04-22 14:32:40 +10:00
Con Kolivas
b97e6aa5a0 Presumably we should return false when the capability is missing in libztex_checkCapability. 2012-04-22 10:57:23 +10:00
Con Kolivas
78a32f2ebc Style police on driver-ztex.c 2012-04-22 10:54:26 +10:00
Con Kolivas
cfe3eb0b8a Merge branch 'master' into ztex
Conflicts:
	configure.ac
2012-04-22 10:43:31 +10:00
Con Kolivas
d3f46e7e6f Merge pull request #169 from luke-jr/align_temps
Align temps
2012-04-21 17:32:19 -07:00
Con Kolivas
26b4b011d8 Merge pull request #170 from luke-jr/bugfix_icarus_speed
Bugfix: Calculate Icarus timeout-exhausted nonce count correctly
2012-04-21 17:32:10 -07:00
Con Kolivas
9641ff2ecc Merge pull request #171 from luke-jr/icarus_longpoll
Icarus: Abandon a scanhash early when work restart requested
2012-04-21 17:32:00 -07:00
Luke Dashjr
d8ef28069a work_restart should only be changed by cgminer.c now 2012-04-21 20:00:05 -04:00
Luke Dashjr
b4ba9c3f00 Bugfix: Icarus: Invalidate old job, even if no nonce found in it 2012-04-21 19:55:11 -04:00
Luke Dashjr
11234c3353 Icarus: Use gettimeofday to more accurately measure scanhash time, and calibrate scan time estimate based on actual data 2012-04-21 14:19:22 -04:00
Luke Dashjr
34f86417cc Icarus: Abandon a scanhash early when work restart requested 2012-04-21 10:53:34 -04:00
Luke Dashjr
355a87e10b Bugfix: Calculate Icarus timeout-exhausted nonce count correctly
We're only waiting 8 seconds for results from Icarus, but actually exhausing the nonce space requires 11.3
2012-04-21 10:49:17 -04:00
Luke Dashjr
1291f5a407 Icarus: Use epoll (where available) to get nonces ASAP 2012-04-21 10:21:23 -04:00
Con Kolivas
7f107fb928 Merge branch 'master' into ztex 2012-04-21 18:28:51 +10:00
Luke Dashjr
0d92069760 Merge branch 'master' into align_temps
Conflicts:
	cgminer.c
2012-04-21 03:32:57 -04:00
Con Kolivas
9b5615d5f3 Shut down the api cleanly when the api thread is cancelled. This should allow the api socket to be closed successfully to next be reopened with app_restart. 2012-04-21 17:20:33 +10:00
Luke Dashjr
730849c988 Make a union for cgpu device handles, and rename "device" to "device_ztex" since it's Ztex-specific 2012-04-21 03:01:42 -04:00
Luke Dashjr
657716e563 Merge branch 'master' into ztex 2012-04-21 02:56:20 -04:00
Con Kolivas
127c4a5ff4 Initialise name variable. 2012-04-21 16:54:37 +10:00
Con Kolivas
e07c72687b Remove unnecessary check for variable that always has memory allocated. 2012-04-21 16:50:02 +10:00
Con Kolivas
a5b05d9c55 Merge pull request #167 from luke-jr/bugfix_missing_stmt
Bugfix: Missing "break" no-op in default case
2012-04-20 23:48:36 -07:00
Luke Dashjr
7987476db3 Bugfix: Missing "break" no-op in default case 2012-04-21 02:47:28 -04:00
Luke Dashjr
7312759596 Workaround Icarus UART failures by reopening the tty every scanhash
ngzhang says the USB-UART chip isn't stable on some computers, and I'm experiencing some weirdness myself.
This workaround seems to fix it (tested for over 48 hours, whereas failure is usually in well under 5 hours).
2012-04-21 02:43:54 -04:00
Con Kolivas
7b947882fe Merge pull request #157 from luke-jr/unify_drivers
Unify drivers as driver-*.c and add driver name to API
2012-04-20 23:41:46 -07:00
Con Kolivas
86671f80a8 Make the status window and log window as large as can fit on startup, rechecking to see if it can be enlarged after the fact. This allows any number of devices to be displayed provided the window is made long enough without corrupting the output. 2012-04-21 16:39:14 +10:00
Luke Dashjr
b8778839e9 Merge branch 'master' into unify_drivers
Conflicts:
	cgminer.c
2012-04-21 02:36:19 -04:00