Page 6 of 7
Re: Very slow editor - independent of settings
Posted: Mon Oct 28, 2024 8:23 am
by dangerfreak
Michael Vogel wrote: Mon Oct 28, 2024 7:22 am
Hm, what if...
...you start a remote desktop session (Mstsc) between slow and fast PC?
...you change the compatibilty settings (screen resolution etc.) for the purebasic.exe?
Any differences seen to older PureBasic or the 32bit versions?
Remote: No change
Compatibilty: No change
Older versions: No change
32bit: slightly faster, but still too slow
Re: Very slow editor - independent of settings
Posted: Mon Oct 28, 2024 8:29 am
by Fred
Well, I guess you nailed it, it's probably a driver issue with the second monitor. There is no way than PB can be that slow on a modern processor, it's a native app using native controls and nothing fancy. That would be interesting if you find a definitive solution for the records.
Re: Very slow editor - independent of settings
Posted: Mon Oct 28, 2024 8:40 am
by Lord
Are the two monitors of different makes?
What happens if you switch them?
Re: Very slow editor - independent of settings
Posted: Mon Oct 28, 2024 9:15 am
by dangerfreak
Unfortunately I can't switch them - it's a notebook and an additional monitor. Besides that, I don't think it would help, because I disconnected the second monitor and the problem persists.
As I already wrote, I can't reproduce my "solution" anymore, deinstalling the second monitor (in the device manager) doesn't help anymore. The only thing that still works is the windows safe mode. Seems I have to start over the search.
PS: I have the same config on my computer with the fast IDE (notebook + additional monitor)
Re: Very slow editor - independent of settings
Posted: Mon Oct 28, 2024 11:50 am
by PBJim
dangerfreak wrote: Mon Oct 28, 2024 9:15 am
As I already wrote, I can't reproduce my "solution" anymore, deinstalling the second monitor (in the device manager) doesn't help anymore. The only thing that still works is the windows safe mode. Seems I have to start over the search.
Can you revert to a Windows restore point that was previous to yesterday's experiment? Perhaps remove the second monitor first, then restore.
Re: Very slow editor - independent of settings
Posted: Mon Oct 28, 2024 7:32 pm
by dangerfreak
PBJim wrote: Mon Oct 28, 2024 11:50 am
Can you revert to a Windows restore point that was previous to yesterday's experiment? Perhaps remove the second monitor first, then restore.
Nothing works anymore, I don't know why. IDE is slow and stays slow. I already deinstalled my graphics card drivers completely and booted without them. IDE was still slow.
It's only fast in Windows safe mode. And there's another interesting fact: When I boot my computer with Hiren's BootCD PE, the IDE also is fast (like hell!).
However, meanwhile I'm clueless and don't know what to do...

Re: Very slow editor - independent of settings
Posted: Mon Oct 28, 2024 11:21 pm
by ChrisR
What about the 2 monitor drivers and their refresh rates?
Otherwise, to help you compare drivers and services between normal and safe modes, you can use Nirsoft's
ServiWin
Re: Very slow editor - independent of settings
Posted: Mon Oct 28, 2024 11:49 pm
by Michael Vogel
As I remember, save mode is able to choose between different settings, also including grsphics options.
Shutdown /r /o /t 0
Anyhow I don't believe it has something to do with the video driver, otherwise I would expect that the remote desktop session from the older PC would have been faster than the other way round.
Wouldn't say, it will change anything, but what about creating a new windows user? And a virtual machine?
And, no kidding - are you using Intel network cards? I had to remove their drivers (especially the management 'app') on all W11 24H2 machines because of video issues (black screen for some seconds).
Re: Very slow editor - independent of settings
Posted: Tue Oct 29, 2024 10:58 am
by ChrisR
dangerfreak wrote: Mon Oct 28, 2024 7:32 pm
When I boot my computer with Hiren's BootCD PE, the IDE also is fast (like hell!).
Just to let you know, Hiren's bootcd PE is based on my open source project
Win10XPE (see my signature).
It does not take away from their assembly work with all the integrated tools and their legendary reputation, mainly due to the success of their previous versions.
I needed to clarify this, even though I'm not currently working on it

Re: Very slow editor - independent of settings
Posted: Tue Oct 29, 2024 11:56 am
by dangerfreak
ChrisR wrote: Tue Oct 29, 2024 10:58 am
dangerfreak wrote: Mon Oct 28, 2024 7:32 pm
When I boot my computer with Hiren's BootCD PE, the IDE also is fast (like hell!).
Just to let you know, Hiren's bootcd PE is based on my open source project
Win10XPE (see my signature).
It does not take away from their assembly work with all the integrated tools and their legendary reputation, mainly due to the success of their previous versions.
I needed to clarify this, even though I'm not currently working on it
Hmmm... is it possible to build a "windows 2 go" on an USB drive with your project? (=data won't be reset when rebooting)
Re: Very slow editor - independent of settings
Posted: Tue Oct 29, 2024 1:23 pm
by ChrisR
Why hmmm ?
It's not a joke, Win10XPE started in April 2018, well before Hiren's PE version and it's easy to check by looking at the additional files, for example
As for
Gandalf’s Windows 11 PE, I would have preferred them to write it, out of respect!
Otherwise, I'm just happy to see my project being used.
It can't be used as a windows 2 go, it's a PE based on Windows Recovery Environment with the core, windows components, registry included in boot.wim. At Startup boot.wim is mounted in Ram and any modifications are made in Ram but not preserved in boot.wim
On the other hand, it allows you to keep the same configuration regardless of the PC used. Light and loaded in memory, that's why it's so fast!
You can add, update portable applications, drivers... in the Programs folder (outside boot.wim) at startup, LetterSwap mounts the USB, HDD drive on Y:\Programs and here the changes are kept.
A "PureWin10XPE" could easily be created with a folder to receive a portable version of PureBasic and other useful tools, Procmon, Winspy,...
Copied to a USB key, it would allow access to PureBasic with always the same environment, whatever the PC
Re: Very slow editor - independent of settings
Posted: Tue Oct 29, 2024 7:52 pm
by HeX0R
I think it is coming from some third party thing, we don't really know which tools you have installed.
It has nothing to do with monitors, or their drivers for sure.
I had some of those strange effects, once a logitech driver next some small desktop icon recovery tool I used, which influenced other apps (had a hard time to finally spot it).
If I were you, I'd set a restore point and start uninstalling tools and drivers until I found the reason.
Then revert back and only deinstalling the harming one (or contact their support).
Or do it the other way round, create a VM and install anything your host have, until it makes boom.
If you have a VM showing the same phenomenon, you could even share it with us (more eyes to look at).
Out of curiosity, if the IDE works fine in safe mode, how does it behave when started as admin?
Re: Very slow editor - independent of settings
Posted: Tue Oct 29, 2024 8:22 pm
by dangerfreak
ChrisR wrote: Tue Oct 29, 2024 1:23 pm
Why hmmm ?
It's not a joke, Win10XPE started in April 2018, well before Hiren's PE version and it's easy to check by looking at the additional files, for example
Sorry, I knew it wasn't a joke, the "hmmmm" was a "thinking sound"

, because I wanted to build a windows 2 go usb drive.
Anyway, great job!
Re: Very slow editor - independent of settings
Posted: Tue Oct 29, 2024 8:29 pm
by dangerfreak
HeX0R wrote: Tue Oct 29, 2024 7:52 pm
I think it is coming from some third party thing, we don't really know which tools you have installed.
It has nothing to do with monitors, or their drivers for sure.
I had some of those strange effects, once a logitech driver next some small desktop icon recovery tool I used, which influenced other apps (had a hard time to finally spot it).
If I were you, I'd set a restore point and start uninstalling tools and drivers until I found the reason.
Then revert back and only deinstalling the harming one (or contact their support).
Or do it the other way round, create a VM and install anything your host have, until it makes boom.
If you have a VM showing the same phenomenon, you could even share it with us (more eyes to look at).
Out of curiosity, if the IDE works fine in safe mode, how does it behave when started as admin?
I don't believe in this third party thing, because I like to keep things easy and only install what I really need (portable apps preferred). One of my 4 computers is nearly a clean windows installation without anything else. But the IDE is slow there, too.
However, maybe I have to reconsider everything, because I followed your advice and started purebasic with administrator rights. And now guess what: The IDE is way faster than before. It's a lot slower than in windows safe mode or Hiren's BootCD PE, but it's finally possible to work with it! There is only one big question: WHY?
Re: Very slow editor - independent of settings
Posted: Tue Oct 29, 2024 9:20 pm
by HeX0R
Problem is, you have this phenomenon exclusive, we can't look into your PC.
You could also check for IRQ conflicts:
https://www.makeuseof.com/irq-io-addres ... indows-10/
I never had any of those since Windows 10, but maybe worth a look and done in no time.
Or try switching some of them to MSI mode =>
https://maxedtech.com/show-devices-by-irq-in-windows/