fireice-uk / xmr-stak

Free Monero RandomX Miner and unified CryptoNight miner
GNU General Public License v3.0
4.05k stars 1.79k forks source link

RTX 2070-SUPER better default config generation (wrong SM count) #2527

Open Ryo-RU opened 5 years ago

Ryo-RU commented 5 years ago

GPU: RTX 2070 SUPER [Specs link] [TU104-410-A1] OS/DRV: Win10 / 431.60 POW: CN-GPU Auto config:

  // gpu: GeForce RTX 2070 architecture: 75
  //      memory: 6736/8192 MiB
  //      smx: 36 
  { "index" : 0,
    "threads" : 8, "blocks" : 216,
    "bfactor" : 6, "bsleep" :  25,
    "affine_to_cpu" : false, "sync_mode" : 3,
    "mem_mode" : 1,
  },

Issue: It has 40SM, not 36 and analyzing hashrates I'm sure that it can do more hashes. GPU-Z detects all cores, so it is not driver problem apparently [screenshot]. It has detected previos generation 2070 with 36 SM

I will update this thread when more details will be available.

Thanks to Igor @Mojomine for helping

Ryo-RU commented 5 years ago

RTX 2060 SUPER [TU106-410-A1] is not affected and Xmr-Stak sees all its 34 SM.

  // gpu: GeForce RTX 2060 SUPER architecture: 75
  //      memory: 6740/8192 MiB
  //      smx: 34
  { "index" : 2,
    "threads" : 8, "blocks" : 204,
    "bfactor" : 6, "bsleep" :  25,
    "affine_to_cpu" : false, "sync_mode" : 3,
    "mem_mode" : 1,
  },
psychocrypt commented 5 years ago

36 is the number of RT cores. I checked again the CUDA documentation and can not find anything other to get the smx count.

Ryo-RU commented 5 years ago

2560 (check screenshot link with gpu-z) results in 40 SM that correlates with specs page. Stak "saw" 36 SM (2304 cuda cores) and gpu-z = 2560 on the same machine.