# \[SOLVED\]Building error: GLXBadFBConfig

**URL:** <https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770>\
**Category:** Building synfig\
**Created:** [February 11, 2016, 9:01am UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770 "2016-02-11T09:01:47Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![kinderp](https://forums.synfig.org/letter_avatar_proxy/v4/letter/k/d2c977/32.png) [@kinderp](https://forums.synfig.org/u/kinderp)\
**Post date:** [February 11, 2016, 9:01am UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/1 "2016-02-11T09:01:47Z")

</div>

Hi, i’m trying to build synfig from synfigstudio-linux-build.sh.  
I’m using a fedora 23 and i have cloned the source from origin/master, but i get this error:

```auto
Making all in images
make[2]: ingresso nella directory "/home/arkimede/dev/synfig/synfig-studio/images"
mkdir 128x128
mkdir 16x16
synfig -q synfig_icon.sif -o 128x128/synfig_icon.png --time 0 -w 128 -h 128
synfig -q synfig_icon.sif -o 16x16/synfig_icon.png --time 0 -w 16 -h 16
synfig(61619) [18:50:07] informazione: rendering threads 16
synfig(61618) [18:50:07] informazione: rendering threads 16
X Error of failed request: GLXBadFBConfig
  Major opcode of failed request: 154 (GLX)
  Minor opcode of failed request: 34 ()
  Serial number of failed request: 27
  Current serial number in output stream: 26
X Error of failed request: GLXBadFBConfig
  Major opcode of failed request: 154 (GLX)
  Minor opcode of failed request: 34 ()
  Serial number of failed request: 27
  Current serial number in output stream: 26
Makefile:1410: set di istruzioni per l'obiettivo "128x128/synfig_icon.png" non riuscito
make[2]: *** [128x128/synfig_icon.png] Errore 1
make[2]: *** Attesa per i processi non terminati....
Makefile:1386: set di istruzioni per l'obiettivo "16x16/synfig_icon.png" non riuscito
make[2]: *** [16x16/synfig_icon.png] Errore 1
make[2]: uscita dalla directory "/home/arkimede/dev/synfig/synfig-studio/images"
Makefile:718: set di istruzioni per l'obiettivo "all-recursive" non riuscito
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory "/home/arkimede/dev/synfig/synfig-studio"
Makefile:533: set di istruzioni per l'obiettivo "all" non riuscito
make: *** [all] Errore 2
```

How could i solve?  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![d.j.a.y](https://forums.synfig.org/user_avatar/forums.synfig.org/d.j.a.y/32/113_2.png) [@d.j.a.y](https://forums.synfig.org/u/d.j.a.y)\
**Post date:** [February 11, 2016, 4:53pm UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/2 "2016-02-11T16:53:49Z")

</div>

Hello kinderp and welcome here …

> [@kinderp](#):
>
> How could i solve?

Have a look to the [dev ml](https://sourceforge.net/p/synfig/mailman/message/34726120/) … the problem has already been identified and solved.

---

<div class="post-metadata">

**Author:** ![kinderp](https://forums.synfig.org/letter_avatar_proxy/v4/letter/k/d2c977/32.png) [@kinderp](https://forums.synfig.org/u/kinderp)\
**Post date:** [February 11, 2016, 6:35pm UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/3 "2016-02-11T18:35:48Z")

</div>

Thanks for your reply. In my source code i have already the fix:  
[https://github.com/synfig/synfig/commit/580eb0bee2efa4fe4540ecd2bb818a5a02009674](https://github.com/synfig/synfig/commit/580eb0bee2efa4fe4540ecd2bb818a5a02009674).  
This is my Layer.cpp:

```auto
841Layer::build_rendering_task(Context context)const
842{
843	rendering::Task::Handle task = build_rendering_task_vfunc(context);
844	return task ? task : rendering::Task::Handle(new rendering::TaskSurfaceEmpty());
845}
```

So i have copied /synfig/share directory that i have in another machine and then i have tried to launch synfigstudio but i get this error:

```auto
[arkimede@localhost gui]$ ./synfigstudio 

   synfig studio -- starting up application...

synfig(87236) [18:59:49] info: rendering threads 16
lt-synfigstudio: rendering/opengl/internal/context.cpp:162: synfig::rendering::gl::Context::Context(): asserzione "context" non riuscita.
Annullato (core dump creato)
```

Any idea?

---

<div class="post-metadata">

**Author:** ![d.j.a.y](https://forums.synfig.org/user_avatar/forums.synfig.org/d.j.a.y/32/113_2.png) [@d.j.a.y](https://forums.synfig.org/u/d.j.a.y)\
**Post date:** [February 11, 2016, 8:44pm UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/4 "2016-02-11T20:44:14Z")

</div>

> [@kinderp](#):
>
> Any idea?

manually configure the renderer to software should do the job :

~/.config/synfig/settings-1.0

```auto
pref.navigator_renderer=software
[...]
pref.workarea_renderer=software
```

or you can install synfigstudio dev 1.1.5 and configure the renderer to legacy from the preferences.

---

<div class="post-metadata">

**Author:** ![kinderp](https://forums.synfig.org/letter_avatar_proxy/v4/letter/k/d2c977/32.png) [@kinderp](https://forums.synfig.org/u/kinderp)\
**Post date:** [February 11, 2016, 9:47pm UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/5 "2016-02-11T21:47:54Z")

</div>

My ~/.config/synfig/ dir contains just a fifo file.  
So i have created settings-1.0 adding the two lines:

```auto
[arkimede@localhost ~]$ cat .config/synfig/settings-1.0 
pref.navigator_renderer=software
pref.workarea_renderer=software
```

But i get the same error. Where am i wrong?

> [@](#):
>
> or you can install synfigstudio dev 1.1.5 and configure the renderer to legacy from the preferences.

I would try it as a last chance.

Thanks for your help 🙂

---

<div class="post-metadata">

**Author:** ![d.j.a.y](https://forums.synfig.org/user_avatar/forums.synfig.org/d.j.a.y/32/113_2.png) [@d.j.a.y](https://forums.synfig.org/u/d.j.a.y)\
**Post date:** [February 12, 2016, 6:19am UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/6 "2016-02-12T06:19:10Z")

</div>

> [@kinderp](#):
>
> So i have copied /synfig/share directory that i have in another machine and then i have tried to launch synfigstudio but i get this error:

and keep your source and other synfig related files clean. I have recently build on fedora 23 and it was not so “annoying”.

---

<div class="post-metadata">

**Author:** ![kinderp](https://forums.synfig.org/letter_avatar_proxy/v4/letter/k/d2c977/32.png) [@kinderp](https://forums.synfig.org/u/kinderp)\
**Post date:** [February 12, 2016, 3:06pm UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/7 "2016-02-12T15:06:33Z")

</div>

First of all thank you for your patience.  
I have deleted all installation’s files and restart from scratch.  
I have pulled from origin master (so i think the version should be 1.1.6).  
I have rebuilded using synfigstudio-linux-build.sh with “full” option from autobuild directory:

```auto
./synfigstudio-linux-build.sh full
```

I’ve got always the same error.  
I’m currently using a Fedora 23 on VMWare

[glxinfo.txt](https://forums.synfig.org/uploads/default/original/2X/f/f2f77aab8a7c7cf48508f5c15b769538a9073c85.txt) (33.3 KB)

---

<div class="post-metadata">

**Author:** ![d.j.a.y](https://forums.synfig.org/user_avatar/forums.synfig.org/d.j.a.y/32/113_2.png) [@d.j.a.y](https://forums.synfig.org/u/d.j.a.y)\
**Post date:** [February 13, 2016, 9:37am UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/8 "2016-02-13T09:37:24Z")

</div>

> [@kinderp](#):
>
> I’ve got always the same error.

Did you have installed [synfig 1.1.5 dev](http://download.tuxfamily.org/morevna/packages/synfig/linux/synfigstudio_1.1.5-20160131_amd64.deb) and set legacy render from preferences ? That’s rare… i don’t remember i did that …

> [@jcome](#):
>
> X Error of failed request: GLXBadFBConfig

, are you there ?

---

<div class="post-metadata">

**Author:** ![jcome](https://forums.synfig.org/user_avatar/forums.synfig.org/jcome/32/3512_2.png) [@jcome](https://forums.synfig.org/u/jcome)\
**Post date:** [February 13, 2016, 3:55pm UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/9 "2016-02-13T15:55:01Z")

</div>

> [@d.j.a.y](#):
>
> > [@jcome](#):
> >
> > X Error of failed request: GLXBadFBConfig
> 
> , are you there ?

Hi, I have same error recently, I guess the command line of “synfig” has default settings(cobra ?) which causes this problem. The build stopped at the stage of making icons and splash. But as you might know, I can use the synfig (version 0.64.x ) command installed by DNF to make all icons and splash.

---

<div class="post-metadata">

**Author:** ![kinderp](https://forums.synfig.org/letter_avatar_proxy/v4/letter/k/d2c977/32.png) [@kinderp](https://forums.synfig.org/u/kinderp)\
**Post date:** [February 14, 2016, 5:45pm UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/10 "2016-02-14T17:45:22Z")

</div>

Ok guys some news

@d.j.a.y  
i have tried to install your deb in this way:

```auto
[arkimede@localhost Scaricati]$ sudo alien -r synfigstudio_1.1.5-20160131_amd64.deb
Warning: Skipping conversion of scripts in package synfigstudio: postinst postrm
Warning: Use the --scripts parameter to include the scripts.
synfigstudio-1.1.5-20160132.x86_64.rpm generated

[arkimede@localhost Scaricati]$ sudo dnf install synfigstudio-1.1.5-20160132.x86_64.rpm
Last metadata expiration check performed 0:58:08 ago on Sun Feb 14 16:55:58 2016.
[b]Errore: nothing provides libdb-5.1.so()(64bit) needed by synfigstudio-1.1.5-20160132.x86_64[/b]
(try to add '--allowerasing' to command line to replace conflicting packages)
```

The version of libdb i have installed (from repo) is 5.3.28

```auto
[arkimede@localhost Scaricati]$ dnf info libdb.x86_64
Last metadata expiration check performed 2 days, 1:42:31 ago on Fri Feb 12 16:16:31 2016.
Pacchetti installati
Nome : libdb
Arch : x86_64
Epoch : 0
Versione : [b]5.3.28[/b]
Rilascio : 13.fc23
```

I don’t know how to move forward in the installation. I’m blocked here 🙂

@jcome  
i have installed synfig 0.64 from dnf  
i have modified in the Makefile( synfig/synfig-studio/images/Makefile) the SYNFIG variable  
from synfig to /usr/bin/synfig to use the 0.64 version

make creates some icons but later exits with an error on jack\_icon.png.  
[make\_output.txt](https://forums.synfig.org/uploads/default/original/2X/8/84065ba4219950cca08ed586ab8b6784bf0d48c4.txt) (76.1 KB)

The good news is now i can launch synfig-studio but i have no icons in the gui.  
If you have some ideas to solve completely let me know 🙂  
Currently i can start to modify and build the code even without icons

Thanks to all 🙂

---

<div class="post-metadata">

**Author:** ![jcome](https://forums.synfig.org/user_avatar/forums.synfig.org/jcome/32/3512_2.png) [@jcome](https://forums.synfig.org/u/jcome)\
**Post date:** [February 15, 2016, 6:07am UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/11 "2016-02-15T06:07:45Z")

</div>

> [@kinderp](#):
>
> make creates some icons but later exits with an error on jack\_icon.png.

the jack\_icon.sif is made in later version than 0.64.x, and has some new layer parameter used.

And I am sorry, I have just check my Fedora, it has a 1.0.x instead of 0.64.x. so it would be a workaround if you download and install 1.0.x stable version 😃

Regarding GLXBadFBConfig issue, I found that there is a quite similar topic :  
[stackoverflow.com/questions/2384 … untu-14-04](http://stackoverflow.com/questions/23844813/opengl-program-compiles-but-gives-error-when-run-ubuntu-14-04)

---

<div class="post-metadata">

**Author:** ![jcome](https://forums.synfig.org/user_avatar/forums.synfig.org/jcome/32/3512_2.png) [@jcome](https://forums.synfig.org/u/jcome)\
**Post date:** [February 15, 2016, 12:28pm UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/12 "2016-02-15T12:28:18Z")

</div>

> [@](#):
>
> @jcome  
> i have installed synfig 0.64 from dnf  
> i have modified in the Makefile( synfig/synfig-studio/images/Makefile) the SYNFIG variable  
> from synfig to /usr/bin/synfig to use the 0.64 version

download 1.0.2, install, change SYNFIG variable from synfig to /opt/synfig/synfig 🙂

---

<div class="post-metadata">

**Author:** ![kinderp](https://forums.synfig.org/letter_avatar_proxy/v4/letter/k/d2c977/32.png) [@kinderp](https://forums.synfig.org/u/kinderp)\
**Post date:** [February 15, 2016, 7:19pm UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/13 "2016-02-15T19:19:32Z")

</div>

> [@](#):
>
> download 1.0.2, install, change SYNFIG variable from synfig to /opt/synfig/synfig 🙂

Thanks, add solved in the topic. 😉

---

<div class="post-metadata">

**Author:** ![d.j.a.y](https://forums.synfig.org/user_avatar/forums.synfig.org/d.j.a.y/32/113_2.png) [@d.j.a.y](https://forums.synfig.org/u/d.j.a.y)\
**Post date:** [February 16, 2016, 7:25am UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/14 "2016-02-16T07:25:02Z")

</div>

> [@d.j.a.y](#):
>
> Did you have installed synfig 1.1.5 dev and set legacy render from preferences ? That’s rare… i don’t remember i did that …

Oups my fault … why .deb ? … .rpm for sure !

> [@kinderp](#):
>
> Thanks, add solved in the topic.

Glad for you it’s solved !

I think you already have read the [dev" doc](http://wiki.synfig.org/Developer_Documentation) . Do not hesitate to ask for tips about the source organization, here ; or better to the [dev ml](https://sourceforge.net/p/synfig/mailman/synfig-devl/). I think what’s help me at the beginning of the source exploration was some translation in the user doc’… but, we all are not the same 🙂

---

<div class="post-metadata">

**Author:** ![kinderp](https://forums.synfig.org/letter_avatar_proxy/v4/letter/k/d2c977/32.png) [@kinderp](https://forums.synfig.org/u/kinderp)\
**Post date:** [February 16, 2016, 2:53pm UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/15 "2016-02-16T14:53:05Z")

</div>

> [@](#):
>
> I think you already have read the dev" doc . Do not hesitate to ask for tips about the source organization, here ; or better to the dev ml. I think what’s help me at the beginning of the source exploration was some translation in the user doc’… but, we all are not the same 🙂

Thanks, i’m starting to read the wiki. See you soon 🙂

---

<div class="post-metadata">

**Author:** ![BobSynfig](https://forums.synfig.org/user_avatar/forums.synfig.org/bobsynfig/32/175_2.png) [@BobSynfig](https://forums.synfig.org/u/BobSynfig)\
**Post date:** [June 13, 2016, 7:20pm UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/16 "2016-06-13T19:20:07Z")

</div>

About this error:

```auto
rendering/opengl/internal/context.cpp:162: synfig::rendering::gl::Context::Context()
```

I obtain it at ./synfigstudio startup when compiling with DEBUG=1 on command line before the ./synfigstudio-linux-build.sh  
Without DEBUG=1 it works like a charm.  
The bad part is there is no debug info 😕

Using Fedora 23 x64 as Guest OS  
in Virtualbox 5.0.20 (3D acceleration on)  
with 5.0.16 additions (the last additions version generates some errors)  
on Windows 8.1

---

<div class="post-metadata">

**Author:** ![leon\_albert](https://forums.synfig.org/letter_avatar_proxy/v4/letter/l/3da27b/32.png) [@leon\_albert](https://forums.synfig.org/u/leon_albert)\
**Post date:** [September 19, 2016, 10:38pm UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/17 "2016-09-19T22:38:37Z")

</div>

> [@BobSynfig](#):
>
> About this error:
> 
> ```auto
> rendering/opengl/internal/context.cpp:162: synfig::rendering::gl::Context::Context()
> ```
> 
> I obtain it at ./synfigstudio startup when compiling with DEBUG=1 on command line before the ./synfigstudio-linux-build.sh  
> Without DEBUG=1 it works like a charm.  
> The bad part is there is no debug info 😕
> 
> Using Fedora 23 x64 as Guest OS  
> in Virtualbox 5.0.20 (3D acceleration on)  
> with 5.0.16 additions (the last additions version generates some errors)  
> on Windows 8.1  
> [Tragus](http://www.traguspiercing.xyz/)[Infantigo](http://www.Infantigo.xyz/)[Rx](http://www.rxdrugs.xyz/)

I was getting same kind of error but after re-configuration of all parameters it is fixed now. I hope it will help on your way!

---

<div class="post-metadata">

**Author:** ![BobSynfig](https://forums.synfig.org/user_avatar/forums.synfig.org/bobsynfig/32/175_2.png) [@BobSynfig](https://forums.synfig.org/u/BobSynfig)\
**Post date:** [September 20, 2016, 8:25pm UTC](https://forums.synfig.org/t/solved-building-error-glxbadfbconfig/3770/18 "2016-09-20T20:25:56Z")

</div>

The problem has been solved in another post already, we needed to compile with --without-opengl  
See [wiki.synfig.org/Dev:IDE\_Linux](http://wiki.synfig.org/Dev:IDE_Linux)
