Compiz and UrbanTerror
Is anyone NOT having trouble?
#1
Posted 22 May 2010 - 11:24 PM
Does compiz make UrT unplayable for you all as well? I'm not talking framerates. I'm still getting great framerates (well above 125), and the drop due to compiz is only really seen on intel and Nvidia cards:
http://www.phoronix....peed_test&num=1
I'm talking about this random slow-motion style jittering that plagues me when I play while compiz is on. When off, Urt on 10.04 (the optimized binary, not FrozenSand's) runs great. Anyone else getting this? Anyone not getting this?
Its pretty silly to have to disable visual effects to play a game... (I understand the technical challenges, but it doesn't make it any less silly).
My system:
Ubuntu 10.04 fresh install with Compiz
Phenom II x4 955
Asus 790X Mobo
4GiB G.Skill ram
Nvidia GTX260 core 216
etc.
#2
Posted 23 May 2010 - 12:38 AM
you can check out the page from ioQuake3-team.
Help-ioQuake3
Quote
Disable Compiz.
Quote
This is the result of using the Pulseaudio sound server. This soundserver is enabled by default in Ubuntu Hardy and Fedora Core 9. It may be enabled on other distros. Pulseaudio allows you to control the volume on a per-application basis, but it appears to have some serious bugs and is listed on the official website as under ‘heavy development’.
To see if you have Pulseaudio running, use the following command:
ps -A |grep pulseaudio
If it’s running, I recommend you search for the proper way to disable it for your distro. Some hints: Gnome needs to have it turned off in the System-> Preferences->Sound control panel, and you should remember to clear any references of it from /etc/asound.rc, ~/.asoundrc and ~/.openalrc.
Quote
#3
Posted 23 May 2010 - 02:34 AM
I know you can just disable Compiz (compiz-switch is pretty useful), but I'm wondering if there is resolution in sight or if there are other configurations that can play with compiz.
#4
Posted 31 May 2010 - 10:55 PM
Of course, if you're not playing fullscreen, this will not help.
Edit: Typo
This post has been edited by SailorMon: 31 May 2010 - 10:56 PM
#5
Posted 01 June 2010 - 07:13 AM
- Optimized exe; builds of ioq3 engine for urt With GoogleTranslate, Bumpy, dmaHD, iKALiZER, Raw Mouse, Bug Fixes, ..
- Networking, lag meter, and gaming consistency guide
#6
Posted 05 June 2010 - 12:27 PM
So as a solution I made this launcher script:
metacity --replace &
sleep 1
nvidia-settings --load-config-only --config=/home/thomas/.nvidia-fullaa
mumble-overlay /home/thomas/games/UrbanTerror/ioq3-urt
nvidia-settings --load-config-only --config=/home/thomas/.nvidia-noaa
compiz --replace &
It turns Compiz off and loads the full AA/AF settings with the nvidia-settings tool.
Then when you quit UrT, it restores the AA/AF settings and launcher Compiz again :)
As a result I can play very smooth with full AA/AF settings, while Compiz also runs smooth when not gaming :)
I thought I'd post it since so many people are having problems :)
Also, I've never had any problems with Pulseaudio since 9.10, it runs great here and I can finally play UrT, use mumble, and skype at the same time.
EDIT: Wow, thanks SailorMon! Using that option there is indeed no need to disable Compiz :D Now my script is just three lines:
nvidia-settings --load-config-only --config=/home/thomas/.nvidia-fullaa
mumble-overlay /home/thomas/games/UrbanTerror/ioq3-urt
nvidia-settings --load-config-only --config=/home/thomas/.nvidia-noaa
This post has been edited by Rinsmaster: 05 June 2010 - 12:49 PM
#7
Posted 06 June 2010 - 06:08 PM
Rinsmaster, on 05 June 2010 - 12:27 PM, said:
nvidia-settings --load-config-only --config=/home/thomas/.nvidia-fullaa
mumble-overlay /home/thomas/games/UrbanTerror/ioq3-urt
nvidia-settings --load-config-only --config=/home/thomas/.nvidia-noaa
Hi, can you explain how to lunch this script or where to put it and what exactly do it?
i'm very interesting.
Thanks a lot!
(sry for my poor english)
#8
Posted 07 June 2010 - 06:25 PM
Create a file containing something like this:
#!/bin/sh
nvidia-settings --load-config-only --config=/home/thomas/.nvidia-fullaa
mumble-overlay /home/thomas/games/UrbanTerror/ioq3-urt
nvidia-settings --load-config-only --config=/home/thomas/.nvidia-noaa
/home/thomas/games/UrbanTerror/ioq3-urt is the UrT executable, so you need to adjust the path to suit your location. I'll keep itMumble in the current form for this example, but I hope you know how where the actual location is.
Second, the location of the config files needs to be changed, too. You know where the configs are.
Third, if you don't need Mumble (google it, if you don't know what the program does), edit this line
mumble-overlay /home/thomas/games/UrbanTerror/ioq3-urt
to
/home/thomas/games/UrbanTerror/ioq3-urt
Save the file as "urt_aa", open a console, navigate to where the file is, and type
chmod +x urt_aa
Now you're done. Do
./urt_aa
every time you want to play the game (don't use the ioq3-urt file directly).
If you go with the file browser from KDE/GNOME/XFCE etc., you can also double-click it. I hope it's clear enough (I'm used to working in consoles).
Edit: spelling
This post has been edited by SailorMon: 07 June 2010 - 06:30 PM
#10
Posted 08 June 2010 - 05:39 PM
I run nvidia-settings, and i've modified Antialiasing Settings.
1) I've tested with FULL AA in "Override Application Settings" mode. -> FPS = 60-70
2) 4x AA in the same mode. -> FPS = 100-110
3) 2x AA in the same mode. -> FPS = 125
Urt results playable only with the 3° setting.
But... in all these cases, urt is worst than whitout compiz.
Whitout compiz urt motion results more fluid.
with 2x AA, FPS are still 125-126, but the refresh appears too slow or something like that.
Anyway Thanks a lot, and i attend for any help.
(sry if something results nonsensical :P i've to improve my english ihihih)
edit:
i've checked Texture Sharpening, and urt appears get better
This post has been edited by pr0fan0: 08 June 2010 - 06:13 PM