LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Odd problem with Warzone2100 (slackbuilt), solid black background (http://www.linuxquestions.org/questions/slackware-14/odd-problem-with-warzone2100-slackbuilt-solid-black-background-4175458130/)

Stephen Morgan 04-14-2013 03:14 PM

Odd problem with Warzone2100 (slackbuilt), solid black background
 
This is a screenshot of my problem: http://i.imgur.com/6BHlxqw.png

That is, while all the controls are visible the background isn't. The maps show up on the map selection screen for skirmish games (the map previews, that is to say), but that's all. The map doesn't show during game play, nor do units. Vehicles, weapons and so on don't show up in the unit design screen, either. I've compiled from sbopkg, with no modifications or such.

I can't immediately see anything wrong in the SlackBuild. Nor does starting from the terminal reveal any sort of error message.

STDOUBT 04-14-2013 08:29 PM

Are you sure you've compiled/installed the dependencies (OpenAL, physfs, quesoglc)?
I neglect that sometimes here and there, but usually the Slackbuild fails before it can finish.
Some dependencies are only needed at run-time though. The above seem likely candidates for the latter situation.
HTH

Stephen Morgan 04-15-2013 01:26 AM

Quote:

Originally Posted by STDOUBT (Post 4931590)
Are you sure you've compiled/installed the dependencies (OpenAL, physfs, quesoglc)?
I neglect that sometimes here and there, but usually the Slackbuild fails before it can finish.
Some dependencies are only needed at run-time though. The above seem likely candidates for the latter situation.
HTH

All installed, as is the optional dependency GLee.

H_TeXMeX_H 04-15-2013 03:47 AM

What graphics card and drivers are you using ? Could be a shader issue with old or intel graphics cards.

Stephen Morgan 04-15-2013 09:18 AM

Hmm. Didn't there used to be a `lshw` command? Anyway it's an Intel builtin graphics system, "Mobile Intel Graphics Media Accelerator 4500 MHD" according to what it says on the label, and whatever driver -current automatically uses with it, but I've had no problems with anything else due to it. And the rest of the game seems fine, just the images for units and landscape and such don't show up. I thought the SlackBuild might be missing out the map files, but I looked at a Crunchbang installation and the files seem to be the same, although in different places.

H_TeXMeX_H 04-15-2013 09:42 AM

One thing to try is mess with the video options, disable GLSL and texture compression. I haven't played it in a while so I don't know the exact options.

Stephen Morgan 04-16-2013 01:43 AM

I believe I've now tried every video and graphics option in various combinations, including turning everything off, all without any noticable effect.

H_TeXMeX_H 04-16-2013 07:37 AM

It works well for me using this intel integrated:

Code:

00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)
        Subsystem: ASRock Incorporation Device 29c2
        Kernel driver in use: i915

However, I am using self-compiled versions of libdrm, mesa, and Xorg intel driver.

Are you sure you tried: Options -> Video -> Shaders = Off

You can try updating these drivers as well. Make sure to compile mesa with:
Code:

./autogen.sh --with-dri-drivers= --with-gallium-drivers=swrast,i915 --enable-texture-float

Stephen Morgan 04-16-2013 01:45 PM

Sahders definitely off.

Well, on the one hand recompiling Mesa did get Warzone2100 working. On the other hand, it also slowed everything down significantly, so window animations are no longer smooth, the system at rest uses about 20% CPU (rather than less than 5% normally) and just running Warzone2100 keeps both cores at 100% constantly. I might just play it on the Crunchbang system in future.

H_TeXMeX_H 04-16-2013 01:56 PM

You probably need a newer libdrm as well.

Stephen Morgan 04-17-2013 02:48 PM

I went the other way and reverted the xserver packages, and mesa and libdrm, to 14 from -current, and that solved the problem, after rebuilding Warzone2100. Backtracking to sanity, as it were.

H_TeXMeX_H 04-18-2013 02:44 AM

So you mean this problem only occurs on -current ?

Stephen Morgan 04-18-2013 08:15 AM

Yes indeed.

H_TeXMeX_H 04-18-2013 08:23 AM

Alright, well I hope the Slackware devs take note.


All times are GMT -5. The time now is 04:11 AM.