NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.05k stars 14.09k forks source link

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

Open radek-stasta opened 19 hours ago

radek-stasta commented 19 hours ago

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

kozm9000 commented 9 hours ago

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