I have no problem building and running my program on most platforms. But
"sometimes", users seems to have troubles with this error occuring at
application startup:
"Failed to select a GLFWFBConfig from the alternatives"
It seems to happen mainly on Windows 7.
I have access to one of the machines that has this problem. In fact, a whole
cluster of them.
About half of them have gentoo installed, the other half has Windows.
There is no problem running the program on the gentoo ones. But those having
Windows 7 pro will crash with the aforementioned mentioned error (whatever
window requested will fail, even 640x480 windowed).
Here is what a cat /proc/cpuinfo returns:
=====
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz
stepping : 10
cpu MHz : 2792.813
cache size : 3072 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc
arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3
cx16 xtpr pdcm sse4_1 xsave lahf_lm
bogomips : 5585.62
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz
stepping : 10
cpu MHz : 2792.813
cache size : 3072 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc
arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3
cx16 xtpr pdcm sse4_1 xsave lahf_lm
bogomips : 5585.96
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
The error comes from _glfwChooseFBConfig (window.c) not finding any
acceptable GLFWFBConfig. If you trace through that function, you may be able
to find out why.
I have the same problem when trying to create a window using Mesa3D (I want
to test something with a simpler OpenGL implementation than the hardware
accelerated one I have). I decided to step into the code, and the problem is
caused by the function getFBConfigs in win32_window.c.
The number of pixel formats returned is 2, but one is discarded because it
fails the test