LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-14-2013, 03:14 PM   #1
Stephen Morgan
Member
 
Registered: Feb 2011
Location: England
Distribution: Slackware
Posts: 147

Rep: Reputation: 15
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.
 
Old 04-14-2013, 08:29 PM   #2
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware 14.0/32bit + a T60p (2007-YS3) = YES
Posts: 260

Rep: Reputation: 60
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
 
Old 04-15-2013, 01:26 AM   #3
Stephen Morgan
Member
 
Registered: Feb 2011
Location: England
Distribution: Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by STDOUBT View Post
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.
 
Old 04-15-2013, 03:47 AM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
What graphics card and drivers are you using ? Could be a shader issue with old or intel graphics cards.
 
Old 04-15-2013, 09:18 AM   #5
Stephen Morgan
Member
 
Registered: Feb 2011
Location: England
Distribution: Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
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.
 
Old 04-15-2013, 09:42 AM   #6
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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.
 
Old 04-16-2013, 01:43 AM   #7
Stephen Morgan
Member
 
Registered: Feb 2011
Location: England
Distribution: Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
I believe I've now tried every video and graphics option in various combinations, including turning everything off, all without any noticable effect.
 
Old 04-16-2013, 07:37 AM   #8
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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
 
Old 04-16-2013, 01:45 PM   #9
Stephen Morgan
Member
 
Registered: Feb 2011
Location: England
Distribution: Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
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.
 
Old 04-16-2013, 01:56 PM   #10
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
You probably need a newer libdrm as well.
 
Old 04-17-2013, 02:48 PM   #11
Stephen Morgan
Member
 
Registered: Feb 2011
Location: England
Distribution: Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
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.
 
Old 04-18-2013, 02:44 AM   #12
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
So you mean this problem only occurs on -current ?
 
Old 04-18-2013, 08:15 AM   #13
Stephen Morgan
Member
 
Registered: Feb 2011
Location: England
Distribution: Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
Yes indeed.
 
1 members found this post helpful.
Old 04-18-2013, 08:23 AM   #14
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Alright, well I hope the Slackware devs take note.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
warzone2100 Slackbuild feedback requested lostnhell Slackware 5 06-11-2012 03:19 AM
After upgrade to OpenSuse 11.3, Canon Pixma MP210 prints solid black JayBee21 Linux - Hardware 7 08-20-2010 12:19 PM
where is black background image? alenD Linux - Newbie 2 06-05-2008 02:05 PM
CUPS printing solid black page setx Fedora 0 07-28-2006 04:30 PM
Black stripes on KDE background doris Linux - General 9 05-30-2001 08:51 PM


All times are GMT -5. The time now is 01:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration