View previous topic :: View next topic |
Author |
Message |
schorsch_76 Guru


Joined: 19 Jun 2012 Posts: 450
|
Posted: Wed Aug 06, 2014 3:55 pm Post subject: Radeon 5770 (evergreen): Enable opengl 3.3 |
|
|
Hello,
i am currently stuck at enabling opengl 3.3 for my radeon 5770. According to [1] it supports with the opensource driver opengl 3.3. I did read a little through the net and i did notice, that opengl 3.3 needs mesa 10.1. So i upgraded to the latest mesa 10.2.4 in gentoo. glxinfo tells me i am still on OpenGL2.1. What can i do?
My emerge info for mesa is [2].
My Hardware is:
Code: |
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Juniper XT [Radeon HD 5770]
Subsystem: ASUSTeK Computer Inc. Device 0344
Kernel driver in use: radeon
Kernel modules: radeon
|
My kernel is
Code: |
uname -a
Linux hammerhead 3.14.13-slim #1 SMP PREEMPT Wed Aug 6 17:02:49 CEST 2014 x86_64 AMD FX(tm)-8350 Eight-Core Processor AuthenticAMD GNU/Linux
|
config: [3]
Firmware is loaded:
Code: |
[ 13.251940] [drm] initializing kernel modesetting (JUNIPER 0x1002:0x68B8 0x1043:0x0344).
[ 13.252198] [drm] Loading JUNIPER Microcode
|
My xorg. log tells me: [4]
But my glxinfo tells me still opengl 2.1
Code: |
glxinfo | grep -i opengl
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD JUNIPER
OpenGL version string: 2.1 Mesa 10.2.4
OpenGL shading language version string: 1.30
OpenGL extensions:
|
Any help would be appreciated ...
Thank you!
[1] http://www.x.org/wiki/RadeonFeature/
[2] http://bpaste.net/show/567434/
[3] http://bpaste.net/show/567440/
[4] http://bpaste.net/show/567449 |
|
Back to top |
|
 |
TobiSGD n00b

Joined: 14 Apr 2014 Posts: 36
|
Posted: Wed Aug 06, 2014 5:52 pm Post subject: |
|
|
Build Mesa without the bindist USE-flag. |
|
Back to top |
|
 |
schorsch_76 Guru


Joined: 19 Jun 2012 Posts: 450
|
Posted: Thu Aug 07, 2014 5:51 am Post subject: |
|
|
Thank you, i will try it today evening  |
|
Back to top |
|
 |
schorsch_76 Guru


Joined: 19 Jun 2012 Posts: 450
|
Posted: Thu Aug 07, 2014 7:45 am Post subject: |
|
|
I doubt that the bindist use flag could solve this ... because i installed yesterday debian/jessie for a test on a second partition and it tells me i could use opengl 3.3. bindist enables software patented texture extensions from SGI. A patent from 2003. Far away from opengl 3.3. These things are not allowed to distribute binary, so i doubt that this is enabled at debian/jessie.
patent.txt wrote: |
ARB_texture_float:
Silicon Graphics, Inc. owns US Patent #6,650,327, issued November 18,
2003.
|
and the ebuild [2] tells me ..
Quote: |
econf \
--enable-dri \
--enable-glx \
--enable-shared-glapi \
$(use_enable !bindist texture-float) \
$(use_enable debug) \
...
# warn about patent encumbered texture-float
if use !bindist; then
elog "USE=\"bindist\" was not set. Potentially patent encumbered code was"
elog "enabled. Please see patents.txt for an explanation."
fi
|
I think, i will copy the debian kernel to my partiton and see if it is related to the kernel or the userland... I have noticed that debian uses the mesa-utils/progs 8.2. I did compile the mesa-progs from git (-9999) from the x11 overlay and it did not change anything.
So i will see after the kernel test, where to dig ...
[1] ftp://ftp.freedesktop.org/pub/mesa/10.2.4/MesaLib-10.2.4.tar.bz2 see docs/patent.txt
[2] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/mesa/mesa-10.2.4.ebuild?view=markup |
|
Back to top |
|
 |
schorsch_76 Guru


Joined: 19 Jun 2012 Posts: 450
|
Posted: Thu Aug 07, 2014 5:04 pm Post subject: |
|
|
ok, USE="-bindist" did do the job together with mesa-progs-8.2.0 |
|
Back to top |
|
 |
|