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

Can't move cursor to another monitor + monitors shows no windows #6099

Open
mora-unie-youer opened this issue May 16, 2024 · 13 comments
Open
Labels
bug Something isn't working

Comments

@mora-unie-youer
Copy link

Hyprland Version

System/Version info
Hyprland, built from branch  at commit de9798fcf9494eb082bd168175390c0d47b8478b  ().
Date: 2024-05-15
Tag: , commits: 

flags: (if any)


System Information:
System name: Linux
Node name: sapphire
Release: 6.8.6-zen1
Version: #1-NixOS ZEN SMP PREEMPT_DYNAMIC Tue Jan  1 00:00:00 UTC 1980


GPU information: 
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Polaris 20 XL [Radeon RX 580 2048SP] [1002:6fdf] (rev ef) (prog-if 00 [VGA controller])
07:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c8) (prog-if 00 [VGA controller])


os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.05.20240512.2057814"
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?

Regression

Description

I have three monitors. One of them is connected to RX 580 GPU, two of them connected to Ryzen 5700G GPU. (maybe this will be helpful).

When Hyprland starts it has focus on the primary monitor (RX 580 one) and when I try to cross the borders of the monitor - cursor disappears (like there's empty space between monitors, but there's no).

Also when I try to switch to workspace on the monitor using hyprctl dispatch workspace, cursor also disappears, and no opened windows appear on the secondary monitor.

There's also my hyprctl monitors dump:

Monitor DVI-D-1 (ID 0):
	1920x1080@60.00000 at 1920x0
	description: Acer Technologies Acer H236HL LX1EE0064200
	make: Acer Technologies
	model: Acer H236HL
	serial: LX1EE0064200
	active workspace: 3 (3)
	special workspace: 0 ()
	reserved: 0 20 0 0
	scale: 1.00
	transform: 0
	focused: yes
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false
	disabled: false
	currentFormat: XRGB8888
	availableModes: 1920x1080@60.00Hz 1680x1050@59.88Hz 1280x1024@60.02Hz 1440x900@59.90Hz 1280x800@59.91Hz 1152x864@75.00Hz 1280x720@60.00Hz 1024x768@70.07Hz 1024x768@60.00Hz 800x600@60.32Hz 800x600@56.25Hz 640x480@66.67Hz 640x480@59.94Hz 720x400@70.08Hz

Monitor HDMI-A-2 (ID 1):
	1920x1080@60.00000 at 0x0
	description: BNQ BenQ G2255A B4C02350019
	make: BNQ
	model: BenQ G2255A
	serial: B4C02350019
	active workspace: 11 (11)
	special workspace: 0 ()
	reserved: 0 20 0 0
	scale: 1.00
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false
	disabled: false
	currentFormat: XRGB8888
	availableModes: 1920x1080@60.00Hz 1920x1080@60.00Hz 1920x1080@59.94Hz 1680x1050@59.88Hz 1600x900@60.00Hz 1280x1024@75.03Hz 1280x1024@60.02Hz 1440x900@60.00Hz 1280x800@59.91Hz 1152x864@75.00Hz 1280x720@60.00Hz 1280x720@60.00Hz 1280x720@59.94Hz 1024x768@75.03Hz 1024x768@60.00Hz 832x624@74.55Hz 800x600@75.00Hz 800x600@60.32Hz 720x480@60.00Hz 720x480@59.94Hz 720x480@59.94Hz 640x480@75.00Hz 640x480@60.00Hz 640x480@59.94Hz 720x400@70.08Hz

Monitor HDMI-A-3 (ID 2):
	1920x1080@60.00000 at 3840x0
	description: LG Electronics IPS224 210RAMM6K819
	make: LG Electronics
	model: IPS224
	serial: 210RAMM6K819
	active workspace: 21 (21)
	special workspace: 0 ()
	reserved: 0 20 0 0
	scale: 1.00
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false
	disabled: false
	currentFormat: XRGB8888
	availableModes: 1920x1080@60.00Hz 1680x1050@59.88Hz 1280x1024@75.03Hz 1280x1024@60.02Hz 1440x900@60.00Hz 1280x800@60.00Hz 1152x864@75.00Hz 1280x720@60.00Hz 1024x768@75.03Hz 1024x768@60.00Hz 800x600@75.00Hz 800x600@60.32Hz 640x480@75.00Hz 640x480@59.94Hz 720x400@70.08Hz

How to reproduce

a) Try to move cursor to the border
b) Try to use hyprctl dispatch workspace or hyprsome workspace to change workspace

Crash reports, logs, images, videos

No response

@mora-unie-youer mora-unie-youer added the bug Something isn't working label May 16, 2024
@mora-unie-youer mora-unie-youer changed the title Can't move cursor to another monitor / can't start applications Can't move cursor to another monitor + monitors shows no windows May 16, 2024
@vaxerski
Copy link
Member

you say this is a regression, bisect then please https://wiki.hyprland.org/Crashes-and-Bugs/#bisecting-an-issue

@mora-unie-youer
Copy link
Author

Currently bisecting and found better explanation of what happens: when I hold mouse on the secondary monitors, they just freeze, and when I return cursor to primary monitor - they unfreeze and show updated screen

@mora-unie-youer
Copy link
Author

Result of bisecting:

There are only 'skip'ped commits left to test.
The first bad commit could be any of:
8afdb8403bf71daf7e25bffbbdd87e0e3e61913c
448e3208cae4f19d48021572d50b9d29efc1d74b
f041d763ae1d5ec58682e3ff1fe3159ba9c95a49
019d4900cb132f2ff43fea49334712a12c282a14
f587c3e0ba92109302032f89321d94b5d0f89236
87173bd09daa4b56adabcfc72a29aec957cb8a13
a4f38a07d7578f0b06c09de7d04682e0aaddb12a
cbed4fa5ec1c7e5b383964ce5783eba6bbed7736
We cannot bisect more!

(I had to skip as commits built with an error, while I was using nix build, which is somewhat of perfect environment)

@vaxerski
Copy link
Member

would somehow suggest 448e320

can you remove the wlr patch and try that?

@mora-unie-youer
Copy link
Author

mora-unie-youer commented May 17, 2024

Tried to remove patch - it didn't fix the issue :^(

@mora-unie-youer
Copy link
Author

Sorry for disinformation - removing the patch fixed the issue. It seems I forgot to reset the repo after building with the patch

@vaxerski
Copy link
Member

can you try setting cursor:no_hardware_cursors to true then?

@mora-unie-youer
Copy link
Author

It seems to fix the issue too

@vaxerski
Copy link
Member

well, maybe before the patch wlroots would automatically revert to sw cursors then... Dunno what to say tbh, odd issue.

@mora-unie-youer
Copy link
Author

Also I have some weird graphics glitches with my cursor - when cursor changes (for example I drag it between text and empty space a lot) it leaves small part of it as a trail. Tried to screenshot, but it seems that when there's another event, such as keyboard, glitches just go away.

@mora-unie-youer
Copy link
Author

Glitches do not go away without that Nvidia patch, so I have no clue what's the reason

@mora-unie-youer
Copy link
Author

video_2024-05-17_16-59-32.mp4

@vaxerski
Copy link
Member

looks like a thing we call a bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants