Bug 91741 - Opengl Version Downgrades to 2.1 from 3.3 in Ubuntu 15.04
Summary: Opengl Version Downgrades to 2.1 from 3.3 in Ubuntu 15.04
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: 10.5
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-24 11:09 UTC by jesnake
Modified: 2015-08-25 04:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Complete xorg.log (50.45 KB, text/plain)
2015-08-24 11:09 UTC, jesnake
Details

Description jesnake 2015-08-24 11:09:40 UTC
Created attachment 117888 [details]
Complete xorg.log

OpenGL Version is Downgrading from Opengl 2.1 to 3.3 in Ubuntu 15.04 When trying to Build  Mesa from source code (Xserver version 1.17)
The same behaviour is Observed with Ubuntu 14.04 and 12.04 (Xserver version 1.15)
I am trying to Built Mesa from SOurce code (Mesa version is 10.5.2)

Followed the Instructions from this link :
http://www.x.org/wiki/radeonBuildHowTo/ 

Manually copied the dri from the Built Directory to /usr/lib/x86_64-linux-gnu
Also Set the environmental variable 
But Still could observe that OpenGL Version is changing from 3.3 to 2.1 

Please find the Opengl Version Before and After Building/Installing the Mesa from Source code :

desktop:~$ glxinfo | grep -i opengl 
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD MULLINS
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.5.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.5.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.5.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

:~$ glxinfo | grep -i opengl 
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD MULLINS
OpenGL version string: 2.1 Mesa 10.5.2
OpenGL shading language version string: 1.30
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 10.5.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:

sudo ldconfig -p | grep libGL.so
	libGL.so.1 (libc6,x86-64) => /opt/xorg/lib/libGL.so.1
	libGL.so (libc6,x86-64) => /opt/xorg/lib/libGL.so


Also attaching the Xorg.log 

Please help to understand whta is going wrong in this Setup 

Thanks,
Comment 1 Grigori Goronzy 2015-08-24 12:48:52 UTC
Please check if you have enabled floating point texture support.
Comment 2 Emil Velikov 2015-08-24 15:38:36 UTC
If you don't want to go the manual build road there is the oibaf's PPA.

Alternatively (apart from Grigori's suggestion) I would suggest grabbing your distribution source package and tweaking it to your liking. In some cases it's impossible to include all the distro specifics in a single generic wiki page :)
Comment 3 Christian König 2015-08-24 16:24:46 UTC
Yeah, indeed looks like an user error. Please follow the build instructions for your distribution.

Resolving this as invalid.
Comment 4 jesnake 2015-08-25 04:43:37 UTC
(In reply to Grigori Goronzy from comment #1)
> Please check if you have enabled floating point texture support.

Thanks Goronzy , Enabling texture-float-point support helped to enable Opengl 3.3 in Mesa 
Thanks All for the Suggestions


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.