Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: Gamescope

Open bojogon7 opened this issue 8 months ago • 1 comments

Describe the bug

Gamescope doesn't work no files in directory:

[gamescope-brokey] [Info]  scriptmgr: Loading scripts from: '/etc/gamescope/scripts'
[gamescope-brokey] [Warn]  scriptmgr: Directory '/etc/gamescope/scripts' does not exist
[gamescope-brokey] [Info]  scriptmgr: Loading scripts from: '/home/user/.config/gamescope/scripts'
[gamescope-brokey] [Warn]  scriptmgr: Directory '/home/user/.config/gamescope/scripts' does not exist

(gamescope-brokey:2): Gdk-WARNING **: 17:39:41.261: Settings portal not found: Could not connect: No such file or directory

To Reproduce

  1. Run game without gamescope, it works
  2. Run game with gamescope, it shows error above

Package

Flatpak from Flathub

Distribution

Fedora 43 KDE

Debugging Information

Official Package: true
Version: '62.0'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.19.7-200.fc43.x86_64
Disk:
    Total: 6181240832
    Free: 6181007360
RAM:
    MemTotal: 11.5GiB
    MemAvailable: 6.0GiB
Bottles_envs: null

Troubleshooting Logs


Additional context

Similar issues: https://github.com/bottlesdevs/Bottles/issues/3717 https://github.com/bottlesdevs/Bottles/issues/2451

bojogon7 avatar Mar 14 '26 17:03 bojogon7

Hi, thanks for reporting. This looks like an upstream issue with gamescope, not a bug in Bottles itself. The Gdk/portal connectivity warnings are related to the org.freedesktop.Platform.VulkanLayer.gamescope extension.

Similar reports were also reported in older issues like #2451 (which ended up being related to XWayland context). Sadly, there isn't much we can do to fix it, as we only append the command, but the crash/hang happens internally in the Flatpak layer of Gamescope.

I'll tag this as an upstream issue for now but feel free to provide more logs if that is not the case!

mirkobrombin avatar Apr 01 '26 13:04 mirkobrombin