Troubleshooting: Difference between revisions

added tip on using Draw Every Frame mode to reduce frame judder; placed off-center image in Template:SmartWrap, still to be fine-tuned
(updated image link and added detail on DPI scaling override)
(added tip on using Draw Every Frame mode to reduce frame judder; placed off-center image in Template:SmartWrap, still to be fine-tuned)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{UpdatedForOniX|1.0.0}}
{{UpdatedForOniX|1.0.0}}
==Mac-specific==
==Mac==
See the [[FERAL|Intel Mac build]]'s page for Mac-specific issues.
See the [[FERAL|Intel Mac build]]'s page for Mac-specific issues.


==Windows-specific==
==Linux==
See {{SectionLink|Playing in Linux|Troubleshooting}} for Linux-specific issues.
 
==Windows==
Most of the problems in Oni itself can be solved by installing a community patch:
Most of the problems in Oni itself can be solved by installing a community patch:
* The [[Daodan DLL]] (see that page for manual installation instructions),
* The [[Daodan DLL]] (see that page for manual installation instructions),
Line 12: Line 15:


===Installer===
===Installer===
The installer on the CD-ROM, OniSetup.exe, may no longer run in 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].
The installer on the CD-ROM, OniSetup.exe, may no longer run 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].


===Blam!s===
===Blam!s===
Line 27: Line 30:


===Low-quality texturing/models===
===Low-quality texturing/models===
There are several things that can be go wrong, from fuzzy textures to very-low-detail character models. 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 :)
Make sure the Quality slider on the Options screen is set to maximum.


===Low frame rate===
===Poor frame rate===
;Power management
====When certain particles are onscreen====
This can be a problem on notebooks. Under certain conditions, the performance of the computer will decrease dramatically, for example:
There is no fix for this. Try not to have those particles onscreen =^-^= If you don't look at them, they can't slow you down.
 
====Power management issue====
This can be a problem on laptops. Under certain conditions the performance of the computer will decrease dramatically, for example:
*if you run on battery power
*if you run on battery power
*if you let the computer overheat
*if you let the computer overheat
;Driver issue


First let's make sure that your graphic card has Direct3D and AGP acceleration enabled.
====Frame judder====
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>
If you're seeing multiple dropped frames per second, turn on [[Developer Mode]] and then, while playing the game, press Ctrl-Shift-G to activate Draw Every Frame mode. When the display is 60Hz, this should smooth out the frame rate. However if your display runs above 60Hz you will probably experience the game speeding up in proportion to your display's refresh rate. You may be able to stop this by applying a frame rate cap to Oni with your GPU driver.


[[Image:Direct3d acceleration.jpg|thumb|200px|center|Make sure that you have acceleration enabled.]]
===Widescreen and high resolution issues===
To get Oni to support widescreen/high resolutions, install the Anniversary Edition or just the Daodan DLL and the resolutions supported by your system should appear on Oni's Options screen.


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.
====Things look tiny====
The Main Menu in Oni and all splashscreens are 640x480. The in-game HUD (the two circles) are also fixed in size. Since these are never stretched to fit the screen, they will look increasingly small as your resolution gets higher. However [https://gamebanana.com/mods/506246 this experimental fork] of the Daodan DLL does allow the HUD to be scaled. Splashscreens will become 1024x768 if you install the AE mod "HD Screens".


Nvidia users can download old drivers [https://www.nvidia.com/en-us/drivers/ here]. ATI users, try [https://www.amd.com/en/support here] (look for the "Previous Drivers" link after finding your card).
If you are using the Anniversary Edition and the Installer's UI is tiny and cramped, see {{SectionLink|Anniversary Edition/Installer|GUI scaling}} for the fix.
 
See also "Bad texturing", above.
 
===Widescreen===
To get Oni to support widescreen resolutions, install the Anniversary Edition or just the Daodan DLL.


====Rendering offset from center====
====Rendering offset from center====
When running the game at wide resolutions (e.g. 3440x1440) it may render offset from the center of the screen:
When running the game at wide resolutions (e.g. 3440x1440) it may render offset from the center of the screen:
[[Image:Off-center render.png|400px|center]]
{{SmartWrap|[[Image:Off-center render.png|400px]]|shadow=yes}}
 
There are three known solutions:
There are three known solutions:
:A. Set Windows' display scaling to 100%.
:A. Set Windows' display scaling to 100%.