lachesis / scallion

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

ATAL UNHANDLED EXCEPTION: System.InvalidOperationException: ErrorCode:'-1' at scallion.CLDeviceInfo.CheckError #158

Open kintarowonders opened 4 years ago

kintarowonders commented 4 years ago

On Fedora 32 I am getting these errors trying to run scallion - I am using rpmfusion cuda/nvidia drivers. nvidia-driver-devel 440.82 and cuda 10.2.89 and I built scallion myself with 'xbuild scallion.sln /p:TargetFrameworkVersion="v4.5"' and when I run I get this output...

Unhandled Exception:
System.InvalidOperationException:  ErrorCode:'-1'
  at scallion.CLDeviceInfo.CheckError (System.Int32 err) [0x00018] in <5f4df38453f848f1887dde2f8fa75d84>:0 
  at scallion.CLDeviceInfo.GetDeviceIds (System.IntPtr platformId, OpenTK.Compute.CL10.DeviceTypeFlags deviceType) [0x00010] in <5f4df38453f848f1887dde2f8fa75d84>:0 
  at scallion.CLDeviceInfo.<GetDeviceIds>m__0 (System.IntPtr i) [0x00000] in <5f4df38453f848f1887dde2f8fa75d84>: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 <5f4df38453f848f1887dde2f8fa75d84>:0 
  at scallion.CLRuntime.GetDevices () [0x00001] in <5f4df38453f848f1887dde2f8fa75d84>:0 
  at scallion.Program.Main (System.String[] args) [0x00282] in <5f4df38453f848f1887dde2f8fa75d84>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException:  ErrorCode:'-1'
  at scallion.CLDeviceInfo.CheckError (System.Int32 err) [0x00018] in <5f4df38453f848f1887dde2f8fa75d84>:0 
  at scallion.CLDeviceInfo.GetDeviceIds (System.IntPtr platformId, OpenTK.Compute.CL10.DeviceTypeFlags deviceType) [0x00010] in <5f4df38453f848f1887dde2f8fa75d84>:0 
  at scallion.CLDeviceInfo.<GetDeviceIds>m__0 (System.IntPtr i) [0x00000] in <5f4df38453f848f1887dde2f8fa75d84>: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 <5f4df38453f848f1887dde2f8fa75d84>:0 
  at scallion.CLRuntime.GetDevices () [0x00001] in <5f4df38453f848f1887dde2f8fa75d84>:0 
  at scallion.Program.Main (System.String[] args) [0x00282] in <5f4df38453f848f1887dde2f8fa75d84>:0