CXWorld / CapFrameX

Frametime capture and analysis tool
Other
830 stars 36 forks source link

App crash on start. #212

Closed Nerboruto closed 1 year ago

Nerboruto commented 2 years ago

i was unable to resolve.. 1 2 3

DevTechProfile commented 2 years ago

Try build no. 63.

https://archive.capframex.com/

Nerboruto commented 2 years ago

Try build no. 63.

https://archive.capframex.com/

it gives the same errors...

System.Runtime.InteropServices.SEHException in OpenHardwareMonitor.Hardware.CPU.GenericCPU.GetTimeStampCounterFrequency() in OpenHardwareMonitor.Hardware.CPU.GenericCPU.EstimateTimeStampCounterFrequency(Double ByRef, Double ByRef) in OpenHardwareMonitor.Hardware.CPU.GenericCPU..ctor(Int32, OpenHardwareMonitor.Hardware.CPU.CPUID[][], OpenHardwareMonitor.Hardware.ISettings) in OpenHardwareMonitor.Hardware.CPU.IntelCPU..ctor(Int32, OpenHardwareMonitor.Hardware.CPU.CPUID[][], OpenHardwareMonitor.Hardware.ISettings, CapFrameX.Monitoring.Contracts.ISensorConfig) in OpenHardwareMonitor.Hardware.CPU.CPUGroup..ctor(OpenHardwareMonitor.Hardware.ISettings, CapFrameX.Monitoring.Contracts.ISensorConfig) in OpenHardwareMonitor.Hardware.Computer.set_CPUEnabled(Boolean) in CapFrameX.Sensor.SensorService.b__39_0() in System.Threading.Tasks.Task.Execute() in System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) in System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) in System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) in System.Threading.Tasks.Task.ExecuteEntry(Boolean) in System.Threading.ThreadPoolWorkQueue.Dispatch()

DevTechProfile commented 2 years ago

Please check C:\Program Files (x86)\CapFrameX. Does the folder include CapFrameX.Hwinfo.dll?

Nerboruto commented 2 years ago

Yes it is present, 11kb dll i had also tried hwinfo the program thinking that something was missing installed. could it be the fault of some disabled service? I saw in the folder that each dll has its own .pdb except hwinfo

DevTechProfile commented 2 years ago

OK, build no. 64: https://archive.capframex.com/

I am using now the default exception handling. QueryPerformanceCounter/QueryPerformanceFrequency exception were not handled by the old approach.

But I have to say, the error is really weird. Do you have disabled any high precision timers on your machine?

Nerboruto commented 2 years ago

always the same 3 errors... high precision timers enabled in device manager although strangely it says no driver loaded, but it is not marked with an exclamation point and I see at irq resources and memory range is an old pc but working core2duo, maybe it's hpet's fault?

Nerboruto commented 2 years ago

well i looked in the pc and i remembered that this was entered at startup ... bcdedit /set disabledynamictick yes bcdedit /set useplatformclock true but for a very specific reason, the pc has overclocked system bus from 266 to 320mhz, if i remove it speed detection is inaccurate and it happens that in games or if i watch a movie with vlc the timing is wrong and you go to stuttering. is this the fault? timer

Nerboruto commented 2 years ago

can't somehow fix it? I would like to be able to use this software. thank you

DevTechProfile commented 2 years ago

I have tought about the problem for a while. There is proper exception handling and error management in the code. Tbh, I don't know why CX crashes on your machine.

Nerboruto commented 2 years ago

I also tried it on another non-recent xeon e5450 pc and it crashes the same... i try to install netframework 6 runtime x86 and x64... same error... :(

DevTechProfile commented 2 years ago

What OS is installed on your machine? Do you use the CapFrameX installer or portable version?

Nerboruto commented 2 years ago

WINDOWS 10 10.0.19041.804 CORE 2 DUO WINDOWS 10 10.0.19041.573 xeon I have tried both but they give the exact same errors on these machines everything runs, it is the first time that I have a software that does not even open ... I thought I had found the definitive benchmark software please helpme...

Nerboruto commented 2 years ago

i'm doing windows updates, let's see what happens.

Nerboruto commented 2 years ago

updated to win10 ver 10.0.19044.1288 same errors app crash...

DevTechProfile commented 2 years ago

I have an old Core2Duo here. Maybe I am gonna look at it next week.

Nerboruto commented 2 years ago

bcdedit /set disabledynamictick yes bcdedit /set useplatformclock true

this is not that cause problem, removed does not change anything Nuova immagine bitmap .

Nerboruto commented 2 years ago

I updated motherboard and processor with a xeon v3 haswell, and I hope it works for me now, otherwise it means that something on the OS is not working correctly ... today I will try it again.

DevTechProfile commented 2 years ago

Maybe you should try a fresh install.

DevTechProfile commented 2 years ago

Anything new on the issue here? Would like to close it.

Nerboruto commented 2 years ago

no please, I still have to do the tests ... I have the fresh install to try I think the problem is only on the old cpu

Nerboruto commented 2 years ago

made several tests with the portable version, he started quietly saddles other machines. the problem is just specific to those old cpu. the OS has nothing to do with it.

fx8300 am3 ok work on old windows10 hdd athlon x4 fm2 ok work on fresh install w10 xeon e3-1230v3 lga1150 ok work on old windows10 hdd

intel e6700 775 not work fresh install w10 xeon e5450 775 not work old windows10 hdd intel e7600 775 not work old windows10 hdd

I had thought that the problem could be related to the WinRing0 dll.

DevTechProfile commented 2 years ago

I have a Core 2 Quad Q6600 here. Gonna check that. At the end a solution could be to disable sensor readings on such old CPUs.

Nerboruto commented 2 years ago

any news? i parked the old pc waiting for this software ...

DevTechProfile commented 1 year ago

Unfortunately, I had no time to check that issue on the 2 Quad Q6600. Because of very restricted time I won't check that further, sorry.