Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Error 71 dispatching to wayland display #3548

Open
manulg48 opened this issue Oct 31, 2024 · 1 comment
Open

[Bug]: Error 71 dispatching to wayland display #3548

manulg48 opened this issue Oct 31, 2024 · 1 comment

Comments

@manulg48
Copy link

Describe the bug

When I launch bottles I get this error and I'm unable to launch a window.

To Reproduce

When I run 'flatpak run com.usebottles.bottles'

Package

Flatpak from Flathub

Distribution

Arch Linux

Debugging Information

Official Package: true
Version: '51.15'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :1
    Wayland: true
Graphics:
    vendors:
        nvidia: &id002
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
            nvngx_path: /usr/lib/x86_64-linux-gnu/GL/nvidia-560-35-03/extra/nvidia/wine
        amd: &id001
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /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: *id001
        discrete: *id002
Kernel:
    Type: Linux
    Version: 6.11.5-arch1-1
Disk:
    Total: 8038346752
    Free: 8038162432
RAM:
    MemTotal: 15.0GiB
    MemAvailable: 11.7GiB
Bottles_envs: null

Troubleshooting Logs

13:19:46 (INFO) Launching with URI: None 
13:19:46 (INFO) [Activate] request received. 
13:19:46 (INFO) Bottles Started! 
Gdk-Message: 13:19:46.934: Error 71 (Error de protocolo) dispatching to Wayland display.

Additional context

I have every package up to date.

@maximilionus
Copy link

maximilionus commented Oct 31, 2024

It happens on my hybrid graphics laptop too with GNOME 47 platform. Morefore, it gets even worse on GNOME 47 itself, as I can not even start something basic as Settings or File manager applicatons.

The reason for that is new GTK release, that sets GSK_RENDERER to Vulkan, which is broken with some configurations using stable nvidia proprietary drivers.

There is 3 ways to fix it for now:

  • Switch to nouveau driver
  • Set GSK_RENDERER back to OpenGL and reboot:
    $ echo "export GSK_RENDERER=ngl" > /etc/profile.d/gtk-gsk-gl.sh
  • Switch to nvidia 565 beta driver

There's nothing Bottles devs can do about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants