Microsoft.Xna.Framework.Graphics.OutOfVideoMemoryException at ORTS.Viewer3D.PrecipitationPrimitive..ctor (X3186, Marias Pass 3.1, All the Way West)

Bug #1471414 reported by John Baldwin
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
High
Edward Keenan

Bug Description

Just updated to X3186. Running Marias Pass 3.1. This ran successfully on X3148 or so (was a Friday release).

I have tried rebooting: No joy. Log file enclosed.

Tags: crash graphics
Revision history for this message
John Baldwin (jbnx42) wrote :
Revision history for this message
John Baldwin (jbnx42) wrote :

Further information: I found that this breaks for me with version X3182. X3181 works ok; X3182 fails as above.

I see that x3182 introduced the new precipitation model and there were discussions on Elvas Tower about running out of memory, so I am afraid that is exactly what happened n my case.

Furthermore I see there was a discussion regarding LAA and non-LAA, so I tried that: LAA fails on my machine; non-LAA *WORKS* on my machine.

Let me know how I can help on this one. I think I can compile source code if you need me to. This coming week will be especially busy, but I will do my best to turn around with answers within 24 hours.

Hope this helps, John

James Ross (twpol)
summary: - X3186 on RunActivityLAA.exe:
- Microsoft.Xna.Framework.Graphics.OutOfVideoMemoryException
+ Microsoft.Xna.Framework.Graphics.OutOfVideoMemoryException at
+ ORTS.Viewer3D.PrecipitationPrimitive..ctor (X3186, Marias Pass 3.1, All
+ the Way West)
tags: added: crash graphics
Changed in or:
status: New → Triaged
Revision history for this message
Edward Keenan (edwardk) wrote :

John,

What video card are you using? A previous posted problem indicated that a AMD card was used.

Edward K.

Revision history for this message
John Baldwin (jbnx42) wrote :

This is a HP Pavilion dv6-6120us laptop using Intel graphics

From MSinfo32:
OS Name Microsoft Windows 7 Home Premium
Version 6.1.7601 Service Pack 1 Build 7601
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name DV6-6120US
System Manufacturer Hewlett-Packard
System Model HP Pavilion dv6 Notebook PC
System Type x64-based PC
Processor Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz, 2100 Mhz, 2 Core(s), 4 Logical Processor(s)
BIOS Version/Date Hewlett-Packard F.1B, 10/5/2011
SMBIOS Version 2.7

Video:
Name Intel(R) HD Graphics Family
PNP Device ID PCI\VEN_8086&DEV_0116&SUBSYS_1658103C&REV_09\3&11583659&0&10
Adapter Type Intel(R) HD Graphics Family, Intel Corporation compatible
Adapter Description Intel(R) HD Graphics Family
Adapter RAM 1.76 GB (1,885,265,920 bytes)
Installed Drivers igdumd64.dll,igd10umd64.dll,igd10umd64.dll,igdumdx32,igd10umd32,igd10umd32
Driver Version 8.15.10.2372
Driver c:\windows\system32\drivers\igdkmd64.sys (8.15.10.2372, 11.66 MB (12,228,128 bytes), 4/15/2011 6:08 PM)

Hope this helps, John

Revision history for this message
John Baldwin (jbnx42) wrote : Re: [Bug 1471414] Re: Microsoft.Xna.Framework.Graphics.OutOfVideoMemoryException at ORTS.Viewer3D.PrecipitationPrimitive..ctor (X3186, Marias Pass 3.1, All the Way West)

Hi Edward,
I answered fully at Launchpad. Basically, its a HP Pavilion dv6-6120us with Intel Graphics.
Thanks, John
      From: Edward Keenan <email address hidden>
 To: <email address hidden>
 Sent: Sunday, July 5, 2015 6:38 PM
 Subject: [Bug 1471414] Re: Microsoft.Xna.Framework.Graphics.OutOfVideoMemoryException at ORTS.Viewer3D.PrecipitationPrimitive..ctor (X3186, Marias Pass 3.1, All the Way West)

John,

What video card are you using? A previous posted problem indicated that
a AMD card was used.

Edward K.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1471414

Title:
  Microsoft.Xna.Framework.Graphics.OutOfVideoMemoryException at
  ORTS.Viewer3D.PrecipitationPrimitive..ctor (X3186, Marias Pass 3.1,
  All the Way West)

Status in Open Rails:
  Triaged

Bug description:
  Just updated to X3186. Running Marias Pass 3.1. This ran successfully
  on X3148 or so (was a Friday release).

  I have tried rebooting: No joy. Log file enclosed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/or/+bug/1471414/+subscriptions

Revision history for this message
Edward Keenan (edwardk) wrote :

John,

Another post indicated that a viewing distance was set at the max which is 10000 meters and this is with problems. Where is yours currently set at? Try experimenting with the viewing distance to see if this helps clear the problem.

Edward K.

Revision history for this message
John Baldwin (jbnx42) wrote :

The viewing distance was set at 2000 (m). That was the setting where the initial error occurred.

The error still occurs at the minimum 500m (can't set lower than this)

Let me know what else I can do for you. Thanks, John

Revision history for this message
Edward Keenan (edwardk) wrote :

John,

look for post Out of memory exception under the bug section and post your findings. Under that post, I upload test files that allows for the setting of the precipitation box. Do you already know about those test files?

Edward K.

Revision history for this message
Edward Keenan (edwardk) wrote :

The issue on hand is more than likely caused by the fragmentation of unmanaged memory.

Revision history for this message
John Baldwin (jbnx42) wrote :

Edward, can you clarify the post you want me to look at? I can't find what you are requesting.
Thanks,
John

Revision history for this message
John Baldwin (jbnx42) wrote :

After a bit of searching, dicovered that Edward was refering to a post on Elvas Tower http://www.elvastower.com/forums/index.php?/topic/27035-out-of-memory-exception/

Post number 34 on that thread has modified code based on x3190. Briefly, that code DOES WORK!

Updated to regular x3190: Did not work (same as before)
Overlaid new files from post mentioned above and it did work with default settings.

The full log file is attached. Some new information from that log:
-----
Information: Allocation for 49,999 particles:

      7,999,840 B RAM vertex data
      1,199,976 B RAM index data (temporary)
      7,999,840 B VRAM DynamicVertexBuffer
      1,199,976 B VRAM IndexBuffer
-----
I will try more activities next week. I'll also put a post at the Elvas Tower thread mentioning this.

Thanks,
John

Revision history for this message
John Baldwin (jbnx42) wrote :

Changed status to fix committed. This was fixed as of X3192. See the Elvas Tower thread for further info.

Changed in or:
status: Triaged → Fix Committed
James Ross (twpol)
Changed in or:
importance: Undecided → High
assignee: nobody → Edward Keenan (edwardk)
milestone: none → 1.1
James Ross (twpol)
Changed in or:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.