I recently installed TF2 and when I launch the game, it gives me a black screen but sound however still works. It will not even display the Valve intro unfortunately. Any ideas on how coul i solve this?
3 Answers
Welcome to the forums! Here are some commands that I found others have said have worked for them:
- In terminal, run
export LANG=C; steam
or
- In terminal, run
export LC_NUMERIC=C
- Start Steam
You might also want to check out your drivers - try changing to other drivers (Settings Manager -> Software Sources -> Additional Drivers
), and see if that works. If you change to a different driver, and it doesn't work, I would try running either of the above commands before switching to a different driver again.
Probably the best place to post bug reports and get support for anything related to Steam for Linux is at Valve's Steam-for-Linux Github. Not trying to shove you off the Askubuntu forums, just suggesting a better place for this specific issue.
Sources: Issue Report: Black screen on TF2 startup
Issue Report: Shader generation/compilation fails in TF2 - temporary fix - proper fix WIP
-
thanks, but i'm kind of a noob on ubuntu xd, do i have tu run the commands directly like this? inescarate@Hal-9000:~$ export LC_NUMERIC=C or do i have to put something before?– ScipioDec 23, 2012 at 16:11
-
s3tc texture compression
Either do
export force_s3tc_enable=true
before running steam or addforce_s3tc_enable=true
right under the#!/bin/bash
in/usr/bin/steam
.Locale issues
Either do
export LANG=C
andexport LC_NUMERIC=POSIX
before running steam or addLANG=C
andLC_NUMERIC=POSIX
under the#!/bin/bash
in/usr/bin/steam
. Apparently this has been fixed. Follow these steps:Open a terminal and run:
sudo nano /usr/bin/steam
Add the following lines after
#! /bin/bash
:export LANG=C export LC_NUMERIC=POSIX
Save (CTRL + O >> Then Enter >> Then CTRL + X)
Launch Steam
No symlinks
There must be no symlinks involved in getting to the SteamApps directory, or
tf2
will fail on startup. If you don't want/don't have the space fortf2
in your home directory, just add/opt/Steam
as another steam library or the sole steam library.Tell tf2 not to use a joystick
Add
-nojoy
to the launch options fortf2
.SELinux prevents tf2 from starting
Run
sudo setsebool -P allow_execheap 1
in the terminal to fix this.Windowed mode
Add
-window
,-sw
,-startwindowed
or-windowed
to the launch options.Proprietary drivers
Some people have had luck installing the drivers from ATI's website. Be warned though that this often causes a plethora of other issues.
Sources: http://steamcommunity.com/app/221410/discussions/0/846938351032713908/
sudo -i
(enter root password)
apt-get update
apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon
apt-get install xserver-xorg-video-ati
apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
rm -rf /etc/ati
apt-get autoremove steam
apt-get install steam
(agree to user agreement)