hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.51k stars 818 forks source link

Witcher 3 cursor stuck on latest version of hyprland #5983

Open shayanz23 opened 3 months ago

shayanz23 commented 3 months ago

Hyprland Version

System/Version info ```sh Hyprland, built from branch at commit dirty (). Date: Tag: , commits: flags: (if any) System Information: System name: Linux Node name: nixos Release: 6.8.9 Version: #1-NixOS SMP PREEMPT_DYNAMIC Thu May 2 14:35:35 UTC 2024 GPU information: 03: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.20240507.b211b39" 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

When I try to play the witcher 3 on the latest git commit using nix flakes, the cursor is stuck in the top left corner, nothing I do fixes it.

I tried going back to 0.39.1 on NixOS (the last time I had 0.39.1 I was on Opensuse Tumbleweed) with hyprland.url = "github:hyprwm/Hyprland/?ref=v0.39.1";, but that just results in no apps launching, cs2 for example quits with this error The selected graphics queue does not support presenting a swapchain image in cs 2.

``

How to reproduce

  1. start the witcher from steam
  2. try to move mouse in the witcher 3 dx12 mode

Crash reports, logs, images, videos

https://github.com/hyprwm/Hyprland/assets/35084589/37ef1d1a-2ac1-4352-914f-f0f7e97470a2

shayanz23 commented 3 months ago

I just rebuilt the latest hyprland and games don't even launch anymore. They work fine on gnome though.

here's the error I get from steam

Setting breakpad minidump AppID = 292030
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198208414187 [API loaded no]
GameOverlay: started '/home/human/.local/share/Steam/ubuntu12_32/gameoverlayui' (pid 463144) for game process 462960
05/10 01:44:02 minidumps folder is set to /tmp/dumps
05/10 01:44:02 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20240503231115)/tid(463144)
05/10 01:44:02 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(463144)
Fossilize INFO: Overriding serialization path: "/home/human/.local/share/Steam/steamapps/shadercache/292030/fozpipelinesv6/steamapprun_pipeline_cache".
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
pid 462883 != 462882, skipping destruction (fork without exec?)

this is my nix config: https://paste.mozilla.org/Ey425A8u and my flake.nix: https://paste.mozilla.org/Y2mRNRAz

Also steam and all steam games tend to crash the entire DE if I start them from fuzzel, this is only happening since the last build. hyprlandCrashReport458104.txt

Edit: the latest version (0.39.1) from nixos repos works perfectly fine though, So ig i'll just use that for now.

vaxerski commented 3 months ago

crash has been fixed, it's #5980

Is it just the cursor image or the actual cursor? IOW can you still click stuff around?

shayanz23 commented 3 months ago

The actual cursor is stuck.

vaxerski commented 3 months ago

can you git bisect? https://wiki.hyprland.org/Crashes-and-Bugs/#bisecting-an-issue

shayanz23 commented 3 months ago

yeah, but im on nixos, is this going to work on nixos?

git reset --hard --recurse-submodules
make all
sudo make install

yeah, it doesn't work cmake just gives file not found errors.

fufexan commented 3 months ago

@shayanz23 you can simply nix build '.?submodules=1', or nix develop, and then run cmakeConfigurePhase; ninjaBuildPhase; ninjaInstallPhase. But it will install the files in hyprland/outputs.

shayanz23 commented 3 months ago

sorry, but idk how flakes work that well, nix build '.?submodules=1' works, but cmakeConfigurePhase; ninjaBuildPhase; ninjaInstallPhase doesn't seem to do anything, and I can't find any bin or anything called those things.