home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Search

The search engine will only find messages which match all the keywords you enter below, much like other search engines do.

Keywords

10 results in messages

#1: Re: i810 Linux Patch

by Aardappel_ on 08/19/2005 19:57 in new cube release... collect your stuff!

I'll look at it

#2: Re: i810 Linux Patch

by scorcher on 08/19/2005 15:31 in new cube release... collect your stuff!

Aardappel,

Is there any change of the i810 patch getting added?

#3: Re: i810 Linux Patch

by -Rick- on 08/18/2005 17:10 in new cube release... collect your stuff!

Thats another card than I have...hmm. Guess its not driver specific but card specific heh.

Well if this patch doesn't mess up for other cards, I guess it would be good to add it. Otherwise a seperate binary could be made.

#4: Re: i810 Linux Patch

by scorcher on 08/18/2005 14:51 in new cube release... collect your stuff!

I have a 82810. And I am running Ubuntu Linux 5.04.

#5: Re: i810 Linux Patch

by -Rick- on 08/17/2005 20:02 in new cube release... collect your stuff!

Thats odd...I think the driver supports multiple cards, so which one do you have?

#6: Re: i810 Linux Patch

by scorcher on 08/17/2005 17:11 in new cube release... collect your stuff!

I have x.org 6.8.2 and kernel 2.6.10

#7: Re: i810 Linux Patch

by -Rick- on 08/17/2005 12:11 in new cube release... collect your stuff!

I don't have that problem on my laptop...do you have a recent X.org and kernel version?

#8: i810 Linux Patch

by scorcher on 08/17/2005 05:05 in new cube release... collect your stuff!

I found the following patch in this forum a while back.

It fixes a problem with the crosshair depth always being right up next to the player (which means that all of the rockets and bullets hit right next to the player) with an i810 in linux.

diff -r src/renderextras.cpp src-new/renderextras.cpp
312a313
> glDepthMask(GL_FALSE);
328a330
> glDepthMask(GL_TRUE);


Has it already been added to the new release? If not do you think you could add it?

It fixed the problem for me and it would be nice to be able to use the offical binaries.

Thank You.

#9: Re: Patch to fix i810 problems!

by LinuxGuy on 02/04/2005 02:07 in General Thread

Rick-Ubuntu on 02/03/2005 14:26 wrote:

> LinuxGuy:
> Which kernel are you using and what
> version of X.Org(or XFree) do you
> have? I don\'t have any problems
> with cube on my laptop which has
> the i810 card...(well gdb doesn\'t
> work on my laptop with cube but o well)

I\'m running Kernel 2.6.8.1 and XFree86 Version 4.2.99.2 (DRI trunk) / X Window System with Module i810 info in XFree86.0.log saying

(II) Module i810: vendor=\"The XFree86 Project\"
compiled for 4.2.99.2, module version = 1.1.0
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.6


I also tried running Cube on Knoppix Linux from November 2004 and I still had the same problems with the i810 drivers on Knoppix in November 2004 (weird-looking colors and inability to fire). So I figured it was a Cube incompatibility with the i810 limitations and the patch I provided in my last message fixes the problems for me, but prevents me from connecting to multiplayer servers with a self-compiled client. So I hope these changes can make it into the main source... they seem harmless and small enough.

I\'m surprised you have no problems with the i810 and cube - what kernel and XFree/X.org version are you running?

#10: Patch to fix i810 problems!

by LinuxGuy on 02/03/2005 13:36 in General Thread

I had two problems getting Cube to run on my i810 graphics card under Linux. The following patch fixes them.

First, writing to the depth buffer should be disabled when the crosshairs are being drawn; otherwise (with the i810 drivers under Linux) the crosshairs depth is always returned as being right up next to the player (presumably the plane of the screen). Fix: see the glDepthMask lines below.

Second problem: the colormap appears totally screwed up on the i810. This is due to the SDL_SetGamma call which apparently screws up the i810. Commenting this out fixes the problem. This could be made a configuration parameter in autoexec.cfg.

I hope these small changes can be integrated into the Cube source so the next Linux version will work out of the box on i810 cards.

diff -r src/renderextras.cpp src-new/renderextras.cpp
312a313
> glDepthMask(GL_FALSE);
328a330
> glDepthMask(GL_TRUE);
diff -r src/rendergl.cpp src-new/rendergl.cpp
238c238
< if(SDL_SetGamma(f,f,f)==-1)
---
> if(0 && SDL_SetGamma(f,f,f)==-1)


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53761974 visitors requested 71531188 pages
page created in 0.430 seconds using 7 queries
hosted by Boost Digital