📄 cedega_6_troubleshooting_guide.html
字号:
<P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">If youare unsure if your computer is setup correctly, it is suggested thatyou run all of these tests and verify that each of them passes. If,for some reason, one or more of these tests fail, please refer to andfollow the instructions below.</FONT></P><H2 CLASS="western">Make sure that your video card has working 3Dacceleration </H2><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Someon-board and lower end video cards may fail the 3D acceleration testeven when they are working correctly. Cedega's video card testthreshold is set too high for certain cards. To manually test yourvideo card please follow the steps below. </FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">To testyour graphics card for OpenGL support execute the following command:</FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif"><I>$glxinfo | grep "direct rendering"</I></FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">outputwill return "direct rendering:"</FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">If thisis 'Yes' or 'Enabled' then OpenGL is likely set up correctly. If itis listed as 'No' or 'Disabled' then double check your 3D setup.</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">You mayalso want to try a performance test. Type the following to run asimple benchmark included on most popular Linux distributions:</FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif"><I>$glxgears</I></FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Theglxgears program will output an FPS (Frames Per Second) rating to thecommand line. If 3D acceleration is correctly enabled for your videocard then the reported FPS should be well over 500 FPS, at thedefault window size. If the output shows less than 500 FPS then youshould double check your 3D setup.</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">If youare on a 64-bit machine, and your machine succeeds in the previoustwo tests but failed the 3D acceleration test in Cedega, then you mayalso wish to check that you have 32-bit OpenGL libraries installed. See below for more details.</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">In somecases it is possible to have multiple OpenGL libraries installed onyour system. If you are having problems with Cedega, you may wish tocheck whether this is the case for your system. You can do so byexecuting:</FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif"><I>$locate libGL</I>.</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Thiswill display a list of all of the OpenGL libraries you have on yoursystem. In particular, you should be wary of having libGL in both/usr/lib and /usr/X11R6/lib. Sometimes the software-only Mesa OpenGLlibraries are installed in /usr/X11R6/lib, and hardware accelerateddrivers are installed elsewhere. We do not recommend removing theMesa libraries from /usr/X11R6/lib unless you are seeing slowrendering in games running under Cedega.</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">If youare running a 64-bit distribution of Linux, and only see entries in adirectory like /usr/lib64 and not /usr/lib, then this is a goodindicator that you are probably missing 32-bit versions of the OpenGLlibraries. If you are using a NVIDIA video card, then installing the32-bit libraries means reinstalling your drivers and selecting “Yes”when prompted as to whether or not you wish to install 32-bitlibraries.</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">If youare using a NVIDIA video card, please make sure that the latestdrivers from http://www.NVIDIA.com have been installed on yoursystem, and that OpenGL is working properly. Some distributionscustom build versions of these drivers for use with only theirdistribution. These builds can sometimes cause conflicts, and usersmay wish to use the drivers available directly from NVIDIA.</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Userswith ATI Radeon 8500 or above video cards should use the proprietaryATI drivers available from </FONT><FONT COLOR="#000080"><U><A HREF="http://www.ati.com/"><FONT FACE="Arial, sans-serif">www.ati.com</FONT></A></U></FONT><FONT FACE="Arial, sans-serif">.Some distributions build versions of these drivers for use with thatspecific distribution. These builds can sometimes cause conflicts andusers may wish to use the drivers available directly from ATI.</FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Othervideo cards may only be able to use open source drivers such asMESA/DRI to enable 3D acceleration. A number of conflicts betweenCedega and these drivers remain, so users should expect increasedsetup times and non-working games when using these cards. TransGamingdoes not recommend using Cedega with these video cards. </FONT></P><H2 CLASS="western">Check your CD/DVD devices and mount points forpermissions</H2><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">ManyWindows games use copy protection systems that require Cedega to have'read' access to your CD/DVD device, as well as 'read' and 'execute'access to your CD/DVD mount point. Check your CD/DVD devices andmount points to ensure that Cedega has appropriate permissions. Someforms of copy protection require the ability to see hidden files onthe disc. To make these files available to Cedega, you will also needto add the “unhide” option to the CD/DVD fstab list. (Inparticular, SuSE 9.3 users should note that the unhide option isincompatible with the subfs auto mounting solution provided with thisdistribution. SuSE 10 and later do not share this drawback, althoughSuSE 10.1 has other issues with hybrid discs. TransGaming recommendsupgrading such systems to SuSE 10.2 instead.) You will need rootpermissions to make changes to your /etc/fstab. </FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Toensure that the correct permissions are available:</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Checkthe /etc/fstab file for the line that represents your CD/DVD drive.That line should indicate the device such as /dev/hdc or /dev/scd0. </FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Forexample:</FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif"><I>/dev/cdroms/cdrom0/mnt/cdrom iso9660 user,unhide,noauto,ro 0 0</I></FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">In theabove example the device is /dev/cdroms/cdrom0</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Performls -la /dev/DEVICE on the CD/DVD device. Check to see if all usershave rx permissions. The example below does not have the correctpermissions:</FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif"><I>brw-------1 wulfram disk 22, 0 Aug 26 06:20 /dev/hdc</I></FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Yourpermissions should look like:</FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif"><I>brwxr-xr-x1 wulfram disk 22, 0 Aug 26 06:20 /dev/hdc</I></FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">(you mayalso have W permissions, but they are not necessary for Cedega torun).</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Tochange the permissions on your device and mount points, execute thefollowing commands as 'root':</FONT></P><P STYLE="margin-bottom: 0cm"><I><FONT FACE="Arial, sans-serif">$chmod a+xr <B>[device]</B></FONT></I></P><P STYLE="margin-bottom: 0cm"><I><FONT FACE="Arial, sans-serif">$chmod a+rx <B>[mount point]</B></FONT></I></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">In somecases the device may be a symbolic link to another device (indicatedby -> /cdroms/cdrom0 for example) If this is a symbolic link, youwill also need to check the permissions on the linked device.</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Forexample: </FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif"><I>lr-xr-xr-x1 root root 13 Aug 21 14:45 /dev/cdrom -> cdroms/cdrom0</I></FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">In thiscase, you would check the permissions of /dev/cdroms/cdrom0 as well.</FONT></P><H2 CLASS="western">Check your XF86Config-4 or Xorg.conf file </H2><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Gamesoften attempt to change your screen resolution to fit their needs.Make sure that the 'Screen' section of your X config file has anumber of resolutions. The most common resolutions are: 1600x1200,1280x1024, 1024x768, 800x600, 640x480. If the game is not running atfull screen, check the game settings to see what resolution it isattempting to use, and make sure you have that resolution listed inthe configuration file.</FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Note:You may experience improved performance with some games on oldercards when running the X server at 16-bit color depth, however mostmodern games require 24-bit color depth for correctness. Games whichrequire pixel shaders, in particular, will typically require 24-bitcolor depth.</FONT></P><H2 CLASS="western">Disable Sound Servers</H2><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">ManyLinux desktop systems such as KDE and Gnome run sound servers such as'ARTS', 'esd', or 'JACK'. These sound servers can cause soundproblems within Cedega by reserving exclusive access to the sounddevice. If you are having sound problems, make sure to disable anysound servers or other applications that may be using sound, such as'xmms'.</FONT></P><H2 CLASS="western">Check free disk space limitations</H2><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Somesystems may be set up with restrictive disk space quotas on the /homedirectory. These limitations can cause Cedega to incorrectly reportavailable free space. You may experience problems installing games ifthe available space is reported incorrectly, or if there is notenough space available on your system. If you experience any errormessages reporting that there is not enough hard drive space toinstall a game, then disable quotas, or symbolically link to a devicewith more free disk space available.</FONT></P><H2 CLASS="western">Pthreads</H2><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Bydefault, Cedega should be able to detect automatically whether yourLinux distribution requires you to use pthreads or not. If noinstaller or game seems to be working for you, it is possible thisdetection scheme isn't working on your distribution.</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">You cantry forcing pthreads to be on or off, thereby not relying on theautodetection scheme. Edit ~/.cedegarc, and add (or modify) apthreads_forced line under the [transgaming] header, like this:</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">To forcepthreads usage on:</FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">pthreads_forced=on</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">To forcepthreads usage off:</FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">pthreads_forced=off</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">You canalso override the pthreads settings (to make it Automaticallydetected, forced on, or forced off) on a game by game basis. Pleasesee section "</FONT><FONT COLOR="#000080"><U><A HREF="http://downloads.transgaming.com/files/Cedega-How-To-5.0.0-2.html#Configuring%20a%20Game%20-%20Configuration%20Profiles%7Coutline"><FONT FACE="Arial, sans-serif">Configuringa Game</FONT></A></U></FONT><FONT FACE="Arial, sans-serif">" formore details.</FONT></P><H3 CLASS="western"><FONT FACE="Arial, sans-serif"><FONT SIZE=2>Exec(error = 21)</FONT></FONT></H3><P><FONT FACE="Arial, sans-serif">Some distributions' versions ofmount now run with the “noexec” option unless otherwisespecified. Running games from a partition mounted with noexec cancause an error = 21 message.</FONT></P><P><FONT FACE="Arial, sans-serif">To fix this issue, edit /etc/fstaband modify the partition line by changing 'noexec' to 'exec' in themount options.</FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Forexample, change:</FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif"><I>/dev/hda1/ ext3 errors=remount-ro,no-exec,defaults 0 1</I></FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">to:</FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif"><I>/dev/hda1/ ext3 errors=remount-ro,exec,defaults 0 1</I></FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Ifneither "exec" nor "no-exec" appears in the lineit is recommended that you add "exec" to ensure that thepartition can be used by Cedega.</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif">Toremount the / partition run:</FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif"><I>$mount -o remount /</I></FONT></P><H3 CLASS="western"><FONT FACE="Arial, sans-serif"><FONT SIZE=2>Scheduler</FONT></FONT></H3><P><FONT FACE="Arial, sans-serif">With the introduction of the 2.6Linux kernel, drastic changes have been made in the of processscheduling. Some distributions have taken advantage of this andoptimized their schedulers to run som
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -