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

hardware cursors on dgpu fails to blit #134

Open
gulafaran opened this issue Jan 18, 2025 · 1 comment
Open

hardware cursors on dgpu fails to blit #134

gulafaran opened this issue Jan 18, 2025 · 1 comment

Comments

@gulafaran
Copy link
Contributor

not sure if this should be reported here or at hyprland, but turning on hw cursors with or without use_cpu_buffers makes it fail blitting and endlessly spam the log such as. i do have an external monitor attached to the nvidia gpu.

 [LOG] [AQ] DRM Dumb: Allocated a new buffer with primeFD 99, size [Vector2D: x: 256, y: 256] and format AR24                                
 [LOG] [AQ] DRM Dumb: Allocated a new buffer with primeFD 208, size [Vector2D: x: 256, y: 256] and format AR24                               
 [LOG] [AQ] Swapchain: Reconfigured a swapchain to [Vector2D: x: 256, y: 256] AR24 of length 2                                               
 [ERR] [AQ] GBM: Allocating with modifiers and flags failed, falling back to modifiers without flags                                         
 [LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 256, y: 256] and format AR24 with modifier 0 aka LINEAR                      
 [ERR] [AQ] [GLES] Error in call at [email protected]: 0x502                                                                                  
 [ERR] [AQ] [GLES] Error in call at [email protected]: 0x506                                                                                  
 [ERR] [AQ] GBM: Allocating with modifiers and flags failed, falling back to modifiers without flags                                         
 [LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 256, y: 256] and format AR24 with modifier 0 aka LINEAR                      
 [ERR] [AQ] [GLES] Error in call at [email protected]: 0x502                                                                                  
 [ERR] [AQ] [GLES] Error in call at [email protected]: 0x506                                                                                  
 [LOG] [AQ] Swapchain: Reconfigured a swapchain to [Vector2D: x: 256, y: 256] AR24 of length 2                                               
 [LOG] [AQ] EGL (blit): No attachment in from, creating a new image                                                                          
 [LOG] [AQ] CDRMRenderer::glTex: found format+mod, external = true                                                                           
 [LOG] [AQ] EGL (blit): No attachment in to, creating a new image                                                                            
 [ERR] [AQ] [GLES] Error in call at [email protected]: 0x502                                                                                  
 [ERR] [AQ] EGL (blit): glCheckFramebufferStatus failed: 0                                                                                   
 [ERR] [AQ] drm: Backend requires blit, but cursor blit failed


 [LOG] [AQ] EGL (blit): No attachment in from, creating a new image                                                                          
 [LOG] [AQ] CDRMRenderer::glTex: found format+mod, external = true                                                                           
 [LOG] [AQ] EGL (blit): No attachment in to, creating a new image                                                                            
 [ERR] [AQ] [GLES] Error in call at [email protected]: 0x502                                                                                  
 [ERR] [AQ] EGL (blit): glCheckFramebufferStatus failed: 0                                                                                   
 [ERR] [AQ] drm: Backend requires blit, but cursor blit failed                                                                               
 [LOG] [AQ] EGL (blit): No attachment in to, creating a new image                                                                            
 [ERR] [AQ] [GLES] Error in call at [email protected]: 0x502                                                                                  
 [ERR] [AQ] EGL (blit): glCheckFramebufferStatus failed: 0    
Hyprland 0.46.0 built from branch  at commit 078e13f463d56a4e773aa104bca5567b9e9c8658  (renderer: Auto enable wide color gamut in HDR mode (9090)).
Date: Fri Jan 17 21:23:57 2025
Tag: v0.46.0-126-g078e13f4, commits: 5681
built against:
 aquamarine 0.7.1
 hyprlang 0.6.0
 hyprutils 0.3.3
 hyprcursor 0.1.11
 hyprgraphics 0.1.1


no flags were set


System Information:
System name: Linux
Node name: heimdall
Release: 6.12.10-gentoo-tom
Version: #1 SMP PREEMPT_DYNAMIC Sat Jan 18 05:45:11 CET 2025


GPU information: 
00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-S UHD Graphics [8086:a788] (rev 04) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD104M [GeForce RTX 4080 Max-Q / Mobile] [10de:27e0] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX Open Kernel Module for x86_64  565.77  Release Build  (portage@localhost)  lör 18 jan 2025 05:48:30 CET
@vaxerski
Copy link
Member

yeah nvidia will fail that... dk what to do here tbh considering our api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants