lachesis / scallion

GPU-based Onion Hash generator
Other
1.25k stars 164 forks source link

Scallion won't run: System.InvalidOperationException #159

Open kintarowonders opened 4 years ago

kintarowonders commented 4 years ago

I am trying to run Scallion on Fedora 32 and I am having trouble. It builds and runs but does not work and here is the output...

$ mono scallion.exe -l

Unhandled Exception:
System.InvalidOperationException:  ErrorCode:'-1'
  at scallion.CLDeviceInfo.CheckError (System.Int32 err) [0x00018] in <b77c52cf44094150a68dd3a18251eccd>:0 
  at scallion.CLDeviceInfo.GetDeviceIds (System.IntPtr platformId, OpenTK.Compute.CL10.DeviceTypeFlags deviceType) [0x00010] in <b77c52cf44094150a68dd3a18251eccd>:0 
  at scallion.CLDeviceInfo.<GetDeviceIds>m__0 (System.IntPtr i) [0x00000] in <b77c52cf44094150a68dd3a18251eccd>:0 
  at System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].ToArray () [0x00028] in <614664376d44439598fb9b7456340637>:0 
  at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00021] in <614664376d44439598fb9b7456340637>:0 
  at scallion.CLDeviceInfo.GetDeviceIds () [0x00028] in <b77c52cf44094150a68dd3a18251eccd>:0 
  at scallion.CLRuntime.GetDevices () [0x00001] in <b77c52cf44094150a68dd3a18251eccd>:0 
  at scallion.Program.ListDevices () [0x00004] in <b77c52cf44094150a68dd3a18251eccd>:0 
  at scallion.Program.Main (System.String[] args) [0x002c0] in <b77c52cf44094150a68dd3a18251eccd>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException:  ErrorCode:'-1'
  at scallion.CLDeviceInfo.CheckError (System.Int32 err) [0x00018] in <b77c52cf44094150a68dd3a18251eccd>:0 
  at scallion.CLDeviceInfo.GetDeviceIds (System.IntPtr platformId, OpenTK.Compute.CL10.DeviceTypeFlags deviceType) [0x00010] in <b77c52cf44094150a68dd3a18251eccd>:0 
  at scallion.CLDeviceInfo.<GetDeviceIds>m__0 (System.IntPtr i) [0x00000] in <b77c52cf44094150a68dd3a18251eccd>:0 
  at System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].ToArray () [0x00028] in <614664376d44439598fb9b7456340637>:0 
  at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00021] in <614664376d44439598fb9b7456340637>:0 
  at scallion.CLDeviceInfo.GetDeviceIds () [0x00028] in <b77c52cf44094150a68dd3a18251eccd>:0 
  at scallion.CLRuntime.GetDevices () [0x00001] in <b77c52cf44094150a68dd3a18251eccd>:0 
  at scallion.Program.ListDevices () [0x00004] in <b77c52cf44094150a68dd3a18251eccd>:0 
  at scallion.Program.Main (System.String[] args) [0x002c0] in <b77c52cf44094150a68dd3a18251eccd>:0