Vulkan game does not work inside of gamescope

I'm trying to play Transport Fever 2 (native, without proton) inside of gamescope with vulkan. The OpenGL version works with gamescope, and both the OpenGL and Vulkan versions work without gamescope. However, when launching Transport Fever 2 with vulkan enabled with these command line options gamescope -f -W 1920 -H 1080 --mangoapp -- %command% set in steam, the game fails to launch and displays the attached pop up error. Steam/gamescope give the following output in the terminal:
[Gamescope WSI] Application info:
pApplicationName: Transport Fever 2
applicationVersion: 0
pEngineName: (null)
engineVersion: 0
apiVersion: 4198400
[Gamescope WSI] Executable name: TransportFever2
[Gamescope WSI] Creating Gamescope surface: xid: 0x400002
[Gamescope WSI] Atom of T was wrong type. Expected XCB_ATOM_CARDINAL.
[Gamescope WSI] Failed to create Vulkan wayland surface - vr: VK_ERROR_EXTENSION_NOT_PRESENT xid: 0x400002
[gamescope] [Warn] xwm: got the same buffer committed twice, ignoring.
[gamescopereaper] [Info] reaper: Parent of gamescopereaper was killed. Killing children.
[gamescope] [Info] launch: Primary child shut down!
(EE) failed to read Wayland events: Broken pipe
Game Recording - game stopped [gameid=1066780]
Removing process 687862 for gameID 1066780
[Gamescope WSI] Application info:
pApplicationName: Transport Fever 2
applicationVersion: 0
pEngineName: (null)
engineVersion: 0
apiVersion: 4198400
[Gamescope WSI] Executable name: TransportFever2
[Gamescope WSI] Creating Gamescope surface: xid: 0x400002
[Gamescope WSI] Atom of T was wrong type. Expected XCB_ATOM_CARDINAL.
[Gamescope WSI] Failed to create Vulkan wayland surface - vr: VK_ERROR_EXTENSION_NOT_PRESENT xid: 0x400002
[gamescope] [Warn] xwm: got the same buffer committed twice, ignoring.
[gamescopereaper] [Info] reaper: Parent of gamescopereaper was killed. Killing children.
[gamescope] [Info] launch: Primary child shut down!
(EE) failed to read Wayland events: Broken pipe
Game Recording - game stopped [gameid=1066780]
Removing process 687862 for gameID 1066780
Any ideas on how to fix this?
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?