PDA

View Full Version : ResetDevice and Alt+Tab errors


Nashobaoka
04-23-2022, 07:21 AM
AMD 5950X
Nvidia 2080 Super
AMD x570 motherboard

fresh Windows 10 with all current updates
fresh titanium install w/ current p99 files
dgVoodoo2 v78.2 (not sure if i installed this correctly do i replace the vanilla eqd3d .dll files or just drop the dgv2 d3d dll's in?)

tried all compatability modes
on/off full screen optimization

dbg.txt:
2022-04-23 03:14:35 Timezone: UTC-8h00m
2022-04-23 03:14:35 Loading graphics DLL.
2022-04-23 03:14:35 Parsing INI file .\eqclient.ini
2022-04-23 03:14:35 INI file .\eqclient.ini loaded.
2022-04-23 03:14:36 Initializing timers.
2022-04-23 03:14:39 Checking critical files.
2022-04-23 03:14:39 Initializing WinSock.
2022-04-23 03:14:39 Enumerating 3D devices.
2022-04-23 03:14:39 Found adapter #0 - NVIDIA GeForce RTX 2080 SUPER (17479.2.7.0008)
2022-04-23 03:14:39 Adapter #0 - NVIDIA GeForce RTX 2080 SUPER :
2022-04-23 03:14:39 32Bit = 1, D32 = 1, D24 = 1, D16 = 1
2022-04-23 03:14:39 16Bit(565) = 1, D32 = 1, D24 = 1, D16 = 1
2022-04-23 03:14:39 16Bit(1555) = 1, D32 = 1, D24 = 1, D16 = 1
2022-04-23 03:14:39 Initializing keypress handler.
2022-04-23 03:14:39 Parsing INI file .\defaults.ini
2022-04-23 03:14:39 INI file .\defaults.ini loaded.
2022-04-23 03:14:39 Loading keyboard tables.
2022-04-23 03:14:39 Creating window.
2022-04-23 03:14:39 Checking display driver version.
2022-04-23 03:14:40 Activating window.
2022-04-23 03:14:40 Picking a default resolution, desktop is 3840 x 2160, 32 bits
2022-04-23 03:14:40 Ratio is 1.78
2022-04-23 03:14:40 Resolution was capped at 1280 x 720
2022-04-23 03:14:40 Resolution verified 1280 x 720, 32 bits ... diff was 1000 from 0 modes
2022-04-23 03:14:40 Resolution selected 1280 x 720, 32 bits
2022-04-23 03:14:40 CRender::InitDevice: Using 32bit mode.
2022-04-23 03:14:40 CRender::InitDevice: Using vsync 0.
2022-04-23 03:14:40 CRender::InitDevice: Using 24bit depth buffer with 8 bit stencil.
2022-04-23 03:14:40 CRender::InitDevice: HardwareTnL Enabled.
2022-04-23 03:14:40 Using hardware vertex shaders.
2022-04-23 03:14:40 Initializing render system.
2022-04-23 03:14:40 Trilinear Mipmapping available.
2022-04-23 03:14:40 Vertex Shader Version: 3.0
2022-04-23 03:14:40 Pixel Shader Version: 3.0
2022-04-23 03:14:40 Initializing engine internals.
2022-04-23 03:14:40 CRender::InitDevice completed successfully.
2022-04-23 03:14:40 Parsing INI file ./eqlsUIConfig.ini
2022-04-23 03:14:40 INI file ./eqlsUIConfig.ini loaded.
2022-04-23 03:18:10 CRender::ResetDevice: Retrying without lockable backbuffer.
2022-04-23 03:18:10 CRender::ResetDevice: Reset failed.

The game will load and run in a window fine.
If I Alt+Enter while in windowed mode to switch to full screen or Alt+Tab i get the ResetDevice(0) error, if i Alt+Enter at the server selection screen to go full screen i get a memory access error https://imgur.com/a/Qyqv626
the problem with windowed mode is the ui does not scale well with my 4k TV in 3840 x 2160p, i can barely see anything on the ui at that resolution , exiting the game causes a black screen crash and hangs the app, where i have to logout of windows to fix it.
Forcing the game to run fullscreen works until i attempt to enter world on any character which crashes the game immediately
only things i can think of is maybe a file is corrupt or security settings are being problematic.

I will try a titanium resinstall to a different location than ProgramFiles(x86) after posting this

Nashobaoka
04-23-2022, 08:24 AM
after uninstalling titanium i went through the leftover files and saw there were d3d errors, i installed the Direct X webinstaller for windows 10 directly from microsoft https://www.microsoft.com/en-us/download/details.aspx?id=35, installed titanium and only the direct x webinstaller, i was able to login in and enter the world into faydwer and zoned into felwithe, talked to my guy at the bank (we go way back) and camped which lead to a crash with a crash diaglog box which closed the game without hanging, probably due to security settings in windows

2022-04-23 05:04:14 fatal error in main thread Code = c0000005 ADDR=0x00518e3c
2022-04-23 05:04:14
2022-04-23 05:04:14 EAX=19efffb0 EBX=00000000 ECX=1127a978 EDX=00000000
2022-04-23 05:04:14
2022-04-23 05:04:14 ESI=1127a978 EDI=1a05901c EBP=0019e2fc ESP=0019e2ac
2022-04-23 05:04:14
2022-04-23 05:04:14 Process was trying to WRITE invalid data.
2022-04-23 05:04:14
2022-04-23 05:04:14 Invalid access occurred at virtual address 0x19f000dc.
2022-04-23 05:04:14
2022-04-23 05:04:14 Fatal error occurred in mainthread! (Release Client #630)

Simani
04-23-2022, 10:32 AM
try this in your eqclient.ini


[VideoMode]
WindowedWidth=1768
WindowedHeight=992
Width=800
Height=600
FullscreenBitsPerPixel=32
FullscreenRefreshRate=0
WidthWindowed=800
HeightWindowed=600

Nashobaoka
04-23-2022, 11:42 AM
try this in your eqclient.ini


[VideoMode]
WindowedWidth=1768
WindowedHeight=992
Width=800
Height=600
FullscreenBitsPerPixel=32
FullscreenRefreshRate=0
WidthWindowed=800
HeightWindowed=600

tried that, it made the game hang with a black screen upon start up, did not even get to the loading screen before server selection

mcoy
04-23-2022, 11:51 AM
1. Make sure EQ is not in a protected directory such as "program files" - move it to anywhere else x:\games\everquest - whatever.

2. If you're crashing on camping use xp compatibility mode (for either sp2 or sp3 - try both) on eqgame.exe

3. to install dgvoodoo2 you simply copy the files into your eq directory. You don't need to touch any existing files. You may want to use the config exe or edit the INI to remore the watermark from the lower-right corner after you get it working (useful at first so you know its working).

4. Your original error is along the lines Simani was working - your windowed/fullscreen resolution is invalid for the client. It works best with 4:3 aspect ratios and then you can tweak it to your heart's content once you get it working. I find it works best to get it stable in a window, and then start playing with the fullscreen resolutions in the ini until you find both a windowed and fullscren res you can live with.

-Mcoy

Nashobaoka
04-23-2022, 12:15 PM
1. Make sure EQ is not in a protected directory such as "program files" - move it to anywhere else x:\games\everquest - whatever.

2. If you're crashing on camping use xp compatibility mode (for either sp2 or sp3 - try both) on eqgame.exe

3. to install dgvoodoo2 you simply copy the files into your eq directory. You don't need to touch any existing files. You may want to use the config exe or edit the INI to remore the watermark from the lower-right corner after you get it working (useful at first so you know its working).

4. Your original error is along the lines Simani was working - your windowed/fullscreen resolution is invalid for the client. It works best with 4:3 aspect ratios and then you can tweak it to your heart's content once you get it working. I find it works best to get it stable in a window, and then start playing with the fullscreen resolutions in the ini until you find both a windowed and fullscren res you can live with.

-Mcoy

First i set the compatibility setting back to windows xp sp2, then when i camped it did not crash, i was able to get back to the character select screen, clicking quit caused a black screen and the program to hang on a loop, so.. next i dropped the dgvoodoo2 files (v78.2) in the folder and now it works so far without a problem, i did not edit the eqclient.ini i will tweak that later if necessary.

Thank you both for helping me!

bomaroast
04-23-2022, 12:42 PM
I keep a copy of DirectX9.0c around just for P99. I think the modern DirectX are backwards compatible, so it must just be in my head, but installing the old DirectX seems to help with crashes.

Also, WinEQ2 seems to make things more stable.

Nashobaoka
04-24-2022, 12:35 PM
I keep a copy of DirectX9.0c around just for P99. I think the modern DirectX are backwards compatible, so it must just be in my head, but installing the old DirectX seems to help with crashes.

Also, WinEQ2 seems to make things more stable.

Apparently according to microsoft the direct x that comes with windows 10 needs to be updated to support earlier versions of direct x v6-9c, i just came back to p99, last time i played was near the end of 2019 and was using older hardware from 2013, but now everything work, no app hang or crashes yet.