← Back to team overview

kicad-developers team mailing list archive

Re: Opengl issues after commit 6912/6913

 

Hi Prabhu,

I have just pushed a potential fix for the problem you describe. Would
you verify it?

I have also retracted changes introduced in 6912, as seemingly they
introduce more problems than solve. I hope it solves the problems
recently seen on OSX.

I am wondering if there is anyone else who experiences Mario's problems
(an assert saying the parent window is not visible). If so, please let
me know - I would like to find a common denominator for the
configurations that expose the bug.

Regards,
Orson

On 06/13/2016 12:51 PM, Prabhu Sammandam wrote:
> Hi Orson,
> 
> With r6925 the first crash is not happening ie (*1. Opened pcbnew and
> switched to OPENGL mode. Then invoked the Desing Rules dialog, it crashed*).
> 
> But still the second issue is there. For second issue now it is displaying
> series of error dialogs as mentioned below in order
> 1. Error : mapping vertices buffer: invalid operation
> 2. Error: unmapping vertices buffer: invalid operation
> 3. Error: unbinding vertices buffer: invalid operation
> 4. Error: switching frame buffer: invalid operation
> 5. Error: Setting draw buffer: invalid operation
> ....
> And finally it crashed.
> 
> Regards,
> Prabhu
> 
> Build environment
> -------------------------
> Application: kicad
> Version: no-bzr-product, debug build
> Libraries: wxWidgets 3.0.2
>            libcurl/7.48.0 OpenSSL/1.0.2h zlib/1.2.8 libidn/1.32
> libssh2/1.7.0 nghttp2/1.10.0 librtmp/2.3
> Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit,
> Little endian, wxMSW
> - Build Info -
> wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8)
> Boost: 1.60.0
> Curl: 7.48.0
> KiCad - Compiler: GCC 5.3.0 with C++ ABI 1009
>         Settings: USE_WX_GRAPHICS_CONTEXT=OFF
>                   USE_WX_OVERLAY=OFF
>                   KICAD_SCRIPTING=OFF
>                   KICAD_SCRIPTING_MODULES=OFF
>                   KICAD_SCRIPTING_WXPYTHON=OFF
>                   USE_FP_LIB_TABLE=HARD_CODED_ON
>                   BUILD_GITHUB_PLUGIN=ON
> 
> 
> On 13 June 2016 at 14:47, jp charras <jp.charras@xxxxxxxxxx> wrote:
> 
>> Le 13/06/2016 à 09:52, Maciej Sumiński a écrit :
>>> On 06/10/2016 07:20 PM, jp charras wrote:
>>>> Hi, Orson,
>>>>
>>>> I have a new issue after commit 6912/6913:
>>>> I can switch from legacy to opengl canvas or cairo canvas, but once I
>> have switched from opengl to
>>>> cairo, I cannot switch to opengl:
>>>> the error message is
>>>> Couldn't create OpenGL context and the next message: Requested texture
>> size is not supported.
>>>>
>>>> The first time I start Opengl canvas, I do not have the problem.
>>>>
>>>> This is only after the Opengl canvas is deleted (when switching to
>> cairo) I see this issue, when I
>>>> try to switch again to Opengl.
>>>>
>>>> Moreover, if I open and close the 3D viewer, and switch from Opengl to
>> cairo canvas (or if I close
>>>> Kicad), Pcbnew crashes (I am guessing when the Opengl canvas is
>> deleted).
>>>>
>>>> Before these commits, all worked fine for me (W7, 32 bits)
>>>> In fact I have an issue similar to the previous opengl issue (before
>> ref 6888) .
>>>>
>>>> Sorry, Orson.
>>>
>>> Hi Jean-Pierre,
>>>
>>> Excuse my late answer, I was away for the weekend. The problems you
>>> describe should be already resolved (revision 6925). I am really sorry
>>> for the introduced mess.
>>>
>>> Regards,
>>> Orson
>>>
>>
>> Looks good for me, now.
>>
>> Thanks.
>>
>> --
>> Jean-Pierre CHARRAS
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References