New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Render error: Failed to create window: Failed to create window: VersionUnavailable: GLX: Failed to create context: GLXBadFBConfig #83
Comments
I have similar/same issue on ubuntu 18.04, xorg+radeon. |
It looks like your driver doesn't support OpenGL 4.1. I'll add a config item to select a version of OpenGL to use, that should let you switch to 3.3 and hopefully get things working... |
have same issue on arch. mathisen@tempy ~ aminal |
I think this may be fixed in #91 - please can you try again on master? |
yes not getting the issue anymore. seems solved. |
Aha, and that should be fixed in #92 - does it run now? |
that was fast 👍 |
Awesome, thanks for your help 👍 |
It still does not work on arch linux: $ aminal
1.5434866332294683e+09 info aminal/main.go:28 Allocating pty...
1.5434866332313108e+09 info aminal/main.go:56 Creating terminal...
1.5434866332930453e+09 warn gui/gui.go:354 Failed to create window: Failed to create window using OpenGL v4.6: VersionUnavailable: GLX: Failed to create context: BadValue (integer parameter out of range for operation).. Will attempt older version...
1.543486633299622e+09 warn gui/gui.go:354 Failed to create window: Failed to create window using OpenGL v4.5: VersionUnavailable: GLX: Failed to create context: BadValue (integer parameter out of range for operation).. Will attempt older version...
1.5434866333055189e+09 warn gui/gui.go:354 Failed to create window: Failed to create window using OpenGL v4.4: VersionUnavailable: GLX: Failed to create context: BadValue (integer parameter out of range for operation).. Will attempt older version...
1.5434866333096368e+09 warn gui/gui.go:354 Failed to create window: Failed to create window using OpenGL v4.3: VersionUnavailable: GLX: Failed to create context: BadValue (integer parameter out of range for operation).. Will attempt older version...
1.5434866333136814e+09 warn gui/gui.go:354 Failed to create window: Failed to create window using OpenGL v4.2: VersionUnavailable: GLX: Failed to create context: BadValue (integer parameter out of range for operation).. Will attempt older version...
1.5434866333185716e+09 warn gui/gui.go:354 Failed to create window: Failed to create window using OpenGL v4.1: VersionUnavailable: GLX: Failed to create context: BadValue (integer parameter out of range for operation).. Will attempt older version...
1.5434866333232958e+09 warn gui/gui.go:354 Failed to create window: Failed to create window using OpenGL v4.0: VersionUnavailable: GLX: Failed to create context: BadValue (integer parameter out of range for operation).. Will attempt older version...
1.5434866333273106e+09 warn gui/gui.go:354 Failed to create window: Failed to create window using OpenGL v3.3: VersionUnavailable: GLX: Failed to create context: BadValue (integer parameter out of range for operation).. Will attempt older version...
1.5434866333312593e+09 warn gui/gui.go:354 Failed to create window: Failed to create window using OpenGL v3.2: VersionUnavailable: GLX: Failed to create context: BadValue (integer parameter out of range for operation).. Will attempt older version...
1.5434866333312926e+09 fatal aminal/main.go:64 Render error: Failed to create window: failed to create window, please update your graphics drivers and try again
main.main
/tmp/pamac-build/aminal-git/src/go/src/github.com/liamg/aminal/main.go:64
runtime.main
/usr/lib/go/src/runtime/proc.go:201 |
can you post your output from i am on arch tried on a machine with intel integreated card and in vbox VM and both works here. |
here it is: $ sudo lspci -vnn | grep VGA -A 12
lspci: Unable to load libkmod resources: error -12
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1458:d000]
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at f7400000 (64-bit, non-prefetchable) [size=4M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [disabled] [size=64]
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
Subsystem: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:2010]
Flags: bus master, fast devsel, latency 0, IRQ 16
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 3GB] [10de:1c02] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. GP106 [GeForce GTX 1060 3GB] [1043:85ed]
Flags: bus master, fast devsel, latency 0, IRQ 31
Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000 [size=128]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [250] Latency Tolerance Reporting |
hm... yes, everything is installed. This gpu is used for my desktop. |
Same here. It works fine for a while, but after I did a system upgrade, this error occurs.
|
OS: Manjaro 18.0.0 Illyria |
Yes, it is arch based. |
Hmm, I'm stuck on this one, It might be worth raising this at the glfw repo. I think the error is because it can't find any version of OpenGL that is usable by your graphics drivers, though I'm not sure why in your case. |
Package: aminal
cat /etc/lsb-release sudo lspci -vnn | grep VGA -A 12 |
@jcmartins thanks for the report, but it is unrelated to this issue, the OpenGL warning is just that, a warning before it finds a supported version on your system. Please could you raise a separate issue with some background on what you did to cause it etc. |
I'm going to close this as I believe the issue is upstream. |
Just tried to run aminal-linux-amd64 from releases, and got:
1.543406135031648e+09 info aminal/main.go:28 Allocating pty... 1.5434061350458617e+09 info aminal/main.go:56 Creating terminal... 1.5434061356787918e+09 fatal aminal/main.go:64 Render error: Failed to create window: Failed to create window: VersionUnavailable: GLX: Failed to create context: GLXBadFBConfig main.main /go/src/github.com/liamg/aminal/main.go:64 runtime.main /usr/local/go/src/runtime/proc.go:201
On Fedora 29, xorg+radeon. Is something wrong with my system?
Thank you.
The text was updated successfully, but these errors were encountered: