You are not logged in.

#1 2016-03-23 01:50:27

Archeon
Member
Registered: 2016-03-09
Posts: 41

[SOLVED] compton - glx_init(): No GLX extension.

Upon running

$ compton

I get the following erorr message:

glx_init(): No GLX extension.

I have done some digging and found this related post on the forums, but it did not solve my issue.  Does anybody know what might be causing this or how to go about fixing it?
I am currently running i3wm with an Nvidia GeForce GTX 860M

Last edited by Archeon (2016-03-24 00:17:19)

Offline

#2 2016-03-23 10:59:39

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,615

Re: [SOLVED] compton - glx_init(): No GLX extension.

please post glxinfo | grep -i opengl and xorg log.


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

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2016-03-23 17:24:43

Archeon
Member
Registered: 2016-03-09
Posts: 41

Re: [SOLVED] compton - glx_init(): No GLX extension.

Lone_Wolf wrote:

please post glxinfo | grep -i opengl and xorg log.

Here is the output:

$ glxinfo | grep -i openl
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".

For the xorg log, do you mean the whole log in /var/log/Xorg.0.log?

Offline

#4 2016-03-23 17:29:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] compton - glx_init(): No GLX extension.

What drivers?

Offline

#5 2016-03-23 18:44:10

Archeon
Member
Registered: 2016-03-09
Posts: 41

Re: [SOLVED] compton - glx_init(): No GLX extension.

Scimmia wrote:

What drivers?

Is this sufficient?


$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.1 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM86 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev a2)
08:00.0 Network controller: Intel Corporation Wireless 7260 (rev 83)
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
0a:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader (rev 01)

Offline

#6 2016-03-23 18:54:51

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: [SOLVED] compton - glx_init(): No GLX extension.

What's the output of pacman -Qs libgl

Offline

#7 2016-03-23 20:27:23

Archeon
Member
Registered: 2016-03-09
Posts: 41

Re: [SOLVED] compton - glx_init(): No GLX extension.

ugjka wrote:

What's the output of pacman -Qs libgl

Here you go:

$ pacman -Qs libgl
local/libglade 2.6.4-5
    Allows you to load glade interface files in a program at runtime
local/libglvnd 0.0.0.20160315-1
    The GL Vendor-Neutral Dispatch library
local/mesa 11.1.2-1
    an open-source implementation of the OpenGL specification
local/nvidia-libgl 361.28-5
    NVIDIA drivers libraries symlinks

Offline

#8 2016-03-23 21:45:22

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [SOLVED] compton - glx_init(): No GLX extension.

Why do you have nvidia-libgl installed? According to the lspci output, you don't have an nvidia graphics card. You should have mesa-libgl instead.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#9 2016-03-23 21:56:03

Archeon
Member
Registered: 2016-03-09
Posts: 41

Re: [SOLVED] compton - glx_init(): No GLX extension.

WorMzy wrote:

Why do you have nvidia-libgl installed? According to the lspci output, you don't have an nvidia graphics card. You should have mesa-libgl instead.

I'm not sure why I do, should I uninstall it?  However, I do know that my laptop has an Nvidia GeForce GTX 860M.

Last edited by Archeon (2016-03-23 21:56:46)

Offline

#10 2016-03-23 21:58:30

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [SOLVED] compton - glx_init(): No GLX extension.

Ahh, disregard my previous message, you have both Intel and Nvidia. That complicates matters.

https://wiki.archlinux.org/index.php/NVIDIA_Optimus


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#11 2016-03-23 22:09:00

Archeon
Member
Registered: 2016-03-09
Posts: 41

Re: [SOLVED] compton - glx_init(): No GLX extension.

WorMzy wrote:

Ahh, disregard my previous message, you have both Intel and Nvidia. That complicates matters.

https://wiki.archlinux.org/index.php/NVIDIA_Optimus

So then would it be best to go ahead and disable switchable graphics and enable the Nvidia proprietary driver?

Edit: I'm going to try using the open source Nvidia PRIME right now instead.

Last edited by Archeon (2016-03-23 22:22:26)

Offline

#12 2016-03-23 22:34:13

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [SOLVED] compton - glx_init(): No GLX extension.

I have no idea what's best, I'm afraid. There's a few things you can try on that page, you'll need to find a solution that works for you.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#13 2016-03-23 22:59:40

Archeon
Member
Registered: 2016-03-09
Posts: 41

Re: [SOLVED] compton - glx_init(): No GLX extension.

I have installed the nouveau and intel drivers mentioned here https://wiki.archlinux.org/index.php/PRIME :
  removed the line "blacklist nouveau" in /usr/lib/modprobe.d/nvidia.conf
  removed nvidia drivers
  installed mesa-libgl and consequently removed nvidia-libgl https://wiki.archlinux.org/index.php/Nouveau
  installed lib32-mesa-libgl

In hopes that

$ xrandr --listproviders

lists the nouveau driver in addition to the intel driver.
After a reboot, although only the intel driver was listed, conky was up and running!

It seems that ditching the proprietary Nvidia driver has solved my problem?  The only thing that remains is to get xrandr --listproviders to actually list the nouveau driver so that my machine can be set up to use my Nvidia GPU with PRIME.
If anyone could help me to get to the bottom of it, that would be awesome.
As mentioned at https://wiki.archlinux.org/index.php/Nouveau, I may have to set a kernel parameter for the nouveau driver.  I have never done this before (I am an [Arch] Linux novice), so if anyone could confirm that this is the best course of action, then I'll go ahead.

EDIT:  Whenever I open a terminal window, it gives me the following message:

[[ ! ]] modprobe: FATAL: Module nvidia not found in directory /lib/modules/4.4.5-1-ARCH

FIX: 

$ rmmod nvidia
$ modprobe nouveau

Then, you can verify with the following lines (grep nvi should show no nvidia drivers):

$ lsmod | grep nouveau
$ dmesg | grep nouveau
$ dmesg | grep nvi

If it shows that nvidia drivers are running, it may help to reboot and check again

Lastly, I followed several steps which I found here: https://www.youtube.com/watch?v=W1F7hQPPVz0


----------------------------------------------------------SOLVED----------------------------------------------------------

Last edited by Archeon (2016-03-24 00:21:17)

Offline

#14 2017-02-07 19:26:53

rawsh
Member
Registered: 2016-11-11
Posts: 14

Re: [SOLVED] compton - glx_init(): No GLX extension.

Sorry to gravedig, but I recently had the same issue (switchable nvidia graphics) and nothing here worked for me. What did work was installing bumblebee, which got everything working right after a reboot.

Last edited by rawsh (2017-02-07 19:27:16)


DevPy.me

Arch Linux | Budgie Desktop
Ryzen 1800x@4Ghz, Vega 64

Offline

#15 2017-02-08 00:33:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] compton - glx_init(): No GLX extension.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB