# Any way to fix GLX + qt?

**URL:** https://discourse.nixos.org/t/any-way-to-fix-glx-qt/6845
**Category:** Help
**Created:** [April 23, 2020, 3:18pm UTC](https://discourse.nixos.org/t/any-way-to-fix-glx-qt/6845 "2020-04-23T15:18:52Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![rkoe](https://discourse.nixos.org/user_avatar/discourse.nixos.org/rkoe/32/107_2.png) [@rkoe](https://discourse.nixos.org/u/rkoe)
#### Post date: [April 23, 2020, 3:18pm UTC](https://discourse.nixos.org/t/any-way-to-fix-glx-qt/6845/1 "2020-04-23T15:18:52Z")

</div>

Since the recent update to 20.03, it seems that all Qt-programs using GLX are broken and segfault, e.g. openscad:

```auto
$ openscad
...
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
Could not initialize GLX
Aborted (core dumped)

```

Is there any workaround?

---

<div class="post-metadata">

### Author: ![savannidgerinel](https://discourse.nixos.org/user_avatar/discourse.nixos.org/savannidgerinel/32/1119_2.png) [@savannidgerinel](https://discourse.nixos.org/u/savannidgerinel)
#### Post date: [June 3, 2020, 12:35am UTC](https://discourse.nixos.org/t/any-way-to-fix-glx-qt/6845/2 "2020-06-03T00:35:01Z")

</div>

I just ran into this one myself, and it breaks digikam. I’ll let you know if I figure anything out.

---

<div class="post-metadata">

### Author: ![savannidgerinel](https://discourse.nixos.org/user_avatar/discourse.nixos.org/savannidgerinel/32/1119_2.png) [@savannidgerinel](https://discourse.nixos.org/u/savannidgerinel)
#### Post date: [June 3, 2020, 1:45pm UTC](https://discourse.nixos.org/t/any-way-to-fix-glx-qt/6845/3 "2020-06-03T13:45:27Z")

</div>

Ah, I fixed it by getting Digikam specifically from 20.03. openscad also worked for me. Are you installing openscad from the 19.09 repository?

---

<div class="post-metadata">

### Author: ![markuskowa](https://discourse.nixos.org/user_avatar/discourse.nixos.org/markuskowa/32/719_2.png) [@markuskowa](https://discourse.nixos.org/u/markuskowa)
#### Post date: [June 3, 2020, 4:27pm UTC](https://discourse.nixos.org/t/any-way-to-fix-glx-qt/6845/4 "2020-06-03T16:27:19Z")

</div>

I think this is related to the glibc upgrade that happened from 19.09 to 20.03.

---

<div class="post-metadata">

### Author: ![bphd](https://discourse.nixos.org/user_avatar/discourse.nixos.org/bphd/32/11372_2.png) [@bphd](https://discourse.nixos.org/u/bphd)
#### Post date: [February 21, 2024, 8:20am UTC](https://discourse.nixos.org/t/any-way-to-fix-glx-qt/6845/5 "2024-02-21T08:20:26Z")

</div>

export QT\_XCB\_GL\_INTEGRATION=none; $command &
