Summary: | [bisected] Start screen in Amnesia too dark after "Rewrite the way uniforms are tracked and handled" commit | ||
---|---|---|---|
Product: | Mesa | Reporter: | Jure Repinc <jlp.bugs> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | pavel.ondracka |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
URL: | http://www.amnesiagame.com/#demo | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
amnesia-bad.png
amnesia-good.png |
Description
Jure Repinc
2011-11-20 19:36:26 UTC
Created attachment 53729 [details]
amnesia-bad.png
Created attachment 53730 [details]
amnesia-good.png
Does the application generate any errors in a log? Does running a debug build of Mesa cause any Mesa warnings to be logged? I just posted a patch to the mesa-dev mailing list that may fix this issue: http://lists.freedesktop.org/archives/mesa-dev/2011-November/014913.html IF I did everything right applying this patch, then it unfortunately doesn't appear to help. I get this output when I run the game: $ libGL: Can't open configuration file /etc/drirc: No such file or directory. libGL: Can't open configuration file /home/jlp/.drirc: No such file or directory. libGL: Can't open configuration file /etc/drirc: No such file or directory. libGL: Can't open configuration file /home/jlp/.drirc: No such file or directory. Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) aDiffuseMap: 1 avLightColor: 4 aDiffuseMap: 1 avLightColor: 4 aSSAOMap: 1 aDiffuseMap: 1 Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) depthTexture: 1 depthMap: 1 occMap: 1 afFarPlane: 1 depthMap: 1 occMap: 1 afFarPlane: 1 scatterDisk: 1 depthMap: 1 avScreenSize: 2 afDepthDiffMul: 1 avScatterLengthLimits: 2 afScatterLengthMul: 1 afFarPlane: 1 Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) depthTexture: 1 normalTexture: 1 depthTexture: 1 screenTexture: 1 afFarPlane: 1 aDiffuseMap: 1 afBlurSize: 1 diffuseMap: 1 afBlurSize: 1 diffuseMap: 1 avRgbToIntensity: 3 diffuseMap: 1 blurMap: 1 convMap: 1 diffuseMap: 1 afFadeAlpha: 1 convMap: 1 diffuseMap: 1 afAlpha: 1 diffuseMap: 1 avHalfScreenSize: 2 afBlurStartDist: 1 afSize: 1 diffuseMap: 1 Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) afColorMul: 1 aDiffuse: 1 afColorMul: 1 aDiffuse: 1 gvColor: 3 alphaMap: 1 gvColor: 3 aDiffuseMap: 1 afBlurSize: 1 diffuseMap: 1 afBlurSize: 1 diffuseMap: 1 afZoomAlpha: 1 afWaveAlpha: 1 afAmpT: 1 avScreenSize: 2 afT: 1 zoomMap: 1 ampMap1: 1 ampMap0: 1 diffuseMap: 1 diffuseMap: 1 diffuseMap: 1 diffuseMap: 1 diffuseMap: 1 Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) sampler_0: 1 Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901) sampler_0: 1 afLightLevel: 1 afAlpha: 1 aDiffuseMap: 1 afFalloffExp: 1 afOneMinusFogAlpha: 1 avFogStartAndLength: 2 afLightLevel: 1 afAlpha: 1 aDiffuseMap: 1 afDissolveAmount: 1 aDissolveMap: 1 afInvFarPlane: 1 avHeightMapScaleAndBias: 2 aHeightMap: 1 aSpecularMap: 1 aNormalMap: 1 aDiffuseMap: 1 afColorMul: 1 aDiffuse: 1 afInvFarPlane: 1 aSpecularMap: 1 aNormalMap: 1 aDiffuseMap: 1 aDiffuseMap: 1 afInvFarPlane: 1 aSpecularMap: 1 aDiffuseMap: 1 aDiffuseMap: 1 afDissolveAmount: 1 aDissolveMap: 1 aDiffuseMap: 1 afInvFarPlane: 1 aDiffuseMap: 1 afLightLevel: 1 afAlpha: 1 aDiffuseMap: 1 afFalloffExp: 1 afOneMinusFogAlpha: 1 avFogStartAndLength: 2 afLightLevel: 1 afAlpha: 1 aDiffuseMap: 1 avRimLightMulPow: 2 avFrenselBiasPow: 2 a_mtxInvViewRotation: 16 afRefractionScale: 1 afLightLevel: 1 afAlpha: 1 aEnvMap: 1 aRefractionMap: 1 aNormalMap: 1 aDiffuseMap: 1 avRimLightMulPow: 2 avFrenselBiasPow: 2 a_mtxInvViewRotation: 16 afFalloffExp: 1 afOneMinusFogAlpha: 1 avFogStartAndLength: 2 afRefractionScale: 1 afLightLevel: 1 afAlpha: 1 aEnvMap: 1 aRefractionMap: 1 aNormalMap: 1 aDiffuseMap: 1 sampler_2: 1 sampler_1: 1 sampler_0: 1 afNegFarPlane: 1 aAttenuationMap: 1 aDepthMap: 1 aNormalMap: 1 aDiffuseMap: 1 avLightColor: 4 afInvLightRadius: 1 avLightPos: 3 afFalloffExp: 1 avFogColor: 4 avFogStartAndLength: 2 afNegFarPlane: 1 aDepthMap: 1 sampler_0: 1 Also affects llvmpipe and r300g. Reproducible with the demo. I guess this patch could help: http://lists.freedesktop.org/archives/mesa-dev/2011-December/016347.html (In reply to comment #7) > I guess this patch could help: > > http://lists.freedesktop.org/archives/mesa-dev/2011-December/016347.html Yes, that patch fixes Amnesia here. I also confirm that the patch fixes the problem pushed: d4bf5cefb0943a196c603360187493e270a66442 |
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.