Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Triad Lines disappear randomly #19123

Open
JustinPrivitera opened this issue Dec 6, 2023 · 10 comments · May be fixed by #19939
Open

Triad Lines disappear randomly #19123

JustinPrivitera opened this issue Dec 6, 2023 · 10 comments · May be fixed by #19939
Assignees
Labels
bug Something isn't working engineering related to engineering project impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood reviewed Issue has been reviewed and labeled by a developer
Milestone

Comments

@JustinPrivitera
Copy link
Member

An engineering user has reported to me that the triad lines disappear seemingly randomly. I have not been able to reproduce. I will meet with engineering folks on Thursday to hopefully discuss and gather more details.

@JustinPrivitera JustinPrivitera added bug Something isn't working likelihood medium Neither low nor high likelihood impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) engineering related to engineering project labels Dec 6, 2023
@markcmiller86
Copy link
Member

One possible thing to pay attention to is whether the object they are displaying (or the view they are using) is unusually large or small (e.g. zoomed way in or way out). I think we have numerical difficulties when we get beyond 1E-8 or 1E+8

@BradWhitlock
Copy link
Member

BradWhitlock commented Dec 6, 2023

I ran into this too with 3.4.0 but not with 3.3.x. If I run 3.4.0 with -noconfig then it does not happen either. I'm attaching a tar/gz of my config files it helps reproduce. It happens to me with files like curve3d.silo.

bjw_visit_config.tar.gz

This may also be relevant. I run on a Windows laptop with RealVNC, connected to the RZ. There, I ssh to rzgenie and run on a compute node. The VNC application scrapes the pixels back to my laptop.

@JustinPrivitera
Copy link
Member Author

Thank you @BradWhitlock!

@cyrush cyrush added this to the 3.4.2 milestone Dec 7, 2023
@cyrush cyrush added the reviewed Issue has been reviewed and labeled by a developer label Dec 7, 2023
@JustinPrivitera JustinPrivitera removed their assignment Dec 11, 2023
@JustinPrivitera JustinPrivitera removed the reviewed Issue has been reviewed and labeled by a developer label Dec 11, 2023
@JustinPrivitera
Copy link
Member Author

It looks like you have the following in your config file:

<Object name="axes3D">
                    <Object name="Axes3D">
                        <Field name="visible" type="bool">false</Field>
                        <Field name="triadLineWidth" type="float">0</Field>
                    </Object>
                </Object>

The triadLineWidth is set to zero, which causes them to disappear.

I don't understand how this information was written to the config file; it isn't possible to set the triad line width to zero with the GUI. I also don't understand why this is treated any differently than 3.3.x. Will discuss with the team.

@biagas
Copy link
Contributor

biagas commented Dec 11, 2023

VisIt uses the _LineWidth enum in avt/Plotter/LineAttributes, (which is 0-origin) for most state objects that have a need for a line width attribute.
The file has conversion methods between the _LineWidth and int (LW_0 converted to 1, LW_1 converted to 2, etc).
I honestly cannot recall the full reasoning behind all this complexity, unless it had something to do with wanting to constrain the number of allowed values since the QvisLineWidthWidget constructs pixmaps for each allowed width.

Perhaps if the Axes3D state object's triadLineWidth was of type lineWidth instead of float, then VisIt would translate it properly.

I don't know what changed in 3.4 that would have caused this to be a new issue, nor if it is within VisIt or VTK.
Axes3D didn't change.

Perhaps the triadLineWidth should be changed to type lineWidth ?

@JustinPrivitera
Copy link
Member Author

Is there a reproducer for this on the OCF?

It may be the case that getting rid of the visit configuration files may solve this issue.

@markcmiller86
Copy link
Member

It may be the case that getting rid of the visit configuration files may solve this issue.

If so, that should be easily testable perhaps by manually creating the relevant parts of a config file and confirming both the bug and the fix.

If that confirms reproducibility as well as a work-around, I would declare the issue resolved...except maybe checking whether its still possible for a user to create a config file with the bad value in it from a current version of VisIt.

@atgrier
Copy link

atgrier commented Jan 12, 2024

I may have been the one who originally reported this. I am able to reproduce with Visit 3.4.0 on RZ even with the -noconfig argument. I've tied and gotten the same result with Exodus, Mili, and VTK databases. In my test case, I added a bounding box to a legend (causing it to disappear behind(?) the bounding box a la #19124), and then the triad lines also disappeared. I am using Visit over X11 to a Windows 10 machine. Opentext Exceed is the X Server. I've attached a printout of glxinfo.

glxinfo_grier1_rztrona_01122024.txt

I tried the same thing running in RZVNC and interestingly, the legend background did work i.e. the legend is still visible behind the solid color bounding box. But the triad lines still disappeared.

Also attached are an Exodus database that I tested with: merge_4.zip

@JustinPrivitera
Copy link
Member Author

#19614 has data that reproduces this.

@JustinPrivitera
Copy link
Member Author

JustinPrivitera commented Oct 3, 2024

Simple steps to repro:

  1. $ bin/visit -o testdata/silo_hdf5_test_data/curv3d.silo
  2. Add Pseudocolor plot of d
  3. Pull up annotation attributes and go to 3D tab
  4. Check "Set triad manually"
  5. Change line width to something else and then back to 1
  6. Click apply and triad lines are gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working engineering related to engineering project impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood reviewed Issue has been reviewed and labeled by a developer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants