You are not logged in.

#1 2024-01-18 18:21:48

Ascyii
Member
Registered: 2024-01-18
Posts: 4

[SOLVED] OpenGL ERROR | No OpenGL context found in the current thread.

Hi, I've been trying to run Minecraft from the Prism launcher (https://aur.archlinux.org/packages/prismlauncher), but I get this error:

[19:00:55] [Client thread/INFO]: LWJGL Version: 2.9.4
---- Minecraft Crash Report ----
// Who set us up the TNT?
Time: 1/18/24 7:00 PM
Description: Initializing game
java.lang.ExceptionInInitializerError
	at bib.av(SourceFile:661)
	at bib.aq(SourceFile:456)
	at bib.a(SourceFile:404)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:87)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:130)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
	at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:951)
	at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
	at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
	... 7 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
	at bib.av(SourceFile:661)
	at bib.aq(SourceFile:456)
-- Initialization --
Details:
Stacktrace:
	at bib.a(SourceFile:404)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:87)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:130)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
-- System Details --
Details:
	Minecraft Version: 1.12.2
	Operating System: Linux (amd64) version 6.7.0-arch3-1
	Java Version: 1.8.0_402, Oracle Corporation
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 3837741200 bytes (3659 MB) / 4116185088 bytes (3925 MB) up to 19088801792 bytes (18204 MB)
	JVM Flags: 2 total; -Xms4096m -Xmx20480m
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Launched Version: 1.12.2
	LWJGL: 2.9.4
	OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
	GL Caps: 
	Using VBOs: Yes
	Is Modded: Probably not. Jar signature remains and client brand is untouched.
	Type: Client (map_client.txt)
	Resource Packs: 
	Current Language: ~~ERROR~~ NullPointerException: null
	Profiler Position: N/A (disabled)
	CPU: <unknown>
#@!@# Game crashed! Crash report saved to: #@!@# /home

The launcher cannot find the OpenGL context.
I have searched countless forums and posts over the last few days, but none have helped.
I am using an nvidia video card with the proprietary drivers.
It is possible to run the nevest mincraft version with Java 17, but every time I try to load a modpack with Java 8 I get this error.
Also glxinfo will not load zink and DRI3 is not available.

Thanks for your time and hopefully someone can help me solve this problem!

$ xvfb-run glxinfo
name of display: :99
DRI3 not available
failed to load driver: zink
display: :99  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context, 
    GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile, 
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, 
    GLX_EXT_fbconfig_packed_f
...
...
...
$ lspci -vnn
00:00.0 Host bridge [0600]: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers [8086:3ec2] (rev 07)
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] 8th Gen Core Processor Host Bridge/DRAM Registers [1462:7b49]
	Flags: bus master, fast devsel, latency 0
	Capabilities: [e0] Vendor Specific Information: Len=10 <?>
	Kernel driver in use: skl_uncore
	Kernel modules: ie31200_edac

00:01.0 PCI bridge [0604]: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 07) (prog-if 00 [Normal decode])
	Subsystem: Micro-Star International Co., Ltd. [MSI] 6th-10th Gen Core Processor PCIe Controller (x16) [1462:7b49]
	Flags: bus master, fast devsel, latency 0, IRQ 120
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: e000-efff [size=4K] [16-bit]
	Memory behind bridge: de000000-df0fffff [size=17M] [32-bit]
	Prefetchable memory behind bridge: c0000000-d1ffffff [size=288M] [32-bit]
	Capabilities: [88] Subsystem: Micro-Star International Co., Ltd. [MSI] 6th-10th Gen Core Processor PCIe Controller (x16) [1462:7b49]
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [a0] Express Root Port (Slot+), MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [140] Root Complex Link
	Capabilities: [d94] Secondary PCI Express
	Kernel driver in use: pcieport

00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [1462:7b49]
	Flags: fast devsel, IRQ 11
	Memory at df54f000 (64-bit, non-prefetchable) [disabled] [size=4K]
	Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [dc] Power Management version 2
	Capabilities: [f0] PCI Advanced Features

00:14.0 USB controller [0c03]: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller [8086:a2af] (prog-if 30 [XHCI])
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller [1462:7b49]
	Flags: bus master, medium devsel, latency 0, IRQ 128
	Memory at df530000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [70] Power Management version 2
	Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:14.2 Signal processing controller [1180]: Intel Corporation 200 Series PCH Thermal Subsystem [8086:a2b1]
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH Thermal Subsystem [1462:7b49]
	Flags: fast devsel, IRQ 11
	Memory at df54e000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [50] Power Management version 3
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-

00:16.0 Communication controller [0780]: Intel Corporation 200 Series PCH CSME HECI #1 [8086:a2ba]
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH CSME HECI [1462:7b49]
	Flags: bus master, fast devsel, latency 0, IRQ 150
	Memory at df54d000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [50] Power Management version 3
	Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:17.0 SATA controller [0106]: Intel Corporation 200 Series PCH SATA controller [AHCI mode] [8086:a282] (prog-if 01 [AHCI 1.0])
	DeviceName: Onboard - SATA
	Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH SATA controller [AHCI mode] [1462:7b49]
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 127
	Memory at df548000 (32-bit, non-prefetchable) [size=8K]
	Memory at df54c000 (32-bit, non-prefetchable) [size=256]
	I/O ports at f050 [size=8]
	I/O ports at f040 [size=4]
	I/O ports at f020 [size=32]
	Memory at df54b000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [70] Power Management version 3
	Capabilities: [a8] SATA HBA v1.0
	Kernel driver in use: ahci

00:1b.0 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #17 [8086:a2e7] (rev f0) (prog-if 00 [Normal decode])
	Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH PCI Express Root Port [1462:7b49]
	Flags: bus master, fast devsel, latency 0, IRQ 121
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: [disabled] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: [40] Express Root Port (Slot-), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH PCI Express Root Port [1462:7b49]
	Capabilities: [a0] Power Management version 3
	Kernel driver in use: pcieport

00:1b.4 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #21 [8086:a2eb] (rev f0) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 122
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: df400000-df4fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Device [0000:0000]
	Capabilities: [a0] Power Management version 3
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Access Control Services
	Capabilities: [220] Secondary PCI Express
	Kernel driver in use: pcieport

00:1c.0 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #1 [8086:a290] (rev f0) (prog-if 00 [Normal decode])
	Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH PCI Express Root Port [1462:7b49]
	Flags: bus master, fast devsel, latency 0, IRQ 123
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: [disabled] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: [40] Express Root Port (Slot-), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH PCI Express Root Port [1462:7b49]
	Capabilities: [a0] Power Management version 3
	Kernel driver in use: pcieport

00:1c.4 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #5 [8086:a294] (rev f0) (prog-if 00 [Normal decode])
	Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH PCI Express Root Port [1462:7b49]
	Flags: bus master, fast devsel, latency 0, IRQ 124
	Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: df300000-df3fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH PCI Express Root Port [1462:7b49]
	Capabilities: [a0] Power Management version 3
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Access Control Services
	Capabilities: [220] Secondary PCI Express
	Kernel driver in use: pcieport

00:1c.6 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #7 [8086:a296] (rev f0) (prog-if 00 [Normal decode])
	Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH PCI Express Root Port [1462:7b49]
	Flags: bus master, fast devsel, latency 0, IRQ 125
	Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: df200000-df2fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH PCI Express Root Port [1462:7b49]
	Capabilities: [a0] Power Management version 3
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Access Control Services
	Capabilities: [220] Secondary PCI Express
	Kernel driver in use: pcieport

00:1d.0 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #9 [8086:a298] (rev f0) (prog-if 00 [Normal decode])
	Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH PCI Express Root Port [1462:7b49]
	Flags: bus master, fast devsel, latency 0, IRQ 126
	Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: df100000-df1fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH PCI Express Root Port [1462:7b49]
	Capabilities: [a0] Power Management version 3
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Access Control Services
	Capabilities: [220] Secondary PCI Express
	Kernel driver in use: pcieport

00:1f.0 ISA bridge [0601]: Intel Corporation Z370 Chipset LPC/eSPI Controller [8086:a2c9]
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] Z370 Chipset LPC/eSPI Controller [1462:7b49]
	Flags: bus master, medium devsel, latency 0

00:1f.2 Memory controller [0580]: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller [8086:a2a1]
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series/Z370 Chipset Family Power Management Controller [1462:7b49]
	Flags: bus master, fast devsel, latency 0
	Memory at df544000 (32-bit, non-prefetchable) [size=16K]

00:1f.3 Audio device [0403]: Intel Corporation 200 Series PCH HD Audio [8086:a2f0]
	DeviceName: Onboard - Sound
	Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series PCH HD Audio [1462:9b49]
	Flags: bus master, fast devsel, latency 32, IRQ 152
	Memory at df540000 (64-bit, non-prefetchable) [size=16K]
	Memory at df520000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [50] Power Management version 3
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_avs

00:1f.4 SMBus [0c05]: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller [8086:a2a3]
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] 200 Series/Z370 Chipset Family SMBus Controller [1462:7b49]
	Flags: medium devsel, IRQ 16
	Memory at df54a000 (64-bit, non-prefetchable) [size=256]
	I/O ports at f000 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8]
	DeviceName: Onboard - Ethernet
	Subsystem: Micro-Star International Co., Ltd. [MSI] Ethernet Connection (2) I219-V [1462:7b49]
	Flags: bus master, fast devsel, latency 0, IRQ 151
	Memory at df500000 (32-bit, non-prefetchable) [size=128K]
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [e0] PCI Advanced Features
	Kernel driver in use: e1000e
	Kernel modules: e1000e

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] [10de:1c03] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. DUAL-GTX1060-O6G [GeForce GTX 1060 6GB Dual] [1043:85b6]
	Flags: bus master, fast devsel, latency 0, IRQ 153
	Memory at de000000 (32-bit, non-prefetchable) [size=16M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at d0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at 000c0000 [virtual] [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
	Capabilities: [128] Power Budgeting <?>
	Capabilities: [420] Advanced Error Reporting
	Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Capabilities: [900] Secondary PCI Express
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia

01:00.1 Audio device [0403]: NVIDIA Corporation GP106 High Definition Audio Controller [10de:10f1] (rev a1)
	Subsystem: ASUSTeK Computer Inc. DUAL-GTX1060-O6G [GeForce GTX 1060 6GB Dual] [1043:85b6]
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at df080000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

03:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 [144d:a808] (prog-if 02 [NVM Express])
	Subsystem: Samsung Electronics Co Ltd SSD 970 EVO/PRO [144d:a801]
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at df400000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [b0] MSI-X: Enable+ Count=33 Masked-
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
	Capabilities: [158] Power Budgeting <?>
	Capabilities: [168] Secondary PCI Express
	Capabilities: [188] Latency Tolerance Reporting
	Capabilities: [190] L1 PM Substates
	Kernel driver in use: nvme
	Kernel modules: nvme

05:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1 Host Controller [1b21:2142] (prog-if 30 [XHCI])
	Subsystem: Micro-Star International Co., Ltd. [MSI] ASM2142/ASM3142 USB 3.1 Host Controller [1462:7b49]
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at df300000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
	Capabilities: [68] MSI-X: Enable+ Count=8 Masked-
	Capabilities: [78] Power Management version 3
	Capabilities: [80] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [200] Secondary PCI Express
	Capabilities: [300] Latency Tolerance Reporting
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

06:00.0 Network controller [0280]: Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express) [168c:002e] (rev 01)
	Subsystem: Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express) [168c:30a4]
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Memory at df200000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [60] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Virtual Channel
	Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12
	Capabilities: [170] Power Budgeting <?>
	Kernel driver in use: ath9k
	Kernel modules: ath9k

07:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961/SM963 [144d:a804] (prog-if 02 [NVM Express])
	Subsystem: Samsung Electronics Co Ltd SM963 2.5" NVMe PCIe SSD [144d:a801]
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at df100000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [b0] MSI-X: Enable+ Count=8 Masked-
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
	Capabilities: [158] Power Budgeting <?>
	Capabilities: [168] Secondary PCI Express
	Capabilities: [188] Latency Tolerance Reporting
	Capabilities: [190] L1 PM Substates
	Kernel driver in use: nvme
	Kernel modules: nvme
$ pacman -Qs '^linux|nvidia'
local/dbus-broker 35-2
    Linux D-Bus Message Broker
local/dbus-broker-units 35-2
    Linux D-Bus Message Broker - Service units
local/efibootmgr 18-2
    Linux user-space application to modify the EFI Boot Manager
local/egl-wayland 2:1.1.13-1
    EGLStream-based Wayland external platform
local/flatpak 1:1.15.6-2
    Linux application sandboxing and distribution framework (formerly xdg-app)
local/iptables 1:1.8.10-1
    Linux kernel packet control tool (using legacy interface)
local/keyutils 1.6.3-2
    Linux Key Management Utilities
local/kmod 31-1
    Linux kernel module management tools and library
local/lib32-keyutils 1.6.3-1
    Linux Key Management Utilities (32-bit)
local/libvdpau 1.5-2
    Nvidia VDPAU library
local/linux 6.7.arch3-1
    The Linux kernel and modules
local/linux-api-headers 6.4-1
    Kernel headers sanitized for use in userspace
local/linux-firmware 20240115.9b6d0b08-1
    Firmware files for Linux
local/linux-firmware-whence 20240115.9b6d0b08-1
    Firmware files for Linux - contains the WHENCE license file which documents the vendor license details
local/nvidia 545.29.06-12
    NVIDIA drivers for linux
local/nvidia-utils 545.29.06-1
    NVIDIA drivers utilities
local/opencl-nvidia 545.29.06-1
    OpenCL implemention for NVIDIA
$ glxinfo | grep string\:
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 545.29.06
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL version string: 4.6.0 NVIDIA 545.29.06
OpenGL shading language version string: 4.60 NVIDIA
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 545.29.06
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Last edited by Ascyii (2024-01-18 21:08:11)

Offline

#2 2024-01-18 18:31:33

d.ALT
Member
Registered: 2019-05-10
Posts: 920

Re: [SOLVED] OpenGL ERROR | No OpenGL context found in the current thread.

Make use of [ code ] [ /code ] tags, thanks.

Ascyii wrote:

Command: xvfb-run glxinfo

Why?

Please post here:

# lspci -vnn
$ pacman -Qs '^linux|nvidia'

<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2024-01-18 18:41:39

Ascyii
Member
Registered: 2024-01-18
Posts: 4

Re: [SOLVED] OpenGL ERROR | No OpenGL context found in the current thread.

d.ALT wrote:
Ascyii wrote:

Command: xvfb-run glxinfo

Why?

I got the suggestion to run this and thought it might be helpful.

Offline

#4 2024-01-18 19:23:29

d.ALT
Member
Registered: 2019-05-10
Posts: 920

Re: [SOLVED] OpenGL ERROR | No OpenGL context found in the current thread.

What prismlauncher are you using? AppImage? Flatpak? Compiled from sources?

Please post here complete output of:

$ glxinfo | grep string\:

<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#5 2024-01-18 19:33:23

Ascyii
Member
Registered: 2024-01-18
Posts: 4

Re: [SOLVED] OpenGL ERROR | No OpenGL context found in the current thread.

d.ALT wrote:

What prismlauncher are you using? AppImage? Flatpak? Compiled from sources?

I installed it with yay (yay -S prismlauncher) from here: https://aur.archlinux.org/packages/prismlauncher.

Last edited by Ascyii (2024-01-18 19:36:30)

Offline

#6 2024-01-18 19:59:45

d.ALT
Member
Registered: 2019-05-10
Posts: 920

Re: [SOLVED] OpenGL ERROR | No OpenGL context found in the current thread.

Please don't endlessly edit your 1st post, but do follow topic's flow.

Can you give a try to prismlauncher-qt5?


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#7 2024-01-18 21:02:33

Ascyii
Member
Registered: 2024-01-18
Posts: 4

Re: [SOLVED] OpenGL ERROR | No OpenGL context found in the current thread.

I fixed the problem by installing xorg-xrandr! smile
Now my screen turns black for about 2 seconds and exits night mode when I close the game.
Always something to do...

Offline

Board footer

Powered by FluxBB