[BUG]: glutin error: extension to create ES context with wgl is not present in komorebi-bar #550

Closed
opened 2026-01-05 14:51:29 +01:00 by adam · 1 comment
Owner

Originally created by @2dragonly on GitHub (Dec 30, 2024).

Summary

komorebi-bar cannot run in my old laptop because I get error

2024-12-29T17:43:21.641646Z  INFO komorebi_bar: found configuration file: C:\Users\Admin/.config/komorebi/komorebi.bar.json
2024-12-29T17:43:21.659522Z  INFO komorebi_bar: work area offset applied to monitor: 0
2024-12-29T17:43:21.673076Z  INFO komorebi_bar: watching configuration file for changes
Error: 
   0: glutin error: extension to create ES context with wgl is not present

Location:
   komorebi-bar\src/main.rs:422

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: BaseThreadInitThunk<unknown>
      at <unknown source file>:<unknown line>
   2: RtlUserThreadStart<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.

Version Information

OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.26100 N/A Build 26100
System Manufacturer: Acer
System Model: TravelMate X483
Processor(s): Intel(R) Core(TM) i3-2377M CPU @ 1.50GHz, 1500 Mhz, 2 Core(s), 4 Logical Processor(s)

komorebic 0.1.32
branch:master
commit_hash:d93b6fa1
build_time:2024-12-22 00:51:57 +00:00
build_env:rustc 1.83.0 (90b35a623 2024-11-26),stable-x86_64-pc-windows-msvc

Komorebi Configuration

{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.31/schema.bar.json",
  "monitor": {
    "index": 0,
    "work_area_offset": {
      "left": 0,
      "top": 32,
      "right": 0,
      "bottom": 40
    }
  },
  "font_family": "JetBrains Mono",
  "font_size": 12,
  "theme": {
    "palette": "Catppuccin",
    "name": "Mocha",
    "accent":"Green"
  },
  "left_widgets": [
    {
      "Komorebi": {
        "workspaces": {
          "enable": true,
          "hide_empty_workspaces": true
        },
        "layout": {
          "enable": true
        },
        "focused_window": {
          "enable": true,
          "show_icon": true
        }
      }
    }
  ],
  "right_widgets": [
    {
      "Cpu": {
        "enable": true,
        "label_prefix": "Icon"
      }
    },
    {
      "Memory": {
        "enable": true,
        "label_prefix": "Icon"
      }
    },
    {
      "Battery": {
        "enable": true,
        "label_prefix": "Icon"
      }
    },
    {
      "Date": {
        "enable": true,
        "label_prefix": "Icon",
        "format": "YearMonthDate"
      }
    },
    {
      "Time": {
        "enable": true,
        "label_prefix": "Icon",
        "format": "TwentyFourHour"
      }
    }
  ],
  "widget_spacing": 2,
  "position": {
    "start": {
      "x": 0,
      "y": -8
    },
    "end": {
      "x": 1920,
      "y": 36
    }
  }
}

Hotkey Configuration

.shell powershell

# Reload whkd configuration
alt + shift + e : taskkill /f /im komorebi.exe; taskkill /f /im komorebi-bar.exe; taskkill /f /im whkd.exe
alt + shift + r : komorebic reload-configuration; taskkill /f /im whkd.exe; Start-Process whkd -WindowStyle hidden
alt + shift + q : komorebic close

# Focus windows
alt + h : komorebic focus left
alt + j : komorebic focus down
alt + k : komorebic focus up
alt + l : komorebic focus right

# Move windows
alt + shift + h : komorebic move left
alt + shift + j : komorebic move down
alt + shift + k : komorebic move up
alt + shift + l : komorebic move right

# Resize
alt + ctrl + l : komorebic resize-axis horizontal increase
alt + ctrl + h : komorebic resize-axis horizontal decrease
alt + ctrl + k : komorebic resize-axis vertical increase
alt + ctrl + j : komorebic resize-axis vertical decrease

# Manipulate windows
alt + f : komorebic toggle-monocle
alt + shift + f : komorebic toggle-float

# Window manager options
alt + shift + r : komorebic retile

# Workspaces
alt + 1 : komorebic focus-workspace 0
alt + 2 : komorebic focus-workspace 1
alt + 3 : komorebic focus-workspace 2
alt + 4 : komorebic focus-workspace 3
alt + 5 : komorebic focus-workspace 4
alt + 6 : komorebic focus-workspace 5
alt + 7 : komorebic focus-workspace 6
alt + 8 : komorebic focus-workspace 7
alt + 9 : komorebic focus-workspace 8
alt + 0 : komorebic focus-workspace 9

# Move windows across workspaces
alt + shift + 1 : komorebic move-to-workspace 0
alt + shift + 2 : komorebic move-to-workspace 1
alt + shift + 3 : komorebic move-to-workspace 2
alt + shift + 4 : komorebic move-to-workspace 3
alt + shift + 5 : komorebic move-to-workspace 4
alt + shift + 6 : komorebic move-to-workspace 5
alt + shift + 7 : komorebic move-to-workspace 6
alt + shift + 8 : komorebic move-to-workspace 7
alt + shift + 9 : komorebic move-to-workspace 8
alt + shift + 0 : komorebic move-to-workspace 9

Output of komorebic check

KOMOREBI_CONFIG_HOME detected: C:/Users/Admin/.config/komorebi

Looking for configuration files in C:/Users/Admin/.config/komorebi

Found komorebi.json; this file can be passed to the start command with the --config flag


"focus_follows_mouse" is now end-of-life

End-of-life features will not receive any further bug fixes or updates; they should not be used

Found C:\Users\Admin\.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag
Originally created by @2dragonly on GitHub (Dec 30, 2024). ### Summary komorebi-bar cannot run in my old laptop because I get error ``` 2024-12-29T17:43:21.641646Z  INFO komorebi_bar: found configuration file: C:\Users\Admin/.config/komorebi/komorebi.bar.json 2024-12-29T17:43:21.659522Z  INFO komorebi_bar: work area offset applied to monitor: 0 2024-12-29T17:43:21.673076Z  INFO komorebi_bar: watching configuration file for changes Error: 0: glutin error: extension to create ES context with wgl is not present Location: komorebi-bar\src/main.rs:422 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1: BaseThreadInitThunk<unknown> at <unknown source file>:<unknown line> 2: RtlUserThreadStart<unknown> at <unknown source file>:<unknown line> Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering. Run with RUST_BACKTRACE=full to include source snippets. ``` ### Version Information OS Name: Microsoft Windows 11 Pro OS Version: 10.0.26100 N/A Build 26100 System Manufacturer: Acer System Model: TravelMate X483 Processor(s): Intel(R) Core(TM) i3-2377M CPU @ 1.50GHz, 1500 Mhz, 2 Core(s), 4 Logical Processor(s) komorebic 0.1.32 branch:master commit_hash:d93b6fa1 build_time:2024-12-22 00:51:57 +00:00 build_env:rustc 1.83.0 (90b35a623 2024-11-26),stable-x86_64-pc-windows-msvc ### Komorebi Configuration ```json { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.31/schema.bar.json", "monitor": { "index": 0, "work_area_offset": { "left": 0, "top": 32, "right": 0, "bottom": 40 } }, "font_family": "JetBrains Mono", "font_size": 12, "theme": { "palette": "Catppuccin", "name": "Mocha", "accent":"Green" }, "left_widgets": [ { "Komorebi": { "workspaces": { "enable": true, "hide_empty_workspaces": true }, "layout": { "enable": true }, "focused_window": { "enable": true, "show_icon": true } } } ], "right_widgets": [ { "Cpu": { "enable": true, "label_prefix": "Icon" } }, { "Memory": { "enable": true, "label_prefix": "Icon" } }, { "Battery": { "enable": true, "label_prefix": "Icon" } }, { "Date": { "enable": true, "label_prefix": "Icon", "format": "YearMonthDate" } }, { "Time": { "enable": true, "label_prefix": "Icon", "format": "TwentyFourHour" } } ], "widget_spacing": 2, "position": { "start": { "x": 0, "y": -8 }, "end": { "x": 1920, "y": 36 } } } ``` ### Hotkey Configuration ``` .shell powershell # Reload whkd configuration alt + shift + e : taskkill /f /im komorebi.exe; taskkill /f /im komorebi-bar.exe; taskkill /f /im whkd.exe alt + shift + r : komorebic reload-configuration; taskkill /f /im whkd.exe; Start-Process whkd -WindowStyle hidden alt + shift + q : komorebic close # Focus windows alt + h : komorebic focus left alt + j : komorebic focus down alt + k : komorebic focus up alt + l : komorebic focus right # Move windows alt + shift + h : komorebic move left alt + shift + j : komorebic move down alt + shift + k : komorebic move up alt + shift + l : komorebic move right # Resize alt + ctrl + l : komorebic resize-axis horizontal increase alt + ctrl + h : komorebic resize-axis horizontal decrease alt + ctrl + k : komorebic resize-axis vertical increase alt + ctrl + j : komorebic resize-axis vertical decrease # Manipulate windows alt + f : komorebic toggle-monocle alt + shift + f : komorebic toggle-float # Window manager options alt + shift + r : komorebic retile # Workspaces alt + 1 : komorebic focus-workspace 0 alt + 2 : komorebic focus-workspace 1 alt + 3 : komorebic focus-workspace 2 alt + 4 : komorebic focus-workspace 3 alt + 5 : komorebic focus-workspace 4 alt + 6 : komorebic focus-workspace 5 alt + 7 : komorebic focus-workspace 6 alt + 8 : komorebic focus-workspace 7 alt + 9 : komorebic focus-workspace 8 alt + 0 : komorebic focus-workspace 9 # Move windows across workspaces alt + shift + 1 : komorebic move-to-workspace 0 alt + shift + 2 : komorebic move-to-workspace 1 alt + shift + 3 : komorebic move-to-workspace 2 alt + shift + 4 : komorebic move-to-workspace 3 alt + shift + 5 : komorebic move-to-workspace 4 alt + shift + 6 : komorebic move-to-workspace 5 alt + shift + 7 : komorebic move-to-workspace 6 alt + shift + 8 : komorebic move-to-workspace 7 alt + shift + 9 : komorebic move-to-workspace 8 alt + shift + 0 : komorebic move-to-workspace 9 ``` ### Output of komorebic check ```pwsh KOMOREBI_CONFIG_HOME detected: C:/Users/Admin/.config/komorebi Looking for configuration files in C:/Users/Admin/.config/komorebi Found komorebi.json; this file can be passed to the start command with the --config flag "focus_follows_mouse" is now end-of-life End-of-life features will not receive any further bug fixes or updates; they should not be used Found C:\Users\Admin\.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag ```
adam added the bug label 2026-01-05 14:51:29 +01:00
adam closed this issue 2026-01-05 14:51:29 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Dec 30, 2024):

This is likely an underlying egui issue. I think I saw something similar when I installed this on a virtual machine which was resolved by running winget install opengl - not sure if this may be of use in this situation. Ultimately this is not something that can/will be addressed in komorebi-bar itself.

@LGUG2Z commented on GitHub (Dec 30, 2024): This is likely an underlying egui issue. I think I saw something similar when I installed this on a virtual machine which was resolved by running `winget install opengl` - not sure if this may be of use in this situation. Ultimately this is not something that can/will be addressed in `komorebi-bar` itself.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#550