View previous topic :: View next topic |
Author |
Message |
teenal n00b

Joined: 18 Jan 2016 Posts: 3
|
Posted: Mon Jan 18, 2016 6:54 pm Post subject: [SOLVED] Problem with OpenGL version |
|
|
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 |
|
 |
zino n00b

Joined: 14 Jan 2016 Posts: 21 Location: Switzerland
|
Posted: Mon Jan 18, 2016 9:18 pm Post subject: |
|
|
teenal, please post the outputs of
Code: | $ glxinfo | grep -i opengl | (gives you more detailed information)
and
.
Since you have read the wiki page about radeon, I assume you configured your kernel to load the necessary firmware blobs. |
|
Back to top |
|
 |
Ant P. Watchman

Joined: 18 Apr 2009 Posts: 6874
|
Posted: Mon Jan 18, 2016 9:36 pm Post subject: |
|
|
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 |
|
 |
Aquous l33t

Joined: 08 Jan 2011 Posts: 700
|
Posted: Mon Jan 18, 2016 9:41 pm Post subject: |
|
|
Do you have mesa built with USE=-bindist? |
|
Back to top |
|
 |
teenal n00b

Joined: 18 Jan 2016 Posts: 3
|
Posted: Mon Jan 18, 2016 10:40 pm Post subject: |
|
|
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 |
|
 |
zino n00b

Joined: 14 Jan 2016 Posts: 21 Location: Switzerland
|
Posted: Tue Jan 19, 2016 2:32 am Post subject: |
|
|
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 |
|
 |
teenal n00b

Joined: 18 Jan 2016 Posts: 3
|
Posted: Tue Jan 19, 2016 9:18 am Post subject: |
|
|
Hi,
Indeed after rebuilding mesa, I've OpenGL 3.3.
Thanks for your help. |
|
Back to top |
|
 |
|