coffeeispower / woomer

Zoomer application for Wayland inspired by tsoding's boomer
MIT License
65 stars 1 forks source link

Occasional crashes on Hyprland on NixOS #4

Open jacekpoz opened 1 month ago

jacekpoz commented 1 month ago

not sure what causes this, it doesn't happen every time

hyprland 553232a3e4c112c8511309e6b685cb614895e714 nixos 5710852ba686cc1fd0d3b8e22b3117d43ba374c2 woomer 2d2c607bc44cbcb55ccebf52dfe96fabdd15a9bb

output:

~ ❯ woomer
INFO: Initializing raylib 5.0
INFO: Platform backend: DESKTOP (GLFW)
INFO: Supported raylib modules:
INFO:     > rcore:..... loaded (mandatory)
INFO:     > rlgl:...... loaded (mandatory)
INFO:     > rshapes:... loaded (optional)
INFO:     > rtextures:. loaded (optional)
INFO:     > rtext:..... loaded (optional)
INFO:     > rmodels:... loaded (optional)
INFO:     > raudio:.... loaded (optional)
WARNING: SYSTEM: Closest fullscreen videomode: 1920 x 1280
INFO: DISPLAY: Trying to enable VSYNC
INFO: DISPLAY: Device initialized successfully
INFO:     > Display size: 1920 x 1280
INFO:     > Screen size:  1920 x 1280
INFO:     > Render size:  1920 x 1280
INFO:     > Viewport offsets: 0, 0
INFO: GLAD: OpenGL extensions loaded successfully
INFO: GL: Supported extensions count: 230
INFO: GL: OpenGL device information:
INFO:     > Vendor:   Intel
INFO:     > Renderer: Mesa Intel(R) Xe Graphics (TGL GT2)
INFO:     > Version:  4.6 (Core Profile) Mesa 24.0.7
INFO:     > GLSL:     4.60
INFO: GL: VAO extension detected, VAO functions loaded successfully
INFO: GL: NPOT textures extension detected, full NPOT textures supported
INFO: GL: DXT compressed textures supported
INFO: GL: ETC2/EAC compressed textures supported
INFO: PLATFORM: DESKTOP (GLFW): Initialized successfully
INFO: TEXTURE: [ID 1] Texture loaded successfully (1x1 | R8G8B8A8 | 1 mipmaps)
INFO: TEXTURE: [ID 1] Default texture loaded successfully
INFO: SHADER: [ID 1] Vertex shader compiled successfully
INFO: SHADER: [ID 2] Fragment shader compiled successfully
INFO: SHADER: [ID 3] Program shader loaded successfully
INFO: SHADER: [ID 3] Default shader loaded successfully
INFO: RLGL: Render batch vertex buffers loaded successfully in RAM (CPU)
INFO: RLGL: Render batch vertex buffers loaded successfully in VRAM (GPU)
INFO: RLGL: Default OpenGL state initialized successfully
INFO: TEXTURE: [ID 2] Texture loaded successfully (128x128 | GRAY_ALPHA | 1 mipmaps)
INFO: FONT: Default font loaded successfully (224 glyphs)
INFO: TEXTURE: [ID 3] Texture loaded successfully (1920x1280 | R8G8B8A8 | 1 mipmaps)
INFO: SHADER: [ID 4] Fragment shader compiled successfully
INFO: SHADER: [ID 5] Program shader loaded successfully
Getting shader location "spotlightTint" 13
Getting shader location "cursorPosition" 14
Getting shader location "spotlightRadiusMultiplier" 25
listener function for opcode 1 of wl_data_offer is NULL
zsh: IOT instruction (core dumped)  woomer
Shinyzenith commented 1 month ago

Does wayshot work on hyprland (try the freeze-feat-andreas branch)?

If that works then it's probably not an issue on our side upstream and more to do with woomers raylib code.

coffeeispower commented 1 month ago

Wayshot is run before raylib and after that it's no longer used, and also i'm using the freeze-feat-andreas branch of wayshot. I think this might be a problem with raylib or glfw itself. I haven't experienced this issue however, i'm on hyprland and I've never had those kind of crashes with woomer or raylib.

jacekpoz commented 1 month ago

just tried the same exact config on my main machine (Ryzen + Radeon), same result

probably not a hardware issue, not sure what else it could be

coffeeispower commented 1 month ago

just tried the same exact config on my main machine (Ryzen + Radeon), same result

probably not a hardware issue, not sure what else it could be

It can also be a issue with GLFW because that's what's handling the windows in raylib