You are not logged in.

#1 2012-07-02 17:48:42

Katherine1
Member
Registered: 2011-05-02
Posts: 44

Radeon R600 Drivers and OpenGL 3 Support

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

#2 2012-07-02 20:26:20

matse
Member
Registered: 2011-04-27
Posts: 299

Re: Radeon R600 Drivers and OpenGL 3 Support

You have to

export R600_STREAMOUT=1
export R600_GLSL130=1

in 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

#3 2012-07-02 21:07:47

Katherine1
Member
Registered: 2011-05-02
Posts: 44

Re: Radeon R600 Drivers and OpenGL 3 Support

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

#4 2012-07-02 21:15:45

matse
Member
Registered: 2011-04-27
Posts: 299

Re: Radeon R600 Drivers and OpenGL 3 Support

What's the full output of

env |grep R600

and

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

#5 2012-07-02 22:30:31

Katherine1
Member
Registered: 2011-05-02
Posts: 44

Re: Radeon R600 Drivers and OpenGL 3 Support

Yes. I did reset my laptop.

Here's the info you wanted:

env | grep R600

R600_STREAMOUT=1
R600_GLSL130=1

glxinfo | 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

#6 2012-07-02 22:34:51

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Radeon R600 Drivers and OpenGL 3 Support

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

#7 2012-07-09 22:21:07

Stunts
Member
From: Portugal
Registered: 2009-03-28
Posts: 339
Website

Re: Radeon R600 Drivers and OpenGL 3 Support

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

#8 2012-07-10 06:34:44

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Radeon R600 Drivers and OpenGL 3 Support

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

Board footer

Powered by FluxBB