Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Game crashes upon res change -Windows10

Author
Message
Master SeePlusPlus
11
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 3rd Sep 2015 00:31
Hello,

I have built a new PC and have Windows 10 on it. Now, a project that always worked on my Windows 8.1, although running on my desktop, crashes upon inputting desired resolution (in a res picker I created).

I tried using Synergy Editor, and nothing changed. It is only upon res change, and everything before it runs. One of my older applications does still run, but the current version of the game, prior to opening in the editor on windows 10, just crashes.

Any help is appreciated.

Thank you!
Kevin
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 3rd Sep 2015 02:04
Have you checked that your new rig supports the resolution you chose?



Powered by Free Banners
Master SeePlusPlus
11
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 3rd Sep 2015 04:06
Yeah, it is definitely 1920x1080
Master SeePlusPlus
11
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 3rd Sep 2015 04:28
I actually diagnosed it is further along, when I have my:

update physics
sync

command.

It crashes upon that sync.
Master SeePlusPlus
11
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 3rd Sep 2015 21:43
It is definitely crashing on sync. I have directx version 12.. does that have anything to do with it? Any help ASAP is greatly appreciated.
Ortu
DBPro Master
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 3rd Sep 2015 21:48
for one, you need 9.0c, it will install along side 12,

for another, does it run fine then crash after a resolution change or does it just crash on the first sync after setting the resolution only once at the start?

setting display mode will lose the d3d device and cause a crash in sync if the media isn't reloaded

Master SeePlusPlus
11
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 3rd Sep 2015 21:56 Edited at: 3rd Sep 2015 21:59
I actually set it a few times before hand:



then there is a bunch of regular code and at the end of the following block, it crashes on sync:



EDIT: Reminder, it works fine on my laptop. When I get back home on my desktop I will try co-installing Dx9.0C
EDIT2: Important to note, I don't turn off auto sync until AFTER the res changes!
Master SeePlusPlus
11
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 4th Sep 2015 02:08 Edited at: 4th Sep 2015 02:08
I installed directx 9.0c through http://www.microsoft.com/en-us/download/details.aspx?id=35 and still crash.
Mage
17
Years of Service
User Offline
Joined: 3rd Feb 2007
Location: Canada
Posted: 4th Sep 2015 07:32
Having been through this before, your best bet is to open a fresh project, make a spinning cube, and paste in your 'res picker' code or something similar.


On second thought, I'll also add this.

Your problem is showing all the symptoms of a 'lost screen device' / 'asset flush' scenario. It's not unlike when Full Screen projects are minimized, or a project is running while the screen/computer is locked.

You might have an effect, or an asset setup that has been deleted. It's entirely possible that Windows 10 changed the behavior of something.

For best results, as I mentioned 'proof of concept' the resolution changing in a fresh project.

Master SeePlusPlus
11
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 4th Sep 2015 08:35 Edited at: 4th Sep 2015 08:37
I actually just removed any syncs and turned auto sync with rate 60 on, and it runs except where I had an animation on a 3d object, I only hear it and cannot see it now. Not sure why it is not appearing nor why I can\'t manually sync it on windows 10.

EDIT: Later on, when I sync manually it crashes again. Definitely a sync issue.
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 4th Sep 2015 18:40
Have you tried deleting all the other code? In other words does something very simple like the following fail?





Powered by Free Banners
Gervais
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: Canada
Posted: 4th Sep 2015 20:58
Did you try to reinstall the Driver for your GPU Window 10 is installing its driver from MS not NVDIA this could be the source of the problem
Master SeePlusPlus
11
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 4th Sep 2015 21:01 Edited at: 4th Sep 2015 22:37
I'll try both of those in about an hour (when I get home). My graphics driver did install from MS so that could be it, but I will see if doing a simple sync works. If it does not, you may be right Gervais.


EDIT: The simple sync does work.. even after adding the update physics command. Just going to try reinstalling driver :\
Master SeePlusPlus
11
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 6th Sep 2015 00:38 Edited at: 6th Sep 2015 00:59
There was an update for my graphics for windows 10 I installed and that did not fix it.

This is actually more annoying than you can imagine since I just want to continue my game haha
Master SeePlusPlus
11
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 6th Sep 2015 10:56
I figured it out. It is because I am projecting an animation onto a 3d surface and I believe I am missing codecs required. Going to play around with that.

Login to post a reply

Server time is: 2024-03-28 18:44:48
Your offset time is: 2024-03-28 18:44:48