Giter Site home page Giter Site logo

Render error: Failed to create window: Failed to create window: VersionUnavailable: GLX: Failed to create context: GLXBadFBConfig about darktile HOT 20 CLOSED

liamg avatar liamg commented on May 17, 2024
Render error: Failed to create window: Failed to create window: VersionUnavailable: GLX: Failed to create context: GLXBadFBConfig

from darktile.

Comments (20)

mathisen99 avatar mathisen99 commented on May 17, 2024 2

have same issue on arch.

mathisen@tempy  ~  aminal
1.5434379450502367e+09 info aminal/main.go:28 Allocating pty...
1.5434379450523984e+09 info aminal/main.go:56 Creating terminal...
1.5434379450936131e+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
/tmp/yaourt-tmp-mathisen/aur-aminal-git/src/go/src/github.com/liamg/aminal/main.go:64
runtime.main
/usr/lib/go/src/runtime/proc.go:201

from darktile.

liamg avatar liamg commented on May 17, 2024 1

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...

from darktile.

iNode avatar iNode commented on May 17, 2024

I have similar/same issue on ubuntu 18.04, xorg+radeon.

from darktile.

liamg avatar liamg commented on May 17, 2024

I think this may be fixed in #91 - please can you try again on master?

from darktile.

mathisen99 avatar mathisen99 commented on May 17, 2024

I think this may be fixed in #91 - please can you try again on master?

yes not getting the issue anymore. seems solved.
it now complains instead im using GLSL 4.10 that is not supported but i understand that is a different issue then the one we discuss here..

from darktile.

liamg avatar liamg commented on May 17, 2024

Aha, and that should be fixed in #92 - does it run now?

from darktile.

mathisen99 avatar mathisen99 commented on May 17, 2024

that was fast 👍
Yes everything works now thanks!

from darktile.

liamg avatar liamg commented on May 17, 2024

Awesome, thanks for your help 👍

from darktile.

ktsaou avatar ktsaou commented on May 17, 2024

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

from darktile.

mathisen99 avatar mathisen99 commented on May 17, 2024

can you post your output from
sudo lspci -vnn | grep VGA -A 12

i am on arch tried on a machine with intel integreated card and in vbox VM and both works here.

from darktile.

ktsaou avatar ktsaou commented on May 17, 2024

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

from darktile.

mathisen99 avatar mathisen99 commented on May 17, 2024

you have the nvidia packet installed ?
did try also with a machine with nvidia card.

from darktile.

ktsaou avatar ktsaou commented on May 17, 2024

hm... yes, everything is installed. This gpu is used for my desktop.
Is there a special opengl package needed?

from darktile.

Evlos avatar Evlos commented on May 17, 2024

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

Same here.

It works fine for a while, but after I did a system upgrade, this error occurs.

λ aminal                                                           (a) 14:11:21
1.5435605608218439e+09	info	aminal/main.go:28	Allocating pty...
1.5435605608231902e+09	info	aminal/main.go:56	Creating terminal...
1.5435605608862162e+09	fatal	aminal/main.go:64	Render error: Failed to create window: Failed to create window: VersionUnavailable: GLX: Failed to create context: BadValue (integer parameter out of range for operation)
main.main
	/home/evlos/go/src/github.com/liamg/aminal/main.go:64
runtime.main
	/usr/lib/go/src/runtime/proc.go:201

from darktile.

Evlos avatar Evlos commented on May 17, 2024
lspci: Unable to load libkmod resources: error -12
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] [10de:1380] (rev a2) (prog-if 00 [VGA controller])
	Subsystem: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] [10de:105f]
	Flags: bus master, fast devsel, latency 0, IRQ 133
	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

OS: Manjaro 18.0.0 Illyria
Kernel: x86_64 Linux 4.18.17-1-MANJARO

from darktile.

ktsaou avatar ktsaou commented on May 17, 2024

OS: Manjaro 18.0.0 Illyria
Kernel: x86_64 Linux 4.18.17-1-MANJARO

Yes, it is arch based.

from darktile.

liamg avatar liamg commented on May 17, 2024

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.

from darktile.

jcmartins avatar jcmartins commented on May 17, 2024

Package: aminal
Status: install ok installed
Maintainer: Liam Galvin
Architecture: amd64
Version: 0.7.13
Description: A Modern Terminal Emulator
Description-md5: 210d220a98a32ecfb980a8c22557dd4f

aminal
1.5466180393044593e+09 info aminal/main.go:28 Allocating pty...
1.5466180393277087e+09 info aminal/main.go:56 Creating terminal...
1.546618039640688e+09 warn gui/gui.go:394 Failed to create window: Failed to create window using OpenGL v4.6: VersionUnavailable: GLX: Failed to create context: GLXBadFBConfig.. Will attempt older version...
1.5466180396890326e+09 info gui/gui.go:444 OpenGL version 4.5 (Core Profile) Mesa 18.2.2
1.5466181582973995e+09 error gui/gui.go:169 Read from pty failed: read /dev/ptmx: input/output error
github.com/liamg/aminal/gui.(*GUI).Render.func3
/go/src/github.com/liamg/aminal/gui/gui.go:169

 cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.10
DISTRIB_CODENAME=cosmic
DISTRIB_DESCRIPTION="Ubuntu 18.10"

sudo lspci -vnn | grep VGA -A 12
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 5500 [8086:1616] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Dell HD Graphics 5500 [1028:062e]
Flags: bus master, fast devsel, latency 0, IRQ 49
Memory at f6000000 (64-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915
Kernel modules: i915

from darktile.

liamg avatar liamg commented on May 17, 2024

@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.

from darktile.

liamg avatar liamg commented on May 17, 2024

I'm going to close this as I believe the issue is upstream.

from darktile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.