CachyOS / CachyOS/distribution

Wierd artifacting and EGL error makes FreeCAD unusable

Open
#258 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
27
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Hello,

I tried using FreeCAD, and noticed some weird artifacting which prevented planes and sketches from showing up. I decided to run it from the terminal to check logs, and saw this:

```
$ freecad

FreeCAD 1.0.2, Libs: 1.0.2R39319 (Git)
(C) 2001-2025 FreeCAD contributors
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.

Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the context has been set up incorrectly.
libEGL warning: pci id for fd 62: 10de:2482, driver (null)

pci id for fd 63: 10de:2482, driver (null)
pci id for fd 64: 10de:2482, driver (null)
libEGL warning: egl: failed to create dri2 screen
pci id for fd 63: 10de:2482, driver (null)
pci id for fd 64: 10de:2482, driver (null)
libEGL warning: egl: failed to create dri2 screen
```

Can anyone help me solve this?
I tried checking online, but I only see conversations on hybrid GPUs in laptops. I use a desktop with only 1 GPU (Nvidia 3070 Ti).

Some other details:

```
$ uname -r

6.17.4-3-cachyos
```

```
$ inxi -G

Graphics:
Device-1: NVIDIA GA104 [GeForce RTX 3070 Ti] driver: nvidia v: 580.95.05
Display: wayland server: X.Org v: 24.1.8 with: Xwayland v: 24.1.8
compositor: Hyprland v: 0.51.1 driver: X: loaded: nvidia
unloaded: modesetting gpu: nv_platform,nvidia,nvidia-nvswitch
resolution: 3840x2160~60Hz
API: EGL v: 1.5 drivers: nvidia,swrast
platforms: gbm,wayland,x11,surfaceless,device
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.95.05
renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
API: Vulkan v: 1.4.328 drivers: nvidia surfaces: N/A
Info: Tools: api: eglinfo, glxinfo, vulkaninfo
gpu: nvidia-settings,nvidia-smi x11: xdpyinfo, xprop, xrandr
```

```
$ chwd --list

> 0000:07:00.0 (0300:10de:2482) VGA compatible controller NVIDIA Corporation:

╭──────────────────┬──────────╮
│ Name ┆ Priority │
╞══════════════════╪══════════╡
│ nvidia-open-dkms ┆ 10 │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┤
│ fallback ┆ 3 │
╰──────────────────┴──────────╯
```

```
$ eglinfo -B

GBM platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 580.95.05
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 580.95.05
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 580.95.05
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 580.95.05
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 580.95.05
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 580.95.05
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 580.95.05
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 580.95.05
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 580.95.05
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 580.95.05
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 580.95.05
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 580.95.05
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 580.95.05
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 580.95.05
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 580.95.05
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
libEGL warning: pci id for fd 26: 10de:2482, driver (null)

pci id for fd 30: 10de:2482, driver (null)
pci id for fd 31: 10de:2482, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: pci id for fd 26: 10de:2482, driver (null)

pci id for fd 30: 10de:2482, driver (null)
pci id for fd 31: 10de:2482, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: pci id for fd 26: 10de:2482, driver (null)

eglinfo: eglInitialize failed

Device #2:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 21.1.3, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.2.5-cachyos1.5
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 21.1.3, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.2.5-cachyos1.5
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 21.1.3, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.5-cachyos1.5
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.