UltraStar-Deluxe / USDX

The free and open source karaoke singing game UltraStar Deluxe, inspired by Sony SingStar™
https://usdx.eu
GNU General Public License v2.0
846 stars 161 forks source link

[BUG] Display problems with macOS Catalina 10.15 #492

Closed bohning closed 4 years ago

bohning commented 4 years ago

Just compiled USDX on macOS Catalina 10.15 after updating yesterday (side note: Xcode command line tools need to be reinstalled via xcode-select --install after the OS update) without problems. However, when starting UltraStar, it only occupies a quarter of the window (lower left corner) if in windowed mode and (the lower) two thirds of the screen when in fullscreen mode. I played around with different resolutions, but no significant improvement and like this unplayable, unfortunately.

Bildschirmfoto 2019-10-21 um 22 59 10

Bildschirmfoto 2019-10-21 um 23 05 39

And, I also noticed that it is not possible anymore to change the desktop when UltraStar is running (swipe left/right with three fingers in standard configuration), but this has been the case even before updated to Catalina.

Provide some additional information:

basisbit commented 4 years ago

Could you try if performous or some other application using SDL2 works?

bohning commented 4 years ago

EDIT: Seems that the SDL developers are already aware of the problem and that there is already a fix.

bohning commented 4 years ago

I tried Performous, fullscreen mode does not seem to work, but at least the game part is centered ;-)

Bildschirmfoto 2019-10-30 um 10 23 16
s09bQ5 commented 4 years ago

@bohning, are you using brew? Have you tried installing the head version of sdl2?

bohning commented 4 years ago

@bohning, are you using brew? Have you tried installing the head version of sdl2?

Yes, I am using brew. TBH, I don’t know how to install the head version (or do you mean brew upgrade?). Any suggestions on how to proceed are welcome.

s09bQ5 commented 4 years ago

@bohning, try brew reinstall --HEAD sdl2

bohning commented 4 years ago

@bohning, try brew reinstall --HEAD sdl2

Unfortunately I get: Error: invalid option: --HEAD

s09bQ5 commented 4 years ago

That option was supported some time ago and the man page on the brew website still lists it for the install command. Maybe someone in #machomebrew on freenode can help.

jbretsch commented 4 years ago

Does brew upgrade --fetch-HEAD sdl2 do what you want?

bohning commented 4 years ago

Does brew upgrade --fetch-HEAD sdl2 do what you want?

Thanks for the help! Seems like I already have the latest version installed (I get "Warning: sdl2 2.0.10 already installed). I guess I need to recompile and test if the issue still occurs...

bohning commented 4 years ago

Unfortunately, the problem still persists:

Bildschirmfoto 2019-12-19 um 22 33 50

In additional, I now get many many "config-darwin.inc(98,2) Warning: Illegal compiler switch "$"" when compiling. Does not seem to be a problem, but they definitely weren’t there before. ;-)

s09bQ5 commented 4 years ago

2.0.10 is too old. With --HEAD brew is supposed to install the development version that does not yet have a version number.

s09bQ5 commented 4 years ago

In additional, I now get many many "config-darwin.inc(98,2) Warning: Illegal compiler switch "$"" when compiling.

Did you run autogen.sh before running configure? A recent merge added a few autoconf substitutions.

And this issue is not a bug inside USDX. You don't need to recompile.

bohning commented 4 years ago

In additional, I now get many many "config-darwin.inc(98,2) Warning: Illegal compiler switch "$"" when compiling.

Did you run autogen.sh before running configure? A recent merge added a few autoconf substitutions.

And this issue is not a bug inside USDX. You don't need to recompile.

Ah, no I did not run autogen.sh. Again, thanks for the hints and help!

bohning commented 4 years ago

Okay, finally found a solution/workaround:

brew unlink sdl2 brew install mercurial brew install --HEAD sdl2

This will unlink the 2.0.10 sdl2, install mercurial (to be able to fetch latest sdl2 HEAD) and then installs the latest HEAD of sdl2. This resolves the original issue =)

Thanks again, @s09bQ5 and @jbretsch!