Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux nVidia looks like jack hammer
05-17-2014, 07:42 PM, (This post was last modified: 05-19-2014, 08:28 PM by {DO}Rigel.)
Post: #1
Linux nVidia looks like jack hammer
My video looks so choppy, its like the monitor is sitting on top of a jack hammer or something.

My system (see my profile for the full spec):
brand new Mint 16 KDE 64 bit install
AthlonII X2 255 3.1GHz
GeForce GTX 460
8 GB RAM
SVN updated today: At revision 4267

I have disabled and blacklisted the nouveau driver. I opted to use the PPA drivers over the nVida proprietary drivers because I read somewhere the PPA packagers do a really good job and the nVidia installer was completely crapping out on me. Other gamers (says the internet) are using PPA's with encouraging results.
Code:
sudo apt-add-repository ppa:xorg-edgers/ppa
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y
sudo apt-get install nvidia-337 -y
sudo apt-get install nvidia-settings -y

I've reduced my video settings to "Performance" with no improvement. I'm running AA in its own X server, and desktop effects are off:
Code:
if [ $# -ge 1 ]; then
#  game="/usr/local/bin/alienarena"
  game="`which $1`"
  tmpgame="/tmp/tmpgame.sh"
#  DISPLAY=:1.0
  echo -e "${game}" > ${tmpgame}
  echo "starting ${game}"
  xinit ${tmpgame} -- :1 vt2 2> /home/$USER/Documents/dedicatedX_errors.log || exit 1
else
  echo "not a valid argument"
fi
Because its running in a separate X server, the FPS is capped at 60 and can't be change (iirc this info came from Max but could be out of date). I have cl_maxfps set to 500 but it never gets above 60. I get well over 100 fps in Windows 7.

dedicatedX_errors.log:
Code:
X.Org X Server 1.14.5
Release Date: 2013-12-12
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu
Current Operating System: Linux AthlonII-X2-255 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=76036833-3c6c-416b-a87e-d8a65dae26b4 ro quiet splash
Build Date: 17 December 2013  10:06:15AM
xorg-server 2:1.14.5-1ubuntu2~saucy1 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Sat May 17 15:50:50 2014
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
setversion 1.4 failed
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
Loading extension NV-GLX
Loading extension NV-CONTROL
Loading extension XINERAMA
setversion 1.4 failed
xinit: connection to X server lost

waiting for X server to shut down (EE) Server terminated successfully (0). Closing log file.
I don't believe the "setversion 1.4 failed" error is relevant but maybe.

Any ideas what I might do about this? Thank you very much in advance.
[Image: dorig.png](Art by {OS}Drastic)
system specs in profile
Reply
05-17-2014, 10:04 PM,
Post: #2
RE: Linux nVidia looks like jack hammer
What's the output of
Code:
glxinfo | head
Quote:* maxtothemax is back
<maxtothemax> with a vengeance
<maxtothemax> and chips
<maxtothemax> and bean dip
Reply
05-17-2014, 10:33 PM,
Post: #3
RE: Linux nVidia looks like jack hammer
Here is the output:
Code:
> glxinfo | head
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
    GLX_ARB_multisample, GLX_EXT_buffer_age,
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,


(05-17-2014, 10:04 PM)Max Wrote: What's the output of
Code:
glxinfo | head
[Image: dorig.png](Art by {OS}Drastic)
system specs in profile
Reply
05-17-2014, 11:02 PM,
Post: #4
RE: Linux nVidia looks like jack hammer
Just to be clear, you have the same problem when you don't run the game in its own X server?
Quote:* maxtothemax is back
<maxtothemax> with a vengeance
<maxtothemax> and chips
<maxtothemax> and bean dip
Reply
05-18-2014, 03:30 PM,
Post: #5
RE: Linux nVidia looks like jack hammer
My son's computer is nearly identical but is smooth started with the same script:

Brand new Mint 16 KDE 64 bit install

AthlonII X4 630 2.8GHz

GeForce 9800 GTX+
4GB RAM

SVN revision 4267

I'm not at my computer just now so I will have to test it in the same X as the desktop later.
(05-17-2014, 11:02 PM)Max Wrote: Just to be clear, you have the same problem when you don't run the game in its own X server?
[Image: dorig.png](Art by {OS}Drastic)
system specs in profile
Reply
05-19-2014, 09:18 PM, (This post was last modified: 05-19-2014, 09:27 PM by {DO}Rigel.)
Post: #6
RE: Linux nVidia looks like jack hammer
I have changed my start up script to allow me to pass parameters {i.e. alienarena +exec Rigel.cfg}:
Code:
# In order for a user to start another X session, you need to make sure to edit
# /etc/X11/Xwrapper.config (as root) and set "allowed_users" to "anybody"
# Another way to do this in debian/ubuntu is: sudo dpkg-reconfigure x11-common
# For more info on the script see: https://wiki.archlinux.org/index.php/Gaming

if [ $# -ge 1 ]; then
    parms=$@
    parms=${parms#$1}
    game="$(which $1)"
    tmpgame="/tmp/tmpgame.sh"
#    DISPLAY=:1.0
    echo -e "${game}${parms}" > ${tmpgame}
    echo "starting:"
    cat ${tmpgame}
    xinit ${tmpgame} -- :1 vt2 2> /home/$USER/Documents/dedicatedX_errors.log || exit 1
else
    echo "not a valid argument"
fi
[Image: dorig.png](Art by {OS}Drastic)
system specs in profile
Reply
05-21-2014, 01:29 AM, (This post was last modified: 05-21-2014, 01:58 AM by {DO}Rigel.)
Post: #7
RE: Linux nVidia looks like jack hammer
Ok, so I just ran it out of a terminal, not using a separate X server. It was a little worse I think. There was nobody else on the server, so it should have been a little better (that's what usually happens). Because it was a little worse, I think that means that under normal conditions it would be a little bit more than a little worse.

It did end abruptly on me, here is the error:
Code:
ODE INTERNAL ERROR 1: assertion "bNormalizationResult" failed in _dNormalize3() [../../../../../../include/ode/odemath.h]
Received signal 6, exiting...
AL lib: ReleaseALC: 1 device not closed

I have searched that out in the forum yet, but I think I remember other odemath errors in the past, could be I don't have something configured right.

Edit:
Strange, I searched the forums for the following and MyBB got an SQL Error (repeatedly): ODE INTERNAL ERROR 1: assertion "bNormalizationResult" failed

After removing the quotes, I was not able to find anything in our forums.

Edit:
While expermenting with the nVidia settings I noticed something, this only happens when I'm turning. In free cam spectator, as long as I don't turn, its fine, when I turn or strafe and turn it looks like I'm in a vibration chamber. If I just strafe with no turning, its very slight but still there but a lot more when turning - straight works great. Same things for in game, if I'm headed in a straight direction, things looks fine.
[Image: dorig.png](Art by {OS}Drastic)
system specs in profile
Reply
05-21-2014, 04:33 AM, (This post was last modified: 05-21-2014, 07:32 AM by Herr Dierk.)
Post: #8
RE: Linux nVidia looks like jack hammer
well, a while ago I did the same posting about receiving a signal 6 error. Irritant or Strat said that it was a problem with the ODE library itself from the distro. And I'm also using Mint 16. The error in my case was showing up after I shot a bot and I had problems with ragdolls.

The installation of AA with SVN doesn't worked for me if I follow the steps of the WIKI site. It has to do with a couple of dependencies.

So I did the following steps. Maybe you should try them.

After you make a directory and download the game you should install all dependencies ->

sudo apt-get install libx11-dev libxxf86dga-dev libxxf86vm-dev
libgl1-mesa-dev libopenal-dev libogg-dev libvorbis-dev
libcurl4-gnutls-dev libfreetype6-dev libjpeg8-dev libode-dev g++


After you did install them, just

./configure

sudo make

sudo make install


In my case that works. I found this from Tik at the forum. (thanks to Tik ! http://red.planetarena.org/forum/showthr...p?tid=1374)

Hopefully this works for you. Mint is a great distro so it should work :-)
[Image: AAcbmp.png]
Reply
05-21-2014, 09:42 PM, (This post was last modified: 05-21-2014, 09:45 PM by {DO}Rigel.)
Post: #9
RE: Linux nVidia looks like jack hammer
Thanks Herr Dierk for your dependency list (I already had from my compiling problems Wink )

I have found a sort-of solution to my problem. I created a script that changes some of nVidia's settings before starting AA:

Code:
export __GL_THREADED_OPTIMIZATIONS=0 | tee -a $RunAALog
export __GL_SYNC_TO_VBLANK=1 | tee -a $RunAALog
export __GL_SYNC_DISPLAY_DEVICE=DFP-0 | tee -a $RunAALog
export __VDPAU_NVIDIA_SYNC_DISPLAY_DEVICE=DFP-0 | tee -a $RunAALog

This has made it MUCH better but it still isn't where it should be.

Any further suggestions would be greatly appreciated

Note that I'm not real sure on the Threaded Optimizations line. I'm just doing that because I can't find a way to turn this off in nVidia's Linux control panel. The reason I'm turning it off is because I remembered this post from Irritant: http://red.planetarena.org/forum/showthr...60#pid2160 I should run a test to see if makes any difference without the other exports.
[Image: dorig.png](Art by {OS}Drastic)
system specs in profile
Reply
05-22-2014, 02:15 AM, (This post was last modified: 05-22-2014, 02:16 AM by stratokaztr.)
Post: #10
RE: Linux nVidia looks like jack hammer
If you have not studied it yet, there is a document that comes with the nvidia drivers at:
/usr/share/doc/nvidia-drivers-/html/index.html

It is large; good place to start is with "Known Issues"

Did you build alienarena with DGA? Should be without for nvidia. DGA affects the mouse. Seems like the "jack hammer" effect might be something to do with the re-centering that is done when the mouse moves.
Cool  Pie fixes everything. So does BACON!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)