USDX
USDX copied to clipboard
USDX doesn't work with M1 mac
Hello,
I have a M1 Mac Mini 16GB and tried to open Ultrastart Deluxe. Unfortunately it changes to a black screen on start and after a second it quits. Does anyone know how to solve this problem?
Best wishes Robin
Does it create a file Error.log?
No, it just gets black and quits itself…
@RobinTheBird Did you check /Users/%youruser%/Library/Logs/UltraStar Deluxe
for the Error.log?
Hey, thank you! Yes, I checked it and it says:
"UltraStar Deluxe - www.usdx.eu V 2020.4.1 dev Build Error Log Date: 8-8-21 Time: 18:13:22
STATUS: Load Language [Initialization] STATUS: Load Default Language English [Initialization] STATUS: Loading Skin List [Initialization] STATUS: Loading Theme List [Initialization] STATUS: Searching for Theme : /Users/myusername/Library/Application Support/UltraStarDeluxe1.3/themes/*.ini [Theme.LoadList] STATUS: Found Theme: Modern.ini [Theme.LoadList] STATUS: Found Theme: Deluxe.ini [Theme.LoadList] STATUS: Website-Manager [Initialization] STATUS: DataBase System [Initialization] STATUS: Initializing database: "/Users/myusername/Library/Application Support/UltraStarDeluxe1.3/Ultrastar.db" [TDataBaseSystem.Init] STATUS: Load Ini [Initialization] STATUS: GamePath : /Users/myusername/Library/Application Support/UltraStarDeluxe1.3/ [] STATUS: Using config : /Users/myusername/Library/Application Support/UltraStarDeluxe1.3/config.ini [Ini] STATUS: Found Video Mode: 3840x2160 [Video] STATUS: Found Video Mode: 3360x1890 [Video] STATUS: Found Video Mode: 3200x1800 [Video] STATUS: Found Video Mode: 3008x1692 [Video] STATUS: Found Video Mode: 2560x1440 [Video] STATUS: Found Video Mode: 2304x1296 [Video] STATUS: Found Video Mode: 2048x1152 [Video] STATUS: Found Video Mode: 1920x1080 [Video] STATUS: Found Video Mode: 1680x945 [Video] STATUS: Found Video Mode: 1600x1200 [Video] STATUS: Found Video Mode: 1600x900 [Video] STATUS: Found Video Mode: 1504x846 [Video] STATUS: Found Video Mode: 1344x1008 [Video] STATUS: Found Video Mode: 1344x756 [Video] STATUS: Found Video Mode: 1280x1024 [Video] STATUS: Found Video Mode: 1280x960 [Video] STATUS: Found Video Mode: 1280x800 [Video] STATUS: Found Video Mode: 1280x720 [Video] STATUS: Found Video Mode: 1152x648 [Video] STATUS: Found Video Mode: 1024x768 [Video] STATUS: Found Video Mode: 1024x576 [Video] STATUS: Found Video Mode: 960x540 [Video] STATUS: Found Video Mode: 800x600 [Video] STATUS: Found Video Mode: 800x450 [Video] STATUS: Found resolutions: 24 [Video] STATUS: Load Help [Initialization] STATUS: Write Ini [Initialization] STATUS: Loading: /Users/myusername/Library/Application Support/UltraStarDeluxe1.3/themes/Deluxe.ini [TTheme.LoadTheme] ERROR: no texture type for LoadingStaticAnimation found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic1Avatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic2Avatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic3Avatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic4Avatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic5Avatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic6Avatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic7 found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic7Avatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic8 found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic8Avatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic9 found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic9Avatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic10 found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic10Avatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic11 found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic11Avatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic12 found. [TTheme.ThemeLoadStatic] ERROR: no texture type for NamePlayerSelectStatic12Avatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SongRouletteStaticCat found. [TTheme.ThemeLoadStatic] ERROR: no texture type for JukeboxTimeProgress found. [TTheme.ThemeLoadStatic] ERROR: no texture type for JukeboxSongBackground found. [TTheme.ThemeLoadStatic] ERROR: no texture type for JukeboxSongCover found. [TTheme.ThemeLoadStatic] ERROR: no texture type for JukeboxStaticActualSongCover found. [TTheme.ThemeLoadStatic] ERROR: no texture type for JukeboxSongMenuTimeProgress found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingLyricsBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingLyricsBarDuet found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingTimeBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingTimeProgress found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP1SingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP1TwoPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP1ThreePSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP2RSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP2MSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP3SingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP1Avatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP1TwoPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP1ThreePAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP2RAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP2MAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP3RAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingDuetP1ThreePStatic2 found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingDuetP1ThreePAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingDuetP2MStatic2 found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingDuetP2MAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingDuetP3RStatic2 found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingDuetP3RAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingDuetP1ThreePSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingDuetP2MSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingDuetP3RSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP1FourPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP1FourPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP2FourPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP2FourPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP3FourPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP3FourPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP4FourPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP4FourPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP1SixPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP1SixPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP2SixPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP2SixPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP3SixPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP3SixPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP4SixPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP4SixPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP5SixPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP5SixPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP6SixPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP6SixPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP1DuetFourPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP1DuetFourPStatic2 found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP1DuetFourPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP2DuetFourPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP2DuetFourPStatic2 found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP2DuetFourPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP3DuetFourPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP3DuetFourPStatic2 found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP3DuetFourPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP4DuetFourPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP4DuetFourPStatic2 found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP4DuetFourPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP1DuetSixPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP1DuetSixPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP2DuetSixPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP2DuetSixPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP3DuetSixPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP3DuetSixPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP4DuetSixPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP4DuetSixPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP5DuetSixPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP5DuetSixPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP6DuetSixPSingBar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for SingP6DuetSixPAvatar found. [TTheme.ThemeLoadStatic] ERROR: no texture type for EditSubHeaderBackground found. [TTheme.ThemeLoadStatic] ERROR: no texture type for EditSubCurrentNoteInfoBackground found. [TTheme.ThemeLoadStatic] ERROR: no texture type for EditSubVolumeSliderBackground found. [TTheme.ThemeLoadStatic] ERROR: no texture type for EditSubNotesBackground found. [TTheme.ThemeLoadStatic] ERROR: no texture type for EditSubP1InfoBarBackground found. [TTheme.ThemeLoadStatic] ERROR: no texture type for EditSubP2InfoBarBackground found. [TTheme.ThemeLoadStatic] ERROR: no texture type for EditSubSentenceBackground found. [TTheme.ThemeLoadStatic] ERROR: no texture type for ScoreDownloadPopupProgressSong found. [TTheme.ThemeLoadStatic] ERROR: no texture type for ScoreDownloadPopupProgressWeb found. [TTheme.ThemeLoadStatic] STATUS: Opened audio device [TAudioPlayback_SDL.InitializeAudioPlaybackEngine] STATUS: InputDevice "BlackHole 2ch"@2x44100Hz (0.1sec) [Portaudio.EnumDevices] STATUS: InputDevice "EpocCam Microphone"@2x44100Hz (0.1sec) [Portaudio.EnumDevices] STATUS: #Input-Devices: 2 [Portaudio] INFO: Using decoder FFmpeg_Decoder for "/Users/myusername/Library/Application Support/UltraStarDeluxe1.3/sounds/Common start.mp3" [TAudioPlaybackBase.OpenDecodeStream] INFO: Using decoder FFmpeg_Decoder for "/Users/myusername/Library/Application Support/UltraStarDeluxe1.3/sounds/Common back.mp3" [TAudioPlaybackBase.OpenDecodeStream] INFO: Using decoder FFmpeg_Decoder for "/Users/myusername/Library/Application Support/UltraStarDeluxe1.3/sounds/menu swoosh.mp3" [TAudioPlaybackBase.OpenDecodeStream] INFO: Using decoder FFmpeg_Decoder for "/Users/myusername/Library/Application Support/UltraStarDeluxe1.3/sounds/select music change music 50.mp3" [TAudioPlaybackBase.OpenDecodeStream] INFO: Using decoder FFmpeg_Decoder for "/Users/myusername/Library/Application Support/UltraStarDeluxe1.3/sounds/option change col.mp3" [TAudioPlaybackBase.OpenDecodeStream] INFO: Using decoder FFmpeg_Decoder for "/Users/myusername/Library/Application Support/UltraStarDeluxe1.3/sounds/rimshot022b.mp3" [TAudioPlaybackBase.OpenDecodeStream] INFO: Using decoder FFmpeg_Decoder for "/Users/myusername/Library/Application Support/UltraStarDeluxe1.3/sounds/Applause.mp3" [TAudioPlaybackBase.OpenDecodeStream] INFO: Using decoder FFmpeg_Decoder for "/Users/myusername/Library/Application Support/UltraStarDeluxe1.3/sounds/background track.mp3" [TAudioPlaybackBase.OpenDecodeStream] STATUS: SDL_Init [UGraphic.Initialize3D] STATUS: Use config resolution [SDL_SetVideoMode] STATUS: Creating window [SDL_SetVideoMode] STATUS: Set Video Mode... Borderless fullscreen [SDL_SetVideoMode] INFO: OpenGL vendor Apple [UGraphic.InitializeScreen] INFO: OpenGL renderer Apple M1 [UGraphic.InitializeScreen] INFO: OpenGL version 2.1 Metal - 71.0.7 [UGraphic.InitializeScreen] INFO: OpenGL vendor Apple [TTextureUnit.Create] INFO: OpenGL renderer Apple M1 [TTextureUnit.Create] INFO: OpenGL version 2.1 Metal - 71.0.7 [TTextureUnit.Create] INFO: OpenGL TextureNPOT-support: -1 [TTextureUnit.Create] STATUS: TDisplay.Create [UGraphic.Initialize3D] STATUS: Loading Font Textures [UGraphic.Initialize3D] STATUS: Building Fonts [LoadTextures] STATUS: Loading Loading Screen [UGraphic.Initialize3D] STATUS: Closing DB file [Finalization] INFO: TDataBaseSystem.Free [TDataBaseSystem.Destroy] STATUS: Finalize Media [Finalization] STATUS: Uninitialize 3D [Finalization] STATUS: Kill Fonts [UnloadFontTextures] STATUS: Finalize SDL [Finalization] STATUS: Finalize Log [Finalization] "
What does that mean? Still not working :-(
You could try deleting (or renaming) the database file /Users/myusername/Library/Application Support/UltraStarDeluxe1.3/Ultrastar.db
and then try starting the game again.
Thank you, but it doesn't work. It creates a new Ultrastar.db file, black screen for 1 second and quits.
Does anyone else have ideas what the problem could be? Or knows a workaround? Thx!
the current version under releases works fine on macbook air m1
Good to know, I built it on an Intel Mac.
@bohning When looking at the activity monitor it says it is intel code. So it runs very well under Rosetta. Is it possible to just switch the ABI to ARM when apple somewhen in the future will cut the rosetta emulation? Or will we have a problem then?
I'd be happy to make ARM releases if someone donates an M1 machine. They are still way too expensive to buy them just for fun.
@s09bQ5 the current intel build runs very well on M1 Sonoma 14.3.1 ... thank you for your dedicated work...
I really hope Rosetta will stay for at least another 5 years 😬. By then M1 machines will be 9 years old and hopefully the price will be reasonably down. I meanwhile cloned the repo and tried to build it, but since there are many third party libraries involved it seems not as easy as to just enable a switch... in the end these libraries also have to support ARM.
currently I still have an old 2014 intel mac mini linked to a TV which only purpose is to play sometimes USDX. So I wondered whether it is safe to sell it and use ARM only machines... Thats why I asked ...
We should have a CI pipeline that builds the release artefacts for all OS and architectures...
https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary
they say one can build ARM code on an INTEL mac...
You can build a universal binary on either an Apple silicon or Intel-based Mac computer, but you cannot debug the arm64 slice of your binary on an Intel-based Mac computer. It’s possible to debug both slices of a universal binary on Apple silicon, but you must run the x86_64 slice under Rosetta translation.
however you can not debug and also not run the built code on INTEL...
... ofc CI pipeline which builds all the artefacts would be favourable and super modern ...