Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#852 because closed before fixed #860

Closed
destroyer667 opened this issue Jan 26, 2021 · 8 comments
Closed

#852 because closed before fixed #860

destroyer667 opened this issue Jan 26, 2021 · 8 comments

Comments

@destroyer667
Copy link

destroyer667 commented Jan 26, 2021

I have now tested version dev1926 on several different Windows 10 machines.
Unfortunately, I still have the problem that the menu can not be used and that the windows turn white with each popup.
All computers have Windows 10 64 bit version 2004 (build 19041.746) and Microsoft Office 2019 installed.
The console also shows the same errors on all computers when starting:

Toffi konsole fehler

I do not know what is meant by this could be a dwm failure and how or if it can be fixed.

I hope it can be fixed and thank you in advance.

note: since dev1917 the user.exe16 file no longer works my program says i need a licensed 3.1 version to run the program i always have to use an older version of the file

@cracyc
Copy link
Contributor

cracyc commented Jan 27, 2021

@destroyer667
Copy link
Author

destroyer667 commented Jan 27, 2021

Thanks it works all failures are fixed 👍
one more question the program runs very slowly some functions or windows need 2-4min to open. Is it possible to do something to it otherwise it seems to run perfectly :)
e.g. the window "Seriennummern" under the menu item "Reports" takes about 10 seconds to open under Windows XP and 4-5 minutes under Windows 10.
The CPU usage of the otvdm.exe is max 32% which is also the total usage. would not mind if it consumes over 70% if it runs faster.

@cracyc
Copy link
Contributor

cracyc commented Jan 27, 2021

Since you have windows 10 you can use whpx, see #699, or haxm if you have an intel cpu. The program is single threaded and uses peekmessage so it'll always use all of one cpu core. That's actually bad as it will make your cpu hot so you might want to try setting peekmessagesleep in otvdm.ini.

@destroyer667
Copy link
Author

Since you have windows 10 you can use whpx, see #699, or haxm if you have an intel cpu. The program is single threaded and uses peekmessage so it'll always use all of one cpu core. That's actually bad as it will make your cpu hot so you might want to try setting peekmessagesleep in otvdm.ini.

sorry i don't understand how to use/enable whpx in ovtm. can you possibly explain? is there a difference between otvdm.exe and otvdmw.exe besides the console because with otvdm.exe some databases don't load that with otvdm.exe.

@cracyc
Copy link
Contributor

cracyc commented Jan 27, 2021

Read the linked thread for the options in Windows Features and the needed dll package then add vm=whpxvm.dll to otvdm.ini.

is there a difference between otvdm.exe and otvdmw.exe besides the console because with otvdm.exe some databases don't load that with otvdm.exe.

Other than the console window and as long as everything else is the same there should be no difference between then.

@destroyer667
Copy link
Author

destroyer667 commented Jan 28, 2021

is there a CPU limit? I'm just surprised that in Windows XP with the same hardware 70% of the CPU is used by the program and under windows 10 only 30%.

It doesn't seem to matter what you set in the "otvdm.ini" it always takes 2 minutes 40 seconds (time stopped) to open the "serial numbers" window. can it be that the access to the MSaccses databases is too slow?
if both exe files are the same except for the "console" then I don't understand why the "Install (no console).ink" doesn't load the data under "Stammdaten" -> "Vorgang" but the "Install.ink" does load the database.

with console:
mit console

without console:
ohne console

could possibly also be due to the slow access to the msaccsess databases

note:
the key combinations ctrl+1, ctrl+2 etc unfortunately do not work.
the key combinations can be viewed under "Hilfe" -> "Tasten"

@otya128
Copy link
Owner

otya128 commented Jan 28, 2021

Note that vm=whpxvm.dll must be added above [EnumFontLimitation].
Example: otvdm.ini.txt

@destroyer667
Copy link
Author

destroyer667 commented Jan 28, 2021

Note that vm=whpxvm.dll must be added above [EnumFontLimitation].
Example: otvdm.ini.txt

yes i have set it that way i have not noticed any special changes in the performance.
The only change that occurred was when I changed peekmessagesleep from 5 to 0, so instead of loading "2:50" min, the window only loaded "2:40" sec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants