Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Problem with OpenGL version
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
teenal
n00b
n00b


Joined: 18 Jan 2016
Posts: 3

PostPosted: Mon Jan 18, 2016 6:54 pm    Post subject: [SOLVED] Problem with OpenGL version Reply with quote

Hi,

I've a radeon card (HD6450) and according to the wiki page, I am supposed to have OpenGL version 3.3 (I also checked the page: http://xorg.freedesktop.org/wiki/RadeonFeature/) . But when I run
Code:
glxinfo | grep info
I get the following result :

Code:

server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL version string: 2.1 Mesa 11.1.1
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 11.1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16


As you can see, my OpenGL version is 2.1, not 3.3.

I've tested with another distribution (Arch Linux) and the version is 3.3.
I followed the instructions in the wiki page and I even installed the latest version of mesa but I'm still with OpenGL version 2.1.

Thanks


Last edited by teenal on Tue Jan 19, 2016 9:20 am; edited 1 time in total
Back to top
View user's profile Send private message
zino
n00b
n00b


Joined: 14 Jan 2016
Posts: 21
Location: Switzerland

PostPosted: Mon Jan 18, 2016 9:18 pm    Post subject: Reply with quote

teenal, please post the outputs of

Code:
$ glxinfo | grep -i opengl
(gives you more detailed information)

and

Quote:
$ equery u mesa
.

Since you have read the wiki page about radeon, I assume you configured your kernel to load the necessary firmware blobs.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5592

PostPosted: Mon Jan 18, 2016 9:36 pm    Post subject: Reply with quote

Output of `glxinfo -B` would be more useful, this is what it prints on my 6450 (working):

Code:
glxinfo -B
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD CAICOS (DRM 2.43.0, LLVM 3.7.1) (0x6779)
    Version: 11.1.1
    Accelerated: yes
    Video memory: 1024MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD CAICOS (DRM 2.43.0, LLVM 3.7.1)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.1.1
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 11.1.1
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Mon Jan 18, 2016 9:41 pm    Post subject: Reply with quote

Do you have mesa built with USE=-bindist?
Back to top
View user's profile Send private message
teenal
n00b
n00b


Joined: 18 Jan 2016
Posts: 3

PostPosted: Mon Jan 18, 2016 10:40 pm    Post subject: Reply with quote

Hi,

@zino

The output of
Code:
glxinfo | grep -i opengl
is the same as above, it's just an error when I typed the command, sorry.

My mesa's USE flags:

Code:

+abi_x86_32
+bindist
+classic
-d3d9
-debug
+dri3
+egl
+gallium
+gbm
-gles1
-gles2
+llvm
+nptl
-opencl
-openmax
-osmesa
-pax_kernel
-pic
+udev
-vaapi
-vdpau
-video_cards_i915
-video_cards_i965
-video_cards_ilo
-video_cards_intel
-video_cards_nouveau
-video_cards_r100
-video_cards_r200
-video_cards_r300
+video_cards_r600
+video_cards_radeon
-video_cards_radeonsi
-video_cards_vmware
-wayland
+xa
-xvmc


@Ant P.
My glxinfo doesn't recognize the -B option.

@Aquous
No I've mesa build with bindist set.
Back to top
View user's profile Send private message
zino
n00b
n00b


Joined: 14 Jan 2016
Posts: 21
Location: Switzerland

PostPosted: Tue Jan 19, 2016 2:32 am    Post subject: Reply with quote

teenal, you should definitely rebuild mesa with USE="-bindist" as Aquous suggested.

If you look at the description for the bindist use flag you will see that it disables the OpenGL extensions ARB_texture_float, EXT_texture_shared_exponent and EXT_packed_float in mesa and all of them are requirements for OpenGL 3.0 compliance.

By the way, it might even be a good idea to disable the bindist use flag globally.
Back to top
View user's profile Send private message
teenal
n00b
n00b


Joined: 18 Jan 2016
Posts: 3

PostPosted: Tue Jan 19, 2016 9:18 am    Post subject: Reply with quote

Hi,

Indeed after rebuilding mesa, I've OpenGL 3.3.

Thanks for your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum