Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sgminer 5.5.5 problem with igpu #60

Open
Tetramatrix opened this issue Jul 9, 2017 · 17 comments
Open

sgminer 5.5.5 problem with igpu #60

Tetramatrix opened this issue Jul 9, 2017 · 17 comments

Comments

@Tetramatrix
Copy link

sgminer can not detect an amd card when igpu is enabled.

`PS D:\Users\XXX\sgminer-gm-5-5-5-windows> .\sgminer.exe -n

[20:06:09] CL Platform vendor: Intel(R) Corporation

[20:06:09] CL Platform name: Intel(R) OpenCL

[20:06:09] CL Platform version: OpenCL 1.2

[20:06:09] Platform devices: 1

[20:06:09] 0 Intel(R) HD Graphics

[20:06:09] Number of ADL devices: 1

[20:06:09] ATI ADL Overdrive5 API found.

[20:06:09] ATI ADL Overdrive6 API found.

[20:06:09] Found 9 logical ADL adapters

[20:06:09] ADL index 0, id 1999118508 - FAILED to get BIOS info

[20:06:09] Failed to ADL_Adapter_ID_Get. Error -1

[20:06:09] ADL index 1, id 1999118508 - FAILED to get BIOS info

[20:06:09] Failed to ADL_Adapter_ID_Get. Error -1

[20:06:09] ADL index 2, id 1999118508 - FAILED to get BIOS info

[20:06:09] Failed to ADL_Adapter_ID_Get. Error -1

[20:06:09] ADL index 3, id 1999118508 - FAILED to get BIOS info

[20:06:09] Failed to ADL_Adapter_ID_Get. Error -1

[20:06:09] ADL index 4, id 1999118508 - FAILED to get BIOS info

[20:06:09] Failed to ADL_Adapter_ID_Get. Error -1

[20:06:09] ADL index 5, id 1999118508 - FAILED to get BIOS info

[20:06:09] Failed to ADL_Adapter_ID_Get. Error -1

[20:06:09] ADL index 6, id 1999118508 - FAILED to get BIOS info

[20:06:09] Failed to ADL_Adapter_ID_Get. Error -1

[20:06:09] ADL index 7, id 1999118508 - FAILED to get BIOS info

[20:06:09] Failed to ADL_Adapter_ID_Get. Error -1

[20:06:09] ADL index 8, id 1999118508 - FAILED to get BIOS info

[20:06:09] Failed to ADL_Adapter_ID_Get. Error -1

[20:06:09] ADL found less devices than opencl!

[20:06:09] There is possibly more than one display attached to a GPU

[20:06:09] Use the gpu map feature to reliably map OpenCL to ADL

[20:06:09] WARNING: Number of OpenCL and ADL devices did not match!

[20:06:09] Hardware monitoring may NOT match up with devices!

[20:06:09] 1 GPU devices max detected

PS D:\Users\XXX\sgminer-gm-5-5-5-windows>`

@Dealazer
Copy link

Bios errors come of because you have to turn in one card in the mainboard not all at one time.
Start windows then turn off.
And then put in another card.
Start windows then turn off.
Then another of who many you have.

@Tetramatrix
Copy link
Author

It's a igpu!

@int03h
Copy link

int03h commented Jul 27, 2017

How about reading the output of the error ??
It explains the problem :
" 20:06:09] There is possibly more than one display attached to a GPU "
and the solution
"[20:06:09] Use the gpu map feature to reliably map OpenCL to ADL"

sgminer --help has about 3 different ways to "fix" this besides turning off the igpu.
-d.1,2,3,4 for example ( leaving out the igpu - id 0 )
selecting the opencl platform is another way
And finally the remapping suggested in the error output.

Github is not a support tool. Don't open tickets for things that are not bugs.

@Tetramatrix
Copy link
Author

@int03h: I don't answer people with broken links in profile!

@Tetramatrix
Copy link
Author

@int03h: BTW. I tried option -d and I don't have the gpu anymore. Did you tried it?

@int03h
Copy link

int03h commented Jul 28, 2017

@Tetramatrix
a) I am not obliged to provide "fixed" links in my profile for you to troll. Why don't you worry about your problem more, and worry less about who I am ?
b) You commented to the person with the "broken" link in his profile, about the broken link in his profile..and then asked for help ?
c) Here .. I will do sgminer --help for you .. lets see if you spot it ?
sgminer --help
sgminer 5.5.5-gm
Usage: sgminer [-kDdEgIXKlLLpPQqUsTouvwOchnV]
Options for both config file and command line:
--algorithm|--kernel|-k Set mining algorithm and most common defaults, default: scrypt
--api-allow Allow API access only to the given list of [G:]IP[/Prefix] addresses[/subnets]
--api-description Description placed in the API status header, default: sgminer version
--api-groups API one letter groups G:cmd:cmd[,P:cmd:*...] defining the cmds a groups can use
--api-listen Enable API, default: disabled
--api-mcast Enable API Multicast listener, default: disabled
--api-mcast-addr API Multicast listen address
--api-mcast-code Code expected in the API Multicast message, don't use '-'
--api-mcast-des Description appended to the API Multicast reply, default: ''
--api-mcast-port API Multicast listen port (default: 4028)
--api-network Allow API (if enabled) to listen on/for any address, default: only 127.0.0.1
--api-port Port number of miner API (default: 4028)
--auto-fan Automatically adjust all GPU fan speeds to maintain a target temperature
--auto-gpu Automatically adjust all GPU engine clock speeds to maintain a target temperature
--balance Change multipool strategy from failover to even share balance
--blake-compact Set SPH_COMPACT_BLAKE64 for Xn derived algorithms (Can give better hashrate for some GPUs)
--compact Use compact display without per device statistics
--debug|-D Enable debug output
--debug-log Enable debug logging when stderr is redirected to file
--default-profile Set Default Profile
--description Pool description
# --device|-d Select device to use, one value, range and/or comma separated (e.g. 0-2,4) default: all
--disable-rejecting Automatically disable pools that continually reject shares
--expiry|-E Upper bound on how many seconds after getting work we consider a share from it stale (default: 28)
--event-on Select event type to perform task on
--event-runcmd Command to perform on event
--event-reboot Reboot the system on event
--event-reboot-delay Delay in seconds to wait before rebooting
--event-quit Quit sgminer on event
--event-quit-message Quit message when quitting sgminer on event
--failover-only Don't leak work to backup pools when primary pool is lagging
--failover-switch-delay Delay in seconds before switching back to a failed pool (default: 60)
--fix-protocol Do not redirect to a different getwork protocol (eg. stratum)
--gpu-dyninterval Set the refresh interval in ms for GPUs using dynamic intensity (default: 7)
--gpu-platform Select OpenCL platform ID to use for GPU mining (default: -1)
--gpu-threads|-g Number of threads per GPU - one value or comma separated list (e.g. 1,2,1)
--gpu-engine GPU engine (over)clock range in Mhz - one value, range and/or comma separated list (e.g. 850-900,900,750-850)
--gpu-fan GPU fan percentage range - one value, range and/or comma separated list (e.g. 0-85,85,65)
--gpu-map Map OpenCL to ADL device order manually, paired CSV (e.g. 1:0,2:1 maps OpenCL 1 to ADL 0, 2 to 1)
--gpu-memclock Set the GPU memory (over)clock in Mhz - one value for all or separate by commas for per card
--gpu-memdiff Set a fixed difference in clock speed between the GPU and memory in auto-gpu mode
--gpu-powertune Set the GPU powertune percentage - one value for all or separate by commas for per card
--gpu-reorder Attempt to reorder GPU devices according to PCI Bus ID
--gpu-vddc Set the GPU voltage in Volts - one value for all or separate by commas for per card
--hamsi-expand-big Set SPH_HAMSI_EXPAND_BIG for X13 derived algorithms (1 or 4 are common) (default: 4)
--hamsi-short Set SPH_HAMSI_SHORT for X13 derived algorithms (Can give better hashrate for some GPUs)
--keccak-unroll Set SPH_KECCAK_UNROLL for Xn derived algorithms (Default: 0) (default: 0)
--kernelfile Set the algorithm kernel source file (without file extension).
--lookup-gap Set GPU lookup gap for scrypt mining, comma separated
--luffa-parallel Set SPH_LUFFA_PARALLEL for Xn derived algorithms (Can give better hashrate for some GPUs)
--incognito Do not display user name in status window
--more-notices Shows work restart and new block notices, hidden by default
--intensity|-I Intensity of GPU scanning (d or 4 -> 31,default: d to maintain desktop interactivity), overridden by --xintensity or --rawintensity.
--xintensity|-X Shader based intensity of GPU scanning (1 to 9999), overridden --xintensity|-X and --rawintensity.
--rawintensity Raw intensity of GPU scanning (1 to 2147483647), overrides --intensity|-I and --xintensity|-X.
--kernel-path|-K Specify a path to where kernel files are (default: "/usr/local/bin")
--load-balance Change multipool strategy from failover to quota based balance
--log|-l Interval in seconds between log output (default: 5)
--log-file|-L Log stderr to file
--log-show-date|-L Show date on every log line
--lowmem Minimise caching of shares for low memory applications
--name|--pool-name Name of pool
--net-delay Impose small delays in networking to not overload slow routers
--nfactor Override default scrypt N-factor parameter.
--no-adl Disable the ATI display library used for monitoring and setting GPU parameters
--no-client-reconnect Disable 'client.reconnect' stratum functionality
--no-restart Do not attempt to restart GPUs that hang
--no-submit-stale Don't submit shares if they are detected as stale
--no-extranonce|--pool-no-extranonce Disable 'extranonce' stratum subscribe for pool
--pass|--pool-pass|-p Password for bitcoin JSON-RPC server
--per-device-stats Force verbose mode and output per-device statistics
--pool-algorithm|--pool-kernel Set algorithm for pool
--pool-backup Mark this pool as a backup for simple connect strategy
--pool-device Select devices to use with pool, one value, range and/or comma separated (e.g. 0-2,4) default: all
--pool-kernelfile Set the pool's algorithm kernel source file (without file extension).
--pool-lookup-gap Set Pool GPU lookup gap for scrypt mining, comma separated
--pool-gpu-engine Pool GPU engine (over)clock range in Mhz - one value, range and/or comma separated list (e.g. 850-900,900,750-850)
--pool-gpu-fan GPU fan for pool
--pool-gpu-memclock Set the Pool GPU memory (over)clock in Mhz - one value for all or separate by commas for per card
--pool-gpu-powertune Set the Pool GPU powertune percentage - one value for all or separate by commas for per card
--pool-gpu-threads Number of threads per GPU for pool
--pool-gpu-vddc Set the Pool GPU voltage in Volts - one value for all or separate by commas for per card
--pool-intensity Intensity of GPU scanning (pool-specific)
--pool-nfactor Set N-factor for pool
--pool-profile Profile to use with the pool
--pool-rawintensity Raw intensity of GPU scanning (pool-specific)
--pool-shaders Pool GPU shaders per card for tuning scrypt, comma separated
--pool-thread-concurrency Set thread concurrency for pool
--pool-worksize Override detected optimal worksize for pool - one value or comma separated list
--pool-xintensity Shader based intensity of GPU scanning (pool-specific)
--priority|--pool-priority Pool priority
--profile-algorithm|--profile-kernel Set algorithm for profile
--profile-device Select devices to use with profile, one value, range and/or comma separated (e.g. 0-2,4) default: all
--profile-kernelfile Set the profile's algorithm kernel source file (without file extension).
--profile-lookup-gap Set Profile GPU lookup gap for scrypt mining, comma separated
--profile-gpu-engine Profile GPU engine (over)clock range in Mhz - one value, range and/or comma separated list (e.g. 850-900,900,750-850)
--profile-gpu-fan GPU fan for profile
--profile-gpu-memclock Set the Profile GPU memory (over)clock in Mhz - one value for all or separate by commas for per card
--profile-gpu-powertune Set the Profile GPU powertune percentage - one value for all or separate by commas for per card
--profile-gpu-threads Number of threads per GPU for profile
--profile-gpu-vddc Set the Profile GPU voltage in Volts - one value for all or separate by commas for per card
--profile-intensity Intensity of GPU scanning (profile-specific)
--profile-name Profile Name
--profile-nfactor Set N-factor for profile
--profile-rawintensity Raw intensity of GPU scanning (profile-specific)
--profile-shaders Profile GPU shaders per card for tuning scrypt, comma separated
--profile-thread-concurrency Set thread concurrency for profile
--profile-worksize Override detected optimal worksize for profile - one value or comma separated list
--profile-xintensity Shader based intensity of GPU scanning (profile-specific)
--protocol-dump|-P Verbose dump of protocol-level activities
--queue|-Q Minimum number of work items to have queued (0+) (default: 1)
--quiet|-q Disable logging output, display status and errors
--quota|--pool-quota|-U quota;URL combination for server with load-balance strategy quotas
--real-quiet Disable all output
--remove-disabled Remove disabled devices entirely, as if they didn't exist
--rotate Change multipool strategy from failover to regularly rotate at N minutes (default: 0)
--round-robin Change multipool strategy from failover to round robin on failure
--scan-time|-s Upper bound on time spent scanning current work, in seconds (default: 7)
--sched-start Set a time of day in HH:MM to start mining (a once off without a stop time)
--sched-stop Set a time of day in HH:MM to stop mining (will quit without a start time)
--shaders GPU shaders per card for tuning scrypt, comma separated
--sharelog Append share log to file
--shares Quit after mining N shares (default: unlimited)
--socks-proxy Set socks4 proxy (host:port)
--show-coindiff Show coin difficulty rather than hash value of a share
--state|--pool-state Specify pool state at startup (default: enabled)
--keepalive|--pool-keepalive Specify pool if keepalived method is used (default: false)
--switcher-mode Algorithm/gpu settings switcher mode.
--tcp-keepalive TCP keepalive packet idle time (default: 30)
--temp-cutoff Temperature which a device will be automatically disabled at, one value or comma separated list (default: 95)
--temp-hysteresis Set how much the temperature can fluctuate outside limits when automanaging speeds (default: 3)
--temp-overheat Temperature which a device will be throttled at while automanaging fan and/or GPU, one value or comma separated list (default: 85)
--temp-target Temperature which a device should stay at while automanaging fan and/or GPU, one value or comma separated list (default: 80)
--text-only|-T Disable ncurses formatted screen output
--thread-concurrency Set GPU thread concurrency for scrypt mining, comma separated
--url|--pool-url|-o URL for bitcoin JSON-RPC server
--user|--pool-user|-u Username for bitcoin JSON-RPC server
--verbose|-v Log verbose output to stderr as well as status output
--watchpool-refresh Interval in seconds to refresh pool status (default: 30)
--worksize|-w Override detected optimal worksize - one value or comma separated list
--userpass|--pool-userpass|-O Username:Password pair for bitcoin JSON-RPC server
--worktime Display extra work time debug information
--difficulty-multiplier (deprecated) Difficulty multiplier for jobs received from stratum pools
Options for command line only:
--config|-c Load a JSON-format configuration file
See example.conf for an example configuration.
--default-config Specify the filename of the default config file
Loaded at start and used when saving without a name.
--remote-config-retry Number of times to retry downloading remote config file. Default: 3 (default: 3)
--remote-config-wait Time in seconds to wait between download retries of remote config files. Default: 10secs (default: 10)
--remote-config-usecache Use cached copy of the remote config file when download fails. Default: No
--help|-h Print this message
--ndevs|-n Display number of detected GPUs, OpenCL platform information, and exit
--version|-V Display version and exit

@Tetramatrix
Copy link
Author

@int03h:a) it would be nice. Is it your code?

@int03h
Copy link

int03h commented Jul 28, 2017

@Tetramatrix
Copy link
Author

@int03h: btw I tried all 3 ways none worked. Thanks for help anyway!

@Tetramatrix
Copy link
Author

This is what I tried sgminer -k ethash -d 1 -XXXX -u XXXX -p x -X 1024 -w 192 -g 1

@Granpoob
Copy link

Granpoob commented Nov 14, 2017

Want to use sgminer-gm 5.5.5 to mine xmr but need to set the voltage and go max temp. I have been using claymore successfully but would like to switch to sgminer to try it out (hashrate comparison etc). For various reasons I really need to be able to set max gpu temp and gpu voltage. Used the above info but cannot get it to work. Can someone provide sample start and conf files which include these 2 parameters so I can see what i'm doing wrong?

@mpgsandeep999
Copy link

Want to use sgminer-gm 5.5.5 to mine xmr intel hd graphic 5500 with intel opencl 2.0but i have no correct .bat file . error is include in submit file
my .bat file
setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_MAX_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_MAX_SINGLE_ALLOC_PERCENT 100

sgminer -k cryptonight -o stratum+tcp://xmr-usa.dwarfpool.com:8005 -u 44xqB4Z86pMhhuuoQ7aKt3jSQmxRfbGJq4VbvcsyRBEjJf3L3r9VKTV7CQFNFVPmBEfPsFtQGn2FehB6B1S8MvhGSituW6H.sr1 -p x --rawintensity 896 -w 8 -g 1
screenshot_2

pause

@fkuzmanovsk
Copy link

@mpgsandeep999 Some pools will require you to register a worker as the error states above. Register at your pool's website and set up a worker. After that, add the worker as username.worker

@mpgsandeep999
Copy link

My Worker is registered on dwarf pool, Is it works on intel opencl with intel hd graphic?
I have a another GPU with nvidia GT 640. IS it works without opencl on nvidia card?

@fkuzmanovsk
Copy link

@mpgsandeep999 With Nvidia cards, you need to make sure you CUDA configured on your computer. OpenCL is generally supported for AMD cards, but you will need to compile for a CUDA architecture if you are going to use an NVIDIA card.

@mpgsandeep999
Copy link

Ok..thanks for support

@mpgsandeep999
Copy link

mpgsandeep999 commented Jan 24, 2018

Any EXTRA Config. for integrated Intel HD Graphic Card with Intel opencl 2.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants