Author Topic: Graphic errors  (Read 2606 times)

0 Members and 1 Guest are viewing this topic.

So I just updated my system and it's been giving me headaches. Luckily, I can get things to compile now (thank you, everyone who helped), but there are graphics errors.

since this isn't a compile problem, so far as I can tell, it gets a new thread.

anyways, I first noticed it during the training missions looking at the nebula backgrounds.  The texture would appear to be connected to a triangle that was moving around with the camera all weird. I didn't think much of it as I could turn off planet/nebula backgrounds in the game.

But, when I try looking at some of the ships in-game, they have missing textures or have these weird poly's coming out at all sorts of angles.

I'd love to post a screenshot, but I don't know if printscreen is working because I don't know where the screenshots are supposed to be stored (I feel like an idiot at the moment, btw) and I must not be looking the right way through the forums.

Anyways, here's the relevant system specs:

Machine specs:
OpenSUSE 10.3 distribution
kernel 2.6.22.9-0.4
gcc 4.2.1
Intel 945GM integrated graphics card (laptop)
"intel" driver
It's a widescreen display (1200x800 capable)

FS2 stuff:
HEAD version (as of 11:15pm(CST) Oct. 13, 2007
1024x768
glitches no matter what cmd-line options I put in.

Any help is greatly appreciated. I can't (apparently) use 3.6.9 because the Mesa update screwed with some of the GL calls and such...

 
this may also be related:

I've determined that mediavps isn't loading correctly/playing well on my machine by comparing what my game looks like to the screenshots that have been posted around. when I add the cmd line parameter: -mod mediavps the game loads, but when I try to look at ships, all their textures are gone. The only things remaining are the lights blinking here and there and maybe a cockpit on one or two of the ships. If I try looking at the larger ships, I wound up getting a segmentation fault and having to restart x.

Given the above info, any thoughts on how to solve my problem(s)?  By the way, this was the case before I upgraded to Suse 10.3 as well... wondering if there's some weird tricks I need to do with my vid card to get this working...

 

Offline Jeff Vader

  • The Back of the Hero!
  • Moderator
  • 212
  • Bwahaha
I could be wrong, since Linuxes might have their own thingies that mess things up, but the part about missing textures on ships suggests that you're not running the game in OpenGL. If Printscreen works in Linux like it works in Wind'ohs, the screens are saved to \freespace\screenshots or something like that.

Edit: That integrated Intel graphics card doesn't sound good. It might be that it's drivers just don't support OpenGL properly, which in turn leads to broken graphics.
« Last Edit: October 14, 2007, 04:41:03 am by Lobo »
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
I could be wrong, since Linuxes might have their own thingies that mess things up, but the part about missing textures on ships suggests that you're not running the game in OpenGL. If Printscreen works in Linux like it works in Wind'ohs, the screens are saved to \freespace\screenshots or something like that.

Linux doesn't have D3D.
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline Jeff Vader

  • The Back of the Hero!
  • Moderator
  • 212
  • Bwahaha
...oh yeah. Too obvious for me to figure out. But printscreen works similarly, right?
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline castor

  • 29
    • http://www.ffighters.co.uk./home/
I'd love to post a screenshot, but I don't know if printscreen is working because I don't know where the screenshots are supposed to be stored
Look at ~/.fs2_open/screenshots

 
castor, you're awesome.

here are the screenshots showing my problems.

When I use -mod mediavps in the command line, here's the result:
https://netfiles.uiuc.edu/mjaworsk/shared/Pictures/FS2/screen1.jpg

just the little lights that blink and tons of missing textures.

The other two are without even trying to call mediavps
If I have planet/nebula backgrounds enabled and look at them, they give this weird polygons everywhere
https://netfiles.uiuc.edu/mjaworsk/shared/Pictures/FS2/screen2.jpg

When I pull up some of the ships in game, they have all sorts of errors in them. It happens in-game as well, not just in the viewer. Here's the Fenris just for illustration
https://netfiles.uiuc.edu/mjaworsk/shared/Pictures/FS2/screen3.jpg


 
Just a quick update:
I have a build of both HEAD and 3.6.9 and both of them give the same behavior. Later today when I have some more free-time, I'm going to try and install Mesa 6.5.3 and see if the issue is with that item... unless someone thinks that's monumentally unwise.

EDIT:
Before I roll back to mesa 6.5.3 I thought I'd give the software rendering a shot to see if ti made a difference.
I appended -nohtl to the commandline and all the ships render normally. I still have a lot of errors/missing ships with the -mod mediavps command.

The weird quirk here is that no primary weapons fire shows up anywhere, though it appears that missiles do fire.
« Last Edit: October 14, 2007, 09:57:15 pm by DivisionByZero »

 
As I'm slowly de-n00bifying on matters linux and computers in general, I think I've identified a potential problem...

I think that the "Direct Rendering Interface" (dri) isn't finding my video card correctly.

The Mesa page says to make sure that dri is working correctly, so I followed the links to this page:
http://dri.freedesktop.org/wiki/DriTroubleshooting

so I run dmesg | grep agp and I get back that it finds my video card alright:
"agpgart: Detected an Intel 945GM Chipset.
agpgart: Detected 7932K stolen memory.
agpgart: AGP aperture is 256M @ 0xc0000000"

then I run dmesg | grep drm and I get:
"[drm] Initialized drm 1.1.0 20060810
[drm] Initialized i915 1.6.0 20060119 on minor 0"

AH HA!

drm thinks I have an i915 when I really have an Intel 945GM.

I'm figuring out how to install the latest drm build to see if that fixes the problem, if not, I'll submit a bug report.... though one of their pages says that my chipset is supported.

I'm kind of posting out loud in the hopes that this helps some other poor shmuck somewhere down the line...