Steam for Linux > Limited Beta > 主题详情
K900 2012年11月8日上午6:09
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.
最后由 K900 编辑于; 2012年11月15日上午1:23
正在显示第 1 - 15 条,共 68 条留言
< >
SUSEd 2012年11月8日上午6:44 
Got same when launched steam in console and run TF2.
Intel HD4000+Ubuntu 12.10 x86_64.
NeoTheFox 2012年11月8日上午6:48 
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.
最后由 NeoTheFox 编辑于; 2012年11月8日上午6:50
K900 2012年11月8日上午9:49 
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 [🐧︀ 🎮] 2012年11月8日上午10:29 
I haven’t seen this on Ubuntu 12.04 amd64 GeForce GT 630
K900 2012年11月8日上午10:45 
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 2012年11月8日上午11:15 
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 2012年11月11日上午7:51 
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 2012年11月12日上午5:25 
Tryed to use mesa 8.0.4 and linux 3.7-rc4. No luck.
Frank 2012年11月12日下午3:25 
Thanks for the info everyone. Please keep reporting the problem configurations.
Lorenzo1906 2012年11月12日下午7:11 
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 2012年11月13日上午1:51 
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.
最后由 SAFETY 编辑于; 2012年11月13日上午1:52
SUSEd 2012年11月13日上午1:57 

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 2012年11月13日上午1:59 
BTW, provide some logs after you launched TF2.
northernNed 2012年11月13日上午2:00 
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 2012年11月13日上午2:11 
@shished
1) Run "export LANG=C"
2) Run "steam"
(Works for me)
Log and system configuration in this thread.
正在显示第 1 - 15 条,共 68 条留言
< >
每页显示数: 15 30 50
发帖日期: 2012年11月8日上午6:09
帖子数: 68