Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Wed Nov 13, 2024 6:49 am
All times are UTC + 0
Error with clientdx.exe on Win7
Moderators: Dawn of the Tiberium Age Staff
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Mon Jan 07, 2019 6:10 pm    Post subject:  Error with clientdx.exe on Win7 Reply with quote  Mark this post and the followings unread

DTA.exe is launching clientdx.exe by default which is giving error on DTA versions of 1.175o through 1.176q (Win7 x64). Last working clientdx.exe is in DTA ver 1.174y. Clientxna.exe and clientogl.exe works fine. Also the same new clientdx.exe from DTA v1.176q works fine on Win10.



DTAClientdxError.jpg
 Description:
 Filesize:  44.23 KB
 Viewed:  3924 Time(s)

DTAClientdxError.jpg



Back to top
View user's profile Send private message
^Rampastein
Rampastring


Joined: 11 Oct 2008
Location: Gensokyo

PostPosted: Mon Jan 07, 2019 6:17 pm    Post subject: Reply with quote  Mark this post and the followings unread

Most likely a graphics card / driver compatibility issue with the newer version of MonoGame that is used from version 1.175o onwards. I'm planning on making the client detect this crash and redirect to launching clientxna.exe instead.

_________________
CnCNet Client | CnCNet TS patches | More Quality-of-Life Improvements for RA Remastered


Back to top
View user's profile Send private message ModDB Profile ID Facebook Profile URL
E1 Elite
General


Joined: 28 May 2013

PostPosted: Tue Jan 08, 2019 3:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

Updated DirectX 11 to its latest version 11.1 (Windows6.1-KB2670838-x64.msu for Win7). Now clientdx.exe from DTA v1.176q works fine.

Back to top
View user's profile Send private message
^Rampastein
Rampastring


Joined: 11 Oct 2008
Location: Gensokyo

PostPosted: Fri Jan 11, 2019 12:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

DTA.exe will start detecting this DeviceRemoved error with the next update and will forward users suffering from it to using the XNA version of the client instead.

_________________
CnCNet Client | CnCNet TS patches | More Quality-of-Life Improvements for RA Remastered


Back to top
View user's profile Send private message ModDB Profile ID Facebook Profile URL
E1 Elite
General


Joined: 28 May 2013

PostPosted: Sun Jan 13, 2019 10:02 am    Post subject: Reply with quote  Mark this post and the followings unread

Tested with DTA 1.176u for DirectX 11.0 and 11.1 cases.

The Directx 11.0 incompatibility change passes the current try catch test code in DXMainClient\DXGUI\GameClass.cs, doesn't generate exception and never creates .dxfail file, so clientdx.exe launches and gives crash as before.

I have modified that source file to generate exception where it happens for the Directx 11.0 case and switch to XNA. Attaching it.

Switching to xna (DTA.exe change) works when there is a .dxfail file present.

Also, when properly exiting the client, the .dxfail file should be removed, let it check and create that file on every client run if there is DX problem, so that when I update to Directx 11.1, it should be able to launch clientdx.exe instead of clientxna.exe.



DXMainClient.zip
 Description:
Changed source file.

Download
 Filename:  DXMainClient.zip
 Filesize:  2.87 KB
 Downloaded:  43 Time(s)


Back to top
View user's profile Send private message
^Rampastein
Rampastring


Joined: 11 Oct 2008
Location: Gensokyo

PostPosted: Sun Jan 13, 2019 12:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ah, so creating a texture works but loading a texture is where it fails? Previously someone on ModDB sent me a log file where it failed in Texture2D.SetData, so I thought that was enough.

Quote:
Also, when properly exiting the client, the .dxfail file should be removed, let it check and create that file on every client run if there is DX problem, so that when I update to Directx 11.1, it should be able to launch clientdx.exe instead of clientxna.exe.


I thought of this but I'm worried about increasing the client's startup time if it always goes through DTA.exe -> clientdx.exe -> DTA.exe -> clientxna.exe.

Thanks for testing, btw!

_________________
CnCNet Client | CnCNet TS patches | More Quality-of-Life Improvements for RA Remastered


Back to top
View user's profile Send private message ModDB Profile ID Facebook Profile URL
E1 Elite
General


Joined: 28 May 2013

PostPosted: Sun Jan 13, 2019 3:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

^Rampastein wrote:
Ah, so creating a texture works but loading a texture is where it fails?

Yes, no crash on Texture2D.SetData but crashes on loading the first texture PNG file (checkBoxClear.png) with DirectX 11.0.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.2695s ][ Queries: 14 (0.0121s) ][ Debug on ]