Changes between Version 71 and Version 72 of WikiStart


Ignore:
Timestamp:
May 3, 2013, 6:12:31 AM (11 years ago)
Author:
Ben Lippmeier
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v71 v72  
    6666A1: On other systems, you can also try upgrading freeglut to the latest version. If doing this solves a crash-bug on a non-Windows machine then please email me about it `gloss [wibble] ouroborus.net`and I'll update this wiki.
    6767
    68 '''Q: Gloss freezes on my !MacBook Pro under OSX'''[[br]]
    69 A: This can happen on dual GPU systems when the OS switches from the integrated GPU (baked into the processor) to the discrete one (separate from the main processor). The gloss program can sometimes draw a few frames before getting stuck, otherwise it just shows a black window. This is probably a bug in OSX not switching the graphics context properly. The work-around is to disable automatic GPU switching under System Preferences / Energy Saver.
    70 
    7168'''Q: Gloss freezes in `ghci`. It tries to draw the window but I don't get a picture and must kill the process.'''[[br]]
    7269A0: Upgrade to at least GHC 7.4[[br]]
     
    8784A: Make sure you're compiling with {{{-O2 -threaded}}}. Without the threaded runtime, the code that manages the frame rate will behave badly. This is because GHC takes too long to reschedule the gloss process after the sleep timer has expired. With the threaded runtime, most simple animations should run at about 100fps, which is our internal frame-rate cap.
    8885
     86'''Q: On my !MacBook Pro under OSX, gloss programs freeze after displaying the first few frames'''.[[br]]
     87A: This can happen on dual GPU systems when the OS switches from the integrated GPU (baked into the processor) to the discrete one (separate from the main processor). The gloss program can sometimes draw a few frames before getting stuck, otherwise it just shows a black window. This is probably a bug in OSX not switching the graphics context properly. The work-around is to disable automatic GPU switching under System Preferences / Energy Saver.
     88
    8989'''Q: On Windows, when I try to run a gloss program it says `user error (unknown GLUT entry glutInit)`.'''[[br]]
    9090A1: You need to install `glut32.dll`. Copy it into `\Windows\System32` (for 32-bit installs) or `\Windows\SysWOW64` (for 64-bit installs). Alternatively, you can just copy it into the same directory as the `Main.exe` executable you are trying to run.