Steam for Linux

Steam for Linux

Steam for Linux > Limited Beta > Dettagli della discussione
Issue Report: TF2 level loading takes long time
When starting offline practice or joining to some server with real players (no difference in that) - loading of any map consumes at least 150 or even more seconds. Even startup screen of TF2 getting almost 50 seconds to show. I'm using all high graphic details, 4 GB DDR3 should be enought. CPU usage (htop program) - 1 core of 6 - used at 100%. During map load I see memory usage by TF2 is up to 3 GB. Look at my config:

Поставщик: AuthenticAMD
Тактовая частота: 2800 МГц
Кол-во логических процессоров: 6
Кол-во физических процессоров: 6
HyperThreading: Не поддерживается
FCMOV: Поддерживается
SSE2: Поддерживается
SSE3: Поддерживается
SSSE3: Поддерживается
SSE4a: Поддерживается
SSE41: Не поддерживается
SSE42: Не поддерживается

Скорость соединения:

Версия ОС:
Ubuntu 12.04.1 LTS (64 бит)
Название ядра: Linux
Версия ядра: 3.2.0-32-generic
Поставщик X Server: The X.Org Foundation
Версия X Server: 11103000

Модель: NVIDIA Corporation GeForce GTX 465/PCIe/SSE2

Версия драйвера: 4.3.0 NVIDIA 310.14
Глубина цвета: 24 бит/пикс
Частота обновления: 60 Гц
ID производителя: 0x10de
ID карты: 0x6c4
Кол-во экранов: 1
Количество логических видеокарт: 1
Разрешение осн. экрана: 1280 x 1024
Разрешение рабочего стола: 1280 x 1024
Размер осн. экрана:
В дюймах: 14.80" x 11.85" (диагональ 18.94")
В сантиметрах: 37.6 см x 30.1 см (диагональ 48.1 см)
Осн. шина: PCI Express 16x
Осн. видеопамять: 1023 MB
Поддерживаемое сглаживание: 2x 4x 8x 16x

Звуковая карта:
Аудио устройство: VIA VT1828S

Оперативная память: 3954 МБ

Язык интерфейса: Русский
Микрофон: Not set
Места на диске: 1258284 Мб
Наиболее свободный диск: 13059 Мб

Установленное программное обеспечение:
Ultima modifica da LinuxFanatic[Russia]; 8 nov 2012, ore 11:17
< >
Visualizzazione di 1-15 commenti su 23
*Very* long, for the first few loads I actively killed tf2 thinking it was broken.
TF2 has never had quick load times, and you're on a relatively slow processor compared to an i3/i5/i7 for single threaded tasks. I don't think this is a bug. Unless you're getting weird errors in terminal or something.
Ultima modifica da Gibblets; 8 nov 2012, ore 13:22
It has become better since the start of the beta, though both initial load and server connections feel slower or same than i’ve experienced under wine.
For me connecting to multiplayer servers is fast like in pindows or wine.
But creating offline game with bots is very long. Same was in wine so... I do not know.
On same PC with Windows 7 and L4D2 - I got level loading very fast. Less than 45 seconds. When I was on my old much more slower PC with Pentium D - loading time also was less than minute in TF2.

So, why on Linux on significantly faster CPU I got such long lading time? Even first ingame menu of TF2:b loading too slow and along time on Linux OS.

Definitely BUG. My PC is comparable with Intel Core i5, definitely not slower - this shows numerous tests and benchmarks.
Can confirm. On Windows with the same machine is loading time ok, with Linux map is loading about 5mins. It must be bug.
Same problem. TF2 loads exteremely slow. Moreover, if I change some graphic settings and click ok on main settings dialog, it hangs like 5-10 minutes! Map also loads about 15 minutes. Using radeon opensource drivers, I get 14-15fps in game but it is kind of normal.
I think something is wrong with memory allocations, because I see that harddisk usage is not much game is while loading.

Calling this a bug won't help developers to optimise if we don't figure out where is this problem comes from. Any ideas whats how can we detect actual source of the problem?
In a few days I will produce some profiling with perf tool to see where problem - inside TF2 code or it's a system problem. I see 100% load of one core during level loading, possibly some system function performs too much time...
It usually runs at %100 for most games. I guess even windows version runs this way. But this does not give clues about what happens on GPU; maybe texture allocation is done in terrible way so that it loads too slow.

I remember that old AMD drivers doing such thing, when maximizing a window it had took up to 10 seconds. TF2 has noting to do with this bug though.
I hope profiling will spot some light on this problem whether it's GPU-related or not...
Result during map load:

Events: 199K cycles
+ 25,26% MainThrd [.] 0x59fc3f ◆
+ 11,80% MainThrd [kernel.kallsyms] [k] do_select
+ 5,05% MainThrd [kernel.kallsyms] [k] memset
+ 3,68% MainThrd [kernel.kallsyms] [k] max_select_fd

As we can see, most CPU and time consuming function - inside library - something wrong here...
TF2 load times in Linux are definitely longer than in Windows for me and my multiple machines. That said, I linked to my TF2 files on my NTFS SSD (which I use for windows) and the load times are on par with windows when loading for an SSD. Loading off a HDD in Linux is about twice as long as loading from an HDD in windows. Perhaps it has something to do with the filesystem? I think I'll try loading TF2 for linux off a NTFS-formatted HDD and see if that is faster than EXT4.

When transitioning between maps, Linux takes about 5x longer than it does in Windows. Whenever I play and there is a map change, I'll finally have loaded by the time that objectives in the game are already half done. :P
I've got an i7 CPU with 4x3.4 GHz and the map loading time for pl_goldrush is ~15 seconds in WINE - with the native version it takes between 1-2 minutes - there must be something wrong.
PZoned, please, do such testing. It's very important to determine source of problem. I think it's some incorrect usage of filesystem...

Why Valve and other big companies love to use hacks in GUI and other system hacks?

I'm programmer and writing software for Linux. My programs without GUI bugs across platforms and operations with EXT4 is faster than on Windows.
Same problem here. In Wine my load times are aproximately around 10s, natively I getting more than minute loading times.
Ultima modifica da ZeXx86 [Linux]; 11 dic 2012, ore 8:49
< >
Visualizzazione di 1-15 commenti su 23
Per pagina: 15 30 50

Steam for Linux > Limited Beta > Dettagli della discussione
Data di pubblicazione: 8 nov 2012, ore 11:16
Messaggi: 23