[Linux] Junior s2 Camila Jan 1, 2013 @ 7:17pm
Fix found for TF2 Crashing when joining a server + High load times
Everything works perfectly now, no crashes when joining a server, no FPS drops. The only thing left (regarding the game) is the ability to change the resolution while in-game.
  • Remember, NVidia experimental drivers should be enough for everything to run "OK", but as seen on the sources, typing the commands bellow shouldn't cause any harm, and will also update most parts of your system.
______________________________________________________________
Order that I did to fix the problem:

After installing 310.14 NVIDIA Driver, I typed these commands (in the same order as bellow):

sudo apt-get install ia32-libs (should not be necessary in 32bit systems)
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install libgl1-mesa-glx:i386
sudo reboot now

Then, on the game I disabled the HDR (High dynamic range). -> http://img189.imageshack.us/img189/1891/capturadetelade20130102.png

Now I get Full FPS rate and no crashing what so ever. Also loading times are now 1minute. Before it was 5-6

This fixed MY problem, on Ubuntu 12.04.1 64bit. Hope it helps more people.

PS: All commands found here: https://wiki.ubuntu.com/Valve
PS2: Seems to me that it's not needed to type those commands before installing Steam. I typed them after the instalation with the Client closed at the time.

Sources:

http://askubuntu.com/questions/104527/how-do-i-install-the-latest-nvidia-drivers-via-the-additional-drivers-tool

https://wiki.ubuntu.com/Valve

http://askubuntu.com/questions/184960/using-ubuntu-x-swat-ppa-solved-my-problem-can-i-be-sure-the-commands-i-ran-are

http://askubuntu.com/questions/93571/cannot-install-ia32-libs-on-a-64-bit-ubuntu-installation

http://askubuntu.com/questions/222348/what-does-sudo-apt-get-update-do
______________________________________________________________

Hardware info:

Processor Information:
Vendor: AuthenticAMD
Speed: 3613 Mhz
2 logical processors
2 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Supported
SSE41: Unsupported
SSE42: Unsupported

Network Information:
Network Speed:

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

Video Card:
Driver: NVIDIA Corporation GeForce 9800 GT/PCIe/SSE2

Driver Version: 3.3.0 NVIDIA 310.14
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 75 Hz
VendorID: 0x10de
DeviceID: 0x614
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 1280 x 1024
Desktop Resolution: 1280 x 1024
Primary Display Size: 12,20" x 9,06" (15,20" diag)
31,0cm x 23,0cm (38,6cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 512 MB
Supported MSAA Modes: 2x 4x 8x 16x

Sound card:
Audio device: VIA VT1705

Memory:
RAM: 3954 Mb

Miscellaneous:
UI Language: English
LANG: pt_BR.UTF-8
Microphone: Not set
Total Hard Disk Space Available: 274159 Mb
Largest Free Hard Disk Block: 219613 Mb

Installed software:

Recent Failure Reports:
Wed Jan 2 03:43:47 2013 GMT: file ''/tmp/dumps/crash_20130102014343_1.dmp'', upload yes: ''CrashID=bp-b3794de2-06fb-4168-b84c-e057c2130101''
Wed Jan 2 04:12:26 2013 GMT: file ''/tmp/dumps/crash_20130102021221_1.dmp'', upload yes: ''CrashID=bp-9cdf503d-8178-4963-8774-d17202130101''
Wed Jan 2 04:25:03 2013 GMT: file ''/tmp/dumps/crash_20130102022458_1.dmp'', upload yes: ''CrashID=bp-c2716203-367c-4dae-aae8-000002130101''
______________________________________________________________

Steam profile:
http://steamcommunity.com/profiles/76561198042163203/
Last edited by [Linux] Junior s2 Camila; Jan 2, 2013 @ 11:12am
Showing 1-15 of 17 comments
< >
GNU/Plebian Jan 1, 2013 @ 9:06pm 
As much as this may fix lagginess, and that's good! Dont get me wrong, its just we shouldnt have to adapt to the Operating System's issues. Hopefully, they will fix the extremly bad performance issue in TF2 for Linux soon :)
[Linux] Junior s2 Camila Jan 1, 2013 @ 9:33pm 
You know, I was having performance issues on the game, like 10FPS, and that's IF the game would not crash in the server main screen (that screen you click CONTIUNE). Also, it tooked me about 5 minutes do load the game up after selecting the server. Now it takes 1-2 minutes.
Also most of the issues on the topic bellow are gone

  • When joining a server, the game auto-closes itself;
  • Sometimes the FPS rate is good when launching the game via Steam library (+200fps), sometimes it's not (10-20 fps). But it's 100% sure the FPS is going to be good when launching it via Desktop.
  • Sometimes after hitting ALT+TAB the game freezes and closes itself.

My quote from https://github.com/ValveSoftware/steam-for-linux/issues/452
Last edited by [Linux] Junior s2 Camila; Jan 1, 2013 @ 9:34pm
bobebubab Jan 1, 2013 @ 11:50pm 
+1
gutigen o) Jan 2, 2013 @ 1:37am 
Originally posted by Linux Junior s2 Camila:
Everything works perfectly now, no crashes when joining a server, no FPS drops. The only thing left (regarding the game) is the ability to change the resolution while in-game.
______________________________________________________________

Order that I did to fix the problem:

After installing 310.14 NVIDIA Driver, I typed these commands (in the same order as bellow):

sudo apt-get install ia32-libs (should not be necessary in 32bit systems)
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install libgl1-mesa-glx:i386
sudo reboot now

Then, on the game I disabled the HDR (High dynamic range). -> http://img189.imageshack.us/img189/1891/capturadetelade20130102.png

Now I get Full FPS rate and no crashing what so ever. Also loading times are now 1minute. Before it was 5-6

Don't use those commands, xswat is no longer needed for NVIDIA drivers update, just use experimental drivers from Additional Drivers tab. Also installing ia32libs and libgl1-mesa is not required, Steam.deb automaticly installs all required packages under Ubuntu 12.04 and higher.
The only good advice here is to turn off HDR which is known for creating problems for low-end/older GPUs even under Windows.
[Linux] Junior s2 Camila Jan 2, 2013 @ 5:36am 
Thanks, gutien, It's just that since it can't do any harm I posted here, also by recomendation of the moderator of github
@amarildojr: There is a large community of OpenSuSE and Arch users.

Seems the steps are pretty universal, though. Make sure you have multiarch installed, add the repository for the newest X updates (which includes mesa), and insure that you have libgl1-mesa-glx

PS: "low end" card? With my setup I run Crysis @50-70fps (very-high), GTA IV @40-70fps (high), Left 4 Dead 2 @150fps (everything maxed out), Crysis 2 @40-120fps and TF2 @100-250fps (everything maxed out + HDR enabled). HRD has never been a problem, only in Linux I tell you.
gutigen o) Jan 2, 2013 @ 9:25am 
Originally posted by Linux Junior s2 Camila:
Thanks, gutien, It's just that since it can't do any harm I posted here, also by recomendation of the moderator of github
@amarildojr: There is a large community of OpenSuSE and Arch users.

Seems the steps are pretty universal, though. Make sure you have multiarch installed, add the repository for the newest X updates (which includes mesa), and insure that you have libgl1-mesa-glx

PS: "low end" card? With my setup I run Crysis @50-70fps (very-high), GTA IV @40-70fps (high), Left 4 Dead 2 @150fps (everything maxed out), Crysis 2 @40-120fps and TF2 @100-250fps (everything maxed out + HDR enabled). HRD has never been a problem, only in Linux I tell you.

Yea, cause 40fps is so damn fun to play with :) Also 100-250fps in TF2 with HDR and max settings on 9800... empty server? Make a screenshot at 32player server with all the spam mahyem on the screen then I will believe (I got same gpu, 250gts - rebranded 9800).
Anyway, why complicate things with using outdated (last package built from 5 weeks ago) PPA? Use Ubuntu 12.04 or higher based distro and NVIDIA-experimental drivers from Additional Drivers Tab - it's all what's required for Steam and Source games to work properly :)

--------------------------------
Edit:
Sorry, XSWAT can be actually usefull for AMD users, tho not for NVIDIA.
Last edited by gutigen o); Jan 2, 2013 @ 9:27am
[Linux] Junior s2 Camila Jan 2, 2013 @ 10:01am 
Thanks for your answer.

I got some questions that might help me and others:

Is really the "sudo add-apt-repository ppa:ubuntu-x-swat/x-updates" 5 week old? Can you provide the source of that information?
What's the date of the current repository from experimental drivers? Is there a source too?

BTW, I realised the commands listed on this thread are not needed in NVidia cards (as seen in https://wiki.ubuntu.com/Valve), but this thread is intended to help with all card brands. Also, in that thread there is this quote:

Installation on 12.10 (Quantal) 64 bit

I had to install the package below by hand to get the openGL libraries. After that the client at least seems to work:

  • sudo apt-get install libgl1-mesa-glx:i386

So, as no harm can be made by typing those commands, everyone should get better results than just isntalling Steam, and I'll (try) to say what those commands are for:

  • sudo apt-get install ia32-libs
Installs 32 libraries to make 32bit software compatible with 64bit Ubuntu (or maybe even work with other distros, if needed, or might be some other command)
__________________________________________________________
  • sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
Looking over the internet, seems that this command installs the latest Nvidia updates.

Sources:
  • http://askubuntu.com/questions/104527/how-do-i-install-the-latest-nvidia-drivers-via-the-additional-drivers-tool

  • http://askubuntu.com/questions/184960/using-ubuntu-x-swat-ppa-solved-my-problem-can-i-be-sure-the-commands-i-ran-are
__________________________________________________________
  • sudo apt-get update
Downloads the package lists from the repositories and "updates" them to get information on the newest versions of packages and their dependencies. It will do this for all repositories and PPAs.
__________________________________________________________
  • sudo apt-get dist-upgrade
apt-get dist-upgrade will do the same job which is done by apt-get upgrade, plus it will also intelligently handle the dependencies, so it might remove obsolete packages or add new ones.
__________________________________________________________
  • sudo apt-get install libgl1-mesa-glx:i386
Seems to be a dependency, usually related to AMD drivers and 32bit libraries.
__________________________________________________________
  • sudo reboot now
Reboots the computer
Last edited by [Linux] Junior s2 Camila; Jan 2, 2013 @ 10:02am
mikesart Jan 2, 2013 @ 10:19am 
Does turning off HDR help other folks with loading times and framerates? Thanks!
[Linux] Junior s2 Camila Jan 2, 2013 @ 11:08am 
@gutien - Thank you.

@mikesart At the present moment seems that I'm the only one who has reported testing it, even the "test" being something as simple as disabling the HDR.

I'll test on probably 5 different distros this week (as long as my free time allows me to), all downloaded today from the official websites and all up-to-date (Debian 64bit; Arch Linux 64bit; Mandriva 64bit; Linux Mint 64bit).

In the tests will be included the following reports (all will be related with each other):

  • Installation of graphics card driver - before or after installing Steam
  • The source of the driver (manual install or from the repository)
  • HDR - Enabled and disabled - crashes report
  • Before and after typing the commands bellow - performance tests/bug tests:
sudo apt-get install ia32-libs (should not be necessary in 32bit systems)
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install libgl1-mesa-glx:i386
sudo reboot now
Last edited by [Linux] Junior s2 Camila; Jan 2, 2013 @ 11:19am
mikesart Jan 2, 2013 @ 3:40pm 
This is a huge help. I'm looking forward to seeing what the results are. Thank you!
gutigen o) Jan 2, 2013 @ 8:57pm 
Originally posted by mikesart:
This is a huge help. I'm looking forward to seeing what the results are. Thank you!

Perhaps it's a noob question, but why your nick is different color? :)
[Linux] Junior s2 Camila Jan 2, 2013 @ 9:00pm 
Originally posted by Linux gutigen o):
Originally posted by mikesart:
This is a huge help. I'm looking forward to seeing what the results are. Thank you!

Perhaps it's a noob question, but why your nick is different color? :)
If I recall, this color means he's a Linux developer.
mikesart Jan 3, 2013 @ 10:29am 
Originally posted by Linux Junior s2 Camila:
Originally posted by Linux gutigen o):

Perhaps it's a noob question, but why your nick is different color? :)
If I recall, this color means he's a Linux developer.
Yeah - I'm a developer at Valve. Mostly I like to spend my time programming, which means I'm no expert on this forum. Frank just told me all officers get yellow nicks though. Which I assume is just Valve employees.
[Linux] Junior s2 Camila Jan 3, 2013 @ 11:52am 
Yes. Some are yellow, some are green, some are... your colour =P
Showing 1-15 of 17 comments
< >
Per page: 15 30 50