Steam for Linux > Limited Beta > Détails du sujet
K900 8 nov 2012 à 6h09
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.
Dernière modification de K900; 15 nov 2012 à 1h23
Affichage des commentaires 1 à 15 sur 68
< >
SUSEd 8 nov 2012 à 6h44 
Got same when launched steam in console and run TF2.
Intel HD4000+Ubuntu 12.10 x86_64.
NeoTheFox 8 nov 2012 à 6h48 
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.
Dernière modification de NeoTheFox; 8 nov 2012 à 6h50
K900 8 nov 2012 à 9h49 
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 à 10h29 
I haven’t seen this on Ubuntu 12.04 amd64 GeForce GT 630
K900 8 nov 2012 à 10h45 
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.
Mendiel 8 nov 2012 à 11h15 
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 à 7h51 
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 à 5h25 
Tryed to use mesa 8.0.4 and linux 3.7-rc4. No luck.
Frank 12 nov 2012 à 15h25 
Thanks for the info everyone. Please keep reporting the problem configurations.
Lorenzo1906 12 nov 2012 à 19h11 
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 à 1h51 
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.
Dernière modification de SAFETY; 13 nov 2012 à 1h52
SUSEd 13 nov 2012 à 1h57 

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 à 1h59 
BTW, provide some logs after you launched TF2.
northernNed 13 nov 2012 à 2h00 
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 à 2h11 
@shished
1) Run "export LANG=C"
2) Run "steam"
(Works for me)
Log and system configuration in this thread.
Affichage des commentaires 1 à 15 sur 68
< >
Par page : 15 30 50