Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I get a strange rendering problem in Portal on Linux (via the latest Steam beta).

I'm running on integrated Intel HD4000 with fairly recent modules/drivers (up to date Arch). Everything is smooth and there's no crash, but some objects seem to be transparent and others are almost completely black.

For example the first thing I see in the new game looks like this:

On the console, I can see some shaders / materials failing to load (missing):

 ##### CTexture::LoadTextureBitsFromFile couldn't find materials/maps/background1/c-1369_-576_368.vtf
 ##### CTexture::LoadTextureBitsFromFile couldn't find materials/maps/background1/c-1536_-768_368.vtf
 ##### CTexture::LoadTextureBitsFromFile couldn't find materials/maps/background1/c-1561_-384_368.vtf
 ##### CTexture::LoadTextureBitsFromFile couldn't find materials/maps/background1/c-1561_-564_181.vtf
 ##### CTexture::LoadTextureBitsFromFile couldn't find materials/maps/background1/c-1561_-576_368.vtf
 ##### CTexture::LoadTextureBitsFromFile couldn't find materials/maps/background1/c-1696_-544_368.vtf
 ##### CTexture::LoadTextureBitsFromFile couldn't find materials/maps/background1/c-1776_-624_368.vtf
 ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/weapons/v_models/v_hands/v_hands.vtf
Error: Material "___fillrate_0" uses unknown shader "FillRate"
Error: Material "___debugnormalmap_1" uses unknown shader "DebugNormalMap"
Error: Material "___debugdrawenvmapmask_2" uses unknown shader "DebugDrawEnvmapMask"
Error: Material "___debugdepth_3" uses unknown shader "DebugDepth"
Error: Material "___debugdepth_4" uses unknown shader "DebugDepth"
Error: Material "debug/debugluxels" uses unknown shader "DebugLuxels"

 ##### CTexture::LoadTextureBitsFromFile couldn't find materials/models/weapons/v_models/v_hands/v_hands.vtf
Error: Material "models/humans/female/pupil_r" uses unknown shader "Eyeball"
Error: Material "models/humans/female/pupil_l" uses unknown shader "Eyeball"

Any ideas whether this is fixable on my side?

share|improve this question
3  
Wait for it to go out of beta, hopefully on time? –  kotekzot May 4 '13 at 12:40
1  
And assume that the issue is in the game rather than configuration? Thanks @kotekzot , but have you got any useful information instead? –  viraptor May 4 '13 at 15:56
add comment

1 Answer

up vote 5 down vote accepted

I had the same problem with almost the exact same system. Installing libtxc_dxtn and lib32-libtxc_dxtn fixed it.

share|improve this answer
    
Bingo! Just for reference, libtxc_dxtn is a "Texture compression library for Mesa". Makes sense that it was needed. –  viraptor May 4 '13 at 20:57
    
I believe this (libtxc) is a S3TC issue. Proprietary drivers have included these libs in the past, but legal uncertainty kept them out of Mesa. I thought this changed recently, and that future Mesa releases would come with it enabled by default, but maybe that was just a rumor. –  hunter2 May 7 '13 at 4:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.