Parkitect

Parkitect

View Stats:
Jaco 30 Nov, 2024 @ 5:03am
Linux Crash GameUI
Hi,

unfortunately, I experience a particular crash on the Linux-native version of the game. Starting up and running the game works fine, but whenever I (1) use the middle mouse button or (2) attempt to drag a window, the game crashes after a few frames.

My system is running Arch Linux with a dedicated NVIDIA graphics card and the nvidia drivers.

The drivers are all on the latest version available.

Basic System information

Operating System Version: "Arch Linux" (64 bit) Kernel Name: Linux Kernel Version: 6.12.1-arch1-1 X Server Vendor: The X.Org Foundation X Server Release: 12401004 X Window Manager: wlroots wm Video Card: Driver: NVIDIA Corporation NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2 Driver Version: 4.6.0 NVIDIA 565.57.01 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 59 Hz VendorID: 0x10de DeviceID: 0x2803 Revision Not Detected Number of Monitors: 1 Number of Logical Video Cards: 2 Primary Display Resolution: 3440 x 1440 Desktop Resolution: 3440 x 1440 Primary Display Size: 31.50" x 12.99" (34.06" diag), 80.0cm x 33.0cm (86.5cm diag) Primary VRAM: 16380 MB

Steps to Reproduce

- Open the game with either launch option ("Parkitect"/"Parkitect with OpenGL")
- Title screen opens without issues
- Load any savegame
- Game loads and runs, keyboard works

Then:
- Press the middle mouse button

or:
- Open a GUI window by clicking on a ride
- Click on the window bar to drag the window

Game log

I omitted the extensions text due to length constraints.

Mono path[0] = '/home/someone/.local/share/Steam/steamapps/common/Parkitect/Parkitect_Data/Managed' Mono config path = '/home/someone/.local/share/Steam/steamapps/common/Parkitect/Parkitect_Data/MonoBleedingEdge/etc' Preloaded 'UnityFbxSdkNative.so' Preloaded 'discord_game_sdk.so' Preloaded 'libsteam_api.so' Display 0 'HDMI-A-2 34"': 3440x1440 (primary device). Desktop is 3440 x 1440 @ 60 Hz [Vulkan init] extensions: count=23 ...omitted... Vulkan detection: 2 Initialize engine version: 2020.3.48f1 (b805b124c6b7) [Subsystems] Discovering subsystems at path /home/someone/.local/share/Steam/steamapps/common/Parkitect/Parkitect_Data/UnitySub systems GfxDevice: creating device client; threaded=1 [Vulkan init] extensions: count=23 ...omitted... [Vulkan init] SelectPhysicalDevice requestedDeviceIndex=-1 xrDevice=(nil) [Vulkan init] Physical Device 0x5c67e50 [0]: "NVIDIA GeForce RTX 4060 Ti" deviceType=2 vendorID=10de deviceID=2803 [Vulkan init] Selected physical device 0x5c67e50 [Vulkan init] Graphics queue count=1 [Vulkan init] extensions: count=228 ...omitted... Fossilize INFO: Overriding serialization path: "/home/someone/.local/share/Steam/steamapps/shadercache/453090/fozpipelinesv6/steamapprun_pipeline_cache". Vulkan API version 1.1.0 (1.3.289 supported by driver, 1.1.0 requested) Vulkan vendor=[NVIDIA] id=[10de] Vulkan renderer=[NVIDIA GeForce RTX 4060 Ti] id=[2803] Vulkan device type 2 Vulkan driverversion=[0x8d4e4040] uint=[-1924251584] Vulkan PSO: cache data not found [path=/tmp/Texel Raptor/Parkitect/vulkan_pso_cache.bin] Begin MonoManager ReloadAssembly - Completed reload, in 0.048 seconds requesting resize 3440 x 1440 Using native desktop resolution 3440 x 1440 requesting fullscreen 3440 x 1440 at 0 Hz Desktop is 3440 x 1440 @ 60 Hz InitializeOrResetSwapChain 3440x1440 hdr=0 samples=1 UnloadTime: 0.445945 ms No instance of AssetManagement/DebugPreferences found, using default values [S_API] SteamAPI_Init(): Loaded '/home/someone/.local/share/Steam/linux64/steamclient.so' OK. Setting breakpad minidump AppID = 453090 SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561198184451277 [API loaded no] Loading settings file... {"@type":"Settings","controlsLockCursor":true,"runInBackground":true,"antiAliasing":"TAA","cameraRotationSnapAngle":26.5699997,"audioMasterVolume":1.,"audioWorldSfxVolume":1.,"audioVoicesVolume":1.,"audioGlobalSfxVolume":1.,"audioBackgroundMusicVolume":1.,"audioRideMusicVolume":1.,"audioAmbianceVolume":1.,"audioUIVolume":1.,"graphicsVSyncCount":1,"graphicsCapFramerateLow":false,"graphicsVSync":true,"graphicsAmbientOcclusionIntensity":0.800000012,"graphicsTiltShiftIntensity":0.400000006,"graphicsBloom":true,"graphicsScreenSpaceReflections":false,"graphicsRainEffect":true,"graphicsShadowFadeoutDistance":0.699999988,"graphicsLODBias":2.,"graphicsPeopleAnimationQuality":1.,"tutorialEnabled":true,"version":5,"sideMenuIsHidden":false,"expandedFinanceOverviewGroups":0,"controlsEdgeScrolling":true,"showGrid":false,"sandboxMoney":false,"gridLineIntensity":1.,"autosaveInterval":1800,"trackBuilderShowHeightmarks":true,"trackBuilderShowGhostStats":false,"cameraPanSpeed":1.,"cameraZoomSpeed":1.,"cameraRotationSpeed":1.,"cameraVerticalAxisDirection":1,"cameraAcceleration":true,"uiScale":1.,"graphicsColorCorrectionFilterIdentifier":"","blueprintManufacturerName":"Jaco","multiplayerNickname":"Jaco","id":"9627f16d-a187-461e-880a-b001fdcdb95c","unitSystem":"METRIC","savegameSortOrder":"DATE","colorPalettes":[],"localeIsoCode":"en","cameraRotationMode":"SNAP","disableAllMods":false,"collapsedDecoCategories":[],"collapsedBlueprintsCategories":[],"filteredThemes":[],"seeThroughObjectsAlpha":0.5,"attractionSortOrder":0,"shopSortOrder":0,"employeeSortOrder":0,"closedFinanceGroups":["OPERATING","OTHER","OVERALL"],"bulldozerMode":"BULLDOZE","advancedColorPicker":false,"colorBlindnessMode":false,"totalPlayTime":0,"multiplayerFilterPublicRooms":true,"multiplayerFilterPrivateRooms":true,"multiplayerFilterFullRooms":true,"windowSettings":{"LoadGameWindow":{"@type":"WindowSettings","position":[0.,0.],"size":[0.,0.]}},"modSettings":{},"keyMapping":{"GeneralCancelAction":"Escape","PreviousTab":"Home","NextTab":"End","HotkeyToggleUI":"X","HotkeyToggleUnderground":"C","HotkeyToggleScenery":"V","HotkeyTogglePaths":"B","HotkeyToggleAttractions":"N","HotkeyParkScreenshot":"F11","BuildingSnapToGrid":"LeftAlt","BuildingChangeHeight":"LeftShift","RunSpeed1":"Alpha1","RunSpeed2":"Alpha2","RunSpeed3":"Alpha3","RunSpeedPause":"Alpha0","Quicksave":"O","HotkeyPaths":"F5","HotkeyTerraformer":"F6","HotkeyDeco":"F4","HotkeyBlueprints":"F7","HotkeyShops":"F3","HotkeyParkUtilities":"F2","HotkeyBulldozer":"F9","HotkeyAttractions":"F1","HotkeyBrush":"F8","PipetteTool":"P","CameraPanDrag":"Mouse2","CameraRotateDrag":"None","CameraMapView":"M","CameraRotateLeft":"Q","CameraRotateRight":"E","CameraMoveLeft":"A","CameraMoveRight":"D","CameraMoveUp":"W","CameraMoveDown":"S","CameraZoomIn":"PageUp","CameraZoomOut":"PageDown","BuildingDeleteObject":"Mouse1"}} Setting up required directories... Date: 30.11.2024 13:34:38 Operating System: Linux 6.12 Steam Runtime 2 64bit Graphics device: NVIDIA GeForce RTX 4060 Ti (10243) Graphics device vendor: NVIDIA (4318) Resolution: 3440x1440; 0dpi Shader 'Rollercoaster/Ride Camera Ray': fallback shader 'Unlit' not found Starting to load Version 1.11a (v180 / 6614b95e-6854-4183-ab0e-43bcfa2090f0)... Testing permissions for /home/someone/.local/share/Steam/steamapps/common/Parkitect/Saves/Savegames/ Testing permissions for /home/someone/.local/share/Steam/steamapps/common/Parkitect/Saves/Scenarios/ Testing permissions for /home/someone/.local/share/Steam/steamapps/common/Parkitect/Saves/Campaigns/ Testing permissions for /home/someone/.local/share/Steam/steamapps/common/Parkitect/Saves/Blueprints/ Testing permissions for /home/someone/.local/share/Steam/steamapps/common/Parkitect/My Music/ Testing permissions for /home/someone/.local/share/Steam/steamapps/common/Parkitect/My Images/ Loading assets... Looking for DLC at /home/someone/.local/share/Steam/steamapps/common/Parkitect/DLC Loading DLC from /home/someone/.local/share/Steam/steamapps/common/Parkitect/DLC Found DLC: DLC1 (correct version: True) Updated blueprint cache in 1658.92 Updated content provider linker cache in 0.453949 ms Found DLC: DLC2 (correct version: True) Loaded assets in 2262.917 Loading scenarios... Updated content provider linker cache in 0.09393692 ms Loading savegames... Updated content provider linker cache in 0.1878738 ms Loading blueprints... Loading UI assets... Shader 'Rollercoaster/CustomColorsUIMasked': fallback shader 'Unlit/Textured' not found Loaded UI assets in 500.926 Loading shaders... Loaded shaders assets in 149.1556 Loading custom music... Loading 0 custom songs from /home/someone/.local/share/Steam/steamapps/common/Parkitect/My Music/ Loaded custom music in 3.473759 Load title screen... The referenced script on this Behaviour (Game Object 'ContentProviderQueryResultEntry') is missing! Found Steam Cloud sync file. Last sync: 1732969970 Updated blueprint cache in 2.211094 Updated savegame cache in 0.2031326 Updated savegame cache in 0.1401901 Updated savegame cache in 0.1316071 Updated savegame cache in 0.1087189 Loading campaign progress file... {"@type":"CampaignProgress","version":1,"completedScenarios":[{"@type":"CampaignProgress+CompletedScenario","scenarioGUID":"5300258a-eb65-4a6a-b1fe-3978bdfcaad5","requiredTime":1300,"fullyCompleted":true,"previousTokenCount":0}],"mapRevealed":true,"bonus1Revealed":false} Updated savegame cache in 0.1749992 Updated savegame cache in 11.34348 Updated savegame cache in 0.1397133 Updated savegame cache in 0.108242 Updated savegame cache in 0.08869171 Updated savegame cache in 0.02908707 Discord not available Moona System is already initialized! MSetup aborting initialization. Title screen loaded. Waiting for campaign map to load... [mod.io] PluginSettings variable directories resolved to: .cacheDirectory=/home/someone/.local/share/Steam/steamapps/common/Parkitect/Parkitect_Data/mod.io/cache .installationDirectory=/home/someone/.local/share/Steam/steamapps/common/Parkitect/Parkitect_Data/mod.io/mods .userDirectory=/home/someone/.config/unity3d/Texel Raptor/Parkitect\mod.io-2795 Updated savegame cache in 0.1602173 Campaign map loaded. Updated savegame cache in 0.1487732 Switching into park... Unloading 8 Unused Serialized files (Serialized files now loaded: 2) UnloadTime: 30.690241 ms GameController Awake: 0.8640289 Moona System is already initialized! MSetup aborting initialization. Main scene loaded... Start loading file /home/someone/.local/share/Steam/steamapps/common/Parkitect/Parkitect_Data/StreamingAssets/Savegames/Northern Highlands.park Reading savegame file... Deprecated prefab TrashDump - using TrashDumpStandalone Deprecated prefab TrashDump - using TrashDumpStandalone Unloading 878 unused Assets to reduce memory usage. Loaded Objects now: 78922. Total: 167.548885 ms (FindLiveObjects: 2.645514 ms CreateObjectMapping: 3.538941 ms MarkObjects: 158.954985 ms DeleteObjects: 2.408933 ms) Finished reading file. Finished loading savegame in 3,767.68 ms Upgrading from older savegame version Initialized objects in 1,496.65 ms Total load time: 5,336.40 ms Unloading 2 Unused Serialized files (Serialized files now loaded: 2) Unloading 6 unused Assets to reduce memory usage. Loaded Objects now: 430929. Total: 498.719949 ms (FindLiveObjects: 18.024604 ms CreateObjectMapping: 6.649347 ms MarkObjects: 473.699665 ms DeleteObjects: 0.345905 ms) Unloaded unused assets... Done switching. Caught fatal signal - signo:11 code:1 errno:0 addr:0x29c Obtained 10 stack frames. #0 0x007f6779e4c1d0 in __sigaction #1 0x007f677a9d0ff7 in GUIManager::DoGUIEvent(InputEvent&, bool) #2 0x007f677a9d1ebe in GUIManager::SendQueuedEvents() #3 0x007f677ae70367 in ExecutePlayerLoop(NativePlayerLoopSystem*) #4 0x007f677ae70322 in ExecutePlayerLoop(NativePlayerLoopSystem*) #5 0x007f677ae708ce in PlayerLoop() #6 0x007f677b0495c3 in PlayerMain(int, char**) #7 0x007f6779e34e08 in __libc_init_first #8 0x007f6779e34ecc in __libc_start_main #9 0x00000000201029 in _start

The dedicated GPU is the primary graphics card, so wlroots is configured to output to the dedicated output. The game runs fine on Proton, but with significantly degraded performance.

Let me know if there is any helpful information missing and I will ammend that!

Thanks
< >
Showing 1-3 of 3 comments
Xangel2Net 15 Feb @ 12:04pm 
Same. Occurred in native version whenever you press the middle button, even when the game is loading.
Jaco 23 Feb @ 9:47am 
Fixed it by switching to OpenGL and setting launch options to:

QT_QPA_PLATFORM="wayland" setarch -R %command%
Last edited by Jaco; 23 Feb @ 9:48am
Xangel2Net 23 Feb @ 10:49am 
It doesn't work for me, same with direct exe-launch. However, when starting with gdb and some signal ignoring (usual Unity situation) segmentation fault doesn't raise.
< >
Showing 1-3 of 3 comments
Per page: 1530 50