Comments (8)
That error basically means EGL was unable to create an OpenGL surface with the capabilities kitty needs. kitty needs pretty basic capabilities so this is definitely a driver issue. You can also try using x11 instead of wayland, wayland generally makes everything worse.
from kitty.
As I said the issue is in your GPU drivers, literally the ONLY change between 0.31 and o).32.2 is that kitty now explicitly requests sRGB surfaces to ensure colors are correct. If your driver is failing to create such a surface then it is a driver bug.
from kitty.
I have the same issue (on amdgpu/5700xt/wayland), however KITTY_DISABLE_WAYLAND=1 kitty
mitigates it - would that be a driver bug or rather a glfw bug?
from kitty.
That's a GPU driver issue, you dont say what graphics card you are
using, but in case its NVIDIA I would suggest switch to x11
from kitty.
@kovidgoyal I am not using NVIDIA. This is an integrated intel chip.
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) (prog-if 00 [VGA controller])
Subsystem: Lenovo Alder Lake-P Integrated Graphics Controller
Flags: bus master, fast devsel, latency 0, IRQ 177, IOMMU group 0
Memory at 603c000000 (64-bit, non-prefetchable) [size=16M]
Memory at 4000000000 (64-bit, prefetchable) [size=256M]
I/O ports at 2000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [100] Process Address Space ID (PASID)
Capabilities: [200] Address Translation Service (ATS)
Capabilities: [300] Page Request Interface (PRI)
Capabilities: [320] Single Root I/O Virtualization (SR-IOV)
Kernel driver in use: i915
Kernel modules: i915
from kitty.
Facing the same issue, kitty 0.31.0
works while 0.32.2
doesn't start with the same error as the one above. I'm on an AMD GPU.
from kitty.
A Wayland driver bug. Like I said, Wayland makes everything worse. FYI,
works fine for me in Wayland with Advanced Micro Devices, Inc. [AMD/ATI]
Cezanne [Radeon Vega Series / Radeon Vega Mobile Series]. You can try
commenting out line 1080 in kitty/glfw.c to confirm it is the srgb
surface request causing it.
from kitty.
@kovidgoyal thx for the response, I narrowed it down to somewhere between mesa-24.0.3 and mesa-main (as-in arch's mesa 24.0.3 works); so it's either my build or something actually bugged out since 24.0.3
EDIT: confirmed that this also works
commenting out line 1080 in kitty/glfw.c
from kitty.
Related Issues (20)
- new_tab command not working in startup.config HOT 2
- High CPU usage after a few hours HOT 3
- OSC 52 does not work as expected in kitty 0.33.0 HOT 2
- [Question] Is there a way to increase color contrast HOT 2
- terminal identification (for example, with DECRPTUI/DA3) HOT 1
- is_gcc() does not detect gcc properly when called as cc HOT 5
- simd detection logic in simd-string.c fails to account for arm32 targets
- resize-window won't make windows shorter than some threshold
- Kitty running slow on artix fresh install HOT 1
- simd setup: amd64 target doesn't account for AVX support only HOT 8
- Kitten hints should ignore current shell prompt HOT 2
- Kitty 0.33.0 doesn't build on armv7hl - fast_data_types.so: undefined symbol: xor_data64_256 HOT 2
- fails to build on s390x ppc64le HOT 7
- OSC-52 copy failed in 0.33 HOT 4
- Bash shell_integration breaks multiline dynamic prompts on resize HOT 1
- Nerd font icon not render properly after updating from 0.31.0 to 0.33.0 on Linux HOT 1
- Does kitty assume arch baseline for amd64 and arm64? HOT 1
- Symbols for legacy computing - cell diagonals HOT 3
- Font Opacity? HOT 2
- Instruction to build a complete macOS package HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kitty.