OpenGL Applications using MFC fails

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
anandhan
Newbie
Newbie
Posts: 3
Joined: Thu Apr 17, 2008 1:12 am

OpenGL Applications using MFC fails

Post by anandhan »

I have recently tried to execute cube sample that comes with MFC Sample using Wine. Unfortunatly nothing was displayed in the graphics window. Any Clue ?
Dan Kegel

OpenGL Applications using MFC fails

Post by Dan Kegel »

On Wed, Apr 16, 2008 at 11:20 PM, anandhan <[email protected]> wrote:
I have recently tried to execute cube sample that comes with MFC Sample using Wine. Unfortunatly nothing was displayed in the graphics window. Any Clue ?
I just tried it, and it worked for me.
(I installed Visual C++ 4.0, which I found at a garage sale for $5 a
few years ago. It has the Cube sample, and was able to compile
and run it just fine.)

Does glxgears run on your system? I have a crappy old
GeForce2 MX/MX 400 graphics card that only gets 200fps on glxgears,
but it's good enough for cube.
anandhan
Newbie
Newbie
Posts: 3
Joined: Thu Apr 17, 2008 1:12 am

MFC/OpenGL

Post by anandhan »

Thanks,

OpenGL works perfectly with programs compiled using Windows SDK. I ve tried gears using GLUT. It worked.. I ve also tried linking Cube Sample with SGI OpenGL libs. but failed

my configuration & tools are...

NVidia FX 5200
Suse Linux 10.0
wine version 0.9.59
VC++ 6.0,MFC 4.2
anandhan
Newbie
Newbie
Posts: 3
Joined: Thu Apr 17, 2008 1:12 am

More Info : Console Output

Post by anandhan »

Here is my wine console output...


*** FRU__delta_init(): Attempt to start when running!
X Error of failed request: GLXBadDrawable
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 11 (X_GLXSwapBuffers)
Serial number of failed request: 227637
Current serial number in output stream: 227690
Dan Kegel

OpenGL Applications using MFC fails

Post by Dan Kegel »

On Mon, Apr 21, 2008 at 2:27 AM, anandhan <[email protected]> wrote:
NVidia FX 5200
Suse Linux 10.0
...
*** FRU__delta_init(): Attempt to start when running!
X Error of failed request: GLXBadDrawable
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 11 (X_GLXSwapBuffers)
Sounds like a graphics driver problem, since that doesn't
happen on my system when I run the cube sample.

Try a different graphics driver?
Locked