Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Gametee


Thread Closed 
Post Effects unusable with Penumbra Collection from Desura
Author Message
hamishwilson Offline
Junior Member

Posts: 8
Joined: Oct 2013
Reputation: 0
Post: #1
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 6 Hours, 9 Minutes, 21 Seconds ago Post Effects unusable with Penumbra Collection from Desura

I recently purchased the full Penumbra Collection on Desura and I am having a problem with some of the graphical effects of the game.

While the menus and introductions work as expected, upon starting the actual game proper I am greeted by only a black screen in both Black Plague and Overture.

This can be remedied by turning of the Post Effects in the graphical settings menu, but that makes it so that a lot of the lighting effects don't work, such as the beam of the flashlight, for instance. Lowering the shader settings the medium mitigates this somewhat, but the game is then plagued by numerous graphical errors.

I have confirmed that this is not a problem with Desura itself by playing with the binaries independent of the client, and I have also confirmed it is not a problem with my hardware or my drivers, as a previous version of Penumbra I acquired independently functions as expected. Plus I am well into Trine 2, which should prove to be a much greater graphical stress test than Penumbra.

Which seems to indicate that the problem is with the game itself, which is out of my control.

The version that works is 1.0.2553 of Overture and 1.0.2567 of Black Plague.

The version of the game on Desura is version 1.1.1.

HPL Engine log:
-------- THE HPL ENGINE LOG ------------

Creating Engine Modules
--------------------------------------------------------
Creating graphics module
Creating system module
Creating resource module
Creating input module
Creating sound module
Creating physics module
Creating ai module
Creating gui module
Creating haptic module
Creating scene module
--------------------------------------------------------

Initializing Resources Module
--------------------------------------------------------
Creating resource managers
Misc Creation
--------------------------------------------------------

Initializing Graphics Module
--------------------------------------------------------
Init low level graphics
Setting video mode: 1280 x 720 - 32 bpp
Init Glee...OK
Setting up OpenGL
  Max texture image units: 16
  Max texture coord units: 8
  Two sided stencil: 1
  Vertex Buffer Object: 1
  Anisotropic filtering: 1
  Max Anisotropic degree: 16
  Multisampling: 1
  Vertex Program: 1
  Fragment Program: 1
  NV Register Combiners: 0
  NV Register Combiners Stages: 148807680
  ATI Fragment Shader: 0
Creating graphic systems
  Creating Renderer2D
  Renderer2D created
  Creating Renderer3D
   Load Renderer3D gpu programs:
    Extrude
CG: 'ShadowExtrude_vp.cg' using profile: 'arbvp1'
CG: 'ShadowExtrude_fp.cg' using profile: 'arbfp1'
    Diffuse Vertex
CG: 'Diffuse_Color_vp.cg' using profile: 'arbvp1'
    Diffuse Fragment
CG: 'Diffuse_Color_fp.cg' using profile: 'arbfp1'
    Fog
CG: 'Fog_Solid_vp.cg' using profile: 'arbvp1'
CG: 'Fog_Solid_fp.cg' using profile: 'arbfp1'
   Creating fog textures: Solid Additive Alpha
CG: 'refract_vp.cg' using profile: 'arbvp1'
CG: 'refract_fp.cg' using profile: 'arbfp1'
CG: 'refract_special_fp.cg' using profile: 'arbfp1'
   init sky box
  Renderer3D created
Creating screen buffers size 1280.000000 : 720.000000
Creating programs
CG: 'PostEffect_Blur_vp.cg' using profile: 'arbvp1'
CG: 'PostEffect_Blur_Rect_fp.cg' using profile: 'arbfp1'
CG: 'PostEffect_Blur_2D_fp.cg' using profile: 'arbfp1'
CG: 'PostEffect_Bloom_vp.cg' using profile: 'arbvp1'
CG: 'PostEffect_Bloom_fp.cg' using profile: 'arbfp1'
CG: 'PostEffect_Motion_vp.cg' using profile: 'arbvp1'
CG: 'PostEffect_Motion_fp.cg' using profile: 'arbfp1'
The compile returned an error.
-----------------------------------
core/programs/PostEffect_Motion_fp.cg(28) : error C5013: profile does not support "for" statements and "for" could not be unrolled.
-----------------------------------
CG: Error loading: 'core/programs/PostEffect_Motion_fp.cg'!
ERROR: Couldn't create program 'PostEffect_Motion_fp.cg'
Dynamic loops in motion blur fp not supported, loading static instead.
CG: 'PostEffect_Motion_staticloop_fp.cg' using profile: 'arbfp1'
CG: 'PostEffect_DoF_vp.cg' using profile: 'arbvp1'
CG: 'PostEffect_DoF_fp.cg' using profile: 'arbfp1'
  RendererPostEffects created
Adding engine materials
--------------------------------------------------------

Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL.
  Trying to open audio device... Success!
  Device name: OpenAL Soft
  Number of mono sources: 32
  Vendor name: OpenAL Community
  Renderer: OpenAL Soft
  OpenAL Version Supported: 1.1
  EFX: 0
  Output Devices:
    Built-in Audio Analog Stereo
--------------------------------------------------------

Initializing Game Module
--------------------------------------------------------
Adding engine updates
Initializing script functions
--------------------------------------------------------

User Initialization
--------------------------------------------------------
WARNING: Language entry 'EventKeyInNoPower' in category '01_10_small_shaft' already exists!
Initializing Penumbra: Overture
  Version    $Rev: 3033 $
  Date    $Date: 2010-12-12 21:46:28 +0000 $
Checking Supported Profiles
  Profile CG_PROFILE_ARBVP1 is supported
  Profile CG_PROFILE_ARBFP1 is supported
  Profile CG_PROFILE_GLSLV is supported
  Profile CG_PROFILE_GLSLF is supported
  Profile CG_PROFILE_GLSLC is supported
Trying to load vertex program!
CG: 'Test' using profile: 'arbvp1'
Success!
CG: 'DiffuseSpec_Light_vp.cg' using profile: 'arbvp1'
CG: 'DiffuseSpec_Light_Spot_vp.cg' using profile: 'arbvp1'
CG: 'BumpSpec_Light_fp.cg' using profile: 'arbfp1'
CG: 'BumpSpec_Light_Spot_fp.cg' using profile: 'arbfp1'
CG: 'Ambient_Color_fp.cg' using profile: 'arbfp1'
--------------------------------------------------------

Game Running
--------------------------------------------------------
WARNING: Could not find language file entry 'Output Device:'
WARNING: Could not find language file entry 'TipSoundOutputDevice'
Loading collada for 'maps/level01_02_mine_entrance.dae' took: 291 ms
CG: 'BumpColorSpec_Light_fp.cg' using profile: 'arbfp1'
CG: 'BumpColorSpec_Light_Spot_fp.cg' using profile: 'arbfp1'
CG: 'Fog_Trans_vp.cg' using profile: 'arbvp1'
CG: 'Fog_Trans_Alpha_fp.cg' using profile: 'arbfp1'
CG: 'Diffuse_Light_vp.cg' using profile: 'arbvp1'
CG: 'Diffuse_Light_Spot_vp.cg' using profile: 'arbvp1'
CG: 'Bump_Light_fp.cg' using profile: 'arbfp1'
CG: 'Bump_Light_Spot_fp.cg' using profile: 'arbfp1'
CG: 'Diffuse_Light_fp.cg' using profile: 'arbfp1'
CG: 'Diffuse_Light_Spot_fp.cg' using profile: 'arbfp1'
CG: 'Fog_Trans_Mod_fp.cg' using profile: 'arbfp1'
ERROR: Couldn't find particle system file 'particle_dust.ps'
ERROR: Couldn't create particle system 'sust01' of type 'particle_dust'
ERROR: Couldn't find particle system file 'dust_sust01.ps'
ERROR: Couldn't create particle system 'particle' of type 'dust_sust01'
ERROR: Couldn't load particle system 'particle' with type 'dust_sust01'
WARNING: Could not find language file entry 'Output Device:'
WARNING: Could not find language file entry 'TipSoundOutputDevice'
--------------------------------------------------------

Statistics
--------------------------------------------------------
Medium framerate: 42.864538
--------------------------------------------------------

User Exit
--------------------------------------------------------
  Saving to config
  Saving keys
  Saving to config
  Saving keys
Reset maphandler
Exit Player
Exit Button Handler
Exit Map Handler
Exit Game Message Handler
Exit Radio Handler
Exit Inventory
Exit Fade Handler
Exit Save Handler
Exit Trigger Handler
Exit Attack Handler
Exit Notebook
Exit Numerical panel
Exit Intro story
Exit Death menu
Exit Graphics helper
Exit Main menu
Exit Player hands
Exit Music handler
Exit Map Load Text
Exit PreMenu
Exit Credits
Exit Demo end text
Saving config
Exit Effect Handler
Exit Game
--------------------------------------------------------

Exiting Gui Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Scene Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Input Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Sound Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Graphics Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Resources Module
--------------------------------------------------------
Done with tilesets
Done with fonts
Done with scripts
Done with particles
Done with sounds
Done with meshes
Done with materials
Done with Gpu programs
Done with images
Destroyed all textures
Done with sound entities
Done with animations
All resources deleted
--------------------------------------------------------

Exiting Physics Module
--------------------------------------------------------
--------------------------------------------------------

Exiting System Module
--------------------------------------------------------
--------------------------------------------------------

Deleting game setup provided by user
- Deleting lowlevel stuff.
  Physics
  Sound
  Input
  Resources
  System
  Graphics
  Haptic
HPL Exit was successful!
Saving last config

|--Memory Manager Report-------------------------------|
|
| No memory leaks detected. Memory left: 0
|
|------------------------------------------------------|

System Specifications:
Distribution: Arch Linux
Graphics Driver: R600 Gallium3D Driver
Desktop Environment: Xfce with compositing

Motherboard: MSI 760GM-E51(FX)
Processor: AMD Phenom II X4 955 BE 3.2 Ghz
Video Card: Diamond AMD Radeon HD 4670
Memory: 4 Gigabytes DDR3 PC10666, 1333 MHz
Boot Drive: 500 GB Western Digital Caviar Black
(This post was last modified: 10-22-2013 05:14 PM by hamishwilson.)
10-11-2013 08:35 PM
Visit this user's website Find all posts by this user
hamishwilson Offline
Junior Member

Posts: 8
Joined: Oct 2013
Reputation: 0
Post: #2
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 6 Hours, 9 Minutes, 21 Seconds ago RE: Post Effects unusable with Penumbra Collection from Desura

I'm a bit surprised I have not gotten a response yet. Do you require more information? If so, how can I provide it?
10-13-2013 05:44 PM
Visit this user's website Find all posts by this user
Ashtoreth Away
Posting Freak

Posts: 1,279
Joined: Apr 2013
Reputation: 129
Post: #3
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 6 Hours, 9 Minutes, 21 Seconds ago RE: Post Effects unusable with Penumbra Collection from Desura

I think that Urkle is the person in charge of technical support for Linux users here on the forum. He might not have seen your thread yet. Try sending him a PM maybe. Smile

10-16-2013 01:05 AM
Find all posts by this user
hamishwilson Offline
Junior Member

Posts: 8
Joined: Oct 2013
Reputation: 0
Post: #4
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 6 Hours, 9 Minutes, 21 Seconds ago RE: Post Effects unusable with Penumbra Collection from Desura

I can now confirm that Amnesia also works perfectly fine.
10-21-2013 10:00 PM
Visit this user's website Find all posts by this user
jens Offline
Frictional Games

Posts: 4,095
Joined: Apr 2006
Reputation: 202
Post: #5
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 6 Hours, 9 Minutes, 21 Seconds ago RE: Post Effects unusable with Penumbra Collection from Desura

Could be some of the old lib files in the Libs folders of the Penumbra game that causes it, possibly try and delete (or temp remove) some to use the system installed instead and see if that helps.

Incase the shaders are incorrect I attached them so you can test and use these instead.


Attached File(s)
.zip  shaders.zip (Size: 70.49 KB / Downloads: 16)
10-22-2013 07:51 AM
Visit this user's website Find all posts by this user
hamishwilson Offline
Junior Member

Posts: 8
Joined: Oct 2013
Reputation: 0
Post: #6
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 6 Hours, 9 Minutes, 21 Seconds ago RE: Post Effects unusable with Penumbra Collection from Desura

Libraries are my first recourse when solving a problem (you should see some of the hoops I jumped with Frozenbyte support over the libraries included with their games), but alas that was not the case here, as I had already confirmed.

Thankfully, your second suspicion proved correct, and after replacing the shaders all three games run beautifully now. I am grateful for your help, despite having to sit on this issue for the past week and a half. Smile

One question now remains - is this just my copy, or does it affect more Desura users? After all, I downloaded a version from both the Desura client and independently through the Desura web store, and both had issues. There might be something more going on.
(This post was last modified: 10-22-2013 11:10 PM by hamishwilson.)
10-22-2013 05:12 PM
Visit this user's website Find all posts by this user
Urkle Offline
FG - Associate

Posts: 1,172
Joined: Jul 2006
Reputation: 20
Post: #7
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 6 Hours, 9 Minutes, 21 Seconds ago RE: Post Effects unusable with Penumbra Collection from Desura

Penumbra uses NVidia Cg to handle shaders, where as Amnesia uses GLSL directly. My initial thought would be to try swapping out different versions of Nvidia Cg in the game lib directory and see how it affects things.

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
10-22-2013 07:20 PM
Visit this user's website Find all posts by this user
hamishwilson Offline
Junior Member

Posts: 8
Joined: Oct 2013
Reputation: 0
Post: #8
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 6 Hours, 9 Minutes, 21 Seconds ago RE: Post Effects unusable with Penumbra Collection from Desura

I tried swapping Cg libraries, but the older version I had was using my system ones provided by Arch, which I forced the Desura version to use with no effect. Replacing the shaders did help.
(This post was last modified: 10-22-2013 11:15 PM by hamishwilson.)
10-22-2013 11:14 PM
Visit this user's website Find all posts by this user
Urkle Offline
FG - Associate

Posts: 1,172
Joined: Jul 2006
Reputation: 20
Post: #9
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 6 Hours, 9 Minutes, 21 Seconds ago RE: Post Effects unusable with Penumbra Collection from Desura

Would you mind doing some more investigation on which shader helped?

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
10-22-2013 11:43 PM
Visit this user's website Find all posts by this user
hamishwilson Offline
Junior Member

Posts: 8
Joined: Oct 2013
Reputation: 0
Post: #10
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 6 Hours, 9 Minutes, 21 Seconds ago RE: Post Effects unusable with Penumbra Collection from Desura

I have done some limited poking around.

Going from a fresh install of the standalone Penumbra available from Desura, I started extracting some of the shaders one at a time, starting with the Post Effects:
PostEffect_Bloom_fp.cg - no blackness but limited effects, no ambient light, no light cast on objects by flahshlight/glowstick

PostEffect_Bloom_vp.cg - same

PostEffect_Blur_2D_fp.cg - same

PostEffect_Blur_Rect_fp.cg - same

PostEffect_Blur_vp.cg - same

PostEffect_DoF_fp.cg - same

PostEffect_DoF_vp.cg - same

PostEffect_Fallback01_Blur_2D_fp.cg - same

PostEffect_Fallback01_Blur_Rect_fp.cg -same

PostEffect_Blur_vp.cg - same

PostEffect_DoF_fp.cg - same

PostEffect_DoF_vp.cg - same

PostEffect_Fallback01_Blur_2D_fp.cg - same

PostEffect_Fallback01_Blur_Rect_fp.cg - same

PostEffect_Motion_fp.cg - same

PostEffect_Motion_staticloop_fp.cg - same

PostEffect_Motion_vp.cg - same

PostEffect_Offset_fp.cg - same

PostEffect_Offset_vp.cg - same

I moved on to try some of the ones that seemed related to light:
Bump2D_Light_fp.cg - same

Bump2D_Light_vp.cg - same

BumpColorSpec_Light_Spot_fp.cg - flashlight works, but not glowstick or lamps

BumpColorSpec_Light_fp.cg - glowstick and lamps work


However, even after playing the Desura version with all of the shaders copied over, I still noticed this error in the HPL log:
The compile returned an error.
-----------------------------------
core/programs/PostEffect_Motion_fp.cg(28) : error C5013: profile does not support "for" statements and "for" could not be unrolled.
-----------------------------------
CG: Error loading: 'core/programs/PostEffect_Motion_fp.cg'!
ERROR: Couldn't create program 'PostEffect_Motion_fp.cg'
Dynamic loops in motion blur fp not supported, loading static instead.
(This post was last modified: 10-23-2013 04:50 PM by hamishwilson.)
10-23-2013 03:43 AM
Visit this user's website Find all posts by this user
Thread Closed 




User(s) browsing this thread: 1 Guest(s)