First off I just want to say thank you to all who contribute to wine, it is an awesome piece of software for the Linux community. I am trying to find a way to do a simple OpenGL test within Wine. I have looked all over but I can't seem to find anything. What is the easiest way to test OpenGL and ensure that it's working correctly? The reason I'm asking is this: I recently upgraded my PC from Fedora 8 (with Wine 1.1.5) to a fresh install of Fedora 10 (with Wine 1.1.7). I kept my .wine folder and simply put it into place after I installed Fedora. Now I cannot get Warcraft III to run well. It ran great before, and after this upgrade it runs extremely choppy (one screen refresh every 3 seconds or so). The sound works. I have Warcraft III forced to use OpenGL as noted in the winehq post on it -- I had it this way before when it was working well. I have tested OpenGL in X11 and it works (using glxgears and glxinfo). My system is a dual proc PIII, with the Voodoo5 5500 AGP card. I would appreciate any help/feedback. Thank you!! -- Chris
szilagyic wrote:> I am trying to find a way to do a simple OpenGL test within Wine. I have looked all over but I can't seem to find anything. What is the easiest way to test OpenGL and ensure that it's working correctly? > > I have tested OpenGL in X11 and it works (using glxgears and glxinfo).There is port of glxgears for Windows. This is the simplest way to test if OpenGL is functioning inside Wine. For example from here: http://lab.bachem-it.com/opengl/qtgears/
szilagyic wrote:> First off I just want to say thank you to all who contribute to wine, it is an awesome piece of software for the Linux community. > > I am trying to find a way to do a simple OpenGL test within Wine. I have looked all over but I can't seem to find anything. What is the easiest way to test OpenGL and ensure that it's working correctly? > > The reason I'm asking is this: I recently upgraded my PC from Fedora 8 (with Wine 1.1.5) to a fresh install of Fedora 10 (with Wine 1.1.7). I kept my .wine folder and simply put it into place after I installed Fedora. Now I cannot get Warcraft III to run well. It ran great before, and after this upgrade it runs extremely choppy (one screen refresh every 3 seconds or so). The sound works. I have Warcraft III forced to use OpenGL as noted in the winehq post on it -- I had it this way before when it was working well. I have tested OpenGL in X11 and it works (using glxgears and glxinfo). My system is a dual proc PIII, with the Voodoo5 5500 AGP card. > >There may be issues with OpenGL support starting around Wine 1.1.7. Can you revert to Wine 1.1.5 and see if this corrects the problem? James McKenzie
I thought I would try out the windows version of glxgears as suggested above. I downloaded the binary and ran it without a virtual window and got two boxes, one a text box and the other the graphics box where the gears normally appear. All that appeared was a static and torn graphic but the text box showed the normal "8000 frames in 5 secs.." type of messages. Then I ran it in a virtual window and I got the same boxes as above but also got the gears - outside the virtual window and immediately to the left of the box it should have been inside. Moving the box did not move the gears, but moving the virtual window did move the gears. Is this a problem anybody recognises? This is with Wine 1.1.9 on OpenSuse with an AMD 64 bit processor, ATI X700 graphics and the fglrx driver - and for example, Morrowind runs beautifully on it in wine.
Thanks for all of the suggestions. They led me in the right direction and I ended up getting this issue fixed. I too was not able to get the Windows port of glxgears working, on mine it showed just a black screen with nothing. I found another OpenGL test app for Windows: http://freewebs.com/mannymax/cpp/GLtest.html Which worked, but very slow. After further looking, I discovered that DRI was in fact disabled in X11 for my card and was causing horrible fps rates with X11 glxgears in the text box (around 40 fps down to 15 fps when making the window the full size of the screen). To fix the issue I had to run system-config-display in gnome, and select "Thousands of colors" for the color depth. Then, after restarting X11, it used color depth of 16 and after inspecting /var/log/Xorg.0.log it showed DRI as enabled now. I went back and glxgears now showed 450 fps and Warcraft III is now running perfectly!! Also, I upgraded to wine 1.1.9 with the updated packages released by the Fedora team, and it is still working great. Thanks again!! -- Chris
I thought that we were suppose to be around 22,000 fps You say in full screen you get 450 and in full sreen I get 700+ but My sli loading bar does not show load distrobution at all it just stays blank can someone help me figure this thing out? Asus Striker Extreme Q6600 4GB corsair dominator 1066 2 8800 gt OC set up in sli mode Mandriva Spring 2008.1 i586
szilagyic wrote:> http://freewebs.com/mannymax/cpp/GLtest.htmlThe executable from there (http://freewebs.com/mannymax/cpp/GLTest.exe) leaks memory here and the app gets very slow at 4GB virt memory. But did not crash on a short try. trace:fps:X11DRV_SwapBuffers @ approx 10522.32fps, total 10811.51fps trace:fps:X11DRV_SwapBuffers @ approx 10528.31fps, total 10792.63fps trace:fps:X11DRV_SwapBuffers @ approx 6496.35fps, total 10523.10fps trace:fps:X11DRV_SwapBuffers @ approx 105.44fps, total 9907.76fps trace:fps:X11DRV_SwapBuffers @ approx 72.23fps, total 9358.85fps trace:fps:X11DRV_SwapBuffers @ approx 45.70fps, total 8866.27fps trace:fps:X11DRV_SwapBuffers @ approx 15.26fps, total 8422.48fps