-
Notifications
You must be signed in to change notification settings - Fork 629
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
Linux + mono + fglrx = black window #217
Comments
Manually copying |
.config is probably required to find the right libraries to load. But it should probably be in the project output anyway, and should probably give some sort of message if libraries aren't loading correctly. |
Clarify OpenTK.dll.config use for #217
Thanks for the pull request, I'll leave this bug open to have a look to see if the NuGet package can be set up to do this automatically. |
It would be nice if opentk had a set of default linux and mac libraries even when config file is absent. |
I don't know if that's possible. The whole point of .config files is a mono workaround because DllImport only has one parameter to name the library to call, which is nearly always filled in with the Windows name of the library, e.g. opengl.dll. .configs map that Windows name to Linux and Mac names when running under Mono on those platforms, no .config no default names (or more correctly, one default name: the Windows one). |
In code checking would be a possibility, if there is a config file, load from config file, else check the running system and load predefined library. |
Like I said this is a Mono thing, it's very hard/impossible to override. But we should see if the NuGet package can be set up to make sure the config is correctly installed. |
The config should be included by default now. |
Simple examples like
GameWindowSimple.cs
produce only black screen (no errors). App main cycle are working (responding to the keys). System configuration:OpenTK version 1.1.1589.5942
AMD fglrx proprietary driver 1:13.8~beta1-3
uname -a: Linux simargl 3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13) x86_64 GNU/Linux
fglrxinfo:
mono --version:
The text was updated successfully, but these errors were encountered: