NVIDIA and Gamescope

Hello,

has anyone gotten Gamescope to work with NVIDIA cards and Bottles yet? I tried various games and none of them produced any output on my screen. I have the flatpak version of both Bottles and Gamescope installed and the Gamescope checkbox is checked in the bottle settings. If I remove the Gamescope checkbox, the games do launch, so it must be related to that somehow. Playing Steam games with Gamescope using the Steam flatpak works however, so I’m thinking it’s got something to do with how Bottles uses Gamescope.

Edit: I can actually hear the game audio so the game is definitely running, I just can’t see anything on my screen.

I’m on Arch with KDE Plasma, using the latest NVIDIA drivers. Here’s a log for one of the games in question (Colin McRae Rally 2.0) in case it helps:

No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
vulkan: selecting physical device 'NVIDIA GeForce RTX 2070': queue family 2
vulkan: physical device supports DRM format modifiers
vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x3231564E (VkResult: 0)
vulkan: supported DRM formats for sampling usage:
vulkan:   0x34325241
vulkan:   0x34325258
wlserver: [backend/headless/backend.c:82] Creating headless backend
wlserver: Running compositor on wayland display 'gamescope-0'
wlserver: [backend/headless/backend.c:18] Starting headless backend
wlserver: [xwayland/sockets.c:63] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use
wlserver: [xwayland/sockets.c:63] Failed to bind socket @/tmp/.X11-unix/X1: Address already in use
wlserver: [xwayland/server.c:92] Starting Xwayland on :2
wlserver: [types/wlr_surface.c:741] New wlr_surface 0x55f252c0b2d0 (res 0x55f252bee450)
wlserver: [xwayland/server.c:250] Xserver is ready
pipewire: pw_context_connect failed
Warning: failed to setup PipeWire, screen capture won't be available
wineserver: using server-side synchronization.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -r" (2).
0068:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
00ec:err:xrandr:xrandr14_get_adapters Failed to get adapters
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
wlserver: [types/wlr_surface.c:741] New wlr_surface 0x55f252b81ae0 (res 0x55f252c11aa0)
xwm: error 3: BadWindow (invalid Window parameter) request 20 minor 0 serial 520
xwm: error 3: BadWindow (invalid Window parameter) request 20 minor 0 serial 521
xwm: error 3: BadWindow (invalid Window parameter) request 20 minor 0 serial 522
xwm: error 3: BadWindow (invalid Window parameter) request 20 minor 0 serial 523
xwm: error 3: BadWindow (invalid Window parameter) request 20 minor 0 serial 524
xwm: error 3: BadWindow (invalid Window parameter) request 20 minor 0 serial 525
xwm: error 3: BadWindow (invalid Window parameter) request 20 minor 0 serial 526
xwm: error 3: BadWindow (invalid Window parameter) request 15 minor 0 serial 527
xwm: error 3: BadWindow (invalid Window parameter) request 20 minor 0 serial 528
xwm: error 3: BadWindow (invalid Window parameter) request 20 minor 0 serial 529
xwm: error 3: BadWindow (invalid Window parameter) request 20 minor 0 serial 530
xwm: error 3: BadWindow (invalid Window parameter) request 20 minor 0 serial 531
xwm: error 3: BadWindow (invalid Window parameter) request 20 minor 0 serial 532
wlserver: [types/wlr_surface.c:741] New wlr_surface 0x55f252be6d20 (res 0x55f252c11aa0)
xwm: error 2: BadValue (integer parameter out of range for operation) request 137 minor 31 serial 610
xwm: error 2: BadValue (integer parameter out of range for operation) request 137 minor 31 serial 613
Error getting buffer
xwm: error 139: 139 request 137 minor 32 serial 631
xwm: error 139: 139 request 137 minor 32 serial 634
wlserver: [types/wlr_surface.c:741] New wlr_surface 0x55f252be4f60 (res 0x55f252c11740)
Error getting buffer

Made with ❤️ by Bottles Developers.

proudly hosted by



Privacy Policy