gregkwaste / NMSMV

35 stars 7 forks source link

Instant freeze on startup #3

Closed ElBretzelito closed 1 year ago

ElBretzelito commented 2 years ago

Hi I tried every version, but they all do the same thing. I get the "Do you have unpacked game files?" window, but it doesn't matter what I answer. After that I can only see the black background of the mv appearing, the white areas around it where features should appear, but nothing loads, the program just freezes. If I wait long enough, I'll finally have the "NMSMV Has stopped working". Same computer as I play nms on, so I assume it's more than strong enough for a mv. I'm on windows 10

The only videos I could find about your model viewer were DaveUK's , and it seems like most people in the comments were running it with no issue. But I've seen two comments talking having similar probems to mine, and nobody seems to have found a solution.

jackcarey commented 2 years ago

I'm running into a similar issue with 0.90.7 & 0.90.7-hotfix on Windows 11. A blank white window loads, CPU & RAM get very high, then nothing happens no matter how long I leave it.

0.90.6 is a little better, asking me if I have any unpacked game files before it also freezes

gregkwaste commented 1 year ago

Sorry for the late reply @ElBretzelito, @jackcarey you can attach your log.out files just to see if the app indeed hung at some point.

At startup, after the app identifies the NMS installation directory, it tries to cache the contents of all the .pak files of the game. That may cause the app to hang but in reality it works on the pak files in the background.

Also I highly recommend you get the new version 0.91.1 which has received a lot of upgrades (moved to NET 6.0) with regards to rendering performance and some bug fixes related to other crashes.

Note that the new version is trying to work on the PAK files asynchronously so it should not cause any hangs (theoretically). In my case, with the game installed on an SSD this doesn't take more than 3-4 seconds for the process to finish.

TalonGrayson commented 1 year ago

Hey @gregkwaste - I'm late to the party, but I'm experiencing the same thing on Windows 11, NMSMV v0.91.1.

I've never done this before, so I'm not sure whether this is a user error. So, here's some info:

Prior to installing:

Installation

First run

Result

Any help would be greatly appreciated 😄

gregkwaste commented 1 year ago

Hi there, thank you for the detailed report. Apparently the log.out was enough to figure out the issue XD

Rhetorical question @TalonGrayson, are you using an AMD graphics card?

TalonGrayson commented 1 year ago

Apparently the log.out was enough to figure out the issue XD

Ha, oh well, better to have too much info than too little I guess!

Rhetorical question @TalonGrayson, are you using an AMD graphics card?

Yeah, I am...

gregkwaste commented 1 year ago

Apparently the log.out was enough to figure out the issue XD

Ha, oh well, better to have too much info than too little I guess!

Rhetorical question @TalonGrayson, are you using an AMD graphics card?

Yeah, I am...

Open Bound_FS.glsl and delete line 10 : uniform vec3 color;

Restart the app.

Apparently the AMD driver does not like unused uniforms -.-

I'll push this fix on the next release

TalonGrayson commented 1 year ago

That fixed it for me. Thank you very, very much!

gregkwaste commented 1 year ago

I'm closing this issue. If you guys @ElBretzelito , @jackcarey still got any issues please open a new ticket.