Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Cross-Platform Development => Topic started by: MatthTheGeek on June 03, 2010, 09:18:44 am

Title: Issue with Intel Integrated 965 on Linux
Post by: MatthTheGeek on June 03, 2010, 09:18:44 am
First of all, I don't want any "integrated cards suck, get a real graphic card and gtfo". I know that already, I'm using a laptop, I can't change the hardware.

Back the the matter at hand. FSO used to run flawlessly on Windows (until I was swarmed with viruses, but that's not my point), with MVPs, Advanced and most of what you can think about, so the card itself is for sure able to run FSO. However I hit several issues on Linux.

First the meshes simply didn't want to render properly (see screenshot below), issue I managed to fix with the "Disable OpenGL VBO" option (-novbo flag).
(http://img63.imageshack.us/img63/2633/screen0000j.th.jpg) (http://img63.imageshack.us/img63/2633/screen0000j.jpg)

Second, now that this problem was fixed and that I was able to render properly most ships, I've been having issues of some specific vertices not being rendered on some other ships :
(http://img101.imageshack.us/img101/4629/screen0001k.th.jpg) (http://img101.imageshack.us/img101/4629/screen0001k.jpg) (http://img532.imageshack.us/img532/7610/screen0002x.th.jpg) (http://img532.imageshack.us/img532/7610/screen0002x.jpg)

Everything is rendered properly in software mode though. Also it seems to randomly crash when loading big ships, especially with MVPs, but it's barely reproducible and doesn't seem to be ship-specific.

Log is attached.

[attachment deleted by admin]
Title: Re: Issue with Intel Integrated 965 on Linux
Post by: chief1983 on June 03, 2010, 09:56:08 am
Well, just because it runs great on one platform doesn't mean it will on another.  I know you don't want to hear about the integrated thing, but you don't have a gaming laptop, and you're not running a gaming oriented OS, so it's to be expected that things might not work out as well as you'd like.  Disable VBO helps probably because the Intel chipset linux drivers don't work well with VBOs.

The last shots look like it's rendering all the normals backwards.  It could be a code issue, or it could be the Intel drivers on Linux.  Make sure your drivers are up to date as they can be.  Try to use -no_glsl, although GLSL is probably already disabled.  Sorry but not sure what else we can do without some hardware to reproduce it on.  Not sure if taylor has a intel chipset anywhere to test on.
Title: Re: Issue with Intel Integrated 965 on Linux
Post by: MatthTheGeek on June 07, 2010, 09:57:36 am
After a laborious but successful search for more recent Intel drivers for Linux and a not-less-laborious recompilation of those drivers and FSO, I have now solved the problem ! I'm still a bit slower than on Windows, but at least I don't have graphical glitches, nor random crashes. Anyway, thanks for the help !
Title: Re: Issue with Intel Integrated 965 on Linux
Post by: chief1983 on June 07, 2010, 10:37:21 am
Tell that to the mac users struggling along at 15fps in Portal on Steam for the time being.  But at least they have some resources dedicated to solving those issues across the board, we don't have that luxury :(
Title: Re: Issue with Intel Integrated 965 on Linux
Post by: MatthTheGeek on June 07, 2010, 10:47:00 am
Tell that to the mac users struggling along at 15fps in Portal on Steam for the time being.
Haha. I'm under 10fps, on windows >.>
Title: Re: Issue with Intel Integrated 965 on Linux
Post by: chief1983 on June 07, 2010, 10:48:42 am
Yeah but this is with a $3000 piece of hardware with G92 chipsets :P
Title: Re: Issue with Intel Integrated 965 on Linux
Post by: MatthTheGeek on June 07, 2010, 11:11:59 am
Soooooooo, that mean that my sucking integrated card is nearly as good as $3000-worth hardware, **** yeah ! :p
Title: Re: Issue with Intel Integrated 965 on Linux
Post by: Darklord42 on June 08, 2010, 02:55:49 pm
without better drivers, yup.. :p  Which is why I always ran games by booting into windows.