Sudden jumps when turning around

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

Moderators: Nexuiz Moderators, Moderators

Postby Zygfryd » Wed Sep 13, 2006 2:58 pm

divVerent wrote:Just out of interest... can you quote a "gcc" line when building the ebuild so I see the exact CFLAGS being used? Like, the line with "vid_glx.c" in it?

cc -MD -Wall -Wsign-compare -O2 -fno-strict-aliasing -ffast-math -funroll-loops -march=prescott -c vid_glx.c -o vid_glx.o -I/usr/X11R6/include

Though with -march=i686 it worked just the same. Using gcc 4.1.1 on a 32-bit system.
Zygfryd
Member
 
Posts: 10
Joined: Sun Sep 10, 2006 10:58 pm

Postby esteel » Wed Sep 13, 2006 4:27 pm

Perfect..
http://cvs.icculus.org/cvs/twilight/dar ... ortby=date
As you can see -ffast-math -funroll-loops were removed so its still able to compile on gcc 4.1 / 64bit.. maybe it also has some other nasty effects.
Will you report to them?
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Zygfryd » Wed Sep 13, 2006 9:28 pm

esteel wrote:Perfect..
http://cvs.icculus.org/cvs/twilight/dar ... ortby=date
As you can see -ffast-math -funroll-loops were removed so its still able to compile on gcc 4.1 / 64bit.. maybe it also has some other nasty effects.
Will you report to them?

I'll verify it first.

EDIT: No, compiling without them doesn't help.
Zygfryd
Member
 
Posts: 10
Joined: Sun Sep 10, 2006 10:58 pm

Postby esteel » Wed Sep 13, 2006 9:49 pm

But those options will for sure give problems with gcc 4.1 and 64bit machines so they should be removed never the less :)
Can you try with the sources/makefile included? Just extract Nexuiz/sources/enginesource20060905.zip
und call in the new darkplaces directory make nexuiz? That will create nexuiz-dedicated, nexuiz-glx and nexuiz-sdl. And if that works someone needs to find where the differences are between the emerge and the normal build.
If it does not work its maybe something on you system..
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Zygfryd » Wed Sep 13, 2006 10:14 pm

I'll do that, in the meantime I compiled 2.1 with 2.0's ebuild and it still has this problem. I tried removing those really small patches the ebuild makes, to no effect.
I recorded a demo if you want to see what I'm talking about, I was turning around slowly in it.
http://zygfryd.voidfx.net/screenshots/mouse_jumping_bug.dem
Zygfryd
Member
 
Posts: 10
Joined: Sun Sep 10, 2006 10:58 pm

Postby divVerent » Thu Sep 14, 2006 5:48 am

-ffast-math is known to break both Nexuiz 2.0 and 2.1 on gcc 4.1/x86_64.

Can you try again with the same options, just -ffast-math removed?

-funroll-loops however is harmless and only got removed because it gives a small speed gain at the expense of much larger binaries.
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 hish » Tue Nov 07, 2006 10:28 am

hey, I'd just like to bump this thread and see if anyone has any suggestions for a remedy? I got Nexuiz out of portage, and can only play it using SDL mode, otherwise the mouse "jumps" make it unplayable.
can anyone offer advice on possible solutions?
hish
Newbie
 
Posts: 1
Joined: Tue Nov 07, 2006 10:24 am

Postby C.Brutail » Tue Nov 07, 2006 10:40 am

Dunno if that's exists under linux too, but I've faced a similar problem in windows in ut2k4. It was a problem with the integrated sound card. Disabling it made the bug wanish (and installing the first patch too :) ).
"One should strive to achieve; not sit in bitter regret."
WE ARE NEXUIZ.
Image
Image
C.Brutail
Laidback mapper
 
Posts: 2357
Joined: Tue Feb 28, 2006 7:26 pm
Location: Ironforge

Postby divVerent » Tue Nov 07, 2006 11:21 am

hish wrote:hey, I'd just like to bump this thread and see if anyone has any suggestions for a remedy? I got Nexuiz out of portage, and can only play it using SDL mode, otherwise the mouse "jumps" make it unplayable.
can anyone offer advice on possible solutions?


Well, the solution has been posted:

gl_finish makes no difference. I downloaded the official builds and they both (2.0 and 2.1) work flawlessly. The problem only happens in the gentoo build.


Use the official builds, not the ones from Portage. And do file a bug report to the Gentoo bug tracker --> http://bugs.gentoo.org/ (it hasn't been reported there yet). It is Gentoo's problem, not ours - it isn't us who made the ebuild...
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 esteel » Tue Nov 07, 2006 11:31 am

hish wrote:hey, I'd just like to bump this thread and see if anyone has any suggestions for a remedy? I got Nexuiz out of portage, and can only play it using SDL mode, otherwise the mouse "jumps" make it unplayable.
can anyone offer advice on possible solutions?

What is wrong with using SDL? :) If it works just use it.. thats why there are two binaries.
Unless SDL has other problems for you that is..

As Zygfryd said it only seems to appear with the gentoo changes.. Maybe you should get THEM a bug report too? I do not use gentoo and do not really have good access to the changes they did..
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Previous

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron