Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

Team Fortress 2 doesn't run on Intel GPUs without GLSL 1.3 support

Open jorgenpt opened this issue 13 years ago • 315 comments

Issue transferred from ValveSoftware/steam-for-linux#19 @cumulus007 posted at 2012-12-20T01:34:51Z:

While TF2 runs fine on Windows running on machines like mine (pre-HD integrated grahpics, e.g. the 4500mhd), the native Linux port fails to do anything more than to show a black screen, while the game loads and cycles through introduction screens and the main menu, with sound working perfectly fine.

The underlying issue seems to be lacking GLSL 1.3 support for said hardware. I cannot tell whether this is a software (Mesa) or a hardware problem; even under Windows, I get results of OpenGL 2.1 compliance at most. The game seems to be somehow less demanding in DirectX mode, or whatever reason Valve came up with.

In the game's log, several error messages related to failing shader compilation can be found. Numerous cases of this, and as shown in video, can be found in this Discussion thread: http://steamcommunity.com/app/221410/discussions/6/846939071071956036/#p1

A filthy, not-so-much-working workaround was proposed by me, which merely forces the game engine to assume we're running it on a GLSL 1.3-compatible system. Of course, this is asking for trouble, and the little useful results can also be found in this thread.

"Workaround", forcing GLSL version to minimum required 1.3:

MESA_GLSL_VERSION_OVERRIDE=130

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@slyon posted at 2012-12-20T09:23:29Z:

I can confirm this issue, observing the very same behaviour on my Intel GMA HD (Ironlake, 1st Gen i5).

PS: Someone should add a "Intel drivers" label to this issue.

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@timeimp posted at 2012-12-20T12:10:12Z:

When launching TF2 with nVidia GeForce 6600 GT, it complains about there being a lack of an 'entry point'.

Researching around leads me to OpenGL 1.3 'n' stuff - which is odd, as this card seems to play TF2 OK under Windows.

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@play3man posted at 2012-12-20T13:10:18Z:

Intel GMA 4500m, in windows it works fine, in wine on ubuntu too, but native version didn't...

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@dos1 posted at 2012-12-20T16:08:27Z:

Debian sid amd64, Ivybridge (HD 4000)

All I can get from TF2 is http://i48.tinypic.com/28a55jq.png Menu works, music plays, but graphics are a bit boring ;)

glxinfo says:

OpenGL version string: 3.0 Mesa 8.0.5 OpenGL shading language version string: 1.30

Tried workaround with locale C, but with no luck.

This PC haven't seen Windows at all (and probably won't in future too), so I cannot say if it worked on it or not. Haven't tried under wine.

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@slyon posted at 2012-12-20T16:11:22Z:

@dos1 yo! It should work on HD4000. You should try to use Mesa 9.0.1, as this is the recommended release, due to: http://intellinuxgraphics.org/2012Q4.html

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@play3man posted at 2012-12-20T21:12:29Z:

@cumulus007 set intel drivers tag on this bug report please

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@jpgunter posted at 2012-12-20T22:28:31Z:

I get the same thing with Intel HD3000 graphics

OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile OpenGL version string: 2.1 Mesa 9.1-devel OpenGL shading language version string: 1.20

I am running the latest from xorg-edgers.

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@dos1 posted at 2012-12-21T01:46:40Z:

Hi @slyon! :) Yes, that was it. I have compiled Mesa 9.0.1 (it's not available yet from Debian repositories) and TF2 now works like a charm - thanks for suggestion!

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@play3man posted at 2012-12-21T16:48:28Z:

@jpgunter You have Ironlake = Intel HD (2010 series) which support only OpenGL 2.1

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@jpgunter posted at 2012-12-21T16:52:57Z:

@play3man Does my graphics chip need to support something higher to play tf2?

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@play3man posted at 2012-12-21T16:59:21Z:

@jpgunter In linux yes... or... with linux steam yes. But it's playable in linux by Wine with windows version of steam. So I hope native version of TF2 will be playable too...

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@jpgunter posted at 2012-12-21T17:00:46Z:

Are the minimum specs documented anywhere?

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@play3man posted at 2012-12-21T17:07:54Z:

@jpgunter http://steamcommunity.com/app/221410/discussions/1/882965118609963322/

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@play3man posted at 2012-12-22T11:58:41Z:

http://www.youtube.com/watch?v=LwVLP-JucH4

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@pepijndevos posted at 2012-12-22T13:55:30Z:

So the final answer is that you need a HD 3000/4000?

I'm getting sound, but a lot of messages saying Compile of "shadowmodel_ps20" Failed: followed by what looks like C code.

This is my system info:

Processor Information:
    Vendor:  GenuineIntel
    Speed: 1300 Mhz
    2 logical processors
    2 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Unsupported
    SSE42:  Unsupported

Network Information:
    Network Speed:  

Operating System Version:
    Linux (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.6.10-1-ARCH
    X Server vendor:  The X.Org Foundation
    X Server release:  11300902

Video Card:
    Driver:  Intel Open Source Technology Center Mesa DRI Mobile Intel® GM45 Express Chipset x86/MMX/SSE2

    Driver Version:  2.1 Mesa 9.0.1
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x8086
    DeviceID:  0x2a42
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1366 x 768
    Desktop Resolution: 1366 x 768
    Primary Display Size: 10.08" x 5.67"  (11.54" diag)
                                            25.6cm x 14.4cm  (29.3cm diag)
    Primary VRAM Not Detected

Sound card:
    Audio device: Intel Cantiga HDMI

Memory:
    RAM:  1938 Mb

Miscellaneous:
    UI Language:  English
    LANG:  C
    Microphone:  Not set
    Total Hard Disk Space Available:  131031 Mb
    Largest Free Hard Disk Block:  105801 Mb
`

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@slyon posted at 2012-12-22T14:08:00Z:

@pepijndevos If you want to play now – yes! In the future either the Intel/Mesa driver could be extended to support the missing features, or Valve could change the Source engines DirectX to OpenGL translation layer to have lower requirements.

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@play3man posted at 2012-12-26T17:34:31Z:

nothing new guys?

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@wimmez posted at 2012-12-27T00:45:15Z:

For Ubuntu 12.04 players, I found this PPA: https://launchpad.net/~ubuntu-x-swat/+archive/mesa9 that upgrades your MESA to v9 which fixed this issue on my Intel Core i3 (Sandy Bridge) CPU.

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@mcoumans posted at 2013-01-03T14:30:17Z:

https://github.com/ValveSoftware/steam-for-linux/issues/524

jorgenpt avatar Feb 15 '13 23:02 jorgenpt

@cumulus007 posted at 2013-01-03T14:38:47Z:

@mcoumans The issue you referred to is not the same, since you are actually able to play the game.

jorgenpt avatar Feb 15 '13 23:02 jorgenpt