From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 77582] New: [r600g] ogl-samples GL3.2 and GL3.3 tests doesn't
run without overriding GL/GLSL version
Date: Thu, 17 Apr 2014 16:42:40 +0000
Message-ID:
Priority
medium
Bug ID
77582
Assignee
dri-devel@lists.freedesktop.org
Summary
[r600g] ogl-samples GL3.2 and GL3.3 tests doesn't run without overriding GL/GLSL version
Severity
normal
Classification
Unclassified
OS
Linux (All)
Reporter
b.bellec@gmail.com
Hardware
x86-64 (AMD64)
Status
NEW
Version
git
Component
Drivers/Gallium/r600
Product
Mesa
The OpenGL 3.2 and 3.3 tests from the ogl-samples pack doesn't run on my
Evergreen card (HD 5850) if I don't override the env var with the good GL and
GLSL values.
Download and compiles the ogl-samples:
$ git clone https://github.com/g-truc/ogl-samples
$ cmake .
$ make
$ ./build/release/gl-320-primitive-sprite
In my case, the program starts but immediately stop, without error.
While if I launch with:
$ MESA_GL_VERSION_OVERRIDE=3.2 MESA_GLSL_VERSION_OVERRIDE=150
./build/release/gl-320-primitive-sprite
Then the program start as excepted.
I tested several ogl-320 and ogl-330 tests, all have the same issue.
glxinfo:
OpenGL renderer string: Gallium 0.4 on AMD CYPRESS
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.2.0-devel
(git-75e4875)
OpenGL core profile shading language version string: 3.30
Build config:
autogen.sh --with-gallium-drivers=r600 --with-dri-drivers=
--enable-texture-float --disable-dri3 --disable-r600-llvm-compiler
--disable-gallium-llvm --enable-64-bit CFLAGS="-O2 -m64" CXXFLAGS="-O2 -m64"
--libdir=/usr/lib64
Kernel 3.13.9-100.fc19.x86_64
libdrm 2.4.53-1.fc20
I don't know if it's a regression. I can test with earlier Mesa commit if you
point me to an old commit with still GL3.2 supports.