Elvas Tower: Weird Graphics Problem - Elvas Tower

Jump to content

  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

Weird Graphics Problem Rate Topic: -----

#11 User is offline   systema 

  • Fireman
  • Group: Status: Active Member
  • Posts: 107
  • Joined: 16-March 15
  • Gender:Male
  • Location:The Heart of Cheshire
  • Simulator:Open Rails
  • Country:

Posted 02 August 2023 - 01:09 PM

I think there may also be a new problem with waiting points and or reverse points. I got a freeze and crash while testing an activity.

Log attached.Attached File  OpenRailsLogfreeze.txt (83.67K)
Number of downloads: 71

Mick Clarke
MEC

#12 User is offline   Eldorado.Railroad 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 982
  • Joined: 31-May 10
  • Gender:Male
  • Country:

Posted 02 August 2023 - 02:29 PM

1. Have you rebooted your O/S (cold)? Win10, forced update break things?

2. Failing hardware, RAM, GPU/RAM?

3. To narrow down what caused this you might have to do a bit of a binary search through the various testing releases, to see where it fails.

4. I, have looked at your log file, there is a lot of stuff being loaded at start up. Any bug(s) in the timetable data?

5. I keep my viewing distance way down, ViewingDistance, to about 2500 meters, this might help.

6. Things should not be broken like this, without an explanation. Sometimes we have to dig deeper to find what developer pulled what source and mangled things. That kind of inquisition could/may get sticky. Be prepared for some friction.

7. Maybe the answer is simple. Too many render primitives, etc? Some OR registry setting got flipped?

8. It is too bad that "upgrades" break things, and keep on breaking things. I do not like that. Often I just stick with some version and do my testing/experiments from there. But you have been with this project for many years, so I think you would know that.

Steve

#13 User is offline   cjakeman 

  • Vice President
  • PipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 2,868
  • Joined: 03-May 11
  • Gender:Male
  • Location:Peterborough, UK
  • Simulator:Open Rails
  • Country:

Posted 02 August 2023 - 11:25 PM

View Postcesarbl, on 02 August 2023 - 10:35 AM, said:

I always spend some time ensuring that my changes don't have a big impact, but sometimes I fail to do so. I apologize for that. I really appreciate when people report bugs in the forums, because I cannot test a feature in all existing rolling stock.

You're right, Cesar. Content is outside our control, so not everything can be tested before it's published. Inevitably our Open Rails project relies on prompt and specific feedback from our users.


View Postcesarbl, on 02 August 2023 - 10:35 AM, said:

However, I feel sad if instead of just reporting it, people write rage messages saying that we don't care about bugs.

Please don't stop contributing improvements; our project is benefiting from your expertise.

#14 User is offline   cjakeman 

  • Vice President
  • PipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 2,868
  • Joined: 03-May 11
  • Gender:Male
  • Location:Peterborough, UK
  • Simulator:Open Rails
  • Country:

Posted 02 August 2023 - 11:32 PM

View PostEldorado.Railroad, on 02 August 2023 - 02:29 PM, said:

3. To narrow down what caused this you might have to do a bit of a binary search through the various testing releases, to see where it fails.

Good advice, Steve, but we don't keep all the Testing Versions (although this is changing). However we do keep all the Unstable Versions, so the first step would be to find the last Unstable Version which doesn't have the problem and the first one that does.

If you can do that, Rob, then we can work through the PRs to see which one made the difference.

#15 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 02 August 2023 - 11:47 PM

View Postsystema, on 02 August 2023 - 01:09 PM, said:

I think there may also be a new problem with waiting points and or reverse points. I got a freeze and crash while testing an activity.

Log attached.Attachment OpenRailsLogfreeze.txt

Mick Clarke
MEC

The thread hang doesn't seem to be related to waiting points and reverse points. Looking at the log there are two hypotheses:
1) an unwanted loop in handling an animation of a steam locomotive
2) simply a temporary overload of the CPU.

#16 User is offline   cesarbl 

  • Conductor
  • Group: Status: Active Member
  • Posts: 395
  • Joined: 30-March 20
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 03 August 2023 - 12:49 AM

Quote

an unwanted loop in handling an animation of a steam locomotive

This is suspicious. I must have introduced a really naughty bug, but I'm yet unable to find it. I'm now inclined to think that NaN propagation is involved in the problem.

#17 User is offline   roeter 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,424
  • Joined: 25-October 11
  • Gender:Male
  • Country:

Posted 03 August 2023 - 01:09 AM

View PostEldorado.Railroad, on 02 August 2023 - 02:29 PM, said:

1. Have you rebooted your O/S (cold)? Win10, forced update break things?

2. Failing hardware, RAM, GPU/RAM?

3. To narrow down what caused this you might have to do a bit of a binary search through the various testing releases, to see where it fails.

4. I, have looked at your log file, there is a lot of stuff being loaded at start up. Any bug(s) in the timetable data?

5. I keep my viewing distance way down, ViewingDistance, to about 2500 meters, this might help.

6. Things should not be broken like this, without an explanation. Sometimes we have to dig deeper to find what developer pulled what source and mangled things. That kind of inquisition could/may get sticky. Be prepared for some friction.

7. Maybe the answer is simple. Too many render primitives, etc? Some OR registry setting got flipped?

8. It is too bad that "upgrades" break things, and keep on breaking things. I do not like that. Often I just stick with some version and do my testing/experiments from there. But you have been with this project for many years, so I think you would know that.

Steve


Re. points 1, 2, 4 and 5 : these can be discarded as both versions, old and new, are running now, in the same environment, using the same settings and data etc. So if any of these issues were the cause, both versions should be affected in the same manner.
Re. point 3 : see below
Re. points 6 and 8 : yes, I know - been there before.
Re. point 7 : it looks like that, but what has been changed to cause this?

View Postcjakeman, on 02 August 2023 - 11:32 PM, said:

Good advice, Steve, but we don't keep all the Testing Versions (although this is changing). However we do keep all the Unstable Versions, so the first step would be to find the last Unstable Version which doesn't have the problem and the first one that does.

If you can do that, Rob, then we can work through the PRs to see which one made the difference.


Sadly, that's not possible. I have worked on the new update for months, it comprises over 2000 lines of code changes. Also, the full timetable has been adapted to the new version, adding new commands to a very large number of trains, which took me weeks to complete.
To insert all those patches in previous unstable versions would be an immense task. Given the time required to set up the test for a specific unstable version, start the timetable and run to the required time which properly shows the problem, it would take at least a day for each unstable version to test.
To revert the timetable changes so it could work with the unaltered code would also take quite some time.
Due to the problems I had with GIT (as I explained elsewhere), I have allready spend months on this update, not making any progress, but simply to get things sorted out so the changes could be committed and made available to others. I am not going to spend some more months on this to sort out problems which are not of my making.
I can commit the changes to the latest version and leave it at that. I have a proper working version with which I am happy. We can then forget about this whole issue and pretent it does not exist.
Sorry if this sounds a bit harsh, but it's not the first time I am making efforts to share my progress by committing my latest changes, only to run into all kinds of issues which I have nothing to do with, but which take up a lot of my time to sort out. I do find this all rather frustrating.

Regards,
Rob Roeterdink

#18 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,491
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 03 August 2023 - 01:36 AM

View Postcjakeman, on 02 August 2023 - 11:32 PM, said:

Good advice, Steve, but we don't keep all the Testing Versions (although this is changing). However we do keep all the Unstable Versions, so the first step would be to find the last Unstable Version which doesn't have the problem and the first one that does.

If you can do that, Rob, then we can work through the PRs to see which one made the difference.

Although not announced yet, we have the last two years of Testing Versions available already. This was built for the new website. (We have the same setup for Unstable Versions going back to March, possibly further in the future.)

The Testing Version is by far the best option to find when a regression happened, since it can only move forward with new code merging, unlike the Unstable Version.

View Postroeter, on 03 August 2023 - 01:09 AM, said:

Sadly, that's not possible. I have worked on the new update for months, it comprises over 2000 lines of code changes. Also, the full timetable has been adapted to the new version, adding new commands to a very large number of trains, which took me weeks to complete.
To insert all those patches in previous unstable versions would be an immense task. Given the time required to set up the test for a specific unstable version, start the timetable and run to the required time which properly shows the problem, it would take at least a day for each unstable version to test.

You do not need to do anything with your code yet.

You (and anyone else experiencing an issue) should download and run the latest Testing Version, and then older Testing Versions, to see which ones have the issue.

No code changes, no development environment needed.

If you find the first Testing Version to have the issue, we'll have a much easier time of figure out the source and fix.

If you don't find any Testing Versions with the issue (especially if you wait a week), it is likely that your code and the rest of the code are interacting badly somewhere, which you'll have to figure out.

Note: Always start development from the "master" branch.

#19 User is offline   roeter 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,424
  • Joined: 25-October 11
  • Gender:Male
  • Country:

Posted 03 August 2023 - 02:09 AM

View PostJames Ross, on 03 August 2023 - 01:36 AM, said:

You (and anyone else experiencing an issue) should download and run the latest Testing Version, and then older Testing Versions, to see which ones have the issue.

No code changes, no development environment needed.


As I explained, I adapted the timetable to run with the update. Because of this, the timetable will no longer load with the old program versions. So I cannot run these tests without a lot of extra work.

Regards,
Rob Roeterdink

#20 User is offline   cjakeman 

  • Vice President
  • PipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 2,868
  • Joined: 03-May 11
  • Gender:Male
  • Location:Peterborough, UK
  • Simulator:Open Rails
  • Country:

Posted 03 August 2023 - 05:25 AM

Hi Rob,

View Postroeter, on 03 August 2023 - 02:09 AM, said:

As I explained, I adapted the timetable to run with the update. Because of this, the timetable will no longer load with the old program versions. So I cannot run these tests without a lot of extra work.


Does this graphic anomaly only appear then when you run the timetable to a certain point?

Attached Image: 2023-08-03 14_22_08-Weird Graphics Problem - Elvas Tower — Mozilla Firefox.jpg


I wonder what you see if you place the train at that location and run an un-adapted Testing Version in Explore mode.

  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users