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
21.09k stars 882 forks source link

Hyprland Display not working #1605

Closed Yorubae closed 1 year ago

Yorubae commented 1 year ago

I just installed Hyprland and it doesn't seem to show anything except a cursor , btw my pc is very old tho so i did the legacyrenderer method , it didn't work either , but when i launch the terminal using the keys , it seemed to work i also made sure about it by typing smth like shutdown now and reboot and tried lots of ways to fix it but still can't and ask ppl about it and they can't seem figured out too, so at last here im posting my logs :

[LOG] Instance Signature: 6b7e409f05536e45baa3dabeab0df77d05c9a96f_1676983921
[LOG] Hyprland PID: 13924
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: Arch
[LOG] Release: 6.1.12-arch1-1
[LOG] Version: #1 SMP PREEMPT_DYNAMIC Tue, 14 Feb 2023 22:08:08 +0000

[LOG] GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e32] (rev 03) (prog-if 00 [VGA controller])

[LOG] os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

[LOG] ========================

[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/

[LOG]
Current splash: J'remue le ciel, le jour, la nuit.

[wlr] [backend/x11/backend.c:395] Creating X11 backend
[wlr] [render/egl.c:206] Supported EGL client extensions: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
[wlr] [render/egl.c:482] Using EGL device /dev/dri/card0
[wlr] [render/egl.c:355] Using EGL 1.4
[wlr] [render/egl.c:356] Supported EGL display extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display
[wlr] [render/egl.c:358] Supported EGL device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node
[wlr] [render/egl.c:360] EGL vendor: Mesa Project (Amber)
[wlr] [render/egl.c:121] Supported DMA-BUF formats:
[wlr] [render/egl.c:190] EGL DMA-BUF format modifiers supported
[wlr] [render/egl.c:531] Using EGL_PLATFORM_DEVICE_EXT
[wlr] [render/gles2/renderer.c:742] Creating GLES2 renderer
[wlr] [render/gles2/renderer.c:743] Using OpenGL ES 2.0 Mesa 21.3.9 Amber
[wlr] [render/gles2/renderer.c:744] GL vendor: Intel Open Source Technology Center
[wlr] [render/gles2/renderer.c:745] GL renderer: Mesa DRI Intel(R) G41 (ELK)
[wlr] [render/gles2/renderer.c:746] Supported GLES2 extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_NV_pixel_buffer_object GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_separate_shader_objects GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_draw_elements_base_vertex GL_EXT_polygon_offset_clamp GL_EXT_texture_border_clamp GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_KHR_no_error GL_EXT_texture_compression_s3tc_srgb GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_demote_to_helper_invocation GL_EXT_depth_clamp GL_MESA_bgra
[wlr] [render/gles2/renderer.c:806] GPU reset notifications are disabled
[wlr] [render/allocator/allocator.c:106] Trying to create gbm allocator
[wlr] [render/allocator/gbm.c:211] Created GBM allocator with backend drm
[wlr] [render/allocator/gbm.c:214] Using DRM node /dev/dri/renderD128
[wlr] [xcursor/wlr_xcursor.c:243] Loaded cursor theme 'default' at size 24 (124 available cursors)
[wlr] [types/wlr_idle.c:246] idle manager created
[wlr] [types/wlr_drm_lease_v1.c:715] No DRM backend supplied, failed to create wlr_drm_lease_v1_manager
[INFO] Failed to create wlr_drm_lease_v1_manager
[INFO] VR will not be available
[wlr] [backend/headless/backend.c:68] Creating headless backend
[LOG] Hyprland init finished.
[LOG] Creating the KeybindManager!
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 58.57µs. Estimated average calc time: 0.01µs.
[LOG] Creating the LayoutManager!
[LOG] Creating the ConfigManager!
[LOG] Creating the CHyprError!
[LOG] Creating the ThreadManager!
[LOG] Reloading the config!
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 39.24µs. Estimated average calc time: 0.01µs.
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 38.98µs. Estimated average calc time: 0.01µs.
[LOG] Registered dynamic var "$mainMod" -> SUPER
[LOG] Hypr socket started at /tmp/hypr/6b7e409f05536e45baa3dabeab0df77d05c9a96f_1676983921/.socket.sock
[LOG] Creating the InputManager!
[LOG] Creating the CHyprOpenGLImpl!
[LOG] Creating the Hypr OpenGL Renderer!
[LOG] Using: OpenGL ES 2.0 Mesa 21.3.9 Amber
[LOG] Vendor: Intel Open Source Technology Center
[LOG] Renderer: Mesa DRI Intel(R) G41 (ELK)
[LOG] Supported extensions size: 74
[LOG] Creating the HyprRenderer!
[LOG] Creating the XWaylandManager!
[LOG] Registered signal for owner a5cc6950: a5cc6990 -> a4a65e40 (owner: XWayland Manager)
[LOG] Registered signal for owner a5cc6950: a5cc69a0 -> a4a65e20 (owner: XWayland Manager)
[LOG] CHyprXWaylandManager started on display :1
[LOG] Creating the ProtocolManager!
[LOG] ToplevelExportManager started successfully!
[LOG] FractionalScaleManager started successfully!
[LOG] Creating the SessionLockManager!
[LOG] Creating the EventManager!
[LOG] Creating the HyprDebugOverlay!
[LOG] Registered signal for owner a560e850: a560e878 -> a4a65d20 (owner: Backend)
[LOG] Registered signal for owner a5bd3a40: a5bd3a90 -> a4a65cc0 (owner: XDG Shell)
[LOG] Registered signal for owner a5bdee20: a5bdee38 -> a4a65c80 (owner: WLRCursor)
[LOG] Registered signal for owner a5bdee20: a5bdee48 -> a4a65c60 (owner: WLRCursor)
[LOG] Registered signal for owner a5bdee20: a5bdee58 -> a4a65c40 (owner: WLRCursor)
[LOG] Registered signal for owner a5bdee20: a5bdee68 -> a4a65c20 (owner: WLRCursor)
[LOG] Registered signal for owner a5bdee20: a5bdee78 -> a4a65c00 (owner: WLRCursor)
[LOG] Registered signal for owner a5bdee20: a5bdee88 -> a4a659e0 (owner: WLRCursor)
[LOG] Registered signal for owner a5bdee20: a5bdee98 -> a4a659a0 (owner: WLRCursor)
[LOG] Registered signal for owner a5bdee20: a5bdeea8 -> a4a659c0 (owner: WLRCursor)
[LOG] Registered signal for owner a5bdee20: a5bdeeb8 -> a4a65980 (owner: WLRCursor)
[LOG] Registered signal for owner a5bdee20: a5bdeec8 -> a4a65960 (owner: WLRCursor)
[LOG] Registered signal for owner a5bdee20: a5bdeed8 -> a4a65940 (owner: WLRCursor)
[LOG] Registered signal for owner a5bdee20: a5bdef18 -> a4a658a0 (owner: WLRCursor)
[LOG] Registered signal for owner a5bdee20: a5bdef08 -> a4a65880 (owner: WLRCursor)
[LOG] Registered signal for owner a5bdee20: a5bdef28 -> a4a65860 (owner: WLRCursor)
[LOG] Registered signal for owner a5bdee20: a5bdef48 -> a4a65840 (owner: WLRCursor)
[LOG] Registered signal for owner a5bdee20: a5bdeee8 -> a4a65820 (owner: WLRCursor)
[LOG] Registered signal for owner a5bdee20: a5bdeef8 -> a4a65800 (owner: WLRCursor)
[LOG] Registered signal for owner a560e850: a560e868 -> a4a65be0 (owner: Backend)
[LOG] Registered signal for owner a560c9a0: a5d066c8 -> a4a65b80 (owner: Seat)
[LOG] Registered signal for owner a560c9a0: a5d066d8 -> a4a65b60 (owner: Seat)
[LOG] Registered signal for owner a560c9a0: a5d06718 -> a4a65ae0 (owner: Seat)
[LOG] Registered signal for owner a560c9a0: a5d06728 -> a4a65ac0 (owner: Seat)
[LOG] Registered signal for owner a560c9a0: a5d066d8 -> a4a65b60 (owner: Seat)
[LOG] Registered signal for owner a560c9a0: a5d066f8 -> a4a65b40 (owner: Seat)
[LOG] Registered signal for owner a5cbdd70: a5cbdd90 -> a4a65ce0 (owner: LayerShell)
[LOG] Registered signal for owner a5bd37f0: a5bd3810 -> a4a65d40 (owner: OutputLayout)
[LOG] Registered signal for owner a5d06bd0: a5d06c08 -> a4a65b20 (owner: OutputMgr)
[LOG] Registered signal for owner a5d06bd0: a5d06c18 -> a4a65b00 (owner: OutputMgr)
[LOG] Registered signal for owner a5d06cb0: a5d06ce0 -> a4a65aa0 (owner: InhibitMgr)
[LOG] Registered signal for owner a5d06cb0: a5d06cf0 -> a4a65a80 (owner: InhibitMgr)
[LOG] Registered signal for owner a5d06ef0: a5d06f08 -> a4a65ba0 (owner: PointerConstraints)
[LOG] Registered signal for owner a5d06a30: a5d06a60 -> a4a65a60 (owner: XDGDecoMgr)
[LOG] Registered signal for owner a5d070f0: a5d07120 -> a4a65bc0 (owner: VirtPtrMgr)
[LOG] Registered signal for owner a5d07040: a5d07070 -> a4a658c0 (owner: VKeyboardMgr)
[LOG] Registered signal for owner a5671ac0: a5671ac0 -> a4a65a40 (owner: WLRRenderer)
[LOG] Registered signal for owner a5d07350: a5d07380 -> a4a65a20 (owner: WLRIdleInhibitMgr)
[LOG] Registered signal for owner a5bd3840: a5bd3870 -> a4a65920 (owner: PowerMgr)
[LOG] Registered signal for owner a5d077d0: a5d07800 -> a4a65900 (owner: IMEMgr)
[LOG] Registered signal for owner a5d07720: a5d07750 -> a4a658e0 (owner: TextInputMgr)
[LOG] Registered signal for owner a5d07880: a5d078a8 -> a4a65ca0 (owner: ActivationV1)
[LOG] Registered signal for owner a5d079d0: a5d079d8 -> a4a657e0 (owner: SessionLockMgr)
[LOG] wl_display_add_socket for wayland-1 succeeded with 0
[LOG] Running on WAYLAND_DISPLAY: wayland-1
[wlr] [backend/x11/backend.c:164] Starting X11 backend
[LOG] Hypr socket 2 started at /tmp/hypr/6b7e409f05536e45baa3dabeab0df77d05c9a96f_1676983921/.socket2.sock
[LOG] Attached a keyboard with name x11-keyboard
[LOG] Registered signal for owner a5c060d0: a560eac0 -> a5c060d8 (owner: Keyboard)
[LOG] Registered signal for owner a5c060d0: a560eab0 -> a5c06140 (owner: Keyboard)
[LOG] Registered signal for owner a5c060d0: a560e990 -> a5c06210 (owner: Keyboard)
[LOG] Registered signal for owner a5c060d0: a560ead0 -> a5c061a8 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "x11-keyboard", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to us and variant to  for keyboard "x11-keyboard"
[LOG] New keyboard created, pointers Hypr: a5c060d0 and WLR: a560e978
[LOG] Adding completely new monitor.
[LOG] Registered signal for owner a5ce1ba0: a5cdebe0 -> a5ce1cf0 (owner: )
[LOG] Registered signal for owner a5ce1ba0: a5cdec70 -> a5ce1d58 (owner: )
[LOG] Registered signal for owner a5ce1ba0: a5cdec60 -> a5ce1dc0 (owner: )
[WARN] No rule found for X11-1, trying to use the first.
[LOG] Applying monitor rule for X11-1
[wlr] [types/output/render.c:237] Attaching empty buffer to output for modeset
[wlr] [types/output/render.c:81] Choosing primary buffer format XR24 (0x34325258) for output 'X11-1'
[wlr] [render/swapchain.c:105] Allocating new swapchain buffer
[wlr] [render/allocator/gbm.c:144] Allocated 1366x768 GBM buffer with format XR24 (0x34325258), modifier INVALID (0x00FFFFFFFFFFFFFF)
[wlr] [render/gles2/renderer.c:148] Created GL FBO for buffer 1366x768
[wlr] [GLES2] FS SIMD16 shader: 6 inst, 0 loops, 66 cycles, 0:0 spills:fills, 1 sends, scheduled with mode top-down, Promoted 0 constants, compacted 96 to 96 bytes.

[wlr] [GLES2] VS vec4 shader: 10 inst, 0 loops, 84 cycles, 0:0 spills:fills, 2 sends, compacted 160 to 160 bytes.

[wlr] [GLES2] FS SIMD16 shader: 6 inst, 0 loops, 66 cycles, 0:0 spills:fills, 1 sends, scheduled with mode top-down, Promoted 0 constants, compacted 96 to 96 bytes.

[LOG] Set a custom mode 1366x768@60.000000 (mode not found in monitor modes)
[wlr] [types/output/render.c:237] Attaching empty buffer to output for modeset
[wlr] [render/swapchain.c:105] Allocating new swapchain buffer
[wlr] [render/allocator/gbm.c:144] Allocated 1366x768 GBM buffer with format XR24 (0x34325258), modifier INVALID (0x00FFFFFFFFFFFFFF)
[wlr] [render/gles2/renderer.c:148] Created GL FBO for buffer 1366x768
[LOG] Monitor X11-1 -> destroyed all render data
[LOG] Monitor X11-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Monitor X11-1 data dump: res 1366x768@60.00Hz, scale 1.00, transform 0, pos 0x0, 10b 0
[LOG] Added new monitor with name X11-1 at 0,0 with size 1366x768, pointer a5cdeaa0
[LOG] New monitor: WORKSPACEID 1, exists: 0
[wlr] [xcursor/wlr_xcursor.c:243] Loaded cursor theme 'default' at size -24 (26 available cursors)
[LOG] Monitor X11-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Attached a mouse with name x11-pointer
[LOG] Registered signal for owner a5d830e0: a5cded50 -> a5d831a0 (owner: Mouse)
[LOG] New mouse created, pointer WLR: a5cded38
[LOG] Attached a touch device with name x11-touch
[LOG] New touch device added at a5d7fb30
[LOG] Registered signal for owner a5d7fb30: a5cdee68 -> a5d7fb78 (owner: TouchDevice)
[wlr] [backend/headless/backend.c:16] Starting headless backend
[wlr] [render/swapchain.c:105] Allocating new swapchain buffer
[wlr] [render/allocator/gbm.c:144] Allocated 10x16 GBM buffer with format AR24 (0x34325241), modifier X_TILED (0x0100000000000001)
[wlr] [render/gles2/renderer.c:148] Created GL FBO for buffer 10x16
[wlr] [render/swapchain.c:105] Allocating new swapchain buffer
[wlr] [render/allocator/gbm.c:144] Allocated 24x24 GBM buffer with format AR24 (0x34325241), modifier X_TILED (0x0100000000000001)
[wlr] [render/gles2/renderer.c:148] Created GL FBO for buffer 24x24
[LOG] Hyprland is ready, running the event loop!
[wlr] [backend/x11/backend.c:724] Unhandled X11 event: ReparentNotify (21)
[wlr] [types/output/render.c:237] Attaching empty buffer to output for modeset
[wlr] [types/output/render.c:81] Choosing primary buffer format XR24 (0x34325258) for output 'X11-1'
[wlr] [render/swapchain.c:105] Allocating new swapchain buffer
[wlr] [render/allocator/gbm.c:144] Allocated 621x662 GBM buffer with format XR24 (0x34325258), modifier INVALID (0x00FFFFFFFFFFFFFF)
[wlr] [render/gles2/renderer.c:148] Created GL FBO for buffer 621x662
[wlr] [render/swapchain.c:105] Allocating new swapchain buffer
[wlr] [render/allocator/gbm.c:144] Allocated 10x16 GBM buffer with format AR24 (0x34325241), modifier X_TILED (0x0100000000000001)
[wlr] [render/gles2/renderer.c:148] Created GL FBO for buffer 10x16
[wlr] [render/swapchain.c:105] Allocating new swapchain buffer
[wlr] [render/allocator/gbm.c:144] Allocated 24x24 GBM buffer with format AR24 (0x34325241), modifier X_TILED (0x0100000000000001)
[wlr] [render/gles2/renderer.c:148] Created GL FBO for buffer 24x24
[LOG] ApplyConfigToKeyboard for "x11-keyboard", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to us and variant to  for keyboard "x11-keyboard"
[WARN] No rule found for X11-1, trying to use the first.
[LOG] Applying monitor rule for X11-1
[LOG] Not applying a new rule to X11-1 because it's already applied!
[LOG] Monitor X11-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Allocated texture for BGTex
[wlr] [GLES2] GL_INVALID_ENUM in glTexParameter(pname=GL_TEXTURE_SWIZZLE_R)
[wlr] [GLES2] GL_INVALID_ENUM in glTexParameter(pname=GL_TEXTURE_SWIZZLE_B)
[LOG] Background created for monitor X11-1
[LOG] Shaders initialized successfully.
[wlr] [GLES2] GL_INVALID_VALUE in glUniformMatrix(matrix transpose is not GL_FALSE)
[wlr] [GLES2] GL_INVALID_ENUM in glTexParameter(pname=GL_TEXTURE_SWIZZLE_R)
[wlr] [GLES2] GL_INVALID_ENUM in glTexParameter(pname=GL_TEXTURE_SWIZZLE_B)
[wlr] [GLES2] GL_INVALID_VALUE in glUniformMatrix(matrix transpose is not GL_FALSE)
[wlr] [GLES2] GL_INVALID_VALUE in glUniformMatrix(matrix transpose is not GL_FALSE)
[wlr] [GLES2] GL_INVALID_VALUE in glUniformMatrix(matrix transpose is not GL_FALSE)
[wlr] [GLES2] GL_INVALID_VALUE in glUniformMatrix(matrix transpose is not GL_FALSE)
[wlr] [GLES2] GL_INVALID_VALUE in glUniformMatrix(matrix transpose is not GL_FALSE)
[wlr] [GLES2] GL_INVALID_VALUE in glUniformMatrix(matrix transpose is not GL_FALSE)
[wlr] [GLES2] GL_INVALID_VALUE in glUniformMatrix(matrix transpose is not GL_FALSE) 
vaxerski commented 1 year ago

you're obviously not using the legacy renderer in the above log.

Yorubae commented 1 year ago

And here's my config too

########################################################################################
AUTOGENERATED HYPR CONFIG.
PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
########################################################################################

#
# Please note not all available settings / options are set here.
# For a full list, see the wiki
#

autogenerated = 1 # remove this line to remove the warning

# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,1366x768@60,auto,auto

# See https://wiki.hyprland.org/Configuring/Keywords/ for more

# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox

# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf

# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
    kb_layout = us
    kb_variant =
    kb_model =
    kb_options =
    kb_rules =

    follow_mouse = 1

    touchpad {
        natural_scroll = no
    }

    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}

general {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    gaps_in = 5
    gaps_out = 20
    border_size = 2
    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959aa)

    layout = dwindle
}

decoration {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    rounding = 10
    blur = yes
    blur_size = 3
    blur_passes = 1
    blur_new_optimizations = on

    drop_shadow = yes
    shadow_range = 4
    shadow_render_power = 3
    col.shadow = rgba(1a1a1aee)
}

animations {
    enabled = yes

    # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

dwindle {
    # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
    pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = yes # you probably want this
}

master {
    # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
    new_is_master = true
}

gestures {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    workspace_swipe = off
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
device:epic mouse V1 {
    sensitivity = -0.5
}

# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more

# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, alacritty
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, dolphin
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, wofi --show drun
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
Yorubae commented 1 year ago

you're obviously not using the legacy renderer in the above log.

i tried installing it from yay named hyprland-legacyrenderer aur

vaxerski commented 1 year ago

I don't maintain that package. Consult the wiki on installing with legacy renderer manually.

Yorubae commented 1 year ago

I don't maintain that package. Consult the wiki on installing with legacy renderer manually.

I again uninstall Hyprland and reinstall it followed from the wiki to install legacyrenderer but still its the same

Yorubae commented 1 year ago

Here is the new log btw

[LOG] Instance Signature: 6b7e409f05536e45baa3dabeab0df77d05c9a96f_1676990334
[LOG] Hyprland PID: 2711
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: Arch
[LOG] Release: 6.1.12-arch1-1
[LOG] Version: #1 SMP PREEMPT_DYNAMIC Tue, 14 Feb 2023 22:08:08 +0000

[LOG] GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e32] (rev 03) (prog-if 00 [VGA controller])

[LOG] os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

[LOG] ========================

[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/

[LOG]
Current splash: "I commit too often, people can't catch up lmao" - Vaxry

[INFO] Failed to create wlr_drm_lease_v1_manager
[INFO] VR will not be available
[LOG] Hyprland init finished.
[LOG] Creating the KeybindManager!
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 57.98µs. Estimated average calc time: 0.01µs.
[LOG] Creating the LayoutManager!
[LOG] Creating the ConfigManager!
[LOG] Creating the CHyprError!
[LOG] Creating the ThreadManager!
[LOG] Reloading the config!
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 39.06µs. Estimated average calc time: 0.01µs.
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 38.93µs. Estimated average calc time: 0.01µs.
[LOG] Registered dynamic var "$mainMod" -> SUPER
[LOG] Hypr socket started at /tmp/hypr/6b7e409f05536e45baa3dabeab0df77d05c9a96f_1676990334/.socket.sock
[LOG] Creating the InputManager!
[LOG] Creating the CHyprOpenGLImpl!
[LOG] Creating the Hypr OpenGL Renderer!
[LOG] Using: OpenGL ES 2.0 Mesa 21.3.9 Amber
[LOG] Vendor: Intel Open Source Technology Center
[LOG] Renderer: Mesa DRI Intel(R) G41 (ELK)
[LOG] Supported extensions size: 74
[LOG] Creating the HyprRenderer!
[LOG] Creating the XWaylandManager!
[LOG] Registered signal for owner 39e20400: 39e20440 -> 380f8e40 (owner: XWayland Manager)
[LOG] Registered signal for owner 39e20400: 39e20450 -> 380f8e20 (owner: XWayland Manager)
[LOG] CHyprXWaylandManager started on display :1
[LOG] Creating the ProtocolManager!
[LOG] ToplevelExportManager started successfully!
[LOG] FractionalScaleManager started successfully!
[LOG] Creating the SessionLockManager!
[LOG] Creating the EventManager!
[LOG] Creating the HyprDebugOverlay!
[LOG] Registered signal for owner 39768960: 39768988 -> 380f8d20 (owner: Backend)
[LOG] Registered signal for owner 39d2d090: 39d2d0e0 -> 380f8cc0 (owner: XDG Shell)
[LOG] Registered signal for owner 39d386d0: 39d386e8 -> 380f8c80 (owner: WLRCursor)
[LOG] Registered signal for owner 39d386d0: 39d386f8 -> 380f8c60 (owner: WLRCursor)
[LOG] Registered signal for owner 39d386d0: 39d38708 -> 380f8c40 (owner: WLRCursor)
[LOG] Registered signal for owner 39d386d0: 39d38718 -> 380f8c20 (owner: WLRCursor)
[LOG] Registered signal for owner 39d386d0: 39d38728 -> 380f8c00 (owner: WLRCursor)
[LOG] Registered signal for owner 39d386d0: 39d38738 -> 380f89e0 (owner: WLRCursor)
[LOG] Registered signal for owner 39d386d0: 39d38748 -> 380f89a0 (owner: WLRCursor)
[LOG] Registered signal for owner 39d386d0: 39d38758 -> 380f89c0 (owner: WLRCursor)
[LOG] Registered signal for owner 39d386d0: 39d38768 -> 380f8980 (owner: WLRCursor)
[LOG] Registered signal for owner 39d386d0: 39d38778 -> 380f8960 (owner: WLRCursor)
[LOG] Registered signal for owner 39d386d0: 39d38788 -> 380f8940 (owner: WLRCursor)
[LOG] Registered signal for owner 39d386d0: 39d387c8 -> 380f88a0 (owner: WLRCursor)
[LOG] Registered signal for owner 39d386d0: 39d387b8 -> 380f8880 (owner: WLRCursor)
[LOG] Registered signal for owner 39d386d0: 39d387d8 -> 380f8860 (owner: WLRCursor)
[LOG] Registered signal for owner 39d386d0: 39d387f8 -> 380f8840 (owner: WLRCursor)
[LOG] Registered signal for owner 39d386d0: 39d38798 -> 380f8820 (owner: WLRCursor)
[LOG] Registered signal for owner 39d386d0: 39d387a8 -> 380f8800 (owner: WLRCursor)
[LOG] Registered signal for owner 39768960: 39768978 -> 380f8be0 (owner: Backend)
[LOG] Registered signal for owner 397669a0: 39e602a8 -> 380f8b80 (owner: Seat)
[LOG] Registered signal for owner 397669a0: 39e602b8 -> 380f8b60 (owner: Seat)
[LOG] Registered signal for owner 397669a0: 39e602f8 -> 380f8ae0 (owner: Seat)
[LOG] Registered signal for owner 397669a0: 39e60308 -> 380f8ac0 (owner: Seat)
[LOG] Registered signal for owner 397669a0: 39e602b8 -> 380f8b60 (owner: Seat)
[LOG] Registered signal for owner 397669a0: 39e602d8 -> 380f8b40 (owner: Seat)
[LOG] Registered signal for owner 39e604d0: 39e604f0 -> 380f8ce0 (owner: LayerShell)
[LOG] Registered signal for owner 39d2ce40: 39d2ce60 -> 380f8d40 (owner: OutputLayout)
[LOG] Registered signal for owner 39e60740: 39e60778 -> 380f8b20 (owner: OutputMgr)
[LOG] Registered signal for owner 39e60740: 39e60788 -> 380f8b00 (owner: OutputMgr)
[LOG] Registered signal for owner 39e60820: 39e60850 -> 380f8aa0 (owner: InhibitMgr)
[LOG] Registered signal for owner 39e60820: 39e60860 -> 380f8a80 (owner: InhibitMgr)
[LOG] Registered signal for owner 39e60a60: 39e60a78 -> 380f8ba0 (owner: PointerConstraints)
[LOG] Registered signal for owner 39e60640: 39e60670 -> 380f8a60 (owner: XDGDecoMgr)
[LOG] Registered signal for owner 39e60c60: 39e60c90 -> 380f8bc0 (owner: VirtPtrMgr)
[LOG] Registered signal for owner 39e60bb0: 39e60be0 -> 380f88c0 (owner: VKeyboardMgr)
[LOG] Registered signal for owner 397cb150: 397cb150 -> 380f8a40 (owner: WLRRenderer)
[LOG] Registered signal for owner 39e60dd0: 39e60e00 -> 380f8a20 (owner: WLRIdleInhibitMgr)
[LOG] Registered signal for owner 39d2ce90: 39d2cec0 -> 380f8920 (owner: PowerMgr)
[LOG] Registered signal for owner 39e61250: 39e61280 -> 380f8900 (owner: IMEMgr)
[LOG] Registered signal for owner 39e611a0: 39e611d0 -> 380f88e0 (owner: TextInputMgr)
[LOG] Registered signal for owner 39e61300: 39e61328 -> 380f8ca0 (owner: ActivationV1)
[LOG] Registered signal for owner 39e61450: 39e61458 -> 380f87e0 (owner: SessionLockMgr)
[LOG] wl_display_add_socket for wayland-1 succeeded with 0
[LOG] Running on WAYLAND_DISPLAY: wayland-1
[LOG] Attached a keyboard with name x11-keyboard
[LOG] Registered signal for owner 39d5f9b0: 39768bd0 -> 39d5f9b8 (owner: Keyboard)
[LOG] Registered signal for owner 39d5f9b0: 39768bc0 -> 39d5fa20 (owner: Keyboard)
[LOG] Registered signal for owner 39d5f9b0: 39768aa0 -> 39d5faf0 (owner: Keyboard)
[LOG] Registered signal for owner 39d5f9b0: 39768be0 -> 39d5fa88 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "x11-keyboard", hasconfig: 0
[LOG] Hypr socket 2 started at /tmp/hypr/6b7e409f05536e45baa3dabeab0df77d05c9a96f_1676990334/.socket2.sock
[LOG] Attempting to create a keymap for layout us with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to us and variant to  for keyboard "x11-keyboard"
[LOG] New keyboard created, pointers Hypr: 39d5f9b0 and WLR: 39768a88
[LOG] Adding completely new monitor.
[LOG] Registered signal for owner 39e3b6a0: 39e386e0 -> 39e3b7f0 (owner: )
[LOG] Registered signal for owner 39e3b6a0: 39e38770 -> 39e3b858 (owner: )
[LOG] Registered signal for owner 39e3b6a0: 39e38760 -> 39e3b8c0 (owner: )
[WARN] No rule found for X11-1, trying to use the first.
[LOG] Applying monitor rule for X11-1
[LOG] Set a custom mode 1366x768@60.000000 (mode not found in monitor modes)
[LOG] Monitor X11-1 -> destroyed all render data
[LOG] Monitor X11-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Monitor X11-1 data dump: res 1366x768@60.00Hz, scale 1.00, transform 0, pos 0x0, 10b 0
[LOG] Added new monitor with name X11-1 at 0,0 with size 1366x768, pointer 39e385a0
[LOG] New monitor: WORKSPACEID 1, exists: 0
[LOG] Monitor X11-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Attached a mouse with name x11-pointer
[LOG] Registered signal for owner 39ed9540: 39e38850 -> 39ed9600 (owner: Mouse)
[LOG] New mouse created, pointer WLR: 39e38838
[LOG] Attached a touch device with name x11-touch
[LOG] New touch device added at 39ed9920
[LOG] Registered signal for owner 39ed9920: 39e38968 -> 39ed9968 (owner: TouchDevice)
[LOG] Hyprland is ready, running the event loop!
[LOG] ApplyConfigToKeyboard for "x11-keyboard", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to us and variant to  for keyboard "x11-keyboard"
[WARN] No rule found for X11-1, trying to use the first.
[LOG] Applying monitor rule for X11-1
[LOG] Not applying a new rule to X11-1 because it's already applied!
[LOG] Monitor X11-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Allocated texture for BGTex
[LOG] Background created for monitor X11-1
[LOG] Shaders initialized successfully.
vaxerski commented 1 year ago

yes, this is still not built with legacyrenderer.

Yorubae commented 1 year ago

yes, this is still not built with legacyrenderer.

what? , i followed the steps like first i have to download hyprland-git from aur then install the dependencies and then

git clone --recursive https://github.com/hyprwm/Hyprland
cd Hyprland
sudo make clear && sudo make config && make protocols && make legacyrenderer && sudo cp ./build/Hyprland /usr/bin && sudo cp ./example/hyprland.desktop /usr/share/wayland-sessions

i think thats what i did to install it

ghost commented 1 year ago

yes, this is still not built with legacyrenderer.

what? , i followed the steps like first i have to download hyprland-git from aur then install the dependencies and then

git clone --recursive https://github.com/hyprwm/Hyprland
cd Hyprland
sudo make clear && sudo make config && make protocols && make legacyrenderer && sudo cp ./build/Hyprland /usr/bin && sudo cp ./example/hyprland.desktop /usr/share/wayland-sessions

i think thats what i did to install it

  1. right after cd Hyprland execute meson build When I don't execute meson build the legacyrenderer compile and install will fail.

  2. I think you now have 2 Hyprland binaries: namely: /usr/local/bin/Hyprland and /usr/bin/Hyprland

make sure that you install it with the legacyrenderer and then copy the Hyprland to /usr/local/bin/ so that when you start Hyprland, the Hyprland legacyrenderer binary will definitely get started.

Because, what the install command for the legacyrenderer does, is to copy the built binary into /usr/bin/: sudo cp ./build/Hyprland /usr/bin

When building Hyprland without the legacyrenderer, the binary will normally get installed to /usr/local/bin/.

Yorubae commented 1 year ago

yes, this is still not built with legacyrenderer.

what? , i followed the steps like first i have to download hyprland-git from aur then install the dependencies and then

git clone --recursive https://github.com/hyprwm/Hyprland
cd Hyprland
sudo make clear && sudo make config && make protocols && make legacyrenderer && sudo cp ./build/Hyprland /usr/bin && sudo cp ./example/hyprland.desktop /usr/share/wayland-sessions

i think thats what i did to install it

1. right after `cd Hyprland` execute `meson build`
   When I don't execute `meson build` the legacyrenderer compile and install will fail.

2. I think you now have 2 Hyprland binaries:
   namely:
   `/usr/local/bin/Hyprland` and
   `/usr/bin/Hyprland`

make sure that you install it with the legacyrenderer and then copy the Hyprland to /usr/local/bin/ so that when you start Hyprland, the Hyprland legacyrenderer binary will definitely get started.

Because, what the install command for the legacyrenderer does, is to copy the built binary into /usr/bin/: sudo cp ./build/Hyprland /usr/bin

When building Hyprland without the legacyrenderer, the binary will normally get installed to /usr/local/bin/.

it works but all i see is tiny black moving pixels on the screen, but the terminal and wofi are running fine i guess but there isn't any bar or wallpaper , and i can't set any wallaper too i think the main display is still not working

btw i think there should be file called hyprctl in /usr/bin but i can't seem to find it there , in the wiki it told us to copy the hyprctl but i can't find the file in the repo either

ghost commented 1 year ago

Yes, Hyprland ships without a bar by default. I recommend Waybar, it works really well with Hyprland: https://github.com/Alexays/Waybar/

To set a wallpaper, I recommend Hyprpaper: https://github.com/hyprwm/hyprpaper or swaybg I personally use swaybg, so I execute swaybg -i /path/to/image.

This command sets a random wallpaper from my wallpaper folder that contains 2560x1440p images for the monitor on output DisplayPort 2 (DP-2) and centers it: swaybg -o DP-2 -i $(find ~/.wallpaper-1440/. -type f | shuf -n1) -m center &

tiny black moving pixels on the screen

You might want to turn off blur in your config.

To build hyprctl cd into your hyprland directory and then into hyprctl. In there, execute: make all; sudo cp hyprctl /usr/bin/.