ATTN: Ubuntu 8.10 users

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

ATTN: Ubuntu 8.10 users

Postby divVerent » Sat Nov 08, 2008 7:13 pm

  • Turn off "Desktop Effects" in "System Settings" / "Desktop". Otherwise you may get display errors, or really low fps. Benchmark results on my system (with a Geforce 7600GT and the newest nvidia driver from the Ubuntu repositories):
    With desktop effects enabled: result 1910 frames 93.1390000 seconds 20.5069842 fps, one-second fps min/avg/max: 10 22 42 (90 seconds)
    Without desktop effects: result 1910 frames 49.5830000 seconds 38.5212674 fps, one-second fps min/avg/max: 19 43 74 (90 seconds)
  • Install the nvidia driver, or whatever your graphics card needs. It is NOT preinstalled! Run the program "jockey" (Kubuntu: "jockey-kde") to do that. You should find it in the start menu when you look for "Hardware" (just type it while the menu is open).
  • Run "nexuiz-linux-sdl.sh", not "nexuiz-linux-glx.sh", or you won't get sound. If you do want to run the glx version, prepend "pasuspender" and a space to the command line. Bug in the alsa pulseaudio module is known, but we have a workaround for it in DarkPlaces svn.
  • If you, like me, get really bad bugs like delayed input events (e.g. in the menu, I move the mouse right, stop, then down, then it first goes a bit right, also, clicks are delayed), add lines like these to /etc/X11/xorg.conf:
    Code: Select all
    Section "ServerFlags"
            Option "AutoAddDevices" "False"
    EndSection

    Section "InputDevice"
            Identifier "mouse"
            Driver     "mouse"
            Option     "CorePointer" "True"

            Option     "Emulate3Buttons" "False"
    EndSection

    Section "InputDevice"
            Identifier "kbd"
            Driver     "keyboard"
            Option     "CoreKeyboard" "True"

            Option     "XkbRules" "xorg"
            Option     "XkbModel" "pc105"
            Option     "XkbLayout" "de"
            Option     "XkbVariant" "nodeadkeys"
    EndSection


    Bug reported on https://bugs.launchpad.net/ubuntu/+sour ... bug/295912, a workaround is manually turning off mouse acceleration using xset, and then using vid_dgamouse 0 for GLX, or setting the env variable for SDL DGA support to 0 for SDL. In DarkPlaces svn, turning off the mouse accel with xset is not needed if you use GLX.
Last edited by divVerent on Sun Nov 09, 2008 6:28 pm, edited 2 times in total.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby kyre » Sun Nov 09, 2008 12:38 pm

A related note to those using Xorg 1.5.2 or newer, some distributions (ubuntu 8.10 included) don't disable 3 button emulation - its supposed to be disabled automatically if X detects a middle button press, but for some reason thats not working. This causes a latency for ALL button presses since the server waits a while in order to detect right+left press as a virtual 3rd.

Here's how to disable 3 button emulation alltogether, its no longer done in the xorg.conf file but has moved to HAL:

Add the following inside the <device> section in /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi:
Code: Select all

   <match key="info.capabilities" contains="input.mouse">
      <merge key="input.x11_driver" type="string">mouse</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.x11_driver" type="string">evdev</merge>
      </match>

      <!-- this here is what actually disables the 3 button emulation - the rest above is just the default stuff found in this file -->
      <merge key="input.x11_options.emulate3buttons" type="string">False</merge>
    </match>


It will get picked up once the system-wide HAL instance is restarted, easiest is to reboot.

Yes, HAL will need to work a little bit to get into my favorite list of things on this planet, but its not mission impossible :wink:
Last edited by kyre on Sun Nov 09, 2008 1:49 pm, edited 1 time in total.
Whenever You go, then You aren't.
kyre
Alien
 
Posts: 118
Joined: Tue Jun 13, 2006 8:56 pm
Location: Sweden

Postby Alien » Sun Nov 09, 2008 1:12 pm

You can remove xkblayout de. Not all are germans.

Ooh, and that hal config file. How do they think users could possibly configure it?
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby divVerent » Sun Nov 09, 2008 5:02 pm

There are more Germans here than English speaking one. That xorg.conf section was just an example after all.

And by going this xorg.conf way, the HAL config file is not needed. As it seems evdev is severely flawed, HAL's handling must be turned off for a good experience.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Re: ATTN: Ubuntu 8.10 users

Postby ihsan » Sat Mar 07, 2009 2:12 pm

divVerent wrote:[*]Turn off "Desktop Effects" in "System Settings" / "Desktop". Otherwise you may get display errors, or really low fps. Benchmark results on my system (with a Geforce 7600GT and the newest nvidia driver from the


There is a handy program called compiz-switch in the repositories for doing this. It toggles effects with just 1 click.
ihsan
Alien trapper
 
Posts: 305
Joined: Fri Mar 03, 2006 3:33 pm
Location: Trinidad (Where Obama met Chavez)

Postby Lee_Stricklin » Sat Apr 11, 2009 8:33 pm

Just wanted to add this comment abount the 9800 series Geforce cards. If you have an Nividia Geforce 9800 installed in your machine then DO NOT use the Ubuntu supplied driver. Instead download the driver off of Nvidia's website and install it the hard way (going into root and all that good sh!t). The Ubuntu supplied driver DOES NOT WORK. Here's a tutorial I used on my 64 bit 8.04 machine:

http://www.myubuntu.co.cc/tutorial/step ... ardy-heron
Lee_Stricklin
Alien trapper
 
Posts: 404
Joined: Sat Jun 21, 2008 8:42 pm
Location: Midwest

Postby paperclips » Thu Aug 06, 2009 11:45 pm

For newest nvidia drivers for ubuntu use this repository. Just add the deb and deb-src to your /etc/apt/sources.list
[Want to develop? Look HERE]. Image Image Gif sauce.
paperclips
Alien trapper
 
Posts: 346
Joined: Mon Jan 12, 2009 10:27 am
Location: internets

Postby paperclips » Thu Aug 13, 2009 12:03 pm

Seems like people have a problem with sticky/freezing keys/mouse button in xorg/ubuntu.

Video.

Steps to reproduce in ubuntu Jaunty:
1. Start Nexuiz 2.5.1.
2. Play Single player - Level 1.

If you have problem with this as well, please reproduce the bug and open a terminal and do this:
lspci -vvnn > lspci.log
cat /var/log/Xorg.0.log > Xorg.0.log
cat /var/log/Xorg.0.log.old > Xorg.0.log.old

Report to launchpad by attaching those three .log files here.
[Want to develop? Look HERE]. Image Image Gif sauce.
paperclips
Alien trapper
 
Posts: 346
Joined: Mon Jan 12, 2009 10:27 am
Location: internets

i got linux with 3d graphics and it works fine

Postby jakjakisbak » Tue Sep 29, 2009 3:35 pm

i got linux with 3d graphics and it works fine
jakjakisbak
Member
 
Posts: 11
Joined: Thu Jul 16, 2009 6:29 pm


Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest