Author Topic: very high cpu usage when ide window is full expanded (qb64 x86 v1.3 after 14apr)  (Read 3784 times)

0 Members and 1 Guest are viewing this topic.

Offline pixel

  • Newbie
  • Posts: 5
    • View Profile
very hight cpu usage when the ide window is full screen qb64x86
cpu at 95%-100%
if the window gets smaller then the consumption is around 10% 16%

Solutions?
« Last Edit: April 15, 2019, 11:22:13 am by pixel »

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: very hight cpu usage when windows expand full screen qb64x86 v1.3
« Reply #1 on: April 15, 2019, 09:15:02 am »
very hight cpu usage when the ide window is full screen qb64x86
cpu at 95%-100%
if the window gets smaller then the consumption is around 10% 16%

Solutions?

What is qb64 x 86? Do you mean qb64 x 64?



« Last Edit: April 15, 2019, 09:16:31 am by bplus »

Marked as best answer by pixel on April 15, 2019, 07:04:29 am

FellippeHeitor

  • Guest
Re: very hight cpu usage when windows expand full screen qb64x86 v1.3
« Reply #2 on: April 15, 2019, 09:43:17 am »
That's 32bit, bplus. https://github.com/Galleondragon/qb64/releases/tag/v1.3

@pixel what operating system?
« Last Edit: April 15, 2019, 09:45:43 am by FellippeHeitor »

Offline pixel

  • Newbie
  • Posts: 5
    • View Profile
Re: very hight cpu usage when windows expand full screen qb64x86 v1.3
« Reply #3 on: April 15, 2019, 11:06:56 am »
That's 32bit, bplus. https://github.com/Galleondragon/qb64/releases/tag/v1.3

@pixel what operating system?

W7 32BIT

and as already said several times it is precisely the version 1.3 that gives problems

I'm trying the new version
.......


no! even the one after April 14th 2019 fails
« Last Edit: April 15, 2019, 11:18:23 am by pixel »

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: very hight cpu usage when windows expand full screen qb64x86 v1.3
« Reply #4 on: April 15, 2019, 11:18:55 am »
I’ve seen massive CPU usage with the latest version of QB64 as well, but haven’t been able to trace the issue back to any particular cause yet.  I was thinking it might be something from the new warning system for unused variables, but I can’t be certain where it entered into the language.  All I know is QB64 currently makes my fans sound like an airplane engine a lot more now than it used to in the past.
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline pixel

  • Newbie
  • Posts: 5
    • View Profile
see attachments
« Last Edit: April 16, 2019, 03:22:35 am by pixel »

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
wow, I only saw approx 10% usage increase on my machine. 3-12% normal, 12-24% maximized. fluctuates a bit more than my main copy(v1.1 B82)
that is on Windows Vista 32bit
Granted after becoming radioactive I only have a half-life!

Offline Ryster

  • Newbie
  • Posts: 77
    • View Profile
On my computer at the maximized window, CPU usage 2%.

Offline pixel

  • Newbie
  • Posts: 5
    • View Profile
I would like to know only if someone has considered my problem and is looking for solutions. Thank you

FellippeHeitor

  • Guest
It is known (and sort of expected) that the IDE will spin the CPU faster while compilation is taking place (during the time you see "..." in the Status area). When "OK" is displayed, though, you should see an idling IDE running at very low CPU usage. Please confirm that it is that case, @pixel.

Offline pixel

  • Newbie
  • Posts: 5
    • View Profile
It is known (and sort of expected) that the IDE will spin the CPU faster while compilation is taking place (during the time you see "..." in the Status area). When "OK" is displayed, though, you should see an idling IDE running at very low CPU usage. Please confirm that it is that case, @pixel.

Yes, I know that too. The case is that if the qb64 window is expanded the cpu works for an infinite time around 85% -95%.
Why?

PS: do not compile or run anything I have only opened the qb64
« Last Edit: April 16, 2019, 10:11:49 am by pixel »

Offline Ryster

  • Newbie
  • Posts: 77
    • View Profile
To pixel.
My suggestion. Review the graphics card settings.

Offline Raven_Singularity

  • Forum Regular
  • Posts: 158
    • View Profile
To pixel.
My suggestion. Review the graphics card settings.

They said the issue appears when maximising an empty QB64 1.3 window.  What graphics card settings are you talking about?

Offline Ashish

  • Forum Resident
  • Posts: 630
  • Never Give Up!
    • View Profile
pixel,
If you have AMD as your graphic card then set "Use Power saving mode" for qb64.exe.
if (Me.success) {Me.improve()} else {Me.tryAgain()}


My Projects - https://github.com/AshishKingdom?tab=repositories
OpenGL tutorials - https://ashishkingdom.github.io/OpenGL-Tutorials