Closed IgnIVertiKalCaD closed 1 month ago
looks like xwayland is not running. @fufexan for nix
looks like xwayland is not running. @fufexan for nix
Will it connect here when you tag him?
Very odd, Steam launches just fine for me (along with other xwayland apps).
Very odd, Steam launches just fine for me (along with other xwayland apps).
What information can I give you to solve my problem?
I don't see any nixos config in your repos, so I assume it's not public. Do you have any overlays that might interfere with xwayland? Is your Nixpkgs up to date? In the version info you posted, the date is 19700101
, so I can't exactly tell how old it is.
I don't see any nixos config in your repos, so I assume it's not public. Do you have any overlays that might interfere with xwayland? Is your Nixpkgs up to date? In the version info you posted, the date is
19700101
, so I can't exactly tell how old it is.
I'm using the flake version of hyprland. With this config, which is specified in the documentation, the games run on v0.36 (I'm using it now). So it is not a fact that the config somehow prevents games from running. Applications run that require x11 - webstorm, rustrover.
I don't see anything that might interfere with xwayland. Is there anything about it in Hyprland logs?
Very odd, Steam launches just fine for me (along with other xwayland apps).
same
After almost a month, I was able to fix this bug.
The problem was in the package versions.... It turns out that in nixos, when using flake, the nixos-rebuild switch --upgrade-all command does not update the nixos packages, but updates the packages from flake.
The solution was to use the --no-flake attribute with additional parameters:
nixos-rebuild switch --upgrade --no-flake -I nixos-config=/etc/nixos/configuration.nix
Also don't forget to install the nixpkgs cloud
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
I don't know exactly why it interfered so much and why applications written on x11 protocol could run, but with games - trouble.
Hyprland Version
System/Version info
```sh Hyprland, built from branch at commit aaf35b9f1f0ce49080f2a0b1e7943336b1ba6057 (). Date: 2024-05-05 Tag: , commits: @COMMITS@ flags: (if any) System Information: System name: Linux Node name: desktop Release: 6.6.22 Version: #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar 15 18:25:07 UTC 2024 GPU information: 09:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] [1002:73df] (rev c5) (prog-if 00 [VGA controller]) os-release: ANSI_COLOR="1;34" BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="24.05.19700101.dirty" DOCUMENTATION_URL="https://nixos.org/learn.html" HOME_URL="https://nixos.org/" ID=nixos IMAGE_ID="" IMAGE_VERSION="" LOGO="nix-snowflake" NAME=NixOS PRETTY_NAME="NixOS 24.05 (Uakari)" SUPPORT_URL="https://nixos.org/community.html" VERSION="24.05 (Uakari)" VERSION_CODENAME=uakari VERSION_ID="24.05" plugins: ```Bug or Regression?
Bug
Description
On versions x > v0.38 games with error on X11 do not run. Heroicgamelauncher, steam - not working. All the launchers I have tried for launching games do not work and give the same error related to x11
Faced the same problem as mine. https://discourse.nixos.org/t/lutris-games-and-minecraft-unplayable-on-hyprland-but-runs-fine-on-gnome/43464
How to reproduce
run the game on v.0.40, v0.39
Crash reports, logs, images, videos
fatal IO error 2 (No such file or directory) on X server ":0"