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

Couple DesktopGL on MacOS issues with latest 3.6 dev build #4932

Closed
endimilojkoski opened this issue Jun 14, 2016 · 10 comments
Closed

Couple DesktopGL on MacOS issues with latest 3.6 dev build #4932

endimilojkoski opened this issue Jun 14, 2016 · 10 comments

Comments

@endimilojkoski
Copy link

endimilojkoski commented Jun 14, 2016

Found couple issues when testing my DesktopGL game on MacOS:

  1. Had to rename "libopenal.1.dylib" to "libopenal.dylib"
  2. Had to rename "libSDL2-2.0.0.dylib" to "libSDL2.dylib"
  3. Full screen issue on 1440x810 MacBook Pro '08 display. The game shows up in the bottom left corner. I managed to work around it by setting it to full screen again once the Loading finishes. There are no issues if I start the game in windowed mode or if I go to Options and go to windowed mode and back to full screen.
  4. If I plug in gamepad while game is running, it is not detected but it does not crash the game like it does on Windows.

*5. The game is still crashing on Windows if I connect a gamepad in game, but this might have been fixed with some of the open PRs?

@mrhelmut @cra0zy

@mrhelmut
Copy link
Contributor

  1. & 2. are fixed in the dependencies (MonoGame/MonoGame.Dependencies@42e587c), but I still need to push the update on the main repo.
  2. if you have packaged your game in an .app bundle, make sure that there is no NSHighResolutionCapable or NSHighResolutionMagnifyAllowed in the info.plist file. These two make MonoGame to not work correctly on Hi-DPI modes.
  3. & 5. is something I'll have to take a look at soon.

@endimilojkoski
Copy link
Author

endimilojkoski commented Jun 15, 2016

On my friend's newer MacBook retina model the game crashes if his X360 gamepad is plugged in:

image

After unplugging it he can start the game.
If he plugs the gamepad in game nothing happens.

On my old MacBook the game is starting fine with X360 gamepad connected and I can play the game with it with no issues.

@mrhelmut
Copy link
Contributor

Could you try the latest develop? I believe it fixes your friend's issue.

I still have to investigate the hot plugging /unplugging support.

@endimilojkoski
Copy link
Author

I tried with latest develop.

@mrhelmut
Copy link
Contributor

That's puzzling, because the related code catches this error... https://github.com/mono/MonoGame/blob/develop/MonoGame.Framework/Input/GamePad.SDL.cs#L71

@endimilojkoski
Copy link
Author

Yes, am building it from source and I have latest version, I checked and those changes are in.

@mrhelmut
Copy link
Contributor

Would you be able to debug this problem and know which line fails? I don't have any gamepad exposing this issue.
I suspect that it fails outside the try/catch because of a residual error that hasn't been cleaned from a previous gamepad failure. Probably related to having multiple gamepads.

@endimilojkoski
Copy link
Author

Unfortunately I can't debug it since it is not happening for me and my friend is in another country.
Will let you know if I find anything else.

I hope this will be fixed soon and other PRs merged before the Steam summer sale :)

@endimilojkoski
Copy link
Author

I can confirm that the game is working properly now on Mac retina displays.
So 4K and retina displays are working without any issues now on Windows and Mac.
I suppose it is same on Linux but I can't confirm that.

@harry-cpp
Copy link
Member

@tomspilman Everything in here should be fixed.

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

4 participants