You are not logged in.

#1 2019-07-13 17:07:15

rodek
Member
Registered: 2019-07-13
Posts: 5

[SOLVED] how to get the last opengl on arch linux with intel uhd 630?

$ glxinfo | grep "OpenGL version"

OpenGL version string: 3.0 Mesa 19.1.2
$ pacman -Qs libgl

local/libglvnd 1.1.1-1
    The GL Vendor-Neutral Dispatch library
local/mesa 19.1.2-1
    An open-source implementation of the OpenGL specification
$ pacman -Qs mesa

local/glu 9.0.0-5
    Mesa OpenGL Utility library
local/libva-mesa-driver 19.1.2-1
    VA-API implementation for gallium
local/mesa 19.1.2-1
    An open-source implementation of the OpenGL specification
local/mesa-demos 8.4.0-1
    Mesa demos and tools incl. glxinfo + glxgears
local/mesa-vdpau 19.1.2-1
    Mesa VDPAU drivers
local/vulkan-intel 19.1.2-1
    Intel's Vulkan mesa driver

Last edited by rodek (2019-07-14 06:46:31)

Offline

#2 2019-07-13 17:19:48

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

Re: [SOLVED] how to get the last opengl on arch linux with intel uhd 630?

Please edit your post to add code tags around commands and output, and put back the newlines that seem to have been removed.


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

Offline

#3 2019-07-13 18:23:51

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED] how to get the last opengl on arch linux with intel uhd 630?

What do you see if you grep for just the word "version"?

There should be two OpenGL versions. The one you are currently looking at is the OpenGL "compatibility profile". There's also a "core profile" which can have a different version.

Offline

#4 2019-07-13 18:29:06

rodek
Member
Registered: 2019-07-13
Posts: 5

Re: [SOLVED] how to get the last opengl on arch linux with intel uhd 630?

$ glxinfo | grep "version"
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.1.2
OpenGL core profile shading language version string: 4.50
OpenGL version string: 3.0 Mesa 19.1.2
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
    GL_EXT_shader_implicit_conversions, GL_EXT_shader_integer_mix, 

Can I somehow update compatibility profile?

Last edited by rodek (2019-07-13 18:30:43)

Offline

#5 2019-07-13 18:33:18

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] how to get the last opengl on arch linux with intel uhd 630?

No. Everything is working as expected.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#6 2019-07-13 19:22:36

SyndromeDayna
Member
Registered: 2019-07-13
Posts: 33

Re: [SOLVED] how to get the last opengl on arch linux with intel uhd 630?

execute these commands in console:

sudo -i
echo "MESA_GL_VERSION_OVERRIDE=4.5" >> /etc/environment 
echo "MESA_GLSL_VERSION_OVERRIDE=450" >> /etc/environment

and reboot your system

Offline

#7 2019-07-14 06:45:45

rodek
Member
Registered: 2019-07-13
Posts: 5

Re: [SOLVED] how to get the last opengl on arch linux with intel uhd 630?

SyndromeDayna, Thanks!

Last edited by rodek (2019-07-14 06:46:08)

Offline

#8 2019-07-14 11:54:22

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

Re: [SOLVED] how to get the last opengl on arch linux with intel uhd 630?

Rodek,
those settings are meant for developers and can lead to severe instabilities.
Remove those lines from /etc/environment.

Only use it for apllications that won't work without them (and don't be surprised if those applications have all kinds of mysterious problems)  .
https://www.mesa3d.org/envvars.html has some info about these and other settings.

It may be a good idea if you tell us what the problem is you're trying to solve.


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

#9 2019-07-14 12:01:56

rodek
Member
Registered: 2019-07-13
Posts: 5

Re: [SOLVED] how to get the last opengl on arch linux with intel uhd 630?

Lone_Wolf,
There is project on opengl that uses opengl compat profile, and I've couldn't run it. Adding environment variables have solved that issue. This is for development purposes only.

Last edited by rodek (2019-07-14 12:11:36)

Offline

#10 2019-07-14 12:20:48

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

Re: [SOLVED] how to get the last opengl on arch linux with intel uhd 630?

That project should probably state something like "linux driver must support OpenGL 4.x compat profile" under requirements.

Apart from proprietary nivdia driver, only radeonsi on recent cards supports OpenGL 4.x compat profile.


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

#11 2019-07-14 12:34:50

rodek
Member
Registered: 2019-07-13
Posts: 5

Re: [SOLVED] how to get the last opengl on arch linux with intel uhd 630?

Lone_Wolf,
Understood, thanks a lot!

Last edited by rodek (2019-07-14 12:35:03)

Offline

Board footer

Powered by FluxBB