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

System.InvalidOperationException: ErrorCode:'-1' #99

Closed
mattman24023 opened this issue Dec 14, 2016 · 1 comment
Closed

System.InvalidOperationException: ErrorCode:'-1' #99

mattman24023 opened this issue Dec 14, 2016 · 1 comment

Comments

@mattman24023
Copy link

mattman24023 commented Dec 14, 2016

when i enter mono scallion.exe --gpg test$

i get

'WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319

Unhandled Exception:
System.InvalidOperationException:  ErrorCode:'-1'
  at scallion.CLDeviceInfo.CheckError (System.Int32 err) [0x00018] in <321c5e9e4dd74aaa96eabdb1eb9fc105>:0 
  at scallion.CLDeviceInfo.GetDeviceIds (System.IntPtr platformId, OpenTK.Compute.CL10.DeviceTypeFlags deviceType) [0x00010] in <321c5e9e4dd74aaa96eabdb1eb9fc105>:0 
  at scallion.CLDeviceInfo.<GetDeviceIds>m__0 (System.IntPtr i) [0x00000] in <321c5e9e4dd74aaa96eabdb1eb9fc105>:0 
  at System.Linq.Enumerable+<SelectManyIterator>c__Iterator2`2[TSource,TResult].MoveNext () [0x00059] in <63992662b765477a898ef49cdcc99ee2>:0 
  at System.Linq.Buffer`1[TElement]..ctor (System.Collections.Generic.IEnumerable`1[T] source) [0x00087] in <63992662b765477a898ef49cdcc99ee2>:0 
  at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00011] in <63992662b765477a898ef49cdcc99ee2>:0 
  at scallion.CLDeviceInfo.GetDeviceIds () [0x00028] in <321c5e9e4dd74aaa96eabdb1eb9fc105>:0 
  at scallion.CLRuntime.GetDevices () [0x00001] in <321c5e9e4dd74aaa96eabdb1eb9fc105>:0 
  at scallion.Program.Main (System.String[] args) [0x0036a] in <321c5e9e4dd74aaa96eabdb1eb9fc105>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException:  ErrorCode:'-1'
  at scallion.CLDeviceInfo.CheckError (System.Int32 err) [0x00018] in <321c5e9e4dd74aaa96eabdb1eb9fc105>:0 
  at scallion.CLDeviceInfo.GetDeviceIds (System.IntPtr platformId, OpenTK.Compute.CL10.DeviceTypeFlags deviceType) [0x00010] in <321c5e9e4dd74aaa96eabdb1eb9fc105>:0 
  at scallion.CLDeviceInfo.<GetDeviceIds>m__0 (System.IntPtr i) [0x00000] in <321c5e9e4dd74aaa96eabdb1eb9fc105>:0 
  at System.Linq.Enumerable+<SelectManyIterator>c__Iterator2`2[TSource,TResult].MoveNext () [0x00059] in <63992662b765477a898ef49cdcc99ee2>:0 
  at System.Linq.Buffer`1[TElement]..ctor (System.Collections.Generic.IEnumerable`1[T] source) [0x00087] in <63992662b765477a898ef49cdcc99ee2>:0 
  at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00011] in <63992662b765477a898ef49cdcc99ee2>:0 
  at scallion.CLDeviceInfo.GetDeviceIds () [0x00028] in <321c5e9e4dd74aaa96eabdb1eb9fc105>:0 
  at scallion.CLRuntime.GetDevices () [0x00001] in <321c5e9e4dd74aaa96eabdb1eb9fc105>:0 
  at scallion.Program.Main (System.String[] args) [0x0036a] in <321c5e9e4dd74aaa96eabdb1eb9fc105>:0 '
@exploitagency
Copy link

exploitagency commented Jan 27, 2017

apt-get remove mesa-*

Remove all the mesa generic stuff and make sure you have nvidia opencl installed.

lachesis added a commit that referenced this issue Jan 29, 2017
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

3 participants