You are not logged in.
Pages: 1
I have a proplem with cube (which I might add to the community repo). When I play it, the graphics are terrible. The red and blue colors are the dominant ones. The graphics also looks very pixelized. I tried to take a screenshot with cube running in full screen mode but instead I got this:
http://www.astro.umontreal.ca/~belanger/screenshot.png
As you can see, in the screenshot, cube is not running full screen mode and the colors are fine. What does it mean?
I tried changing the settings in the cube tweaking menu without success. My video card is an Intel i810 using the xorg drivers with dri enabled. I don't use composite.
Any ideas?
Offline
have you tried any other fullscreen 3D games? if not, please try enemy-territory and/or armyops (both in the AUR) and let us know if you get the same problems.
Offline
OK, I'll try.
Offline
I tried both ET and armyops. The ET graphics are fine. For armyops, I get the same problem than cube. However, the colours of the armyops splash screen are fine.
Again, I tried taking a snapshop of armyops at full screen but I got the same results than cube: a smaller window with the correct colours.
I am not sure if it's related but armyops crashed whend I tried to turn off the full screen option.
Offline
if two games have the same problem, I'm guessing it's a problem with the graphics driver (maybe ET works because it doesn't use the feature that causes the problem). I doubt there is anything I can do in the PKGBUILD, especially considering the executables are precomiled (to prevent cheating).
Offline
It's a xorg driver problem. I tried the vesa drivers instead of the i810 ones and the colors were fine. The problem is that dri doesn't work with the vesa drivers so the game is quite slow.
I'll probably still put cube in [community] repo. Hopefully, the next xorg i810 drivers will be better. :?
Offline
cube has a problem with i810 vidio card.
if you try searching the "forum"(aka steaming pile of donky shite) for "i810 linux patch" you'll find this patch
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)
i've not tryed it becuse i can't be arsed watch it compile
Offline
just a note: we can't recompile this package for the AUR, because builds from source can't play multiplayer (to prevent cheating)
Offline
Thanks, I will give the patch a try. Hopefully, it'll be included in the next pre-compiled released.
Offline
You could write a little script which xrandrs to the cube-resolution, starts cube and then switches the resolution back.
That way you get fullscreen and multiplayer.
Offline
The patch works. I'll try Richie's script suggestion.
Offline
@Richie: Thanks for your suggestion but it is of no use to me as cube already runs fullscreen.
I will put the precompiled cube in the [community] repo. I will also put a PKGBUILD in AUR for users who wants to compile cube with the patch for the i810 card. It compiles rather rapidly.
Offline
Pages: 1