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

Applications (gnome related possibly) don't work after update #353990

Open
radek-stasta opened this issue Nov 6, 2024 · 6 comments
Open

Applications (gnome related possibly) don't work after update #353990

radek-stasta opened this issue Nov 6, 2024 · 6 comments
Labels
0.kind: bug Something is broken 6.topic: GNOME GNOME desktop environment and its underlying platform

Comments

@radek-stasta
Copy link

radek-stasta commented Nov 6, 2024

Describe the bug

I am using nixos with flakes and Hyprland desktop. After recent update of nixpkgs (unstable), I don't seem to be able to run some applications. So far that happened to me with nautilus and bottles, so maybe there is connection with gnome specific applications. Running those applications with GSK_RENDERER=gl solves the issue, but I didn't have to do that before. Don't know if this is some nixos change or upstream problem (like hyprland).

Steps To Reproduce

Steps to reproduce the behavior:

  1. run nautilus

Expected behavior

Application opens

Additional context

nautilus
** Message: 11:58:29.302: Connecting to org.freedesktop.Tracker3.Miner.Files
nautilus-application-Message: 11:58:29.302: Failed to initialize display server connection: Cannot invoke method; proxy is for the well-known name org.gnome.Mutter.ServiceChannel without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:763: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:794: FINISHME: support more multi-planar formats with DRM modifiers
Gdk-Message: 11:58:29.893: Error 71 (Protocol error) dispatching to Wayland display.

bottles
11:58:31 (INFO) Launching with URI: None
11:58:31 (INFO) [Activate] request received.
11:58:31 (INFO) Bottles Started!
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:763: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:794: FINISHME: support more multi-planar formats with DRM modifiers
Gdk-Message: 11:58:31.996: Error 71 (Protocol error) dispatching to Wayland display.

Metadata

  • system: "x86_64-linux"
  • host os: Linux 6.11.5-zen1, NixOS, 24.11 (Vicuna), 24.11.20241105.4aa3656
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.10
  • nixpkgs: /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source
@radek-stasta radek-stasta added the 0.kind: bug Something is broken label Nov 6, 2024
@FliegendeWurst FliegendeWurst added the 6.topic: GNOME GNOME desktop environment and its underlying platform label Nov 6, 2024
@kozm9000
Copy link

kozm9000 commented Nov 6, 2024

Greetings!
Experiencing the same behaviour. Can confirm - works with GSK_RENDERER=gl

Additional context

nautilus             
** Message: 23:37:57.483: Connecting to org.freedesktop.Tracker3.Miner.Files
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:763: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:794: FINISHME: support more multi-planar formats with DRM modifiers
Gdk-Message: 23:37:57.833: Error 71 (Protocol error) dispatching to Wayland display.

nautilus --version

GNOME nautilus 47.0

Metadata

"type": "OS",
"result": {
  "buildID": "24.11pre703931.4aa36568d413",
  "name": "NixOS",
  "version": "24.11 (Vicuna)",
  "versionID": "24.11"
}
"type": "Kernel",
"result": {
  "architecture": "x86_64",
  "name": "Linux",
  "release": "6.6.59",
  "version": "#1-NixOS SMP PREEMPT_DYNAMIC Fri Nov  1 00:58:34 UTC 2024",
  "displayVersion": "",
  "pageSize": 4096
}
"type": "Display",
"result": 
  {
    "platformApi": "wayland-global"
  },
"type": "WM",
"result": {
  "processName": "gnome-shell",
  "prettyName": "Mutter",
  "protocolName": "Wayland",
}
"type": "GPU",
"result": 
  {
    "driver": "nvidia (proprietary) 560.35.03",
    "name": "GeForce GTX 1050 Ti Mobile",
    "type": "Unknown",
    "vendor": "NVIDIA",
    "platformApi": "DRM (card2)",
  },
    "driver": "i915",
    "name": "UHD Graphics 630",
    "type": "Integrated",
    "vendor": "Intel",
    "platformApi": "DRM (card1)",
  }
]

P.S. for those who want to run it detached before it is fixed

screen -dmS nautilus bash -c 'GSK_RENDERER=gl nautilus'

or

GSK_RENDERER=gl nohup nautilus > /dev/null 2>&1

@chr314
Copy link

chr314 commented Nov 7, 2024

running on xorg

$ nautilus

** Message: 17:24:05.441: Connecting to org.freedesktop.Tracker3.Miner.Files

(org.gnome.Nautilus:114532): Gtk-WARNING **: 17:24:05.518: Theme directory scalable/emotes of theme Cosmic has no size field


(org.gnome.Nautilus:114532): Gtk-WARNING **: 17:24:05.518: Theme directory scalable/legacy of theme Cosmic has no size field


(org.gnome.Nautilus:114532): Gtk-WARNING **: 17:24:05.518: Theme directory scalable/ui of theme Cosmic has no size field


(org.gnome.Nautilus:114532): Gtk-WARNING **: 17:24:05.518: Theme directory scalable-up-to-32/status of theme Cosmic has no size field

Initializing Nextcloud-client-nautilus extension
Using python version sys.version_info(major=3, minor=12, micro=7, releaselevel='final', serial=0)
GSConnect: [Errno 2] No translation file found for domain: 'org.gnome.Shell.Extensions.GSConnect'

(org.gnome.Nautilus:114532): Gtk-WARNING **: 17:24:06.286: Theme directory scalable/emotes of theme Cosmic has no size field


(org.gnome.Nautilus:114532): Gtk-WARNING **: 17:24:06.286: Theme directory scalable/legacy of theme Cosmic has no size field


(org.gnome.Nautilus:114532): Gtk-WARNING **: 17:24:06.286: Theme directory scalable/ui of theme Cosmic has no size field


(org.gnome.Nautilus:114532): Gtk-WARNING **: 17:24:06.286: Theme directory scalable-up-to-32/status of theme Cosmic has no size field

MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:763: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:794: FINISHME: support more multi-planar formats with DRM modifiers

(org.gnome.Nautilus:114532): Gdk-ERROR **: 17:24:06.490: The program 'org.gnome.Nautilus' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 969 error_code 8 request_code 149 (unknown) minor_code 4)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
[1]    114532 trace trap (core dumped)  nautilus


@SrEstegosaurio
Copy link

I'm encountering the same issue with both easyeffects and pavucontrol. Adding GSK_RENDERER=gl does solve the issue.

Maybe related: https://discussion.fedoraproject.org/t/gdk-message-error-71-protocol-error-dispatching-to-wayland-display/127927/1

@nbCloud91
Copy link

This is an nvidia bug which has been fixed in later nvidia drivers, it resolved after I moved to nvidia beta driver (565).

@VergeDX
Copy link
Member

VergeDX commented Nov 11, 2024

FYI: hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.beta;

MrSom3body added a commit to MrSom3body/dotfiles that referenced this issue Nov 11, 2024
MrSom3body added a commit to MrSom3body/dotfiles that referenced this issue Nov 12, 2024
@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/problem-with-wayland-after-nvidia-install-and-configuration-kinda/56124/10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 6.topic: GNOME GNOME desktop environment and its underlying platform
Projects
None yet
Development

No branches or pull requests

8 participants