mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
Joined: Mar 2004
Posts: 16
M
MassMan Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Mar 2004
Posts: 16
For some reason mirc uses an insane amount of cpu (close to 100%) when I scroll in channels or when I select some text. I've tried using a clean mirc install without scripts/addons/etc but it's still the same. I've also tried enabling/disabling Windows' smoothing of screen fonts with no effect.

Seems odd that a simple display of scrolling text should bring a rather new computer to its knees?

---
Sysinfo: Core 2 Duo E8500, ASUS P5Q PRO, 512 MB RADEON HD 4850 ASUS GDDR3, 4gb ram, 1920x1200 resolution. Windows XP 64bit. mIRC 6.35.

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Have you compared this with scrolling in any other program? In Firefox I get higher CPU% usage than mIRC.

GDI in Vista is a very intensive process because unlike XP, it's not hardware accelerated, meaning updating the UI is the CPU's job; it's not surprising that a lot of scrolling will generate high usage. Even with hardware acceleration, you should expect that the OS will devote prioritized CPU time to active UI tasks. The question should not be "why is my CPU at 100%" if there are no other programs that need CPU at the same time, that should actually be relatively normal. Also, for how long is this % being used for? If it's just for the duration of the scroll then it's pretty normal as well.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Mar 2004
Posts: 16
M
MassMan Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Mar 2004
Posts: 16
No other programs show the same behaviour as mIRC, firefox is around 10% cpu when scrolling on heavy sites like deviantart.com, Notepad++ has 5% cpu when scrolling a 4mb irc log file.
mIRC is 100% cpu when scrolling a single page of text, or marking a single word with the mouse.

When I stop scrolling/marking mIRC's cpu usage drops to 0 again.

If it was just the cpu usage in mIRC I wouldn't care. But mIRC is extremely laggy and unresponsive when scrolling or selecting text. If I go nuts and scroll 400 times, mIRC will literally keep scrolling for seconds.

(ps: I'm using XP as I wrote in the original post)

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
In mIRC type

//echo -a $script(0) $dll(0) $com(0) $remote $md5($mircexe,2) $version $os $nopath($script(1))

and paste the results here


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Mar 2004
Posts: 16
M
MassMan Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Mar 2004
Posts: 16
Code:
4 0 0 7 3e9f2b048c960052d6230d4735c41622 6.35 2003 popups.ini

Scrolling in mIRC Script Editor doesn't even get above 1% cpu but that's probably not related to the irc text display.

Last edited by MassMan; 27/03/09 12:58 AM.
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
It seems you've cracked or otherwise modified mIRC's executable. We do not support such copies.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Mar 2004
Posts: 16
M
MassMan Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Mar 2004
Posts: 16
Yes I use(d) an exe that kept mIRC only visible in systray. Downloaded the original exe now and got different hash
Code:
4 0 0 7 2f63a83968f9586fe4fb48134253619c 6.35 2003 popups.ini
Still same problems with extremely laggy text display though :=

It has definitely become worse after I changed to XP 64bit instead of 32bit.

Joined: Mar 2004
Posts: 16
M
MassMan Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Mar 2004
Posts: 16
I even tried installing an old mirc version (6.03) just to see if the bells and whistles in the later versions were the cause of the cpu usage and unresponsiveness, but the problems were still there.

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
it seems you have 4 scripts loaded, one of which being popups.ini(?). Assuming this was a clean install of mIRC, there should be only 1 script loaded, and it should be empty.

Run a fresh copy of mIRC by copying mirc.exe into a new folder, creating an empty mirc.ini in the same folder and run the exe.

Basically the following:
Code:
//var %t = $mircdir..\testmirc | mkdir %t | .copy $mircexe %t | write -c %t $+ \mirc.ini | run %t $+ \mirc.exe 


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Mar 2004
Posts: 16
M
MassMan Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Mar 2004
Posts: 16
Unfortunately still the same.


This high cpu usage was achieved just by scrolling in the status window, not even having a single channel open.

And just for good measure: the script test in the mirctest:
1 0 0 7 2f63a83968f9586fe4fb48134253619c 6.35 2003 remote.ini

--

Is there some sort of text smoothing feature in mIRC that's enabled by default that I could disable?
mIRC is the best irc client I've tried (and I've tried quite a lot in a search for alternatives) but it's a pain when the unresponsiveness and lag is so huge that I can't even scroll or select a piece of text without locking it up and making mIRC by far the most resource heavy application.

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Did you test so it's not something in your end making this happen? like a faulty ram or something like that? you don't use mirc on a driver that are full? do you have other program's running while testing mirc? any firewall/virus program running?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Mar 2004
Posts: 16
M
MassMan Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Mar 2004
Posts: 16
No sparta, this is a brand new 64xp install and I ran memtest prior to installing so there are no faulty rams. Nothing else running while testing mirc.

---
A quick survey in an irc channel suggests that mIRC in a 64bit environment is the problem. I asked them to scroll and report the cpu usage.

XP 32bit gives ~5%cpu
XP 64bit gives 100%cpu (on one core)

win7 64bit gives 100%cpu (on one core)

I couldn't find anyone using Vista.
-

A bit sad that the irc program I've been using since 1999 suddenly went from 1% cpu usage to 100% just because I changed to a 64bit operating system :&

Last edited by MassMan; 29/03/09 03:55 PM.
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
I running mirc on windows xp 64 bits, and i have no problem with high CPU usage, so i don't believe it's windows foult, it must be something else that messing things up for you. I tested in window 7 before, no problem there, and also in windows vista without any problems. both with 64 bit's..


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Mar 2004
Posts: 16
M
MassMan Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Mar 2004
Posts: 16
Some additional sysinfo: http://massman.dk/tmp/cpuz.htm

What is that "something else" that causes the problem then? smile
It seems odd that of the (granted small) sample of people I've asked that used 64bit system, all of them got high cpu usage when scrolling, and none of the 32bit xp users had problems.

What I just can't comprehend is how mIRC Script Editor can scroll with 1% cpu, while any channel/query/statuswindow scroll gives full cpu usage and huge unresponsiveness. If I go nuts and scroll 3000 times, or change between 2 channels 3000 times, mIRC will lock up and be unresponsive for more than 10secs.

Just adding one line of text, people joining/parting etc, cause short bursts of +40% cpu before idling back at 0% again.

It just doesn't make sense that displaying simple text is the most cpu heavy task that my computer will do during an average session. Especially when I know that mIRC performed flawlessly on 32bit xp.

Last edited by MassMan; 29/03/09 09:22 PM.
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Maybe it's cos you have 1 CPU core? i have dual core, windows xp 64 bits have better support for dual core and more ram, i using windows xp 64 cos i want to use all of my ram, and as i said before i have no problem, i running 3 mirc right now, and i also played a game, and i haven't noticed any problem at all with windows 64 and mirc, how much ram do you have? something make your computer run 100% CPU, and i don't think mirc alone can create this problem for you, must be something else too.

;------ Wanted to add some stats from my computer.

System:
Operating system: Microsoft(R) Windows(R) XP Professional x64 Edition.
Current system uptime: 5days 10hrs 47mins 29secs.

Hardware
Gfx-card: NVIDIA GeForce 9800 GT 512MB.
CPU Name: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+.
Speed: 3107 MHz. Load: 0%.
Socket: M2. Availability: running or full power. Architecture: x64

Mem stats
4GB. Free: 3.23GB, used (19.14%)

Last edited by sparta; 29/03/09 10:12 PM.

if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
off topic, but nice system, sparta.

Joined: Mar 2004
Posts: 16
M
MassMan Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Mar 2004
Posts: 16
Sigh, where do you get the information that I have 1 core?

As I wrote in the first post, I have a Core 2 Duo E8500 and 4gb ram. I even linked a cpuz output file in my previous post with detailed info.
My comp specs are more than enough to run mIRC.

I ran xp32 until a week ago and mIRC never used more than 5-15% cpu and it never locked up when scrolling or selecting text. I've been running xp64 for about a week now, fully updated and legal version.

The hardware is unchanged.
The mIRC install is unchanged.
The only change is using xp64 instead of xp32.
It's pretty difficult not to point towards mIRC having problems when run in a 64bit environment.

If I was really bored I could install xp32 again, just to prove my point. But I doubt that would change anything.

---
One thing I noticed is that when I change to a channel the text flickers a lot for about half a second, as if the text is being formatted/parsed/whatever multiple times.

---

Once again I urge you to be more specific since your current attempts at helping are rather fruitless. What is "something else" that could cause this problem?

Joined: Mar 2004
Posts: 16
M
MassMan Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Mar 2004
Posts: 16
The solution I've come up with is a rather dull one. If I make the mIRC program window smaller, like 600x400, instead of maximized, then there's less text to be displayed. Then mIRC uses 100% cpu at shorter intervals and this way mIRC at least becomes usable again.

Pretty retarded "solution" though :=

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Originally Posted By: MassMan
One thing I noticed is that when I change to a channel the text flickers a lot for about half a second, as if the text is being formatted/parsed/whatever multiple times.


That tells me you have some sort of driver problem, your graphic card or something like that, or it can be your mouse that trigger the problem, you need to check all your hardware and make sure you have the latest drivers to them, you have been installing drivers for windows xp 64 bits?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Mar 2004
Posts: 16
M
MassMan Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Mar 2004
Posts: 16
http://massman.dk/tmp/DxDiag.txt

Yes I use 64bit drivers. Though I must admit I can't quite understand why a driver issue would only manifest itself in mIRC and other programs work flawlessly. Unless mIRC still has some 16bit code?

Page 1 of 2 1 2

Link Copied to Clipboard