Help with Area Loading Issue

For Issues, Ideas, or Subjects That Do Not Fit Elsewhere

Moderators: Moderator, DM

NegInfinity
Posts: 2449
Joined: Wed Feb 05, 2014 11:24 am

Re: Help with Area Loading Issue

Unread post by NegInfinity »

Endelyon wrote:
NegInfinity wrote:
Maecius wrote:Hmm. I am running out of ideas then, unless your video card just can't process the textures Tfunke used in that specific map.

Maybe someone else who's had this issue before will be able to chime in with advice?
It is possible that he's simply running out of video memory, IMO. While ripping through BG haks (I was looking for racial 2das), there are a lot of *.tga textures and those will have HUGE memory footprint compared to dxt-compressed *.dds).

I had similar issues in corm op (or was it "corn op"?) areas in the past and in approach to darkhold (forgot what the area is called - not the darkhold itself, but area adjacent to it). Goes like this: suddenly you start seeing "missing texture" symbols under portraits and then huge portions of landscape just disappear. This is sometimes followed by a crash to desktop.
The dreaded Corm Orp bug. Is this still happening?
I don't know. I've experienced the issue several times back when the area was introduced, not sure if the problem still happens. "Sunset Mountains" area used to trigger the problem much more frequently.

I'm just thinking that the avernus problem OP experience is something similar.
User avatar
Aspect of Sorrow
Custom Content
Posts: 2702
Joined: Fri Mar 28, 2014 7:11 pm
Location: Reliquary

Re: Help with Area Loading Issue

Unread post by Aspect of Sorrow »

His card being IGP is UMA, unless he's running less than 4GB on the system I'm not sure memory is the issue, especially if he's reloaded straight to the area as mentioned regarding one of the reboots.
NegInfinity
Posts: 2449
Joined: Wed Feb 05, 2014 11:24 am

Re: Help with Area Loading Issue

Unread post by NegInfinity »

Aspect of Sorrow wrote:His card being IGP is UMA, unless he's running less than 4GB on the system I'm not sure memory is the issue, especially if he's reloaded straight to the area as mentioned regarding one of the reboots.
I was talking about video memory, not system memory. If he ran out of system memory, he'd crash to desktop immediately.

Integrated GPU using system ram doesn't really matter (well aside from the part that it'll be incredibly slow), since it treates portion of system memory AS video memory, because shared memory architecture on PC is not a thing at the moment, and d3d9 api doesn't care if GPU is integrated or not.

It is entirely possible to run out of allocated part of the "video" ram, especially if the game is full of *.tga textures which probably load as uncompressed 32bit per pixel. A texture in nwn2 most likely takes width * height * 4 (4 bytes per pixel) * 2 (because mipmaps) bytes, which is quite a lot. If the created texture was loaded with d3dpool_managed, then it also creates duplicate insystem memory as well (in order to recover from devicelost situations).

The other possibility would be a broken shader, but if he sees the rest of the game, it shouldn't be the case, unless area builder decided to use something unusual specifically in avernus.
User avatar
Aspect of Sorrow
Custom Content
Posts: 2702
Joined: Fri Mar 28, 2014 7:11 pm
Location: Reliquary

Re: Help with Area Loading Issue

Unread post by Aspect of Sorrow »

NegInfinity wrote:I was talking about video memory, not system memory. If he ran out of system memory, he'd crash to desktop immediately.
I'm aware, as contextually that was commented on accurately on my post.
NegInfinity wrote:Integrated GPU using system ram doesn't really matter (well aside from the part that it'll be incredibly slow), since it treates portion of system memory AS video memory, because shared memory architecture on PC is not a thing at the moment, and d3d9 api doesn't care if GPU is integrated or not.
1. The UMA is still approximately 6 gbps on anything past the Nehalem arc. Not as fast as dedicated cards but no sloth either.
2. The d3d9 statement wasn't contextually about being integrated, it was about the renderer using nvidia specific logic on top of it, as accurately described on my post.
NegInfinity wrote:It is entirely possible to run out of allocated part of the "video" ram, especially if the game is full of *.tga textures which probably load as uncompressed 32bit per pixel. A texture in nwn2 most likely takes width * height * 4 (4 bytes per pixel) * 2 (because mipmaps) bytes, which is quite a lot. If the created texture was loaded with d3dpool_managed, then it also creates duplicate insystem memory as well (in order to recover from devicelost situations).
The vast majority of TGAs in NWN are 24bit without alpha channel.
Beregost is ~ 360 MB of memory.
Avernus is ~ 352 MB of memory.
Sshamath is ~ 378 MB of memory.

If he can load Sshamath but can't load Avernus, something tells me it's not the memory. Areas for BGTSCC are pruned down to specific expectations for these reasons by Duster and Tfunke.
NegInfinity wrote:The other possibility would be a broken shader, but if he sees the rest of the game, it shouldn't be the case, unless area builder decided to use something unusual specifically in avernus.
This is a good possibility too. Broken and unsupported shaders using newer SM logic against older hardware is a fast way of mucking up a lot of things.
NegInfinity
Posts: 2449
Joined: Wed Feb 05, 2014 11:24 am

Re: Help with Area Loading Issue

Unread post by NegInfinity »

Aspect of Sorrow wrote: 2. The d3d9 statement wasn't contextually about being integrated, it was about the renderer using nvidia specific logic on top of it, as accurately described on my post.
I highly doubt that this game "uses Nvidia specific logic". D3D9 (uised by nwn2) is hardware neutral and does not really have a mechanism for extensions. If it were running under OpenGL, that would be a different story. The only nvidia extension for d3d from back then was depth shadowmaps and it doesn't look like nwn2 uses that. Also it wouldn't cause objects to disappear.

Buggy/outdated driver is a possibility, though.
------
Either way, I do not like discussing technical things on bgtscc. Mostly because this is not why I'm here.

OP should check his drivers.

Return to “General Discussion”