Sponsored Adverts

Author Topic: wglMakeCurrent: setting Processor Affinity  (Read 6269 times)

0 Members and 1 Guest are viewing this topic.

Offline kat

  • Administrator
  • Hero Member
  • *
  • Posts: 2405
wglMakeCurrent: setting Processor Affinity
« on: July 10, 2015, 04:23:03 AM »
Depending on the version of GtkRadiant, problems may occur when running the editor on Windows based computer with multi-core CPU's. Usually the issues tends to manifest as a "wglMakeCurrent" error of some kind [1] [2] [3], in this instance, the result of multi-core CPU's, as an unresponsive or slow Camera or grid view (may also exhibit corrupt display).

To fix the error, assuming it's not attributed to one of the other reasons wglMakeCurrent issues happen, is to set the number of CPU cores that can be used when running GtkRadiant, essentially throttling the system. To do this start Radiant and once open right-click the "Task Bar" and click "Start Task Manager". A window will appear, "Windows Task Manager", with the "Processes" page/tab active. Find the "GtkRadiant [n]" entry and right-click, select "Set Affinity...". Another panel will open with a list of 'cores' available. Deselect one or more (depending on the number of cores available), click "OK" to set, then close "Windows Task Manager". Once done continue editing as normal.

This may need to be done each time Radiant is started as the setting generally only apply to the application process when its active and in memory. CPU Affinity can also be set from Radiant start-up screen or once the application has fully loaded after the game environment has been set (after the game selection screen).


Sponsored Adverts
RSS Copyright © 2019 KatsBits™. All Rights Reserved. No part of this or associated properties shall be reproduced without prior consent. AdvertisePrivacy PolicyDMCA (about DMCA) • Copyright PolicyCopyright Contact Home Blog Support About Contact Site Search Site Map RSS feed Forum YouTube FaceBook LinkedIn Twitter Instagram IMVU