5cf69361185a9a32eedbd5b09f2a569002e3dfe7
[www-rohieb-name.git] / blag / post / portal-on-linux-fix-black-screen-without-textures.mdwn
1 [[!meta title="Portal on Linux: fix black screen without textures"]]
2 [[!meta author="rohieb"]]
3 [[!meta license="CC-BY-SA 3.0"]]
4 [[!img defaults size=x200]]
5
6 **Problem:** I just bought [Portal][] for Linux. When I start the game on my
7 AMD64 laptop with Debian testing, I only see black objects, and a few light
8 stripes in between. Everything else works, I can hear sound, I can interact with
9 objects, and I can look and around, in which case the stripes also move in the
10 right directions, so they seem to be speckles or reflections rendered on
11 objects, and only the textures are missing.
12
13 **Solution:** Searching the Steam forums resulted in nothing (who would have
14 guessed), but [this forum post][post] suggested to update Mesa to version 9.2
15 and install `libtxc-dxtn` or `libtxc-dxtn-s2tc0`. This packages were not
16 installed on my system, and the description for the package says that it is used
17 for texture compression, so it seems to be related. So I first tried to install
18 the i386 version:
19
20 aptitude install libtxc-dxtn-s2tc0 libtxc-dxtn-s2tc0:i386
21
22 After restarting Portal, the problem was gone, so I refrained from updating my
23 Mesa :-)
24
25 Before and after images:
26 <div class="gallery">
27 [[!img testchmb_a_000000.jpg alt="Before"]]
28 [[!img testchmb_a_000002.jpg alt="After"]]
29 </div>
30
31 [Portal]: http://store.steampowered.com/app/400/
32 [post]: https://01.org/linuxgraphics/comment/358#comment-358
33
34 [[!tag quickfix howto Portal games Linux Linux_gaming Debian Debian_testing
35 Mesa libtxc-dxtn]]
This page took 0.142646 seconds and 3 git commands to generate.