You are not logged in.

#1 2016-05-15 12:36:23

LoLei
Member
Registered: 2015-08-02
Posts: 18

[SOLVED] GLX / OpenGL not working (Intel)

It seems like my GLX / OpenGL is not working:

$ glxinfo
name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig

I have googled and looked through every result in this forum, but no solution has worked for me, also most people experiencing the same are using Nvidia, while I'm using Intel.

I have noticed that GLX stopped working when the compton

--backend glx --vsync opengl-swc

flags suddenly produced this output:

glx_init(): No GLX extension.

I desparately need these flags because otherwise I have really bad screen tearing.

This first happened after some

pacman -Syu

a few days ago, I can't recall when exactly, some upgrade must have caused it.

Packages and versions:

$ for p in mesa mesa-libgl intel-dri xf86-video-intel xorg-server xorg-server-common; do pacman -Q $p; done
mesa 11.2.2-1
mesa-libgl 11.2.2-1
error: package 'intel-dri' was not found
xf86-video-intel 1:2.99.917+645+g88733a7-1
xorg-server 1.18.3-1
xorg-server-common 1.18.3-1
$ pacman -Qs intel-dri
local/lib32-mesa 11.2.2-1
    an open-source implementation of the OpenGL specification (32-bit)
local/mesa 11.2.2-1
    an open-source implementation of the OpenGL specification

Is anything wrong with these versions? Should all be up-to-date.

Can anyone help me fix this GLX issue please?

Update: This was solved by updating gcc to version 6.1.1

Last edited by LoLei (2016-05-26 12:17:25)

Offline

#2 2016-05-15 13:05:54

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

Re: [SOLVED] GLX / OpenGL not working (Intel)

$ glxinfo
name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig

This error often happens when mesa is built against llvm version then is installed, but can have other causes.

please post the output of LIBGL_DEBUG=verbose glxinfo


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

#3 2016-05-15 13:18:42

LoLei
Member
Registered: 2015-08-02
Posts: 18

Re: [SOLVED] GLX / OpenGL not working (Intel)

Lone_Wolf wrote:

please post the output of LIBGL_DEBUG=verbose glxinfo

$ LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig

My llvm version:

$ pacman -Q | grep -i llvm
lib32-llvm-libs 3.8.0-1
llvm 3.8.0-1
llvm-libs 3.8.0-1

I can't recall whether I use the Arch Linux package for llvm, or built it myself.

Offline

#4 2016-05-15 13:55:10

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

Re: [SOLVED] GLX / OpenGL not working (Intel)

the llvm versions are same as in extra repo.

Does glinfo work ?


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

#5 2016-05-15 15:05:48

LoLei
Member
Registered: 2015-08-02
Posts: 18

Re: [SOLVED] GLX / OpenGL not working (Intel)

$ glinfo
freeglut (glinfo): OpenGL GLX extension not supported by display ':0.0'

Seems to be the same problem, although it's another error message.

Offline

#6 2016-05-15 15:16:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,531
Website

Re: [SOLVED] GLX / OpenGL not working (Intel)

I'm not sure if this is relevant, but your display variable includes a screen number where mine generally doesnt. (i.e., you have ":0.0" while mine is ":0")

I've heard that switchable dual gpu systems might use the screen number.  You've shown your intel driver, but do you also have a discrete video card?  If so, which one, and what drivers?  Does glxinfo need to be run through one of the gpu switching tools? (sorry, I'm completely ignorant of dual gpus, but I can't help but wonder if the screen number on the display is relevant).

Also, O.T., you have some clunky uses of pacman: "for p in <one> <two> <three>; do pacman -Q $p; done" is the same as "pacman -Q <one> <two> <three>".  Also "pacman -Q | grep <pkg>" could be "pacman -Qs <pkg>".


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2016-05-15 15:24:55

LoLei
Member
Registered: 2015-08-02
Posts: 18

Re: [SOLVED] GLX / OpenGL not working (Intel)

Trilby wrote:

I've heard that switchable dual gpu systems might use the screen number.  You've shown your intel driver, but do you also have a discrete video card?  If so, which one, and what drivers?

I just realized I have the wrong driver, I have a single ATI card:

$ lspci | grep -e VGA -e 3D
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Juniper PRO [Radeon HD 5750]

I uninstalled xf86-video-intel and installed xf86-video-ati instead, but it doesn't make any difference for the original issue.

I do have two monitors though if that's maybe the second number?

Trilby wrote:

Also, O.T., you have some clunky uses of pacman: "for p in <one> <two> <three>; do pacman -Q $p; done" is the same as "pacman -Q <one> <two> <three>".  Also "pacman -Q | grep <pkg>" could be "pacman -Qs <pkg>".

I actually copied that for loop from another forum post here, but you're right.

Last edited by LoLei (2016-05-15 15:25:43)

Offline

#8 2016-05-26 12:16:56

LoLei
Member
Registered: 2015-08-02
Posts: 18

Re: [SOLVED] GLX / OpenGL not working (Intel)

Update: This was solved by updating gcc to version 6.1.1

Offline

Board footer

Powered by FluxBB