You are not logged in.

#1 2023-10-06 11:36:54

tinytempmouse
Member
Registered: 2023-10-06
Posts: 6

OpenGL renderer issues on hyprland

Hello ive got a lenovo t520 that ive installed hyprland however i keep getting this issue

glxinfo | grep renderer
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  39
  Current serial number in output stream:  40

Ive installed the nvidia-390xx drivers any and all help would be much appreciated.

Offline

#2 2023-10-06 13:24:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,082

Re: OpenGL renderer issues on hyprland

You're not gonna run hyprland on nvidia-390xx
You're hardly gonna run any wayland on that driver generation: https://wiki.archlinux.org/title/Wayland#Requirements

On top of that, "glxinfo" is rather meaningless in a wayland context.

Offline

#3 2023-10-06 13:44:19

tinytempmouse
Member
Registered: 2023-10-06
Posts: 6

Re: OpenGL renderer issues on hyprland

hyprland is running however i cant run any xorg based apps, should i move over to another wm?

Offline

#4 2023-10-06 14:07:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,236

Re: OpenGL renderer issues on hyprland

If you're sure about that, is xorg-server-xwayland installed?

Online

#5 2023-10-06 14:09:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,082

Re: OpenGL renderer issues on hyprland

lspci -k
eglinfo -B

Offline

#6 2023-10-06 14:30:05

tinytempmouse
Member
Registered: 2023-10-06
Posts: 6

Re: OpenGL renderer issues on hyprland

❯ lspci -k
eglinfo -B
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
	Subsystem: Lenovo ThinkPad T520
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
	Subsystem: Lenovo Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port
	Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
	Subsystem: Lenovo 2nd Generation Core Processor Family Integrated Graphics Controller
	Kernel driver in use: i915
	Kernel modules: i915
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
	Subsystem: Lenovo ThinkPad T520
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:16.3 Serial controller: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller (rev 04)
	Subsystem: Lenovo 6 Series/C200 Series Chipset Family KT Controller
	Kernel driver in use: serial
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04)
	Subsystem: Lenovo ThinkPad T520
	Kernel driver in use: e1000e
	Kernel modules: e1000e
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
	Subsystem: Lenovo ThinkPad T520
	Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
	Subsystem: Lenovo ThinkPad T520
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
	Subsystem: Lenovo ThinkPad T520
	Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
	Subsystem: Lenovo ThinkPad T520
	Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
	Subsystem: Lenovo ThinkPad T520
	Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
	Subsystem: Lenovo ThinkPad T520
	Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
	Subsystem: Lenovo ThinkPad T520
	Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset LPC Controller (rev 04)
	Subsystem: Lenovo ThinkPad T520
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Mobile SATA AHCI Controller (rev 04)
	Subsystem: Lenovo ThinkPad T520
	Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
	Subsystem: Lenovo ThinkPad T520
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [Quadro NVS 4200M] (rev a1)
	Subsystem: Lenovo GF119M [Quadro NVS 4200M]
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)
	Subsystem: Lenovo GF119 HDMI Audio Controller
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
	Subsystem: Intel Corporation Centrino Advanced-N 6205 (802.11a/b/g/n)
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
0d:00.0 System peripheral: Ricoh Co Ltd MMC/SD Host Controller (rev 08)
	Subsystem: Lenovo ThinkPad T520
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci_pci
0d:00.3 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 PCIe IEEE 1394 Controller (rev 04)
	Subsystem: Lenovo ThinkPad T520
	Kernel driver in use: firewire_ohci
	Kernel modules: firewire_ohci
GBM platform:
MESA-LOADER: failed to open nvidia-drm: /usr/lib/gbm/nvidia-drm_gbm.so: cannot open shared object file: No such file or directory (search paths /usr/lib/gbm, suffix _gbm)
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 23.2.1-arch1.1
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 23.2.1-arch1.1
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 23.2.1-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) HD Graphics 3000 (SNB GT2)
OpenGL core profile version: 3.3 (Core Profile) Mesa 23.2.1-arch1.1
OpenGL core profile shading language version: 3.30
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) HD Graphics 3000 (SNB GT2)
OpenGL compatibility profile version: 3.3 (Compatibility Profile) Mesa 23.2.1-arch1.1
OpenGL compatibility profile shading language version: 3.30
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) HD Graphics 3000 (SNB GT2)
OpenGL ES profile version: OpenGL ES 3.0 Mesa 23.2.1-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.00

X11 platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) HD Graphics 3000 (SNB GT2)
OpenGL core profile version: 3.3 (Core Profile) Mesa 23.2.1-arch1.1
OpenGL core profile shading language version: 3.30
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) HD Graphics 3000 (SNB GT2)
OpenGL compatibility profile version: 3.3 (Compatibility Profile) Mesa 23.2.1-arch1.1
OpenGL compatibility profile shading language version: 3.30
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) HD Graphics 3000 (SNB GT2)
OpenGL ES profile version: OpenGL ES 3.0 Mesa 23.2.1-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.00

Surfaceless platform:
libEGL warning: egl: failed to create dri2 screen
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 23.2.1-arch1.1
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 23.2.1-arch1.1
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 23.2.1-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.4
EGL vendor string: NVIDIA
EGL version string: 1.4
EGL client APIs: 
[1]    19095 segmentation fault (core dumped)  eglinfo -B

Offline

#7 2023-10-06 14:34:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,082

Re: OpenGL renderer issues on hyprland

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
	Subsystem: Lenovo 2nd Generation Core Processor Family Integrated Graphics Controller
	Kernel driver in use: i915
	Kernel modules: i915

That's where you're running Hyprland

V1del wrote:

is xorg-server-xwayland installed?

Offline

#8 2023-10-06 14:37:12

tinytempmouse
Member
Registered: 2023-10-06
Posts: 6

Re: OpenGL renderer issues on hyprland

V1del wrote:

If you're sure about that, is xorg-server-xwayland installed?

yes it is

Offline

#9 2023-10-06 14:39:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,082

Re: OpenGL renderer issues on hyprland

ANd can you run eg. xterm?
glxgears?
Do you try to DRI_PRIME it?

Offline

#10 2023-10-06 14:43:34

tinytempmouse
Member
Registered: 2023-10-06
Posts: 6

Re: OpenGL renderer issues on hyprland

seth wrote:

ANd can you run eg. xterm?
glxgears?
Do you try to DRI_PRIME it?

 
glxgears
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  25
  Current serial number in output stream:  26
❯ 

however xterm runs

Offline

#11 2023-10-06 14:53:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,082

Re: OpenGL renderer issues on hyprland

Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Edit, to cut this short:
If you used nvidia-settings or nvidia-xconfig to generate an xorg.conf w/ static server layout on the nvidia chip => remove that.

Last edited by seth (2023-10-06 14:54:52)

Offline

Board footer

Powered by FluxBB