vinegarhq / sober

Runtime for Roblox on Linux
https://sober.vinegarhq.org/
280 stars 12 forks source link

Upon launch of Sober I get this specific Vulkan error (VK_ERROR_SURFACE_LOST_KHR) (Fixed) #315

Open BoriBG opened 3 weeks ago

BoriBG commented 3 weeks ago

Acknowledgement of checking existent issues

What problem did you encounter?

So when launching Sober I get this Vulkan error (VK_ERROR_SURFACE_LOST_KHR) and then Sober crashes. Here's the Sober log

bTelemetryProtocol::setProcessTimeOverride: 2319
[JNI] OnLoad: ... Done
Setting default app policy file: /home/borislav/.var/app/org.vinegarhq.Sober/data/sober/assets/content/guac/defaultConfigs/GuacDefaultPolicy-GlobalDist.json
2024-10-12T13:09:08.780Z,1.780909,6ea98340,6 [FLog::AndroidGLView] nativeInitClientSettings
2024-10-12T13:09:08.805Z,1.805028,6ea98340,6 [FLog::Output] LoadClientSettingsFromLocal: "{
    "DFFlagDisableDPIScale": true,
    "DFIntTaskSchedulerTargetFps": 0,
    "FFlagAdServiceEnabled": false,
    "FFlagDebugDisableTelemetryEphemeralCounter": true,
    "FFlagDebugDisableTelemetryEphemeralStat": true,
    "FFlagDebugDisableTelemetryEventIngest": true,
    "FFlagDebugDisableTelemetryPoint": true,
    "FFlagDebugDisableTelemetryV2Counter": true,
    "FFlagDebugDisableTelemetryV2Event": true,
    "FFlagDebugDisableTelemetryV2Stat": true,
    "FFlagEnableGameJoinContext2": false,
    "FFlagFixGraphicsQuality": true,
    "FFlagFutureIsBrightPhase3Vulkan": true,
    "FFlagGameBasicSettingsFramerateCap5": true,
    "FFlagHighlightOutlinesOnMobile": true,

2024-10-12T13:09:08.807Z,1.807383,6ea98340,6 [FLog::AndroidGLView] nativePostClientSettingsLoadedInitialization3
2024-10-12T13:09:08.807Z,1.807578,6ea98340,6 [FLog::ClientRunInfo] RobloxGitHash: 8d61301dd0968a21481f7fcd30d2ba323fbd0ded
2024-10-12T13:09:08.807Z,1.807624,6ea98340,6 [FLog::ClientRunInfo] The base url is https://www.roblox.com/
2024-10-12T13:09:08.807Z,1.807650,6ea98340,6 [FLog::ClientRunInfo] The channel is production
nativeAppBridgeAppStart_original:
nativeAppBridgeV2Init:
2024-10-12T13:09:08.822Z,1.822156,426006c0,6 [FLog::SingleSurfaceApp] initializeWithAppStarter
2024-10-12T13:09:08.822Z,1.822277,426006c0,6 [FLog::SingleSurfaceApp] initializeSingleton
2024-10-12T13:09:08.822Z,1.822621,426006c0,6 [FLog::Output] setAssetFolder /home/borislav/.var/app/org.vinegarhq.Sober/data/sober/assets/content/
2024-10-12T13:09:08.823Z,1.823012,426006c0,6 [FLog::Output] setExtraAssetFolder /home/borislav/.var/app/org.vinegarhq.Sober/data/sober/assets/ExtraContent
2024-10-12T13:09:08.823Z,1.823474,426006c0,6 [FLog::Output] Evaluating deferred inferred crashes
2024-10-12T13:09:08.823Z,1.823987,426006c0,6 [FLog::SingleSurfaceApp] registerForForceOTAUpdateAvailableConnection stage = 0
2024-10-12T13:09:08.824Z,1.824811,426006c0,6 [FLog::DataModelPatchConfigurer] [_DataModelPatch] Load configs for user key: app:5232510815160721656
2024-10-12T13:09:08.827Z,1.827352,426006c0,6 [FLog::SingleSurfaceApp] setStage: (stage:Native)
2024-10-12T13:09:08.827Z,1.827434,426006c0,6 [FLog::SingleSurfaceApp] instantiate controllers
2024-10-12T13:09:08.827Z,1.827479,426006c0,6 [FLog::SurfaceController] SurfaceController[_:1]::SurfaceController, count: 1
2024-10-12T13:09:08.827Z,1.827850,426006c0,6 [FLog::SingleSurfaceApp] initializeLuaAppWithLoggedInUser: (stage:Native).
2024-10-12T13:09:08.827Z,1.827886,426006c0,6 [FLog::SingleSurfaceApp] applyLocale
2024-10-12T13:09:08.829Z,1.829642,426006c0,6 [FLog::DataModelPatchConfigurer] [_DataModelPatch] Retrieving patch
2024-10-12T13:09:08.829Z,1.829691,426006c0,6 [FLog::DataModelPatchConfigurer] getCachedPatch DataModelPatchConfig : type=1, assetId=5345954812, assetVersion=9692, maxAppVersion=642, localAssetURI=rbxasset://models/DataModelPatch/DataModelPatch.rbxm
2024-10-12T13:09:08.829Z,1.829726,426006c0,6 [FLog::DataModelPatchConfigurer] getCachedPatch : numAttempts=10
2024-10-12T13:09:08.829Z,1.829852,426006c0,6 [FLog::DataModelPatchConfigurer] getCachedPatch : contentId=rbxasset://models/DataModelPatch/DataModelPatch.rbxm
2024-10-12T13:09:08.829Z,1.829884,426006c0,6 [FLog::DataModelPatchConfigurer] getCachedPatch : get patch from content provider for Model
2024-10-12T13:09:08.830Z,1.830053,426006c0,6 [FLog::DataModelPatchConfigurer] deserializeAndVerifyPatch with blake3
nativeAppBridgeAppStart: StartupController finished starting: stage = 2, BTID = 0, upgradeStatus = 3.
2024-10-12T13:09:09.351Z,2.351196,426006c0,6 [FLog::Output] Hello? Is this thing on?
2024-10-12T13:09:09.351Z,2.351270,426006c0,6 [FLog::Output] Hello world, nothing to see here...
2024-10-12T13:09:09.358Z,2.358890,426006c0,6 [FLog::SingleSurfaceApp] setStage: (stage:InitializedLuaApp)
2024-10-12T13:09:09.375Z,2.375708,46cfe6c0,6 [FLog::Output] Info: DataModel Loading rbxasset://places/Mobile.rbxl
2024-10-12T13:09:09.403Z,2.403709,46cfe6c0,6 [FLog::DataModelPatchConfigurer] OTAPollingEnabled set to: false
2024-10-12T13:09:09.423Z,2.423117,46cfe6c0,6 [FLog::DataModelPatchConfigurer] [_DataModelPatch] Update OTA config
2024-10-12T13:09:09.596Z,2.596803,408006c0,6 [FLog::DataModelPatchConfigurer] [_DataModelPatch] Update OTA succeeded: {"SchemaVersion":"1","CanaryUserIds":[],"CanaryPercentage":0}
2024-10-12T13:09:09.596Z,2.596888,408006c0,6 [FLog::DataModelPatchConfigurer] [_DataModelPatch] Update OTA config not deployed
2024-10-12T13:09:09.884Z,2.884596,46cfe6c0,6 [FLog::DataModelPatchConfigurer] [discovery-ota] Load configs for user key: app:5232510815160721656
2024-10-12T13:09:09.884Z,2.884836,46cfe6c0,6 [FLog::DataModelPatchConfigurer] [discovery-ota] Retrieving patch
2024-10-12T13:09:09.884Z,2.884857,46cfe6c0,6 [FLog::DataModelPatchConfigurer] getCachedPatch DataModelPatchConfig : type=1, assetId=16639814581, assetVersion=933, maxAppVersion=642, localAssetURI=
2024-10-12T13:09:10.516Z,3.516766,46cfe6c0,6 [FLog::DataModelPatchConfigurer] [discovery-ota] Update OTA config
2024-10-12T13:09:10.549Z,3.549068,46bfd6c0,6 [FLog::Warning] Warning: Unable to fetch completed survey ids from app storage  
2024-10-12T13:09:10.646Z,3.646949,408006c0,6 [FLog::DataModelPatchConfigurer] [discovery-ota] Update OTA succeeded: {"SchemaVersion":"1","CanaryUserIds":[],"CanaryPercentage":0}
2024-10-12T13:09:10.647Z,3.647036,408006c0,6 [FLog::DataModelPatchConfigurer] [discovery-ota] Update OTA config not deployed
nativeAppBridgeV2StartApp:
nativeAppBridgeV2StartApp: Created ANativeWindow 0x10 (ID:1)
2024-10-12T13:09:10.734Z,3.734361,426006c0,6 [FLog::SingleSurfaceApp] startLuaApp: (stage:InitializedLuaApp).
2024-10-12T13:09:10.734Z,3.734474,426006c0,6 [FLog::SingleSurfaceApp] returnToLuaApp: (stage:InitializedLuaApp).
2024-10-12T13:09:10.734Z,3.734517,426006c0,6 [FLog::SingleSurfaceApp] returnToLuaApp: ... disable videoRecorder.
2024-10-12T13:09:10.734Z,3.734543,426006c0,6 [FLog::SingleSurfaceApp] returnToLuaAppInternal: ... App has been initialized, returning from game.
2024-10-12T13:09:10.734Z,3.734582,426006c0,6 [FLog::SurfaceController] [_:1]::replaceDataModel: (stage:0, window = 0x10) [tid:0x562c8040320]
2024-10-12T13:09:10.734Z,3.734964,426006c0,6 [FLog::Graphics] Vulkan: Using extension: VK_KHR_surface
2024-10-12T13:09:10.734Z,3.734991,426006c0,6 [FLog::Graphics] Vulkan: Using extension: VK_KHR_android_surface
2024-10-12T13:09:10.806Z,3.806612,408006c0,12 [DFLog::HttpTraceError] HttpResponse(#7 0x562d6260f20) time:123.0ms (net:122.8ms callback:0.1ms timeInRetryQueue:0.0ms)status:401  bodySize:67 url:{ "https://apis.roblox.com/platform-chat-api/v1/get-conversation-metadata" } ip:128.116.44.4 external:0 numberOfTimesRetried:0
2024-10-12T13:09:10.886Z,3.886993,426006c0,6 [FLog::Graphics] Vulkan Android Device: 
2024-10-12T13:09:10.887Z,3.887111,426006c0,6 [FLog::Graphics] VULKAN MT shader loading is enabled
2024-10-12T13:09:10.887Z,3.887147,426006c0,6 [FLog::Graphics] VULKAN heapIndex = 0, heapFlags = 1 (device), heapSize = 2147483648
2024-10-12T13:09:10.887Z,3.887171,426006c0,6 [FLog::Graphics] VULKAN heapIndex = 1, heapFlags = 0 (host), heapSize = 3523714048
2024-10-12T13:09:10.887Z,3.887185,426006c0,6 [FLog::Graphics] VULKAN heapIndex = 2, heapFlags = 1 (device), heapSize = 257949696
2024-10-12T13:09:10.887Z,3.887205,426006c0,6 [FLog::Graphics] VULKAN unifiedMemory = false, device memory = 6700400640, host memory = 12113648640, setting caps.videoMemory = 67108864
2024-10-12T13:09:10.887Z,3.887230,426006c0,6 [FLog::Graphics] Vulkan Device: NVIDIA GeForce GTX 1660 Ti
2024-10-12T13:09:10.887Z,3.887244,426006c0,6 [FLog::Graphics] Vulkan Device: Vendor 10de Device 2191
2024-10-12T13:09:10.887Z,3.887257,426006c0,6 [FLog::Graphics] Vulkan Device: Driver 550.428.128 (-1986346880)
2024-10-12T13:09:10.887Z,3.887275,426006c0,6 [FLog::Graphics] Vulkan Device: API 1.3.277
2024-10-12T13:09:10.887Z,3.887293,426006c0,6 [FLog::Graphics] Caps: passFloatsLimit 1073741824
2024-10-12T13:09:10.887Z,3.887306,426006c0,6 [channel] Caps: ThreadSafe 1 Framebuffer 1 FpFramebuffer 1 Shaders 1 Compute 1 Instancing 1 PerInstanceStream 1 ConstBuffers 1
2024-10-12T13:09:10.887Z,3.887333,426006c0,6 [channel] Caps: Framebuffer: MRT 4 MSAA 8 Stencil 1
2024-10-12T13:09:10.887Z,3.887351,426006c0,6 [channel] Caps: Framebuffer: Depth16 1 Depth24 1 DepthFloat 1 DepthClamp 1
2024-10-12T13:09:10.887Z,3.887369,426006c0,6 [channel] Caps: Border Color 1
2024-10-12T13:09:10.887Z,3.887380,426006c0,6 [channel] Caps: Texture: RGB10A2 1 RG11B10F 1 R16I 1
2024-10-12T13:09:10.887Z,3.887396,426006c0,6 [channel] Caps: Texture: BC6H 1 ASTC HDR 0
2024-10-12T13:09:10.887Z,3.887419,426006c0,6 [channel] Caps: Texture: DXT 1 PVR 0 ETC1 0 ETC2 0 Half 1
2024-10-12T13:09:10.887Z,3.887433,426006c0,6 [channel] Caps: Texture: 3D 1 Array 1 Depth 1 MSAA 1 MSAAFP16 8
2024-10-12T13:09:10.887Z,3.887445,426006c0,6 [channel] Caps: Texture: NPOT 1 PartialMips 1 CubeMipGen 1 CubeFramebuffer 1
2024-10-12T13:09:10.887Z,3.887456,426006c0,6 [channel] Caps: Texture: Size 32768 Units 32 VertexUnits 32
2024-10-12T13:09:10.887Z,3.887468,426006c0,6 [channel] Caps: ConstantBufferSize 16384
2024-10-12T13:09:10.887Z,3.887479,426006c0,6 [channel] Caps: isAppleGPU 0
2024-10-12T13:09:10.887Z,3.887495,426006c0,6 [channel] Caps: 32bIdx 1 Memoryless 0
2024-10-12T13:09:10.887Z,3.887507,426006c0,6 [channel] Caps: ColorBGR 0 RTFlip 0 MinusOneToOneDepth 0
2024-10-12T13:09:10.887Z,3.887962,426006c0,6 [FLog::Graphics] Vulkan: creating framebuffer 800x600
2024-10-12T13:09:10.888Z,3.888510,426006c0,6 [FLog::Graphics] VULKAN ERROR: vkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, wd.presentationSurface, &formatCount, nullptr) returned -1000000000 (VK_ERROR_SURFACE_LOST_KHR)
2024-10-12T13:09:10.888Z,3.888539,426006c0,6 [FLog::Graphics] VULKAN ERROR: vkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, wd.presentationSurface, &formatCount, formats.data()) returned -1000000000 (VK_ERROR_SURFACE_LOST_KHR)

Roblox Experience link

No response

BoriBG commented 1 week ago

Update: I've switched from ZorinOS to OpenSUSE and Sober works now.