Steam for Linux > Limited Beta > Details van topic
LinuxFanatic[Russia] 8 nov 2012 om 11:16vm
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 Мб

Установленное программное обеспечение:
Laatst bewerkt door LinuxFanatic[Russia]; 8 nov 2012 om 11:17vm
1-15 van 23 reacties weergegeven
< >
johndrinkwater [🐧︀ 🎮] 8 nov 2012 om 12:35nm 
*Very* long, for the first few loads I actively killed tf2 thinking it was broken.
Vash 8 nov 2012 om 1:21nm 
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.
Laatst bewerkt door Vash; 8 nov 2012 om 1:22nm
johndrinkwater [🐧︀ 🎮] 21 nov 2012 om 6:34vm 
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.
SUSEd 21 nov 2012 om 8:46vm 
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.
LinuxFanatic[Russia] 22 nov 2012 om 2:16nm 
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.
AIPHEE 28 nov 2012 om 12:03nm 
Can confirm. On Windows with the same machine is loading time ok, with Linux map is loading about 5mins. It must be bug.
Systematic Chaos 28 nov 2012 om 2:11nm 
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?
LinuxFanatic[Russia] 28 nov 2012 om 2:17nm 
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...
Systematic Chaos 28 nov 2012 om 4:30nm 
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.
LinuxFanatic[Russia] 28 nov 2012 om 5:01nm 
I hope profiling will spot some light on this problem whether it's GPU-related or not...
LinuxFanatic[Russia] 29 nov 2012 om 11:58vm 
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...
PZoned~! 10 dec 2012 om 12:20nm 
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
|NAC²| D.Cent 10 dec 2012 om 1:01nm 
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.
LinuxFanatic[Russia] 11 dec 2012 om 8:28vm 
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.
ZeXx86 11 dec 2012 om 8:49vm 
Same problem here. In Wine my load times are aproximately around 10s, natively I getting more than minute loading times.
Laatst bewerkt door ZeXx86; 11 dec 2012 om 8:49vm
1-15 van 23 reacties weergegeven
< >
Per pagina: 15 30 50
Geplaatst op: 8 nov 2012 om 11:16vm
Aantal berichten: 23