Archived issue #0025802

Adapt test cases bugs vis bug10781 and bug23227 for Intel graphics driver

Open CASCADEOCCT:Testsclosed8 public notes

Search issues

Description

The following tests cases do not pass on Intel graphics:
bugs vis bug23227
bugs vis bug10781 

Steps to reproduce

bugs vis bug23227
bugs vis bug10781 

Public activity

8 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Fri Feb 6 18:15:48 2015 +0300

    0025802: Adopt test cases bugs vis bug10781 and bug23227 for Intel graphics driver
    
    Test case bugs/vis/bug10781 - use smaller line width in test case
    (some Intel OpenGL drivers support only 7 pixels-width lines).
    Test case bugs/vis/bug23227 - just check triangles count in feedback buffer is not 0.
02Author
Please check updated test cases.
03Commenter 3
Interesting notice: if I switch to another user on my computer while running tests, test bugs vis bug10781 passes fine (it draws wide lines successfully), even on current master.

Also differences are reported in this case for almost all shading images (not appreciable by eye, and colors are the same as shown in Paint, while pixels reported as different).

Another interesting cases are:

- bugs vis bug1188: when another user is active, image is greater in vertical direction.

- bugs vis bug9517: images have diffenent level of blurring

See attached images of testdiff output (case A is when another user is active).

Note that my computer has Intel HD 4600 integrated graphics, settings of both users are default
04Commenter 4
Addition: test bugs vis bug23227 also passes on master if another user is active. At the same time, additional test bugs vis bug25363 fails, as it seems, due to slightly shifted location of the marker. This shift seems to be systematic, as similar diffs are shown on all snapshots containing texts and markers.
05Commenter 5
I confirm that tests bugs vis bug23227 and bugs vis bug10781 are OK on CR25802
06Commenter 6
For testers: please test only specified test cases, no recompiling or overall testing is necessary
07Commenter 7
Dear Commenter 1,
Branch CR25802 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 18 (18 on master)
Windows: 0 (0 on master)

products component :
Linux: 11 (11 on master)
Windows: 1 (1 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
http://occt-tests/CR25802-master-occt/Debian60-64/bugs/vis/bug10781.html
http://occt-tests/CR25802-master-occt/Windows-32-VC10/bugs/vis/bug10781.html
bugs vis(004) bug10781: OK

http://occt-tests/CR25802-master-occt/Debian60-64/bugs/vis/bug23227.html
http://occt-tests/CR25802-master-occt/Windows-32-VC10/bugs/vis/bug23227.html
bugs vis(004) bug23227: OK

Testing on Linux:
occt component :
Total MEMORY difference: 84599250 / 86235915
Total CPU difference: 49889.06999999998 / 47876.709999999846
products component :
Total MEMORY difference: 23436833 / 23349226
Total CPU difference: 15319.989999999976 / 14717.069999999967

Testing on Windows:
occt component :
Total MEMORY difference: 40649406 / 40658496
Total CPU difference: 34215.4375 / 32754.0
products component :
Total MEMORY difference: 11034006 / 11081969
Total CPU difference: 10508.75 / 10978.125

There are no differences in images found by testdiff.
08Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]