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

Fullscreen makes cursor disappear in any game. #6106

Open
grahfmusic opened this issue May 16, 2024 · 8 comments
Open

Fullscreen makes cursor disappear in any game. #6106

grahfmusic opened this issue May 16, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@grahfmusic
Copy link

Hyprland Version

System/Version info
Hyprland, built from branch main at commit 3ac0e7ead1434c172f276a12f81da1eeb0dc4491  (seat: Send discrete event when axis source is scroll wheel (6103)).
Date: Thu May 16 22:30:55 2024
Tag: v0.40.0-99-g3ac0e7ea, commits: 4705

flags: (if any)


System Information:
System name: Linux
Node name: grahf-hyprland
Release: 6.8.9-zen1-2-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Tue, 07 May 2024 22:06:02 +0000


GPU information:
09:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3080 Lite Hash Rate] [10de:2216] (rev a1) (prog-if 00 [VGA controller])


os-release: NAME="Archcraft"
PRETTY_NAME="Archcraft"
ID=archcraft
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archcraft.io"
DOCUMENTATION_URL="https://wiki.archcraft.io"
SUPPORT_URL="https://www.reddit.com/r/archcraft"
BUG_REPORT_URL="https://github.com/archcraft-os/archcraft/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archcraft

Bug or Regression?

Regression

Description

With the latest git of Hyprland whenever I try to fullscreen any game the cursor appears for a few seconds and then disappears but I can still click on menu items, etc. I'm using an NVIDIA card and I've attached my config file

# Copyright (C) 2020-2024 Aditya Shakya <adi1090x@gmail.com>
#
# Hyprland configuration file for Archcraft
# Hyprland Version: 0.34.0

#-- Source Files -----------------------------------------------
source = ~/.config/hypr/hyprtheme.conf
env = ELECTRON_OZONE_PLATFORM_HINT,auto
env = NVD_BACKEND,direct
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_DESKTOP,Hyprland
env = GBM_BACKEND,nvidia-drm
env = GDK_BACKEND,wayland,x11,*
env = CLUTTER_BACKEND,wayland
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_QPA_PLATFORMTHEME,qt6ct
env = MOZ_ENABLE_WAYLAND,1
env = HYPRCURSOR_THEME,Nordzy-catppuccin-frappe-maroon
env = HYPRCURSOR_SIZE,24
env = XCURSOR_THEME,Nordzy-catppuccin-frappe-maroon
env = XCURSOR_SIZE,24
env = SDL_VIDEODRIVER,wayland
env = CLUTTER_BACKEND,wayland
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = WLR_DRM_NO_ATOMIC,1 // nvidia

#-- General ----------------------------------------------------
general {
	border_size = $hypr_border_size
	no_border_on_floating = false
	gaps_in = $hypr_gaps_in
	gaps_out = $hypr_gaps_out
	gaps_workspaces = $hypr_gaps_ws
	col.active_border = $active_border_col_1 $active_border_col_2 $gradient_angle 
	col.inactive_border = $inactive_border_col_1 $inactive_border_col_2 $gradient_angle
	col.nogroup_border = $group_border_col
	col.nogroup_border_active = $group_border_active_col
	layout = dwindle
	no_focus_fallback = true
	apply_sens_to_raw = false
	resize_on_border = true
	extend_border_grab_area = 15
	hover_icon_on_border = true
	allow_tearing = true
}

cursor {
    no_hardware_cursors = true
    inactive_timeout = 0
    hide_on_key_press = false
    no_warps = true
    enable_hyprcursor = true
  }

#-- Decoration -------------------------------------------------
decoration {
	rounding = $hypr_rounding
	active_opacity = 0.969
    inactive_opacity = 0.94
	fullscreen_opacity = 1.0
	drop_shadow = true
	shadow_range = 10
	shadow_render_power = 2
	shadow_ignore_window = true
	col.shadow = $active_shadow_col
	col.shadow_inactive = $inactive_shadow_col
	shadow_offset = 4 4
	shadow_scale = 1
	dim_inactive = true
	dim_strength = 0.15
	dim_special = 0.3
	dim_around = 0.15
	#screen_shader = 
    blur {
         enabled = true
         xray = true
         special = false
         new_optimizations = true
         size = 4
         passes = 4
         noise = 0.12
         contrast = 0.9
         brightness = 1
         vibrancy = 0.2
         vibrancy_darkness = 0.5
         popups = true
         popups_ignorealpha = 0.6
    }
}

#-- Animations -------------------------------------------------
animations {
	enabled = true
	first_launch_animation = true
    bezier = linear, 0, 0, 1, 1
    bezier = md3_standard, 0.2, 0, 0, 1
    bezier = md3_decel, 0.05, 0.7, 0.1, 1
    bezier = md3_accel, 0.3, 0, 0.8, 0.15
    bezier = overshot, 0.05, 0.9, 0.1, 1.1
    bezier = crazyshot, 0.1, 1.5, 0.76, 0.92 
    bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
    bezier = menu_decel, 0.1, 1, 0, 1
    bezier = menu_accel, 0.38, 0.04, 1, 0.07
    bezier = easeInOutCirc, 0.85, 0, 0.15, 1
    bezier = easeOutCirc, 0, 0.55, 0.45, 1
    bezier = easeOutExpo, 0.16, 1, 0.3, 1
    bezier = softAcDecel, 0.26, 0.26, 0.15, 1
    bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration
      # Animation configs
    animation = windows, 1, 3, md3_decel, popin 60%
    animation = windowsIn, 1, 3, md3_decel, popin 60%
    animation = windowsOut, 1, 3, md3_accel, popin 60%
    animation = border, 1, 10, default
    animation = fade, 1, 3, md3_decel
    animation = layersIn, 1, 3, menu_decel, slide
    animation = layersOut, 1, 1.6, menu_accel
    animation = fadeLayersIn, 1, 2, menu_decel
    animation = fadeLayersOut, 1, 4.5, menu_accel
    animation = workspaces, 1, 7, menu_decel, slide
    animation = specialWorkspace, 1, 3, md3_decel, slidevert
}

#-- Input: Keyboard, Mouse, Touchpad ---------------------------
input {
	kb_model =
	kb_layout =
	kb_variant =
	kb_options =
	kb_rules =
	kb_file = 
	numlock_by_default = false
	repeat_rate = 25
	repeat_delay = 600
	sensitivity = 1.0
	accel_profile = adaptive
	force_no_accel = false
	left_handed = false
	scroll_method = 2fg
	scroll_button = 0
	scroll_button_lock = 0
	natural_scroll = false
	follow_mouse = 1
	mouse_refocus = true
	float_switch_override_focus = 1
}

#-- Workspace Gestures -----------------------------------------
gestures {
	workspace_swipe = true
	workspace_swipe_fingers = 3
	workspace_swipe_distance = 300
	workspace_swipe_invert = true
	workspace_swipe_min_speed_to_force = 30
	workspace_swipe_cancel_ratio = 0.5
	workspace_swipe_create_new = true
	workspace_swipe_direction_lock = true
	workspace_swipe_direction_lock_threshold = 10
	workspace_swipe_forever = false
#	workspace_swipe_numbered = false
	workspace_swipe_use_r = false
}

#-- Group ------------------------------------------------------
group {
	insert_after_current = true 
	focus_removed_window = true
	col.border_active = $group_border_active_col
	col.border_inactive = $group_border_inactive_col
	col.border_locked_active = $group_border_locked_active_col
	col.border_locked_inactive = $group_border_locked_inactive_col
	groupbar {
		enabled = true
		font_family = $groupbar_font_family
		font_size = $groupbar_font_size
		gradients = true
		priority = 3
		render_titles = true
		scrolling = true
		text_color = $groupbar_text_color
		col.active = $group_border_active_col
		col.inactive = $group_border_inactive_col
		col.locked_active = $group_border_locked_active_col
		col.locked_inactive = $group_border_locked_inactive_col
	}
}

#-- Miscellaneous ----------------------------------------------
misc {
	disable_hyprland_logo = true
	disable_splash_rendering = false
#	force_hypr_chan = false
	force_default_wallpaper = 0
	vfr = on
	vrr = 0
	mouse_move_enables_dpms = false
	key_press_enables_dpms = false
	always_follow_on_dnd = false
	layers_hog_keyboard_focus = true
	animate_manual_resizes = false
	animate_mouse_windowdragging = false
	disable_autoreload = false
	enable_swallow = false
	swallow_regex = 
	swallow_exception_regex = 
	focus_on_activate = true
	no_direct_scanout = false
#	hide_cursor_on_touch = true
	mouse_move_focuses_monitor = true
	render_ahead_of_time = false
	render_ahead_safezone = 1
#	cursor_zoom_factor = 1.0
#	cursor_zoom_rigid = false
	allow_session_lock_restore = false
	background_color = 0x000000
	close_special_on_empty = true
    swallow_regex = (foot|kitty|allacritty|Alacritty)
	new_window_takes_over_fullscreen = 1
}

#-- Binds ------------------------------------------------------
binds {
	pass_mouse_when_bound = true
	scroll_event_delay = 0
	workspace_back_and_forth = false
	allow_workspace_cycles = false
	workspace_center_on = 0
	focus_preferred_method = 1
	ignore_group_lock = false
	movefocus_cycles_fullscreen = true
}

#-- Xwayland ---------------------------------------------------
xwayland {
	use_nearest_neighbor = true
	force_zero_scaling = true
}

#-- OpenGL -----------------------------------------------------
opengl {
	nvidia_anti_flicker = true
}

#-- Debug (Only for developers) --------------------------------
debug {
	overlay = false
	damage_blink = false
	disable_logs = false
	disable_time = true
	damage_tracking = 2
	enable_stdout_logs = false
	manual_crash = 0
	suppress_errors = false
	watchdog_timeout = 5
}

#-- Multi GPUs -------------------------------------------------
#
# If your host machine uses multiple GPUs, you may want to primarily use one GPU
# for rendering all the elements for Hyprland including windows, animations, and
# another for hardware acceleration for certain applications, etc.
#
# Run : `lspci | grep -E 'VGA|3D'` to list all the video devices available
# Then Run : `ls -l /dev/dri/by-path` to match the bus IDs and determine your integrated and dedicated GPUs
#
# After determining which “card” belongs to which GPU, we now have to tell Hyprland the GPU we want to use primarily.
# We can do so by using the WLR_DRM_DEVICES variable.
#
# env = WLR_DRM_DEVICES,/dev/dri/cardN

# Example : 
# Here, we tell Hyprland to set priorities. If card1 isn’t available for whatever reason, use card0.
# The colon is for setting priorities, essentially.
#env = WLR_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0

#-- Blurring Layer Surfaces ------------------------------------
#layerrule = blur,waybar

#-- Output -----------------------------------------------------
#monitor = ,preferred,5120x1440@120,1

# Example : 
#~ Laptop screen, mode: 1920x1080, scale: 1, gaps of 10 each side
monitor = DP-1,5120x1440@120,0x0,1
#monitor = eDP-1,addreserved,10,10,10,10
#monitor = eDP-1,transform,0
#workspace = eDP-1,1
#~ External monitor, mode: 1920x1080, position: right of laptop, scale: 1.5, gaps of 20 each side, rotated 90d
#monitor = HDMI-A-1,1920x1080@60,1920x0,1.5
#monitor = HDMI-A-1,addreserved,20,20,20,20
#monitor = HDMI-A-1,transform,1
#workspace = HDMI-A-1,2

# Workspace Rules
#workspace = 3, rounding:false, decorate:false
#workspace = name:coding, rounding:false, decorate:false, gapsin:0, gapsout:0, border:false, decorate:false, monitor:DP-1
#workspace = 8,bordersize:8
#workspace = name:Hello, monitor:DP-1, default:true

#-- Layout : Dwindle -------------------------------------------
dwindle {
	pseudotile = false
	force_split = 0
	preserve_split = false
	smart_split = false
	smart_resizing = true
	permanent_direction_override = false
	special_scale_factor = 0.8
	split_width_multiplier = 1.0
	no_gaps_when_only = false
	use_active_for_splits = true
	default_split_ratio = 1.0
}

$notifycmd = notify-send -h string:x-canonical-private-synchronous:hypr-cfg -u low
bind = SUPER, G, togglegroup
bind = SUPER, G, exec, $notifycmd 'Toggled Group Mode'
bind = SUPER, H, changegroupactive, b
bind = SUPER, L, changegroupactive, f
bind = SUPER_SHIFT, L, lockactivegroup, toggle
bind = SUPER_SHIFT, L, exec, $notifycmd 'Toggled Group Lock'

#-- Layout : Master --------------------------------------------
master {
	allow_small_split = false
	special_scale_factor = 0.8
	mfact = 0.55
	new_is_master = true
	new_on_top = false
	no_gaps_when_only = false
	orientation = left
	inherit_fullscreen = true
	always_center_master = false
	smart_resizing = true
	drop_at_cursor = true
}

#-- Window Rules -----------------------------------------------
windowrule = float, foot-float|alacritty-float
windowrule = float, yad|nm-connection-editor|pavucontrolk
windowrule = float, xfce-polkit|kvantummanager|qt5ct
windowrule = float, feh|Viewnior|Gpicview|Gimp|MPlayer
windowrule = float, VirtualBox Manager|qemu|Qemu-system-x86_64
windowrule = float, title:File Operation Progress
windowrule = float, title:Confirm to replace files

windowrule = float, Yad|yad
windowrule = size 60% 64%, Yad|yad

windowrule = float, io.calamares.calamares
windowrule = center, io.calamares.calamares

windowrule = float,title:^(Archcraft Installer)(.*)$

windowrule = size 60% 64%, Viewnior
windowrule = center, Viewnior
windowrule = nodim, mpv

windowrule = animation slide down,foot-full
windowrule = animation slide up,wlogout

#windowrule = float,WINDOW
#windowrule = tile,WINDOW
#windowrule = fullscreen,WINDOW
#windowrule = nofullscreenrequest,WINDOW
#windowrule = move 69 420,WINDOW
#windowrule = size 420 69,WINDOW
#windowrule = minsize 420 69,WINDOW
#windowrule = maxsize 420 69,WINDOW
#windowrule = center,WINDOW
#windowrule = pseudo,WINDOW
#windowrule = monitor 0,WINDOW
#windowrule = workspace 12,WINDOW
#windowrule = opacity 1.0,WINDOW
#windowrule = opaque 1.0,WINDOW
#windowrule = animation slide left,WINDOW
#windowrule = rounding 10,WINDOW
#windowrule = noblur,WINDOW
#windowrule = nofocus,WINDOW
#windowrule = noborder,WINDOW
#windowrule = noshadow,WINDOW
#windowrule = forceinput,WINDOW
#windowrule = windowdance,WINDOW
#windowrule = pin,WINDOW
#windowrule = noanim,WINDOW
#windowrule = bordercolor color color,WINDOW
#windowrule = idleinhibit none,WINDOW
#windowrule = unset,WINDOW
#windowrule = nomaxsize,WINDOW

#-- Keybindings ------------------------------------------------
$alacritty   = ~/.config/hypr/scripts/alacritty
$foot        = ~/.config/hypr/scripts/foot
$volume      = ~/.config/hypr/scripts/volume
$backlight   = ~/.config/hypr/scripts/brightness
$screenshot  = ~/.config/hypr/scripts/screenshot
$lockscreen  = ~/.config/hypr/scripts/lockscreen
$wlogout     = ~/.config/hypr/scripts/wlogout
$colorpicker = ~/.config/hypr/scripts/colorpicker
$files       = thunar
$editor      = geany
$browser     = firefox

$rofi_launcher    = ~/.config/hypr/scripts/rofi_launcher
$rofi_runner      = ~/.config/hypr/scripts/rofi_runner
$rofi_music       = ~/.config/hypr/scripts/rofi_music
$rofi_network     = ~/.config/hypr/scripts/rofi_network
$rofi_bluetooth   = ~/.config/hypr/scripts/rofi_bluetooth
$rofi_powermenu   = ~/.config/hypr/scripts/rofi_powermenu
$rofi_screenshot  = ~/.config/hypr/scripts/rofi_screenshot

$wofi_menu        = ~/.config/hypr/scripts/wofi_menu
$wofi_powermenu   = ~/.config/hypr/scripts/wofi_powermenu

# -- Terminal : alacritty --
bind = SUPER,       Return, exec, $alacritty
bind = SUPER_SHIFT, Return, exec, $alacritty -f
bind = SUPER,       T,      exec, $alacritty -F

# -- Terminal : foot --
#bind = SUPER,       Return, exec, $foot
#bind = SUPER_SHIFT, Return, exec, $foot -f
#bind = SUPER_ALT,   Return, exec, $foot -s
#bind = SUPER,       T,      exec, $foot -F

# -- Apps --
bind = SUPER_SHIFT, F, exec, $files
bind = SUPER_SHIFT, E, exec, $editor
bind = SUPER_SHIFT, W, exec, $browser

# -- Rofi --
bindr = SUPER, SUPER_L, exec, $rofi_launcher
bind  = SUPER, D,       exec, $rofi_launcher
bind  = SUPER, R,       exec, $rofi_runner
bind  = SUPER, M,       exec, $rofi_music
bind  = SUPER, N,       exec, $rofi_network
bind  = SUPER, B,       exec, $rofi_bluetooth
bind  = SUPER, X,       exec, $rofi_powermenu
bind  = SUPER, A,       exec, $rofi_screenshot

# -- Wofi --
#bindr = SUPER, SUPER_L, exec, $wofi_menu
#bind  = SUPER, D,       exec, $wofi_menu
#bind = SUPER, X,       exec, $wofi_powermenu

# -- Misc --
#bind = SUPER,    N, exec, nm-connection-editor
#bind = SUPER,    X, exec, $wlogout
bind = SUPER,    P, exec, $colorpicker
bind = CTRL_ALT, L, exec, $lockscreen

# -- Function keys --
bind = ,XF86MonBrightnessUp,   exec, $backlight --inc
bind = ,XF86MonBrightnessDown, exec, $backlight --dec
bind = ,XF86AudioRaiseVolume,  exec, $volume --inc
bind = ,XF86AudioLowerVolume,  exec, $volume --dec
bind = ,XF86AudioMute,         exec, $volume --toggle
bind = ,XF86AudioMicMute,      exec, $volume --toggle-mic
bind = ,XF86AudioNext,         exec, mpc next
bind = ,XF86AudioPrev,         exec, mpc prev
bind = ,XF86AudioPlay,         exec, mpc toggle
bind = ,XF86AudioStop,         exec, mpc stop

# -- Screenshots --
bind = ,      Print, exec, $screenshot --now
bind = ALT,   Print, exec, $screenshot --in5
bind = SHIFT, Print, exec, $screenshot --in10
bind = CTRL,  Print, exec, $screenshot --win
bind = SUPER, Print, exec, $screenshot --area

# -- Hyprland --
bind = SUPER,       Q,      killactive,
bind = SUPER,       C,      killactive,
bind = CTRL_ALT,    Delete, exit,
bind = SUPER_CTRL,  0,      fullscreen, 0
bind = SUPER_CTRL,  0,      exec, $notifycmd 'Fullscreen Mode 0'
bind = SUPER_CTRL,  1,      fullscreen, 1 
bind = SUPER_CTRL,  1,      exec, $notifycmd 'Fullscreen Mode 1'
bind = SUPER_ALT,   F,      fullscreen, 2
bind = SUPER_ALT,   F,      exec, $notifycmd 'Fake Fullscreen Mode'
bind = SUPER,       S,      pseudo,
bind = SUPER,       S,      exec, $notifycmd 'Pseudo Mode'
bind = SUPER,       Space,  togglefloating,
bind = SUPER,       Space,  centerwindow,

# Change Focus
bind = SUPER, left,  movefocus, l
bind = SUPER, right, movefocus, r
bind = SUPER, up,    movefocus, u
bind = SUPER, down,  movefocus, d

# Move Active
bind = SUPER_SHIFT, left,  movewindow, l
bind = SUPER_SHIFT, right, movewindow, r
bind = SUPER_SHIFT, up,    movewindow, u
bind = SUPER_SHIFT, down,  movewindow, d

# Resize Active
binde = SUPER_CTRL, left,  resizeactive, -20 0
binde = SUPER_CTRL, right, resizeactive, 20 0
binde = SUPER_CTRL, up,    resizeactive, 0 -20
binde = SUPER_CTRL, down,  resizeactive, 0 20

# Move Active (Floating Only)
binde = SUPER_ALT, left,  moveactive, -20 0
binde = SUPER_ALT, right, moveactive, 20 0
binde = SUPER_ALT, up,    moveactive, 0 -20
binde = SUPER_ALT, down,  moveactive, 0 20

# Switch between windows
bind = SUPER,Tab,cyclenext,
bind = SUPER,Tab,bringactivetotop

# Workspaces
bind = SUPER, 1, workspace, 1
bind = SUPER, 2, workspace, 2
bind = SUPER, 3, workspace, 3
bind = SUPER, 4, workspace, 4
bind = SUPER, 5, workspace, 5
bind = SUPER, 6, workspace, 6
bind = SUPER, 7, workspace, 7
bind = SUPER, 8, workspace, 8

# Send to Workspaces
bind = SUPER_SHIFT, 1, movetoworkspace, 1
bind = SUPER_SHIFT, 2, movetoworkspace, 2
bind = SUPER_SHIFT, 3, movetoworkspace, 3
bind = SUPER_SHIFT, 4, movetoworkspace, 4
bind = SUPER_SHIFT, 5, movetoworkspace, 5
bind = SUPER_SHIFT, 6, movetoworkspace, 6
bind = SUPER_SHIFT, 7, movetoworkspace, 7
bind = SUPER_SHIFT, 8, movetoworkspace, 8

# Seamless Workspace Switching
bind = CTRL_ALT, left, workspace, e-1
bind = CTRL_ALT, right, workspace, e+1
bind = CTRL_ALT_SHIFT, left, movetoworkspace, e-1
bind = CTRL_ALT_SHIFT, right, movetoworkspace, e+1

# Change Workspace Mode
bind = SUPER_CTRL, F, workspaceopt, allfloat
bind = SUPER_CTRL, F, exec, $notifycmd 'Toggled All Float Mode'
bind = SUPER_CTRL, S, workspaceopt, allpseudo
bind = SUPER_CTRL, S, exec, $notifycmd 'Toggled All Pseudo Mode'

# Misc
$waybarlocation = /home/grahf/.config/hypr/scripts/statusbar
bind = SUPER_SHIFT, P, pin,
bind = SUPER_SHIFT, P, exec, $notifycmd 'Toggled Pin'
bind = SUPER_SHIFT, S, swapnext
bind = SUPER_SHIFT, O, toggleopaque
bind = SUPER_CTRL_ALT, B, exec, /home/grahf/.config/hypr/scripts/toggle_waybar
bind = SUPER, V, exec, $notifycmd 'CCA VPN Enabled'
bind = SUPER, V, exec, alacritty --config-file ~/.config/hypr/alacritty/alacritty.toml -e "/opt/ccavpn"

bindl = ,switch:Lid Switch, exec, $lockscreen

#-- Mouse Buttons ----------------------------------------------
bindm=SUPER, mouse:272, movewindow
bindm=SUPER, mouse:273, resizewindow

#-- Startup ----------------------------------------------------
exec-once=~/.config/hypr/scripts/startup

How to reproduce

I've attached my main config file to the previous message, run a proton game, full screen and you will notice.

Crash reports, logs, images, videos

No response

@grahfmusic grahfmusic added the bug Something isn't working label May 16, 2024
@vaxerski
Copy link
Member

doesnt for me lole

@grahfmusic
Copy link
Author

grahfmusic commented May 16, 2024

any ideas as to why this would be happening? only happened after updating to the latest version.

@vaxerski
Copy link
Member

vaxerski commented May 17, 2024

if you bisected the issue maybe I'd be able to answer https://wiki.hyprland.org/Crashes-and-Bugs/#bisecting-an-issue

@grahfmusic
Copy link
Author

Well it changed from 0.39.1 to 0.40.0 - and I removed the no hardware environmental variables and added them to the config file like the wiki said.

@vaxerski
Copy link
Member

that is not a bisect. There are over 15000 lines changed between the two releases.

@UjinT34
Copy link

UjinT34 commented May 23, 2024

e4e8406 good
ed411f5 doesn't compile
84e8d18 crashes at start
67a5377 crashes at start
c98acae crashes at start
d7aed24 crashes at start
fe4737f bad

@UjinT34
Copy link

UjinT34 commented May 24, 2024

Debug log with latest git

[LOG] CWLSurface 5596db1890e0 called init()
[LOG] cursorImage request: surface 5596d7910070
[LOG] New window contains HL_INITIAL_WORKSPACE_TOKEN: 7d00fcc4-7ae6-41d5-a362-96c5e1313e06
[LOG] Registered signal for owner 5596db1888c0: 5596db18d9f8 -> 5596db188990 (owner: CWindow)
[LOG] Searching for matching rules for  (title: Last Epoch)
[LOG] Searching for matching rules for  (title: Steam)
[LOG] Callback 5596d55d0eb0 -> 5596d55d0ea8, CSeatManager removed.
[LOG] Callback 5596d657f260 -> 5596d657f258, CWLKeyboardResource removed.
[LOG] Registered signal for owner 5596d657f220: 5596db18da18 -> 5596d657f238 (owner: CWLKeyboardResource)
[LOG] Registered signal for owner 0: 5596db18da18 -> 5596d55d0e88 (owner: CSeatManager)
[LOG] [WLDataDevice] CWLDataDeviceProtocol::onKeyboardFocus: cannot send selection to a client without a data_device
[LOG] Set keyboard focus to surface 5596db18d700, with [Window 5596db1888c0: title: "Last Epoch"]
[LOG] Searching for matching rules for  (title: Last Epoch)
[LOG] Registered signal for owner 5596db1888c0: 5596db143890 -> 5596db188b30 (owner: XWayland Window Late)
[LOG] Registered signal for owner 5596db1888c0: 5596db1438a0 -> 5596db188d38 (owner: XWayland Window Late)
[LOG] Registered signal for owner 5596db1888c0: 5596db1438d0 -> 5596db188a60 (owner: XWayland Window Late)
[LOG] Registered signal for owner 5596db1888c0: 5596db143870 -> 5596db188c00 (owner: Xwayland Window Late)
[LOG] Registered signal for owner 5596db1888c0: 5596db143880 -> 5596db188c68 (owner: Xwayland Window Late)
[LOG] Searching for matching rules for  (title: Last Epoch)
[LOG] Scanout mode ON set for [Window 5596db1888c0: title: "Last Epoch"]
[LOG] Registered signal for owner 5596db18d700: 5596db18da18 -> 5596d7933e80 (owner: FractionalScale)
[LOG] Map request dispatched, monitor DP-1, window pos: [0.00000, 0.00000], window size: [3440.00000, 1440.00000]
[LOG] Callback 5596d55d0f18 -> 5596d55d0f10, CSeatManager removed.
[LOG] Callback 5596d63f4230 -> 5596d63f4228, CWLPointerResource removed.
[LOG] Registered signal for owner 5596d63f41f0: 5596db18da18 -> 5596d63f4208 (owner: CWLPointerResource)
[LOG] Registered signal for owner 0: 5596db18da18 -> 5596d55d0ef0 (owner: CSeatManager)
[LOG] [PrimarySelection] CPrimarySelectionProtocol::updateSelection: cannot send selection to a client without a data_device
[LOG] Searching for matching rules for org.kde.konsole (title: [~/.local/share/Steam] bash — Konsole)
[LOG] Searching for matching rules for  (title: Steam)
[LOG] Searching for matching rules for  (title: Last Epoch)
[wlr] [xwayland/xwm.c:1636] xcb error: op 12:0, code 2, sequence 3086, value 0
[LOG] [XDGShell] xdg_surface 5596d602eed0 requests geometry 0x0 760x1384
[LOG] cursorImage request: surface 5596d7910070
[LOG] cursorImage request: surface 5596d7910070
[LOG] New XWayland Surface created (class null).
[LOG] Registered signal for owner 5596db196400: 5596db146d70 -> 5596db196ae8 (owner: XWayland Window)
[LOG] Registered signal for owner 5596db196400: 5596db146d80 -> 5596db196b50 (owner: XWayland Window)
[LOG] Registered signal for owner 5596db196400: 5596db146cf0 -> 5596db196538 (owner: XWayland Window)
[LOG] Registered signal for owner 5596db196400: 5596db146e20 -> 5596db196a80 (owner: XWayland Window)
[LOG] Registered signal for owner 5596db196400: 5596db146d00 -> 5596db1968e0 (owner: XWayland Window)
[LOG] Entered a direct scanout to 5596db1888c0: "Last Epoch"
[LOG] cursorImage request: surface 0
[LOG] Callback 5596d55624b0 -> 5596d55624a8, CPointerManager removed.
[LOG] Callback 5596d56f25d8 -> 5596d56f25d0, CWLSurface removed.
[LOG] Callback 5596d56f2640 -> 5596d56f2638, CWLSurface removed.
[LOG] CWLSurface 5596d56f2530 called destroy()
[LOG] New XWayland Surface created (class null).
[LOG] Registered signal for owner 5596db199d10: 5596db1961e0 -> 5596db19a3f8 (owner: XWayland Window)
[LOG] Registered signal for owner 5596db199d10: 5596db1961f0 -> 5596db19a460 (owner: XWayland Window)
[LOG] Registered signal for owner 5596db199d10: 5596db196160 -> 5596db199e48 (owner: XWayland Window)
[LOG] Registered signal for owner 5596db199d10: 5596db196290 -> 5596db19a390 (owner: XWayland Window)
[LOG] Registered signal for owner 5596db199d10: 5596db196170 -> 5596db19a1f0 (owner: XWayland Window)
[LOG] cursorImage request: surface 0
[LOG] cursorImage request: surface 5596d7910070
[LOG] Registered signal for owner 5596d56f2530: 5596d7910388 -> 5596d56f25b0 (owner: CWLSurface)
[LOG] Registered signal for owner 5596d56f2530: 5596d7910348 -> 5596d56f2618 (owner: CWLSurface)
[LOG] CWLSurface 5596d56f2530 called init()
[LOG] Registered signal for owner 0: 5596d7910348 -> 5596d5562488 (owner: CPointerManager)
[LOG] Keybind triggered, calling dispatcher (8, , 65473)
[LOG] [Window 5596db1888c0: title: "Last Epoch", class: ] unmapped
[LOG] Searching for matching rules for  (title: Last Epoch)
[LOG] Scanout mode OFF set for [Window 5596db1888c0: title: "Last Epoch"]

@UjinT34
Copy link

UjinT34 commented May 24, 2024

#6220 partially fixes the issue. Without that patch cursor is visible for about a second just after game launch and after workspace switching. With that patch cursor is always visible but initially it renders default cursor. After workspace switching the correct cursor is rendered. But then the cursor image doesn't change till another workspace switch.
It seems to work only with cursor:no_hardware_cursors = false. With cursor:no_hardware_cursors = true the patch doesn't have any visible effect.

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

3 participants