View Issue Details

IDProjectCategoryView StatusLast Update
0026238CommunityOCCT:Visualizationpublic2016-03-17 11:04
ReporterVico Liang Assigned Tobugmaster  
PrioritynormalSeverityblock 
Status closedResolutionno change required 
PlatformWindowsOSVC++ 2013 
Product Version6.9.0 
Target VersionUnscheduled 
Summary0026238: Visualization - flicking when draw dynamic AIS object on Radeon
DescriptionIn previous version OCCT6.8.0, it's very smooth to implement dynamic drawing (rubberband) feature. But in version OCCT6.9.0, the screen will flick and most of time, the object will disappear during dynamic drawing.

This issue is reproduced in OCCT mfc samples: Viewer 3D, Display Animation, and Modeling. In sample Viewer 3D, when trying to draw a "spot" light, it require to draw a cone dynamicly. The issue will be reproduced during the drawing of the cone.
Steps To Reproduce
pload MODELING VISUALIZATION
pcone c 3 10 2
vcaps -ffp 1
vinit View1
vclear
vaxo
vsetdispmode 0
vdisplay c
vfit
vsetcolor c GREEN
#vrepaint
TagsNo tags attached.
Test case number

Attached Files

  • CreateSpotLight_0.png (41,521 bytes)
  • CreateSpotLight_1.png (51,102 bytes)
  • CreateSpotLight_2.png (46,261 bytes)

Relationships

related to 0026312 closedbugmaster ColorScale doesn't work as expected. 
related to 0026533 closedbugmaster Draw command vdisplay requires vclear to update the presentation since OCC 6.9.0 

Activities

Vico Liang

2015-05-21 05:04

developer   ~0041346

The problem might have relation with V3d_Viewer::Display method. The Display method should update the view if "updateViewer = Standard_True". Anyway, this is a serious issue, even if V3d_Viewer::Update() is called explicitly, the screen is still flcking.

abv

2015-05-21 09:05

manager   ~0041351

Vico, please describe more precisely how to reproduce the problem. I could not see any essential difference in behavior of MFC sample Viewer 3D between 6.8.0 and 6.9.0

Vico Liang

2015-05-21 11:17

developer   ~0041353

Andrey,

I have captured three picture to demo my issue. In the picture, I use the smaple Viewer 3D Spot Light command. You can see the detail description in the picture.

I'd like to mention that my video card is AMD Radeon HD 8650G.

Regards,
Vico

Vico Liang

2015-05-21 11:17

developer  

CreateSpotLight_0.png (41,521 bytes)

Vico Liang

2015-05-21 11:18

developer  

CreateSpotLight_1.png (51,102 bytes)

Vico Liang

2015-05-21 11:18

developer  

CreateSpotLight_2.png (46,261 bytes)

abv

2015-05-21 11:47

manager   ~0041357

No, I do not observe this effect. I am running OCCT 6.9.0 vc10 x64 (downloaded from our web site), on Windows 7 64-bit, NVidia GeForce GT 640. Besides, I have Aero style enabled.

Vico Liang

2015-05-21 12:03

developer   ~0041361

Andrey,

I'm using the same package(downloaded from the web site), and the same OS Windows 7 64-bit. I have tried to enable and disable Aero styles, neither works for me.

I have installed OCCT6.8.0 and OCCT6.9.0, OCCT6.8.0 works, this issue just occurs in OCCT6.9.0.

In our own application, this issue is steadily reproduced as MFC samples.

This might have relation with the video card. Is there regression on other video card like AMD Radeon Series?

This issue is blocking our upgrade to OCCT6.9.0, i do hope it can be reproduced as soon as possible.

Regards,
Vico

Vico Liang

2015-05-21 12:54

developer   ~0041375

Andrey, I have tried it in my another NVidia Card PC, it works. So i think this issue has relation with video hardware.

kgv

2015-05-21 18:34

developer   ~0041401

Last edited: 2015-05-21 18:35

Dear Vico,

> Andrey, I have tried it in my another NVidia Card PC, it works.
> So i think this issue has relation with video hardware.
the problem is not reproducible on Intel as well.
This is very weird bug in Radeon drivers, which seems to be triggered by combination of legacy FFP (when drawn lines, but not triangles) and GLSL rendering paths.

The simplest way to workaround the bug at application level is to disable FFP rendering in OCCT (which is turned on by default in this release) at place where OpenGl_GraphicDriver is created:
  Handle(OpenGl_GraphicDriver) aDriver = new OpenGl_GraphicDriver();
  aDriver->ChangeOptions().ffpEnable = Standard_False;


Could you please also provide your drivers version and check if the problem can be reproduced on up-to-date drivers (if them are not yet)?

Vico Liang

2015-05-22 07:11

developer   ~0041409

Dear KGV,

You're a genius! The workaround works well. Will the options affect the performance or prevent me using new features?

Thanks,
Vico

kgv

2015-05-22 08:55

developer   ~0041410

> Will the options affect the performance or prevent me using new features?
this option will affect several rarely used visualization features.
It is planned to be turned on by default in next release.

Vico Liang

2015-05-27 11:31

developer   ~0041592

Dear KGV,

I understand it. Thank you so much for helping me solve my issue.

Regards,
Vico

kgv

2015-07-14 09:40

developer   ~0042988

The bug has been reported to AMD team and it seems that it has been fixed within latest driver update - bug is no more reproducible on Catalyst 15.7:
OpenGL info:
  GLvendor    = 'ATI Technologies Inc.'
  GLdevice    = 'AMD Radeon HD 6450'
  GLversion   = '4.5.13397 Compatibility Profile Context 15.200.1046.0'
  GLSLversion = '4.40'


Dear bugmaster,
please verify and close the bug.

Issue History

Date Modified Username Field Change
2015-05-19 16:19 Vico Liang New Issue
2015-05-19 16:19 Vico Liang Assigned To => kgv
2015-05-21 05:04 Vico Liang Note Added: 0041346
2015-05-21 09:05 abv Note Added: 0041351
2015-05-21 09:05 abv Assigned To kgv => Vico Liang
2015-05-21 09:05 abv Status new => feedback
2015-05-21 11:17 Vico Liang Note Added: 0041353
2015-05-21 11:17 Vico Liang File Added: CreateSpotLight_0.png
2015-05-21 11:18 Vico Liang File Added: CreateSpotLight_1.png
2015-05-21 11:18 Vico Liang File Added: CreateSpotLight_2.png
2015-05-21 11:31 Vico Liang Assigned To Vico Liang => abv
2015-05-21 11:31 Vico Liang Status feedback => assigned
2015-05-21 11:47 abv Note Added: 0041357
2015-05-21 12:03 Vico Liang Note Added: 0041361
2015-05-21 12:54 Vico Liang Note Added: 0041375
2015-05-21 18:34 kgv Note Added: 0041401
2015-05-21 18:34 kgv Summary Flicking when draw dynamic AIS object. => Visualization - flicking when draw dynamic AIS object on Radeon
2015-05-21 18:34 kgv Steps to Reproduce Updated
2015-05-21 18:35 kgv Note Edited: 0041401
2015-05-22 07:11 Vico Liang Note Added: 0041409
2015-05-22 08:55 kgv Note Added: 0041410
2015-05-27 11:31 Vico Liang Note Added: 0041592
2015-06-04 10:45 Vico Liang Relationship added related to 0026312
2015-06-04 10:46 Vico Liang Assigned To abv => kgv
2015-07-14 09:40 kgv Note Added: 0042988
2015-07-14 09:40 kgv Assigned To kgv => bugmaster
2015-07-14 09:40 kgv Status assigned => feedback
2015-07-14 09:40 kgv Resolution open => no change required
2015-07-14 09:40 kgv Product Version => 6.9.0
2015-08-25 12:03 kgv Relationship added related to 0026533
2016-03-16 10:45 bugmaster Status feedback => closed
2016-03-16 10:46 bugmaster Product Version 6.9.0 => Unscheduled
2016-03-16 10:46 bugmaster Target Version 7.0.0 => Unscheduled
2016-03-17 11:04 bugmaster Product Version Unscheduled => 6.9.0