Author Topic: Opengl Rendering Ceases..  (Read 11574 times)

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1637
  • Particle Hawk
    • View Profile
Opengl Rendering Ceases..
« on: 2014-Aug-14 »
When i minimize a server(or even a client) for a few minutes(around 10-15minutes), the rendering in the window ceases.
It also stops rendering the title bar of the window...although the X at the top right corner works...but you cant see it(i just guessed where it is and clicked)

Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

Offline kanonet

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1142
    • View Profile
    • My GLBasic code archiv
Re: Opengl Rendering Ceases..
« Reply #1 on: 2014-Aug-14 »
AUTOPAUSE TRUE or FALSE?
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1637
  • Particle Hawk
    • View Profile
Re: Opengl Rendering Ceases..
« Reply #2 on: 2014-Aug-14 »
FALSE

All my projects are affected like this.
The new one in beta section does too, noaa goes project.

You have to minimize it for a while.
When i come back to the program, it wants to link to the shortcut, instead of restoring the window.
If i click the virtual window above the taskbar icon, the window comes back up, but its all black, including the title and minimize/maximize/exit buttons.

-Windows 7 64bit
amd a10 trinity w/8 gig ram, and an ssd....system is fast, and clean with not much installed except the important updates and security stuff...no junk at all.


more info....the program is still running....it is still responding to buttons, i could tell because i have a key that makes it go fullscreen.
it is still downloading images on intervals too...seems to be fine, except rendering.

only happens to glbasic binaries..other programs run fine, and restore rendering when clicked into
« Last Edit: 2014-Aug-16 by Hemlos »
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10745
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Opengl Rendering Ceases..
« Reply #3 on: 2014-Aug-29 »
it's not responding? Or just not redrawing?

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1637
  • Particle Hawk
    • View Profile
Re: Opengl Rendering Ceases..
« Reply #4 on: 2014-Aug-29 »
When the window comes back up...black screen, even the top title bar of the window.
I have some ideas of how this might be happening..
a) internet browser plugins or something, video players? I think youtube.
b) directx programs.
c) theres a moth on the transistor.

ps i have all the latest drivers for os and video. i made sure.
pps. this doesnt happen if i run the same programs in linux using wine as the loader....the programs run indefinetly, very good i might add(although i havent tested 3d yet...soon)
« Last Edit: 2014-Aug-29 by Hemlos »
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

MrTAToad

  • Guest
Re: Opengl Rendering Ceases..
« Reply #5 on: 2014-Aug-29 »
There was a post about this somewhere, which I cant find.

Essentially, what happens is that a Windows program uses an extra 0.1Mb per second when minimised.

Got a video of it here : http://www.dailymotion.com/video/x24t6n1_glbasic-memory-usage_tech
« Last Edit: 2014-Aug-29 by MrTAToad »

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3918
    • View Profile
    • Space Fractal
Re: Opengl Rendering Ceases..
« Reply #6 on: 2014-Aug-29 »
Property all textures have wiped out and needs to been reload them again. This can been happens on some graphics drivers.

Have you checked the size of the texture after a resume, if they got wiped?
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

MrTAToad

  • Guest
Re: Opengl Rendering Ceases..
« Reply #7 on: 2014-Aug-29 »
Good idea...

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1637
  • Particle Hawk
    • View Profile
Re: Opengl Rendering Ceases..
« Reply #8 on: 2014-Aug-29 »
errr the screen turns black, so does the title bar for windows.
Doubt this is anything to do with loading images.

Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

MrTAToad

  • Guest
Re: Opengl Rendering Ceases..
« Reply #9 on: 2014-Aug-29 »
Fonts certainly aren't removed from memory, and I doubt sprites would either - that would only happen on a screen resolution change.

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1637
  • Particle Hawk
    • View Profile
Re: Opengl Rendering Ceases..
« Reply #10 on: 2014-Aug-30 »
more info here...

it is not something else in windows interfering...
I minimized the program, and ran it for a while.
And i did NOT run anything else at all.

Still same issue...black window after a few minutes...about 5-10 minutes.

Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

MrTAToad

  • Guest
Re: Opengl Rendering Ceases..
« Reply #11 on: 2014-Aug-30 »
Yes, the memory leak does need fixing

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1637
  • Particle Hawk
    • View Profile
Re: Opengl Rendering Ceases..
« Reply #12 on: 2014-Sep-10 »
fuzzy70 experiened a blackout too, in windows 7, he reported this in the beta thread of noaagoes.
On this same note, he also tested in windows 8.1 , and didnt have this effect.
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

MrTAToad

  • Guest
Re: Opengl Rendering Ceases..
« Reply #13 on: 2014-Sep-10 »
That is odd, as I can replicate the problem too - although only for debug mode.  It's possible that the problem exists with release mode but for previous systems...

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1637
  • Particle Hawk
    • View Profile
Re: Opengl Rendering Ceases..
« Reply #14 on: 2014-Sep-11 »
I think it might be opengl.
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)