[ABD v8i SS5] Graphics card problems

Hi,

We are living crash problems with different graphics cards on multiple computers in accelerated views (drawing or navigating) since a while. There are many users and most of them are living similar problems. We are using View 2 in Smooth Rendering mode. AECOsim crashes sometimes when trying to display View 2 (accelerated view). Mostly AECOsim crashes, sometimes you see black screen, sometimes lines are broken, sometimes half of the view is displayed.

We tried followings;

1. Install the latest graphics driver from video card's manufacturer's site.

2. Install the latest certified driver from computer's manufacturer's site.

3. Optimize graphics card's settings using steps below;

https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/25254/changing-graphics-card-settings-to-use-the-dedicated-gpu-on-a-windows-computer

4. Set QV_D3DVERSION environment variable to 11, 10, 9.

https://communities.bentley.com/products/microstation/f/microstation-forum/89047/v8i-ss2-ms_force_software_rendering-qv_d3dversion-0-difference

5. At last, if we still have problem, set QV_D3DVERSION to 0 which means it uses software graphics which is very slow.

We also reviewed exception logs and mostly there are the same error and material_sendToQv() MDL function fails.

Is there any other option that solve this problem completely?

As an example, we are getting below errors on a computer that has graphics card Radeon 530. HP certified and Windows 10 update 1803 compatible graphics card driver is installed. Below are faults from Event Viewer. Fault modules are qvision.dll, rendlib.dll, ustation.dll. 

Faulting application name: AECOsimBuildingDesigner.exe, version: 8.11.9.747, time stamp: 0x534af8c8
Faulting module name: qvision.dll, version: 8.11.9.584, time stamp: 0x5342a81f
Exception code: 0xc0000005
Fault offset 0x004ec7cd
Faulting process id: 0x211c
Faulting application start time: 0x01d41cde808a7852
Faulting application path: C:\Program Files (x86)\Bentley\AECOsimBuildingDesigner V8i Ss5\AECOsimBuildingDesigner\AECOsimBuildingDesigner.exe
Faulting module path: C:\Program Files (x86)\Bentley\AECOsimBuildingDesigner V8i Ss5\AECOsimBuildingDesigner\qvision.dll
Report Id: 3daceb1e-723b-439a-bda5-12db3b
e43992
Faulting package full name: 
Faulting application name:

Faulting application name: AECOsimBuildingDesigner.exe, version: 8.11.9.747, time stamp: 0x534af8c8
Faulting module name: rendlib.dll, version: 8.11.9.584, time stamp: 0x5342a9cc
Exception code: 0xc0000005
Fault offset 0x000195ee
Faulting process id: 0x211c
Faulting application start time: 0x01d41cde808a7852
Faulting application path: C:\Program Files (x86)\Bentley\AECOsimBuildingDesigner V8i Ss5\AECOsimBuildingDesigner\AECOsimBuildingDesigner.exe
Faulting module path: C:\Program Files (x86)\Bentley\AECOsimBuildingDesigner V8i Ss5\AECOsimBuildingDesigner\rendlib.dll
Report Id: 6f0c9814-86b3-4600-b163-387c37e77213
Faulting package full name: 
Faulting application name:

Faulting application name: AECOsimBuildingDesigner.exe, version: 8.11.9.747, time stamp: 0x534af8c8
Faulting module name: ustation.dll, version: 8.11.9.584, time stamp: 0x5342ad29
Exception code: 0xc0000005
Fault offset 0x0017fe02
Faulting process id: 0x1dcc
Faulting application start time: 0x01d41a9e5b250543
Faulting application path: C:\Program Files (x86)\Bentley\AECOsimBuildingDesigner V8i Ss5\AECOsimBuildingDesigner\AECOsimBuildingDesigner.exe
Faulting module path: C:\Program Files (x86)\Bentley\AECOsimBuildingDesigner V8i Ss5\AECOsimBuildingDesigner\ustation.dll
Report Id: 79d22c3b-dfbe-419b-8904-91949adeaf84
Faulting package full name: 
Faulting application name:

  • Hi Marc,

    It could be that some elements in the model are causing a crash when displaying smooth

    You are right some elements may cause crash. But in this case when change smooth mode to wireframe, the problem is solved.

    does the same behaviour occur in current versions? SS5 is no longer officially supported.

    I understand but I couldn't have time to test it.

    Kind regards,

    Sedat Alis
    AEC Technology Inc.

  • Hi,

    After all updates, we are still living the same problem. We are updating Windows 10 and graphic card drivers. Sometimes problem is solved, sometimes it isn't solved. This is not related to 3D elements because design file is properly opened first time but when you zoom in/out or navigate on smooth displayed view then you get this error.

    These kind of problems have a common library called rendlib.dll. Is there any update for this file? 

    ExceptionCode: c0000005 (Access violation)
    rendlib!Bentley::Ustn::BSIMaterialProperties::FromMaterial+0xa
    rendlib!material_sendToQv+0x17

    WinDbg analyze document is also attached.

    rendlib.txt
    Microsoft (R) Windows Debugger Version 10.0.22473.1005 X86
    Copyright (c) Microsoft Corporation. All rights reserved.
    
    
    Loading Dump File [C:\Users\Dilemma\AppData\Local\Temp\Bentley\AECOsimBuildingDesigner\8.11\fbTdNrfM_E-UCF4EGEaZbQ\ExceptionHistory\ExceptionHistory-1\MiniDump.dmp]
    User Mini Dump File with Full Memory: Only application data is available
    
    
    ************* Path validation summary **************
    Response                         Time (ms)     Location
    Deferred                                       srv*
    Symbol search path is: srv*
    Executable search path is: 
    Windows 8 Version 9200 MP (8 procs) Free x86 compatible
    Product: WinNt, suite: SingleUserTS Personal
    Machine Name:
    Debug session time: Wed Nov 10 23:29:29.000 2021 (UTC + 3:00)
    System Uptime: 0 days 0:02:54.359
    Process Uptime: 0 days 0:01:12.000
    ................................................................
    ................................................................
    ................................................................
    ................................................................
    ................................................................
    ................................................................
    ................................................................
    ................................................................
    ..................
    Loading unloaded module list
    ................
    This dump file has an exception of interest stored in it.
    The stored exception information can be accessed via .ecxr.
    (b2c.c04): Access violation - code c0000005 (first/second chance not available)
    For analysis of this file, run !analyze -v
    eax=00000000 ebx=00000007 ecx=09bb1c88 edx=15902be8 esi=000036f0 edi=2385c130
    eip=77c638fc esp=006ad444 ebp=006ad450 iopl=0         nv up ei pl nz na pe nc
    cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00200206
    ntdll!NtGetContextThread+0xc:
    77c638fc c20800          ret     8
    0:000> !analyze -v
    *******************************************************************************
    *                                                                             *
    *                        Exception Analysis                                   *
    *                                                                             *
    *******************************************************************************
    
    Failed to request MethodData, not in JIT code range
    
    KEY_VALUES_STRING: 1
    
        Key  : AV.Fault
        Value: Read
    
        Key  : Analysis.CPU.mSec
        Value: 122749
    
        Key  : Analysis.DebugAnalysisManager
        Value: Create
    
        Key  : Analysis.Elapsed.mSec
        Value: 353889
    
        Key  : Analysis.Init.CPU.mSec
        Value: 749
    
        Key  : Analysis.Init.Elapsed.mSec
        Value: 25675
    
        Key  : Analysis.Memory.CommitPeak.Mb
        Value: 250
    
        Key  : CLR.BuiltBy
        Value: NET48REL1LAST_C
    
        Key  : CLR.Engine
        Value: CLR
    
        Key  : CLR.Version
        Value: 4.8.4420.0
    
        Key  : Timeline.OS.Boot.DeltaSec
        Value: 174
    
        Key  : Timeline.Process.Start.DeltaSec
        Value: 72
    
        Key  : WER.Process.Version
        Value: 8.11.9.747
    
    
    FILE_IN_CAB:  MiniDump.dmp
    
    NTGLOBALFLAG:  0
    
    PROCESS_BAM_CURRENT_THROTTLED: 0
    
    PROCESS_BAM_PREVIOUS_THROTTLED: 0
    
    APPLICATION_VERIFIER_FLAGS:  0
    
    CONTEXT:  (.ecxr)
    eax=15902be8 ebx=15902be8 ecx=09bb1c88 edx=15902be8 esi=006aea30 edi=00000020
    eip=527195ee esp=006ae9e0 ebp=006ae9e0 iopl=0         nv up ei pl nz na pe nc
    cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00210206
    rendlib!Bentley::Ustn::BSIMaterialProperties::FromMaterial+0xa:
    527195ee 81b8d002000004205ee5 cmp dword ptr [eax+2D0h],0E55E2004h ds:002b:15902eb8=????????
    Resetting default scope
    
    EXCEPTION_RECORD:  (.exr -1)
    ExceptionAddress: 527195ee (rendlib!Bentley::Ustn::BSIMaterialProperties::FromMaterial+0x0000000a)
       ExceptionCode: c0000005 (Access violation)
      ExceptionFlags: 00000000
    NumberParameters: 2
       Parameter[0]: 00000000
       Parameter[1]: 15902eb8
    Attempt to read from address 15902eb8
    
    PROCESS_NAME:  AECOsimBuildingDesigner.exe
    
    READ_ADDRESS:  15902eb8 
    
    ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.
    
    EXCEPTION_CODE_STR:  c0000005
    
    EXCEPTION_PARAMETER1:  00000000
    
    EXCEPTION_PARAMETER2:  15902eb8
    
    STACK_TEXT:  
    WARNING: Stack unwind information not available. Following frames may be wrong.
    006ae9e0 52715c79     15902be8 15902be9 006aea30 rendlib!Bentley::Ustn::BSIMaterialProperties::FromMaterial+0xa
    006aea00 50518000     15902be8 00fefefe 50a1c260 rendlib!material_sendToQv+0x17
    006aea18 5051e345     50a1c260 32efe850 14bb7460 ustation!Bentley::Ustn::QvOutput::_AssignDC+0x3b0
    006aea68 505ff004     32efe850 00000004 32efe1d8 ustation!Bentley::Ustn::Element::EachLineStyleArg::GetParams+0x2b85
    006aeb2c 503af75c     006aee50 069259f0 006aec60 ustation!Bentley::Ustn::ViewContext::_ActivateOverrideMatSymb+0x34
    006aeb78 503c1b04     006aee50 32efe1d8 006aec60 ustation!Bentley::Ustn::Element::Type2Handler::_DrawFiltered+0x7c
    006aedc0 5038921d     006aee50 32efe1d8 081916b4 ustation!Bentley::Ustn::Element::DisplayHandler::_FilterLevelOfDetail+0x154
    006aedf4 505f693e     006aee50 32efe1d8 00000000 ustation!Bentley::Ustn::DrawContext::_OutputElement+0x4d
    006aee14 503c3b78     016aee50 01000001 00000001 ustation!Bentley::Ustn::ViewContext::_VisitElemHandle+0x11e
    006aee78 503ad97d     006af09c 32efe1d8 00000001 ustation!Bentley::Ustn::Element::DisplayHandler::UseChildren+0x58
    006aeed4 503affbb     006af09c 32efe1d8 32efe1d8 ustation!Bentley::Ustn::Element::MstnCellHeaderHandler::VisitChildren+0x4d
    006aeff4 505f50e4     006af09c 32efe1d8 006af09c ustation!Bentley::Ustn::Element::MstnCellHeaderHandler::_Draw+0x11b
    006af02c 5038922c     ffffffff 08191690 32efe1d8 ustation!Bentley::Ustn::ViewContext::DrawElementNormal+0xb4
    006af05c 505f693e     006af09c ff406d78 00000000 ustation!Bentley::Ustn::DrawContext::_OutputElement+0x5c
    006af07c 50350371     016af09c 01000000 00000000 ustation!Bentley::Ustn::ViewContext::_VisitElemHandle+0x11e
    006af0c0 50350816     08191690 318a8670 4cee8001 ustation!mdlDgnOle_create+0x1a51
    006af0e0 50350eac     4cee8001 4cee8048 4cee8138 ustation!mdlDgnOle_create+0x1ef6
    006deea0 503535bf     4cee8020 4cee8048 006df000 ustation!mdlDgnOle_create+0x258c
    006deef8 50353819     32efe1d8 318a8670 e03171d2 ustation!dgnCache_getRange+0x35f
    006df06c 505f1936     32efe1d8 318a8670 00000000 ustation!Bentley::Ustn::DgnRangeTree::ProcessOcclusionSorted+0xd9
    006df094 505f1e10     318a8670 318a8670 32efe1d8 ustation!Bentley::Ustn::UpdateContext::DisableVisits+0x186
    006df0ac 50400a63     318a8670 00000000 32efe101 ustation!Bentley::Ustn::UpdateContext::_ProcessModelRef+0x70
    006df114 505f33ce     32efe1d8 318a8670 00000000 ustation!Bentley::Ustn::Element::ViewHandler::_DrawModelRef+0x73
    006df140 505f25ee     318a8670 00000000 32efe101 ustation!Bentley::Ustn::ViewContext::_DrawModelRef+0x8e
    006df164 505f53de     00000000 32efe101 00000001 ustation!Bentley::Ustn::ViewContext::_VisitAllModelElements+0x3e
    006df1f0 505f1bda     00000000 32efe101 00000001 ustation!Bentley::Ustn::ViewContext::VisitAllViewElements+0xfe
    006df218 505f13f5     00000000 00000000 50a1bd60 ustation!Bentley::Ustn::UpdateContext::UpdateAllElements+0xea
    006df2b8 50600338     50a1c260 00000000 01000001 ustation!Bentley::Ustn::UpdateContext::DoFullUpdate+0x265
    006df2dc 5060043b     50a1c260 00000000 00000001 ustation!Bentley::Ustn::IViewManager::UpdateView+0x78
    006df31c 50601279     50a24240 00000000 00000000 ustation!Bentley::Ustn::IViewManager::UpdateViews+0x6b
    006df338 502c267e     50a24240 00000000 00000000 ustation!viewUpdate_update+0x29
    006df360 501bd917     00000001 00000000 50a1c260 ustation!mdlSystem_computeDesignRange+0xc1e
    006df380 503fe85e     00000001 00000000 006df42c ustation!mdlView_updateSingleWithMessage+0x47
    006df3b8 503fe8d1     00000001 09bb1ba8 509cf08c ustation!Bentley::Ustn::Element::ViewHandler::_IsControlElement+0x50e
    006df42c 51e23f9e     006df44c 00000001 006df4bc ustation!Bentley::Ustn::Element::ViewHandler::_ProcessMouseWheelEvent+0x21
    006df43c 504c8d92     006df44c 09bb5340 5dbb5a8f viewctrl!initialize+0x1c
    006df4bc 504bd745     509fea88 00000000 000005c3 ustation!Bentley::Ustn::MstnElementSetTool::InstallToolImplementation+0x6b2
    006df500 504bd835     006df510 00000001 076fc380 ustation!Bentley::Ustn::MstnEventManager::DropMouseWheelHandler+0x105
    006df524 50234149     076fc380 00000000 000005c3 ustation!Bentley::Ustn::MstnEventManager::DropMouseWheelHandler+0x1f5
    006df54c 5023456c     006dfa70 00000001 09c0cef8 ustation!mdlInput_queueButtonAction+0x1f69
    006dfa2c 5023460b     006dfa70 00000001 507814a8 ustation!mdlInput_queueButtonAction+0x238c
    006dfa44 50182986     006dfa70 00000001 00000001 ustation!mdlInput_processQueuedInput+0x1b
    006dfa8c 501d1466     09c0cf70 09c0cef8 006dfd1c ustation!mdlInput_standardKeyinActive+0xd6
    006dfa9c 501d171b     00000000 00000000 00000002 ustation!mdlSystem_enterGraphicsExtended+0x15c6
    006dfd1c 5020d8e1     00000002 006dfd40 00000000 ustation!mdlSystem_enterGraphicsExtended+0x187b
    006dfe78 5020d95c     00400000 00000000 00000000 ustation!win32Intface_winMainStartFromForeignExecutable+0x1a1
    006dfe98 00403c66     00400000 00000000 008941a5 ustation!win32Intface_winMain+0x1c
    006dfebc 00403d33     00400000 00000000 008941a5 AECOsimBuildingDesigner+0x3c66
    006dfee0 0040143f     00400000 00000000 008941a5 AECOsimBuildingDesigner+0x3d33
    006dff70 76d7fa29     00398000 76d7fa10 006dffdc AECOsimBuildingDesigner+0x143f
    006dff80 77c57a9e     00398000 45d1be00 00000000 kernel32!BaseThreadInitThunk+0x19
    006dffdc 77c57a6e     ffffffff 77c78a6d 00000000 ntdll!__RtlUserThreadStart+0x2f
    006dffec 00000000     004015bc 00398000 00000000 ntdll!_RtlUserThreadStart+0x1b
    
    
    SYMBOL_NAME:  rendlib!Bentley::Ustn::BSIMaterialProperties::FromMaterial+a
    
    MODULE_NAME: rendlib
    
    IMAGE_NAME:  rendlib.dll
    
    STACK_COMMAND:  ~0s ; .ecxr ; kb
    
    FAILURE_BUCKET_ID:  INVALID_POINTER_READ_c0000005_rendlib.dll!Bentley::Ustn::BSIMaterialProperties::FromMaterial
    
    OSPLATFORM_TYPE:  x86
    
    OSNAME:  Windows 8
    
    IMAGE_VERSION:  8.11.9.584
    
    FAILURE_ID_HASH:  {6cd45284-9704-d142-6088-1c2c91e491c8}
    
    Followup:     MachineOwner
    ---------
    
    

    Kind regards,

    Sedat Alis
    AEC Technology Inc.

  • Hi Marc,

    Have you tried setting the variable QV_D3DVersion?

    QV_D3DVersion = 9

    Yes, I tried this as I mentioned on my post. Sometimes it solves the problem, sometimes it doesn't.

    4. Set QV_D3DVERSION environment variable to 11, 10, 9.

    Kind regards,

    Sedat Alis
    AEC Technology Inc.