← Back to team overview

kicad-developers team mailing list archive

Re: No models in 3d-viewer.

 

Hi!

Do you see any chance to use git-bisect to find the patch triggering your problem?

Regards,

Clemens


On 2017-07-02 18:46, Kristoffer Ödmark wrote:
> Hello!
> 
> Maybe my 3d-models are not due to the GPU or drivers, but I do have a 
> strange error that I believe is. Since from what I gather I am the only 
> one who has it :)
> 
> If I use the openGl mode. It gets superslow using pcbnew. I mean slow as 
> in changing the topmost layer or starting a new track takes around 6 
> seconds. So much time that I can manually go into GDB and get a 
> stacktrace that looks like this, very easily reproduced:
> 
> #0  0x00007ffff3697c47 in ioctl () at /usr/lib/libc.so.6
> #1  0x00007fffd5710988 in drmIoctl () at /usr/lib/libdrm.so.2
> #2  0x00007fffd3eb4459 in amdgpu_cs_query_fence_status () at 
> /usr/lib/libdrm_amdgpu.so.1
> #3  0x00007fffd50566de in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
> #4  0x00007fffd50557e8 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
> #5  0x00007fffd5055cec in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
> #6  0x00007fffd507cc45 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
> #7  0x00007fffd4b08d74 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
> #8  0x00007fffd49831d4 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
> #9  0x00007fffd4983aca in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
> #10 0x00007fffd7582e6e in KIGFX::CACHED_CONTAINER::Map() 
> (this=0x4fdf0d0) at 
> /home/krille/projects/kicad/common/gal/opengl/cached_container.cpp:234
> #11 0x00007fffd7571903 in KIGFX::VERTEX_MANAGER::Map() (this=0x4fded80) 
> at /home/krille/projects/kicad/common/gal/opengl/vertex_manager.cpp:54
> #12 0x00007fffd7560f5f in KIGFX::OPENGL_GAL::BeginUpdate() 
> (this=0x39f0c70) at 
> /home/krille/projects/kicad/common/gal/opengl/opengl_gal.cpp:389
> #13 0x00007fffd74b7729 in KIGFX::VIEW::ChangeLayerDepth(int, int) 
> (this=0x33407d0, aLayer=109, aDepth=8) at 
> /home/krille/projects/kicad/common/view/view.cpp:730
> #14 0x00007fffd74b7bd6 in KIGFX::VIEW::UpdateAllLayersOrder() 
> (this=0x33407d0) at /home/krille/projects/kicad/common/view/view.cpp:821
> #15 0x00007fffd70a0d98 in PCB_DRAW_PANEL_GAL::SetTopLayer(PCB_LAYER_ID) 
> (this=0x209d850, aLayer=F_Cu) at 
> /home/krille/projects/kicad/pcbnew/pcb_draw_panel_gal.cpp:278
> #16 0x00007fffd70a095c in 
> PCB_DRAW_PANEL_GAL::SetHighContrastLayer(PCB_LAYER_ID) (this=0x209d850, 
> aLayer=F_Cu) at 
> /home/krille/projects/kicad/pcbnew/pcb_draw_panel_gal.cpp:185
> #17 0x00007fffd70a21b2 in PCB_DRAW_PANEL_GAL::SetHighContrastLayer(int) 
> (this=0x209d850, aLayer=0) at 
> /home/krille/projects/kicad/pcbnew/pcb_draw_panel_gal.h:72
> #18 0x00007fffd6e38073 in PCB_EDIT_FRAME::SetActiveLayer(PCB_LAYER_ID) 
> (this=0x2049af0, aLayer=F_Cu) at 
> /home/krille/projects/kicad/pcbnew/pcbframe.cpp:896
> #19 0x00007fffd6e5dbfd in PCB_LAYER_WIDGET::OnLayerSelect(int) 
> (this=0x35563b0, aLayer=0) at 
> /home/krille/projects/kicad/pcbnew/class_pcb_layer_widget.cpp:471
> #20 0x00007fffd704d7a9 in LAYER_WIDGET::OnLeftDownLayers(wxMouseEvent&) 
> (this=0x35563b0, event=...) at 
> /home/krille/projects/kicad/pcbnew/layer_widget.cpp:122
> #21 0x00007ffff65685be in 
> wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
> wxEvtHandler*, wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0
> #22 0x00007ffff65689ca in 
> wxEvtHandler::SearchDynamicEventTable(wxEvent&) () at 
> /usr/lib/libwx_baseu-3.0.so.0
> #23 0x00007ffff6568a5f in wxEvtHandler::TryHereOnly(wxEvent&) () at 
> /usr/lib/libwx_baseu-3.0.so.0
> #24 0x00007ffff6568b13 in wxEvtHandler::ProcessEventLocally(wxEvent&) () 
> at /usr/lib/libwx_baseu-3.0.so.0
> #25 0x00007ffff6568b75 in wxEvtHandler::ProcessEvent(wxEvent&) () at 
> /usr/lib/libwx_baseu-3.0.so.0
> #26 0x00007ffff65688d7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () 
> at /usr/lib/libwx_baseu-3.0.so.0
> #27 0x00007ffff6cdf47d in  () at /usr/lib/libwx_gtk2u_core-3.0.so.0
> #28 0x00007ffff30a37ac in  () at /usr/lib/libgtk-x11-2.0.so.0
> #29 0x00007ffff2a7aead in g_closure_invoke () at 
> /usr/lib/libgobject-2.0.so.0
> #30 0x00007ffff2a8d4ee in  () at /usr/lib/libgobject-2.0.so.0
> #31 0x00007ffff2a9566f in g_signal_emit_valist () at 
> /usr/lib/libgobject-2.0.so.0
> #32 0x00007ffff2a966ef in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
> #33 0x00007ffff31bb8cc in  () at /usr/lib/libgtk-x11-2.0.so.0
> #34 0x00007ffff30a1f74 in gtk_propagate_event () at 
> /usr/lib/libgtk-x11-2.0.so.0
> #35 0x00007ffff30a232b in gtk_main_do_event () at 
> /usr/lib/libgtk-x11-2.0.so.0
> #36 0x00007ffff2d1946c in  () at /usr/lib/libgdk-x11-2.0.so.0
> #37 0x00007ffff1fefa47 in g_main_context_dispatch () at 
> /usr/lib/libglib-2.0.so.0
> #38 0x00007ffff1fefc78 in  () at /usr/lib/libglib-2.0.so.0
> #39 0x00007ffff1feff92 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
> #40 0x00007ffff30a13a7 in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0
> #41 0x00007ffff6cbe865 in wxGUIEventLoop::DoRun() () at 
> /usr/lib/libwx_gtk2u_core-3.0.so.0
> #42 0x00007ffff6427ae3 in wxEventLoopBase::Run() () at 
> /usr/lib/libwx_baseu-3.0.so.0
> #43 0x00007ffff63ef876 in wxAppConsoleBase::MainLoop() () at 
> /usr/lib/libwx_baseu-3.0.so.0
> #44 0x0000000000465002 in APP_KICAD::OnRun() (this=0x7f0400) at 
> /home/krille/projects/kicad/kicad/kicad.cpp:256
> #45 0x00007ffff6479427 in wxEntry(int&, wchar_t**) () at 
> /usr/lib/libwx_baseu-3.0.so.0
> #46 0x0000000000463b89 in main(int, char**) (argc=1, 
> argv=0x7fffffffe528) at /home/krille/projects/kicad/kicad/kicad.cpp:288
> 
> Can anyone else say they are having the same issue and know a fix for 
> either of these two problems.
> 
> On 2017-06-30 12:27, Mário Luzeiro wrote:
>> Hi Kristoffer,
>>
>> I don't have a chance at moment to test the current main branch,
>> but I assure you it is not a GPU or driver problem! ;)
>>
>> Mario
>> ________________________________________
>> From: Kicad-developers <kicad-developers-bounces+mrluzeiro=ua.pt@xxxxxxxxxxxxxxxxxxx> on behalf of Kristoffer Ödmark <kristofferodmark90@xxxxxxxxx>
>> Sent: 30 June 2017 09:21:00
>> To: KiCad Developers
>> Subject: [Kicad-developers] No models in 3d-viewer.
>>
>> Hello!
>>
>> I have been using the nightly version of kicad for a while. But recently
>> the 3d-viewer stopped displaying models on my board. First I thought
>> that it was my GPU being strange ( AMD R390x ). But now it has happened
>> on my Manjaro laptop as well with integrated Intel gpu.
>>
>> Is anyone else having the same problems? I am not using OCE on my
>> laptop, but I am on my other computer, they are both not showing
>> 3d-models in nightly, but they are showing them in stable.
>>
>> Application: kicad
>> Version: (2017-06-30 revision d6820bc92)-master, release build
>> Libraries: wxWidgets 3.0.3
>>              libcurl/7.54.1 OpenSSL/1.1.0f zlib/1.2.11 libpsl/0.17.0
>> (+libicu/59.1) libssh2/1.8.0 nghttp2/1.23.1
>> Platform: Linux 4.10.17-2-MANJARO x86_64, 64 bit, Little endian, wxGTK
>> - Build Info -
>> wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
>> Boost: 1.64.0
>> Curl: 7.54.1
>> KiCad - Compiler: GCC 7.1.1 with C++ ABI 1011
>>           Settings: USE_WX_GRAPHICS_CONTEXT=OFF
>>                     USE_WX_OVERLAY=OFF
>>                     KICAD_SCRIPTING=ON
>>                     KICAD_SCRIPTING_MODULES=ON
>>                     KICAD_SCRIPTING_WXPYTHON=ON
>>                     KICAD_SCRIPTING_ACTION_MENU=OFF
>>                     BUILD_GITHUB_PLUGIN=ON
>>                     KICAD_USE_OCE=OFF
>>
>> --
>>    -Kristoffer
>>
>> _______________________________________________
>> 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
>>
> 
> _______________________________________________
> 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
> 


Follow ups

References