Windows 7 - Problems at: wglSwapBuffers failed: return value of 0!

Emanuel Zgraggen <[email protected]> Wed, 20 Apr 2011 18:59:43 -0400
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
--===============2582519863346181378==
Content-Type: multipart/alternative; boundary=001636ed77a39274ce04a1619474

--001636ed77a39274ce04a1619474
Content-Type: text/plain; charset=ISO-8859-1

Hi,

We're running a Chromium installation with 4 rendering machines, all on
Windows 7.

The demos and our own applications do start up fine, but we have the problem
that rendering nodes freeze randomly after a while (on average around 5min).
It is not always the same node and it happens on all the machines.
If a node freezes we get the following warning in each frame:
Problems at: wglSwapBuffers failed: return value of 0!

So it seems that once there is a problem with wglSwapBuffers, it stays bad.

The call that causes this warning is in renderspu_wgl.c:
return_value = render_spu.ws.wglSwapBuffers( w->visual->device_context );

We tried a couple of different things in attempt to fix it, like using
SwapBuffers() directly, but so far nothing helped. Also we tried to get more
information about the error using GetLastError(). No help there either, it
returns "The operation completed successfully." in both cases.

Has anyone had this issue before?

Emanuel

--001636ed77a39274ce04a1619474
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,<br><br>We&#39;re running a Chromium installation with 4 rendering machi=
nes, all on Windows 7. <br><br>The demos and our own applications do start =
up fine, but we have the problem that rendering nodes freeze randomly after=
 a while (on average around 5min). It is not always the same node and it ha=
ppens on all the machines.<br>
If a node freezes we get the following warning in each frame:<br>
Problems at: wglSwapBuffers failed: return value of 0!<br><br>So it seems t=
hat once there is a problem with wglSwapBuffers, it stays bad. <br><br>The =
call that causes this warning is in renderspu_wgl.c:<br>return_value =3D re=
nder_spu.ws.wglSwapBuffers( w-&gt;visual-&gt;device_context );<br>
<br>We tried a couple of different things in attempt to fix it, like using =
SwapBuffers() directly, but so far nothing helped. Also we tried to get mor=
e information about the error using GetLastError(). No help there either, i=
t returns &quot;The operation completed successfully.&quot; in both cases.<=
br>
<br>Has anyone had this issue before?<br><br>Emanuel <br>

--001636ed77a39274ce04a1619474--


--===============2582519863346181378==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
--===============2582519863346181378==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Chromium-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chromium-dev

--===============2582519863346181378==--