You are not logged in.
I have a Mobility Radeon HD 4200 graphics card. The card itself supports OpenGL 3.2. The card uses the r600 driver, which, according to the radeon driver wiki, supports OpenGL 3.2. Given this, I'd expect to be able to use OpenGL 3, but according to glxinfo, I only have OpenGL support up to 2.1. As a programmer who wants to use OpenGL 3, this is an issue. My hardware supports it, my drivers support it, but I don't have it. How do I get OpenGL 3 support working?
lspci (relevent part)
01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS880M [Mobility Radeon HD 4200 Series]glxinfo: http://pastebin.com/Q9RzJimj
Kernel, Drivers, and libraries
Linux-ck Kernel 3.4.4-3-ck
xf86-video-ati 1:6.14.6-1
ati-dri 8.0.3-3
libgl 8.0.3-3
libglapi 8.0.3-3
mesa 8.0.3-3
mesa-demos 8.0.1-2
lib32-ati-dri 8.0.3-3.2
lib32-libgl 8.0.3-3.2
lib32-libglapi 8.0.3-3.2
lib32-mesa 8.0.3-3.2
Offline
You have to
export R600_STREAMOUT=1
export R600_GLSL130=1in order to use opengl.
But that won't help you if you don't use radeon-git driver, since this one does not support opengl 3 in latest stable, see here.
Greetings
matse
Last edited by matse (2012-07-02 20:27:25)
Offline
I set those environment variables in /etc/environment
After installing xf86-video-ati-git there was no change.
After installing mesa-full from AUR, I got upped to shader version 1.30 from 1.20, but still stuck at OpenGL 2.1
Offline
What's the full output of
env |grep R600and
glxinfo |grep -i opengl?
And just to be sure you restarted x after installing mesa full, or to be completely sure restarted you PC?
Last edited by matse (2012-07-02 21:16:30)
Offline
Yes. I did reset my laptop.
Here's the info you wanted:
env | grep R600
R600_STREAMOUT=1
R600_GLSL130=1glxinfo | grep -i opengl
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RS880
OpenGL version string: 2.1 Mesa 8.1-devel (git-f34764e)
OpenGL shading language version string: 1.30
OpenGL extensions:Offline
You will not get opengl 3 unless you compile a special branch that has MSAA support: http://cgit.freedesktop.org/~airlied/me … h=r600g-ms
Offline
I'm not 100% sure about this, but I think you also need s3tc support for OpenGL3.
You may be interested in these packages:
http://aur.archlinux.org/packages.php?ID=15571
http://aur.archlinux.org/packages.php?ID=40343
Also see the wiki, here:
https://wiki.archlinux.org/index.php/At … k_or_crash
for enabling some more environment variables.
Offline
according to the radeon driver wiki, supports OpenGL 3.2
No, according to the radeon feature page it supports OpenGL 3.0.
This was falsely advertised and has been put back to 2.1 until this single feature is implemented:
https://bugs.freedesktop.org/show_bug.cgi?id=49309#c4
฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz
Offline