Giter Club home page Giter Club logo

Comments (8)

kovidgoyal avatar kovidgoyal commented on June 29, 2024 6

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.

kovidgoyal avatar kovidgoyal commented on June 29, 2024 1

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.

birdspider avatar birdspider commented on June 29, 2024 1

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.

kovidgoyal avatar kovidgoyal commented on June 29, 2024

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.

mhulscher avatar mhulscher commented on June 29, 2024

@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.

ErikReider avatar ErikReider commented on June 29, 2024

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.

kovidgoyal avatar kovidgoyal commented on June 29, 2024

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.

birdspider avatar birdspider commented on June 29, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.