Steam for Linux > Limited Beta > Details van topic
Takane 8 nov 2012 om 6:09vm
Issue Report: Shader generation/compilation fails in TF2 - temporary fix - proper fix WIP
Workaround for now: export LC_NUMERIC=C before starting Steam.

Technical explaination:
The engine uses glibc functions to format the generated shader, and that breaks the output when the decimal separator for the locale used is not '.' (a dot), but ',' (a comma). Confirmed affected locales: ru_RU.UTF-8, fr_FR.UTF-8, likely more. Note the commas in the log (e.g. 1,164123 etc).

Log:
Compile of "?" Failed:
<snip>
vec4 pd0 = vec4( 1,.0, 0,.0, 1,.0, 1,.0 );
<snip>

Compile of "bik_ps20b" Failed:
<snip>
vec4 pd0 = vec4( 1,.0, 0,.0, 0,.0, 0,.0 );
vec4 pd1 = vec4( 1,164123535156.0, 1,595794677734.0, 0,.0, -0,870655059814.0 );
vec4 pd2 = vec4( 1,164123535156.0, -0,8134765625.0, -0,391448974609.0, 0,529705047607.0 );
vec4 pd3 = vec4( 1,164123535156.0, 0,.0, 2,017822265625.0, -1,08166885376.0 );
<snip>
A proper solution should be just to set the locale to POSIX before formatting the shader.
Laatst bewerkt door Takane; 15 nov 2012 om 1:23vm
1-15 van 68 reacties weergegeven
< >
SUSEd 8 nov 2012 om 6:44vm 
Got same when launched steam in console and run TF2.
Intel HD4000+Ubuntu 12.10 x86_64.
NeoTheFox 8 nov 2012 om 6:48vm 
Confirmed on Ubuntu 12.04 amd64
GeForce GTX 480

It seem by the comments, all (or many) ubuntu 12.04 for amd64 are affected. 12.10 for amd 64 is fine.
Laatst bewerkt door NeoTheFox; 8 nov 2012 om 6:50vm
Takane 8 nov 2012 om 9:49vm 
It's weird how 12.04 is affected, 12.10 is not, and Arch current (which is what I'm running) is affected. That means something was introduced in 12.10 that is used by the engine, but is actually an Ubuntu quirk/feature.
johndrinkwater [🐧︀ 🎮] 8 nov 2012 om 10:29vm 
I haven’t seen this on Ubuntu 12.04 amd64 GeForce GT 630
Takane 8 nov 2012 om 10:45vm 
What driver version/graphics chip are you running guys? We should make a list of affected setups so it's easier to identify the problem.
Hackerman 8 nov 2012 om 11:15vm 
K900 , I'll start .

Distribution : Ubuntu 12.04 & 12.10 x86_64
CPU: i3-2350M
Graphic chip : Intel HD Graphics 3000
Driver version : 3.0 Mesa 9.1-devel (xorg-edgers ppa)
Resolution : 1366 x 768
SUSEd 11 nov 2012 om 7:51vm 
Distribution : Ubuntu 12.10 x86_64 & openSUSE 12.2 x86_64
CPU: i5-3570k
Graphic chip : Intel HD Graphics 4000
Driver version : 3.0 Mesa 9.1-devel (xorg-edgers ppa)
Resolution : 1280 x 1024
SUSEd 12 nov 2012 om 5:25vm 
Tryed to use mesa 8.0.4 and linux 3.7-rc4. No luck.
Frank 12 nov 2012 om 3:25nm 
Thanks for the info everyone. Please keep reporting the problem configurations.
Lorenzo1906 12 nov 2012 om 7:11nm 
I have the same problem:
Processor Information:
Vendor: GenuineIntel
Speed: 3301 Mhz
4 logical processors
4 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Unsupported
SSE41: Supported
SSE42: Supported

Network Information:
Network Speed:

Operating System Version:
Ubuntu 12.04.1 LTS (64 bit)
Kernel Name: Linux
Kernel Version: 3.2.0-32-generic
X Server vendor: The X.Org Foundation
X Server release: 11103000

Video Card:
Driver: NVIDIA Corporation GeForce GTX 560/PCIe/SSE2

Driver Version: 4.3.0 NVIDIA 310.14
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID: 0x10de
DeviceID: 0x1201
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 18,74" x 10,55" (21,50" diag)
47,6cm x 26,8cm (54,6cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 1023 MB
Supported MSAA Modes: 2x 4x 8x 16x

Sound card:
Audio device:

Memory:
RAM: 7967 Mb

Miscellaneous:
UI Language: English
Microphone: Not set
Total Hard Disk Space Available: 185862 Mb
Largest Free Hard Disk Block: 155440 Mb

Installed software:
SAFETY 13 nov 2012 om 1:51vm 
I had same issue but Valve didn`t pay attention to it.

Solution:
1) open console 2) type "export LANG=C" 3) type "steam" 4) TF2 working just great after this step (when locale becomes "C").

Seems like 12.04-only issue.
Laatst bewerkt door SAFETY; 13 nov 2012 om 1:52vm
SUSEd 13 nov 2012 om 1:57vm 
Origineel geplaatst door Crits, Crits Everywhere:

Solution:
1) open console 2) type "export LANG=C" 3) type "steam" 4) TF2 working just great after this step (when locale becomes "C").

You mean
$export LANG=C steam
It doesnt work for me, Steam does not launch.

Seems like 12.04-only issue
It isnt. I tried it on 12.10 and openSUSE 12.2.

SUSEd 13 nov 2012 om 1:59vm 
BTW, provide some logs after you launched TF2.
northernNed 13 nov 2012 om 2:00vm 
I am having a similar issue. When TF2 launches all I have is a black screen and cursor, I also hear the Valve intro sound but I don't have any image. I am able to bring up the overlay by using shift+tab

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

Network Information:
Network Speed:

Operating System Version:
Ubuntu 12.10 (32 bit)
Kernel Name: Linux
Kernel Version: 3.5.0-18-generic
X Server vendor: The X.Org Foundation
X Server release: 11300000

Video Card:
Driver: Intel Open Source Technology Center Mesa DRI Intel(R) Ironlake Mobile x86/MMX/SSE2

Driver Version: 2.1 Mesa 9.0
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID: 0x1002
DeviceID: 0x68e4
Number of Monitors: 1
Number of Logical Video Cards: 2
Primary Display Resolution: 1600 x 900
Desktop Resolution: 1600 x 900
Primary Display Size: 15.04" x 8.46" (17.24" diag)
38.2cm x 21.5cm (43.8cm diag)
Primary VRAM Not Detected

Sound card:
Audio device: IDT 92HD81B1X5

Memory:
RAM: 5856 Mb

Miscellaneous:
UI Language: English
Microphone: Not set
Total Hard Disk Space Available: 595051 Mb
Largest Free Hard Disk Block: 409462 Mb

Installed software:
SAFETY 13 nov 2012 om 2:11vm 
@shished
1) Run "export LANG=C"
2) Run "steam"
(Works for me)
Log and system configuration in this thread.
1-15 van 68 reacties weergegeven
< >
Per pagina: 15 30 50

Steam for Linux > Limited Beta > Details van topic
Geplaatst op: 8 nov 2012 om 6:09vm
Aantal berichten: 68