Bug 75989

Summary: Darkness in Portal 2
Product: Mesa Reporter: Tom Schuster <evilpies+freedesktop>
Component: Mesa coreAssignee: Intel 3D Bugs Mailing List <intel-3d-bugs>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: screenshot

Description Tom Schuster 2014-03-10 16:39:35 UTC
Created attachment 95518 [details]
screenshot

3.0 Mesa 10.2.0-devel on Intel Ivybridge Mobile.
Portal 2 is really dark, almost as if no light source is enabled. Works fine when using the Nvidia card, with primusrun.
Comment 1 Kenneth Graunke 2014-03-14 09:49:21 UTC
That looks a lot like missing textures to me, not just that it's dark.  (Portal 2 has been working fine here...)

Do you have libtxc_dxtn installed?  What does glxinfo | grep s3tc say?
Comment 2 Tom Schuster 2014-03-14 10:19:35 UTC
Do you have libtxc_dxtn installed?
No
What does glxinfo | grep s3tc say?
    GL_OES_EGL_image, GL_OES_read_format, GL_S3_s3tc
    GL_OES_read_format, GL_S3_s3tc, GL_SGIS_generate_mipmap,
Comment 3 Tom Schuster 2014-03-14 10:21:37 UTC
Do you have libtxc_dxtn installed? Actually I am not sure how to check for this, is that just a normal package? dpkg -l doesn't show anything that sounds like that.
Comment 4 almos 2014-03-14 13:07:08 UTC
Your glxinfo output shows GL_S3_s3tc, so it seems OK. The package is called libtxc-dxtn0 by the way.

Do you use a 64 bit system? If yes, you should check that you have this package installed for i386 as well. It's also a good idea to get a 32bit glxinfo from somewhere (download the 32bit mesa-utils package from Debian's ftp site, and extract it).
Comment 5 Tom Schuster 2014-03-14 13:44:58 UTC
Installing libtxc-dxtn0:i386 fixed it! Gameplay is kind of laggy, but I don't actually have to use the intel chip, so that is fine.
I am on 64 bit system, but just extracting glxinfo from the package didn't work for me: I got this with ./glxinfo
error while loading shared libraries: libGLEW.so.1.10: cannot open shared object file: No such file or directory

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.