Troubleshooting: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(+cat; also added section for mouse lag problem and link to orphaned page about it)
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Mac-Specific==
==Mac-specific==
The Mac release has a few limitations compared to the PC release. Before reporting a problem, make sure you are using the latest patched Oni application, and check out the following pages for more info:
See the [[AE:FERAL|Mac Intel build]] for Mac-specific issues.
*[[Oni engine patches (Mac)]] (patches made by the community)
*[[Installation#Patches]] (for OmniGroup's port of Oni to Mac OS X)
*[[PC vs Mac|PC vs Macs]] (list of PC-only features missing from the Mac build)


'''Oni crashes on my G5 Mac.'''
==Windows-specific==
===Installer===
The installer on the CD-ROM, OniSetup.exe, no longer runs in Windows as of Windows 10. You can extract the game data from the installer's data file (ONISETUP.002) using [https://www.legroom.net/software/uniextract Universal Extractor].


In one reported case, the reason for the crash was that Oni was set to a 640x480 resolution. Changing it to a higher resolution solved the problem. If Oni is trying to use an unsupported video setting, make sure your Display preferences do not list unsupported resolutions or refresh rates. DisplayConfigX can be used to disable the unsupported resolutions on your system. Finally, Oni can be run in windowed mode, which means that no resolution switching will occur. See [[Customizing#noswitch|-noswitch]].
Most of the problems in Oni itself can be solved by using the [[Daodan DLL]] or by updating your drivers, but see below for more details.
'''How do I change the resolution when Oni crashes at startup?'''


Use the program  [http://www.lafty.com/osge.shtml Oni Save Game Editor] to change the resolution.
===Blam!s===
There are a lot of reasons why Windows Oni can go completely crazy. The single most common symptom is that Oni's window will go blank, and in the middle of your screen you'll have:


'''Oni crashes on my Intel Mac.'''
[[Image:Blam!.png|center]]


This crash is identical to the one experienced by modern PCs. The crash is due to a text overflow in a fixed-sized buffer. This occurs when Oni is listing all the GL extensions of a video card before writing it in the startup.txt file. A hack was made to make make Oni think that the video card does not support the GL extensions.
There are several occasions on which Oni exits with such a message. The main issue was solved with the introduction of the Daodan DLL. However, if Oni still "blam"s at startup, [[Troubleshooting/Blam|this page]] contains a thorough list of things that cause Oni to "blam".


So far, no one has seen any difference in the graphics due to this unofficial hack.
For any other problem, see below.
The modified version of Oni for OS X can be [http://edt.oni2.net/files/OniOSXfix.zip downloaded here]


'''Oni plays poorly on my Mac under Leopard. The controls cut out occasionally.'''
===Mouse pointing problems===
Starting with Windows 8, sometimes the OS applies its HiDPI support to Oni, which causes the mouse to go somewhat berserk. Typically the result is that Konoko can only look at the ceiling


Running a Carbon app in the background has been observed to fix this problem. If the app uses the CPU fairly heavily, it essentially begins to handle the CPU usage for other Carbon apps (like Oni!) more intelligently. [http://www.macupdate.com/info.php/id/9830 This app] works well if you simply leave it open in the background while playing Oni.
Windows 8: Right-click Oni.exe, choose Properties, go under the Compatibility tab, and check the "Disable display scaling on high DPI settings" box to fix this.<br />
Windows 10: Right-click Oni.exe, choose Properties, go under the Compatibility tab, click on the "Change high DPI settings" button, and in the resulting dialog box check the "Override high DPI scaling behavior" box. The "Scaling performed by" setting should be "Application".


'''The sound has small glitches.'''
===Bad texturing===
There are several degrees of severity (from crappy textures to ugly textures to OMFG). That's always a driver issue. Try and get a recent driver for your GFX card (upgrade to Catalyst if you have an ATI, etc.). But sometimes, Oni is incompatible with modern stuff. Try and get a really old driver, then :)


This is mostly unavoidable; however, if you try the above solution (running a Carbon app in the background), and it reduces the number or size of the glitches, please let us know; there is some evidence that a Mac with the above problem will also experience large sound glitches until the "Carbon fix" is applied.
===Low frame rate===
 
;Power management
'''I can't see the console in Developer Mode.'''
This can be a problem on notebooks. Under certain conditions, the performance of the computer will decrease dramatically, for example:
 
*if you run on battery power
A bug in Oni causes the text on the console line to not display in certain resolutions, although the console prompt is still there; commands can still be entered and executed. If you aren't seeing the console prompt after pressing the ~ (tilde) key (and you are definitely using the patched Mac app that enables Dev Mode), you should try a different resolution.
*if you let the computer overheat
 
;Driver issue
'''The mouse control won't let me turn in a full circle.'''
 
The mouse tracking does in fact hit a boundary or the edge of the screen if you are playing with the original Bungie release of the Oni app in Mac OS X's Classic Mode. Classic Mode does not support the Input Sprockets functionality that the app is trying to use. Download the OmniGroup port, linked to below, for use with OS X.


First let's make sure that your graphic card has Direct3D and AGP acceleration enabled.
Click on Start, Run, type "dxdiag", and press OK. You will see now various information about your DirectX and your computer hardware/software. Click on display, and check the Direct3D/AGP acceleration checkbox. If it is off, try enabling it, and if it is cannot be enabled, your graphics card may have not have this option, or Windows is using your card as [[wikipedia:Peripheral_Component_Interconnect|PCI]] instead of AGP. In this case, try <u>updating or re-installing all your motherboard drivers.</u>


==PC-Specific==
[[Image:Direct3d accelaration on-1-.jpg|thumb|200px|center|Make sure that you have acceleration enabled.]]
Most of the problems in Windows Oni can be solved by using the [[Daodan DLL|C-Daodan]] or by updating your drivers, but see below for more details.


===Blam!s===
Now, if acceleration is enabled like in the picture above, try installing or updating your graphics drivers; don't use the ones that come with Windows. If you have an Nvidia card and if it is old (like GeForce 2 or Riva), I recommend you install an older driver. My recommendation is one from the 28.x and 60.x. range; these seemed to work better with my old card.
There are a lot of reasons why the PC (Win32) version of Oni can go completely crazy.
The single most common symptom is that Oni's window will go blank, and in the middle of your screen you'll have
{|align=center
|http://geyser.oni2.net/blam/Blam.png
|}
 
There are several occasions on which Oni exits with such a message. The main issue was solved with the introduction of the [[Daodan DLL]]. However, if Oni still "blam"s at startup, [[Troubleshooting/Blam|this page]] contains a thorough list of things that cause Oni to "blam".
 
For any other problem, see below.


----
Nvidia users can download old drivers [http://www.nvidia.com/drivers/beta here]. ATI users, try [http://www.oldapps.com/ati.php here].
===Bad texturing===
There are several degrees of severity (from crappy textures to ugly textures to OMFG).
That's always a driver issue. Try and get a recent driver for your GFX card (upgrade to Catalyst if you have an ATI, etc.). But sometimes, Oni is incompatible with modern stuff. Try and get a really old driver, then :)


----
See also "Bad texturing", above.
===Major lag===
;Power management
This can be a problem on notebooks. Under certain conditions, the performance of the computer will decrease dramatically, for example :
*if you run on battery power
*if you let the computer overheat
;Driver issue
See "Bad texturing", see above.


----
===Widescreen===
===Widescreen===
Not really a problem, but it can be a bit annoying when your ONI window gets auto-stretched to fit a 16:10 screen.
Not really a problem, but it can be a bit annoying when your Oni window gets auto-stretched to fit a 16:10 screen.
;Solution : Run ONI with the '''-noswitch''' [[Customizing#Command-line arguments |command line argument]]. Oni then runs in a "window" in the upper left corner of your screen, with the resolution selected in [[Customizing#Options menu|Options]].
;Solution: Run Oni with the '''-noswitch''' [[Customizing#Command-line arguments |command line argument]]. Oni then runs in a "window" in the upper left corner of your screen, with the resolution selected in [[Customizing#Options menu|Options]].
:If you want that window centered with a black background behind it, use [http://www.chrilly.net/oniwindowmover.zip OniWindowMover].
:If you want that window centered with a black background behind it, use [http://www.chrilly.net/oniwindowmover.zip OniWindowMover].


----
===Mouse lag===
===Mouse lag===
The main solution to this seems to be forcing v-sync in your graphics card settings. See [[Mouse lag|HERE]] for more details on the problem and other possible solutions.
The main solution to this seems to be forcing v-sync in your graphics card settings. See [[Mouse lag|HERE]] for more details on the problem and other possible solutions.


[[Category:Oni Support]]
[[Category:Oni Support]]

Revision as of 14:12, 5 July 2018

Mac-specific

See the Mac Intel build for Mac-specific issues.

Windows-specific

Installer

The installer on the CD-ROM, OniSetup.exe, no longer runs in Windows as of Windows 10. You can extract the game data from the installer's data file (ONISETUP.002) using Universal Extractor.

Most of the problems in Oni itself can be solved by using the Daodan DLL or by updating your drivers, but see below for more details.

Blam!s

There are a lot of reasons why Windows Oni can go completely crazy. The single most common symptom is that Oni's window will go blank, and in the middle of your screen you'll have:

Blam!.png

There are several occasions on which Oni exits with such a message. The main issue was solved with the introduction of the Daodan DLL. However, if Oni still "blam"s at startup, this page contains a thorough list of things that cause Oni to "blam".

For any other problem, see below.

Mouse pointing problems

Starting with Windows 8, sometimes the OS applies its HiDPI support to Oni, which causes the mouse to go somewhat berserk. Typically the result is that Konoko can only look at the ceiling

Windows 8: Right-click Oni.exe, choose Properties, go under the Compatibility tab, and check the "Disable display scaling on high DPI settings" box to fix this.
Windows 10: Right-click Oni.exe, choose Properties, go under the Compatibility tab, click on the "Change high DPI settings" button, and in the resulting dialog box check the "Override high DPI scaling behavior" box. The "Scaling performed by" setting should be "Application".

Bad texturing

There are several degrees of severity (from crappy textures to ugly textures to OMFG). That's always a driver issue. Try and get a recent driver for your GFX card (upgrade to Catalyst if you have an ATI, etc.). But sometimes, Oni is incompatible with modern stuff. Try and get a really old driver, then :)

Low frame rate

Power management

This can be a problem on notebooks. Under certain conditions, the performance of the computer will decrease dramatically, for example:

  • if you run on battery power
  • if you let the computer overheat
Driver issue

First let's make sure that your graphic card has Direct3D and AGP acceleration enabled. Click on Start, Run, type "dxdiag", and press OK. You will see now various information about your DirectX and your computer hardware/software. Click on display, and check the Direct3D/AGP acceleration checkbox. If it is off, try enabling it, and if it is cannot be enabled, your graphics card may have not have this option, or Windows is using your card as PCI instead of AGP. In this case, try updating or re-installing all your motherboard drivers.

File:Direct3d accelaration on-1-.jpg
Make sure that you have acceleration enabled.

Now, if acceleration is enabled like in the picture above, try installing or updating your graphics drivers; don't use the ones that come with Windows. If you have an Nvidia card and if it is old (like GeForce 2 or Riva), I recommend you install an older driver. My recommendation is one from the 28.x and 60.x. range; these seemed to work better with my old card.

Nvidia users can download old drivers here. ATI users, try here.

See also "Bad texturing", above.

Widescreen

Not really a problem, but it can be a bit annoying when your Oni window gets auto-stretched to fit a 16:10 screen.

Solution
Run Oni with the -noswitch command line argument. Oni then runs in a "window" in the upper left corner of your screen, with the resolution selected in Options.
If you want that window centered with a black background behind it, use OniWindowMover.

Mouse lag

The main solution to this seems to be forcing v-sync in your graphics card settings. See HERE for more details on the problem and other possible solutions.