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

Occasional crashes on Hyprland on NixOS #4

Open
jacekpoz opened this issue May 27, 2024 · 4 comments
Open

Occasional crashes on Hyprland on NixOS #4

jacekpoz opened this issue May 27, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@jacekpoz
Copy link
Contributor

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
Copy link

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
Copy link
Owner

coffeeispower commented May 27, 2024

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
Copy link
Contributor Author

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 coffeeispower added bug Something isn't working labels May 27, 2024
@coffeeispower
Copy link
Owner

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

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