You are not logged in.

#1 2016-09-09 12:52:55

archerie
Member
Registered: 2014-02-01
Posts: 5

How to get OpenGL support in order to run a particular application?

When trying to run a particular program (redis-desktop-manager), I was getting some errors. The creator of the application when seeing the error output suggested that my current GPU driver doesn't support OpenGL. Below is what I've got installed so far that might be related to this.

On https://wiki.archlinux.org/index.php/NVIDIA it says something about lib32-nvidia-libgl, but when I try to install it I get a conflict saying that lib32-mesa-libgl is already installed. What's the simplest way to get OpenGL working? I don't do any gaming or anything that requires high-end graphics so something simple and with fewest changes to my current setup would be fine for my needs.

$ pacman -Qs nvidia                                                                                                                                                                                                                            
local/libvdpau 1.1.1-2
    Nvidia VDPAU library
local/nvidia 370.23-4
    NVIDIA drivers for linux
local/nvidia-libgl 370.23-1
    NVIDIA drivers libraries symlinks
local/nvidia-utils 370.23-1
    NVIDIA drivers utilities
$ pacman -Qs mesa                                                                                                                                                                                                                              
local/glu 9.0.0-4
    Mesa OpenGL Utility library
local/lib32-libtxc_dxtn 1.0.1-5
    S3 Texture Compression (S3TC) library for Mesa (32-bit)
local/lib32-mesa 12.0.2-1
    an open-source implementation of the OpenGL specification (32-bit)
local/lib32-mesa-libgl 12.0.2-1
    Mesa 3-D graphics library (32-bit)
local/libtxc_dxtn 1.0.1-6
    S3 Texture Compression (S3TC) library for Mesa
local/mesa 12.0.2-1
    an open-source implementation of the OpenGL specification

Offline

#2 2016-09-09 13:34:08

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: How to get OpenGL support in order to run a particular application?

Have you tried uninstalling lib32-mesa-libgl and installing lib32-nvidia-libgl and then trying to run the program again?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2016-09-09 13:38:18

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: How to get OpenGL support in order to run a particular application?

Usually that error is either due to the program or to a wrong system configuration .

Are you using redis-desktop-manager or redis-desktop-manager-bin ?

please post lspci -k & glxinfo output .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2016-09-09 13:58:53

archerie
Member
Registered: 2014-02-01
Posts: 5

Re: How to get OpenGL support in order to run a particular application?

I'm using redis-desktop-manager because redis-desktop-manager-bin appears to be outdated.

$ glxinfo
name of display: :0
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Error: couldn't find RGB GLX visual or fbconfig
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".

Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
 $ lspci -k                                                                                                                                                                                                                                     
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
	Subsystem: Lenovo ThinkPad T440p
	Kernel modules: ie31200_edac
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x8 Controller (rev 06)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
	Subsystem: Lenovo Device 221d
	Kernel driver in use: i915
	Kernel modules: i915
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
	Subsystem: Lenovo ThinkPad T440p
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
	Subsystem: Lenovo ThinkPad T440p
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
	Subsystem: Lenovo ThinkPad T440p
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 04)
	Subsystem: Lenovo ThinkPad T440p
	Kernel driver in use: e1000e
	Kernel modules: e1000e
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
	Subsystem: Lenovo ThinkPad T440p
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
	Subsystem: Lenovo ThinkPad T440p
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 (rev d4)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)
	Subsystem: Lenovo ThinkPad T440p
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation QM87 Express LPC Controller (rev 04)
	Subsystem: Lenovo ThinkPad T440p
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 04)
	Subsystem: Lenovo ThinkPad T440p
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)
	Subsystem: Lenovo ThinkPad T440p
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
02:00.0 VGA compatible controller: NVIDIA Corporation GK208M [GeForce GT 730M] (rev a1)
	Subsystem: Lenovo Device 221d
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
	Subsystem: Lenovo ThinkPad T440p
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci
04:00.0 Network controller: Intel Corporation Wireless 7260 (rev 83)
	Subsystem: Intel Corporation Dual Band Wireless-AC 7260
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

Offline

#5 2016-09-09 13:59:24

archerie
Member
Registered: 2014-02-01
Posts: 5

Re: How to get OpenGL support in order to run a particular application?

R00KIE wrote:

Have you tried uninstalling lib32-mesa-libgl and installing lib32-nvidia-libgl and then trying to run the program again?

Haven't done so yet but will give it a try.

Offline

#6 2016-09-09 14:17:14

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: How to get OpenGL support in order to run a particular application?

the glxinfo output tells us your graphics configuration is not setup correctly. You basically have no opengl at all atm.


00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
	Subsystem: Lenovo Device 221d
	Kernel driver in use: i915
	Kernel modules: i915
<snip>
02:00.0 VGA compatible controller: NVIDIA Corporation GK208M [GeForce GT 730M] (rev a1)
	Subsystem: Lenovo Device 221d
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia

Your system has an integrated intel videocard and a discrete nvidia card, that makes it a "hybrid graphics" system, more specifically an NVIDIA Optimus system.

Please read that wiki page thoroughly.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB