coffeeispower / woomer

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

Unable to run #1

Closed T-Dynamos closed 4 months ago

T-Dynamos commented 4 months ago
❯ cargo run
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.66s
     Running `target/debug/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)
xkbcommon: ERROR: couldn't find a Compose file for locale "en_IN" (mapped to "en_IN.ISO8859-1")
WARNING: GLFW: Error: 65544 Description: Wayland: Failed to create XKB compose table
WARNING: SYSTEM: Closest fullscreen videomode: 1920 x 1080
FATAL: PLATFORM: Failed to initialize graphics device

My wayland compositor is sway.

coffeeispower commented 4 months ago

Have you checked that it isnt trying to open with xwayland or something? Because i see xkbcommon on the logs. Or maybe I'm misunderstanding something.

In the same linr that starts with xkbcommon it says that there's a issue finding the locale set on your system, so you might want to also check if the en_IN locale is installed and setup correctly.

T-Dynamos commented 4 months ago
❯ LANG=POSIX cargo run
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s
     Running `target/debug/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 1080
INFO: DISPLAY: Trying to enable VSYNC
INFO: DISPLAY: Device initialized successfully
INFO:     > Display size: 1920 x 1080
INFO:     > Screen size:  1920 x 1080
INFO:     > Render size:  1920 x 1080
INFO:     > Viewport offsets: 0, 0
INFO: GLAD: OpenGL extensions loaded successfully
INFO: GL: Supported extensions count: 203
INFO: GL: OpenGL device information:
INFO:     > Vendor:   Intel
INFO:     > Renderer: Mesa Intel(R) HD Graphics (BYT)
INFO:     > Version:  4.2 (Core Profile) Mesa 24.0.8-arch1.1
INFO:     > GLSL:     4.20
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 (3286x1080 | 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
INFO: SHADER: [ID 5] Unloaded shader program data from VRAM (GPU)
INFO: TEXTURE: [ID 3] Unloaded texture data from VRAM (GPU)
INFO: TEXTURE: [ID 2] Unloaded texture data from VRAM (GPU)
INFO: SHADER: [ID 3] Default shader unloaded successfully
INFO: TEXTURE: [ID 1] Default texture unloaded successfully
INFO: Window closed successfully

It works! Thank you!

coffeeispower commented 4 months ago

@T-Dynamos Also don't forget to compile it in release mode with --release when you install it on your system to enable optimizations.