Qt-interest Archive, July 2007
Qt4 + OpenGL + NVidia + Fedora 7 = BUG
Message 1 in thread
Hello,
I'm having trouble running the OpenGL examples. Here's what I get:
2dpainting: Illegal instruction
framebufferobject: Segmentation fault
framebufferobject2: Segmentation fault
grabber: Runs OK
hellogl: Runs OK
overpainting: Illegal instruction
pbuffers is strangest. I get this error:
X Error: BadMatch (invalid parameter attributes) 8
Extension: 144 (Uknown extension)
Minor opcode: 24 (Unknown request)
Resource id: 0x60000d
Then the program runs "strangely", the cubes look weird. And it outputs this
error continuously:
X Error: GLXBadContext 157
Extension: 144 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x600014
QGLContext::makeCurrent(): Failed.
pbuffers2:
X Error: BadMatch (invalid parameter attributes) 8
Extension: 144 (Uknown extension)
Minor opcode: 24 (Unknown request)
Resource id: 0x60000d
X Error: GLXBadContext 157
Extension: 144 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x600014
QGLContext::makeCurrent(): Failed.
Segmentation fault
samplebuffers: Illegal instruction
textures: Runs OK
OS: Fedora 7 x86_64
CPU: Core 2 Duo E6600
Video card: NVidia 7600 GT
RPM Versions:
qt4-4.3.0-2.fc7.x86_64
kernel-2.6.21-1.3228.fc7.x86_64
kmod-nvidia-100.14.11-1.2.6.21_1.3228.fc7.x86_64
You can find configuration, log, and backtrace files at
http://nomis80.org/opengl/. If you need more info, please ask.
Can anyone reproduce this? Any suggestion?
Thanks
--
[ signature omitted ]
Message 2 in thread
El Domingo 08 Julio 2007, Simon Perreault escribió:
> Hello,
>
> I'm having trouble running the OpenGL examples. Here's what I get:
>
> 2dpainting: Illegal instruction
> framebufferobject: Segmentation fault
> framebufferobject2: Segmentation fault
> grabber: Runs OK
> hellogl: Runs OK
> overpainting: Illegal instruction
A friend of mine got lot of OpenGL errors while running the demos, he sent a
bug to TT, and they told him they could not reproduce it. They asked him if
he was using NVidia drivers, wich he was.
Couldn't test it in a non nvidia set up :-(
--
[ signature omitted ]
Message 3 in thread
On Sunday July 8 2007 09:44:53 Simon Perreault wrote:
> I'm having trouble running the OpenGL examples.
I have done some more tests which strongly suggest that the problem lies with
Qt. This code runs fine:
=============
#include <GL/glx.h>
#include <stdio.h>
int main()
{
int x;
Display* dpy = XOpenDisplay(NULL);
GLXFBConfig* configs =
glXChooseFBConfig( dpy, DefaultScreen(dpy), NULL, &x );
GLXPbuffer pbuf = glXCreatePbuffer( dpy, configs[0], NULL );
GLXContext ctx =
glXCreateNewContext( dpy, configs[0], GLX_RGBA_TYPE, NULL, True );
Bool ok = glXMakeCurrent( dpy, pbuf, ctx );
return !ok;
}
=============
In the pbuffers example, the call to glXMakeCurrent generates a GLXBadContext
error. In the code above, no error is generated and the call returns True.
I think I'd better submit a bug report to Trolltech now.
--
[ signature omitted ]
Message 4 in thread
On Sunday 08 July 2007 22:02, Simon Perreault wrote:
> On Sunday July 8 2007 09:44:53 Simon Perreault wrote:
> > I'm having trouble running the OpenGL examples.
>
> In the pbuffers example, the call to glXMakeCurrent generates a
> GLXBadContext error. In the code above, no error is generated and the call
> returns True.
>
> I think I'd better submit a bug report to Trolltech now.
Hmm - I had trouble with openGL (NVidia) that was fixed by manually installing
the NVidia driver (taken from NVidia and following their install
instructions).
The driver that came with the distro (_same_ version) failed ...
Frank
--
[ signature omitted ]
Message 5 in thread
Quoting Frank Hemer <frank@xxxxxxxxx>:
> On Sunday 08 July 2007 22:02, Simon Perreault wrote:
>> On Sunday July 8 2007 09:44:53 Simon Perreault wrote:
>> > I'm having trouble running the OpenGL examples.
>>
>
>> In the pbuffers example, the call to glXMakeCurrent generates a
>> GLXBadContext error. In the code above, no error is generated and the call
>> returns True.
>>
>> I think I'd better submit a bug report to Trolltech now.
>
> Hmm - I had trouble with openGL (NVidia) that was fixed by manually
> installing
> the NVidia driver (taken from NVidia and following their install
> instructions).
> The driver that came with the distro (_same_ version) failed ...
I am not sure the distro packaging is the problem.
I was suffering the same problem with KUbuntu 7.04 and NVidia drivers
97.55 (installed from KUbuntu packages). Using the KUbuntu .diff.gz, I
generated packages for version 100.14.09 of the NVidia drivers and the
issue was fixed.
--
[ signature omitted ]
Message 6 in thread
On Monday 09 July 2007 16:54, Pau Garcia i Quiles wrote:
> > Hmm - I had trouble with openGL (NVidia) that was fixed by manually
> > installing
> > the NVidia driver (taken from NVidia and following their install
> > instructions).
> > The driver that came with the distro (_same_ version) failed ...
>
> I am not sure the distro packaging is the problem.
>
> I was suffering the same problem with KUbuntu 7.04 and NVidia drivers
> 97.55 (installed from KUbuntu packages). Using the KUbuntu .diff.gz, I
> generated packages for version 100.14.09 of the NVidia drivers and the
> issue was fixed.
Hmm - I didn't have the time to dig into this any further yet - however using
OpenSuSE10.2 with the distro packaged NVidia driver failed. After filing a
bugreport to the OpenSuSE team, they packaged the 100.14.09 version.
This version failed as well (same symptoms), but installing the identical
version manually fixed all issues.
Possibly the driver packaging is not a problem for KUbuntu but for OpenSuSE??
Has anyone else experienced similar behavior?
Frank
--
[ signature omitted ]
Message 7 in thread
On Monday July 9 2007 15:27:54 Frank Hemer wrote:
> Hmm - I didn't have the time to dig into this any further yet - however
> using OpenSuSE10.2 with the distro packaged NVidia driver failed. After
> filing a bugreport to the OpenSuSE team, they packaged the 100.14.09
> version. This version failed as well (same symptoms), but installing the
> identical version manually fixed all issues.
Wow, you're right. I installed the NVidia drivers manually and everything is
fine now. It's a packaging problem, and I'm filing a bug report.
Thanks for the help to everyone.
--
[ signature omitted ]