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


Penumbra Scrolling Graphics Problem
msp301 Offline
Junior Member

Posts: 11
Threads: 1
Joined: Jul 2009
Reputation: 0
#11
Solved: 8 Years, 8 Months, 4 Weeks ago RE: Penumbra Scrolling Graphics Problem

doesn't fix my problem at the moment, but thanks for that as didn't really think about it possibly not waiting for metacity Smile

the problem seems to be between executing penumbra and replacing compiz back again; the game attempts to start, but then "compiz --replace" seems to run and stops the game from opening, it doesn't wait for penumbra to play fully until the game is quitted, I thought it would work as technically "./penumbra" will be running as long as the game is open and when closed it would then move to the next line in the script, but doesn't seem to be the case Sad
08-10-2009, 11:27 AM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#12
Solved: 8 Years, 8 Months, 4 Weeks ago RE: Penumbra Scrolling Graphics Problem

well, actually that IS the case, it does stop when running ./penumbra (as it does not have an & after it)

Does the game run at all? or do things go screwy when you quit the game? if it's just when you quit the game, simply put another sleep 2 before launching compiz.

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
08-12-2009, 01:52 PM
Website Find
msp301 Offline
Junior Member

Posts: 11
Threads: 1
Joined: Jul 2009
Reputation: 0
#13
Solved: 8 Years, 8 Months, 4 Weeks ago RE: Penumbra Scrolling Graphics Problem

(08-12-2009, 01:52 PM)Urkle Wrote: well, actually that IS the case, it does stop when running ./penumbra (as it does not have an & after it)

Does the game run at all? or do things go screwy when you quit the game? if it's just when you quit the game, simply put another sleep 2 before launching compiz.

ok thanks, well at the moment, the game won't start when trying to run this script to launch it; all that happens is the ubuntu desktop (like panels, windows etc) lose their borders, disappear for a second, then they reappear and their borders are placed back and nothing else happens; which is why it has looked like the script doesn't stop on "./penumbra" and just continues the rest of the script, relaunching compiz .. so at the moment, placing in another sleep has no effect apart from delaying the replacement of compiz Sad ... if the script is actually stopping on the penumbra launch, I have no idea why it doesn't launch :S
08-12-2009, 02:12 PM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#14
Solved: 8 Years, 8 Months, 4 Weeks ago RE: Penumbra Scrolling Graphics Problem

are you running the script from the command line (terminal)?? did you look at the generated hpl.log?

It sounds like penumbra isn't starting at all so the script is continuing.

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
08-12-2009, 02:16 PM
Website Find
msp301 Offline
Junior Member

Posts: 11
Threads: 1
Joined: Jul 2009
Reputation: 0
#15
Solved: 8 Years, 8 Months, 4 Weeks ago RE: Penumbra Scrolling Graphics Problem

(08-12-2009, 02:16 PM)Urkle Wrote: are you running the script from the command line (terminal)?? did you look at the generated hpl.log?

It sounds like penumbra isn't starting at all so the script is continuing.

I'm running the script from the application launcher; it does seem like that ... the log seems fine ... it's pasted below:

Check serial!
-------- 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: 800 x 600 - 32 bpp
Init Glee...OK
Setting up OpenGL
  Max texture image units: 16
  Max texture coord units: 8
  Two sided stencil: 0
  Vertex Buffer Object: 0
  Anisotropic filtering: 1
  Max Anisotropic degree: 2
  Multisampling: 1
  Vertex Program: 1
  Fragment Program: 1
  NV Register Combiners: 0
  NV Register Combiners Stages: 143034048
  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 800.000000 : 600.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'
CG ERROR : The compile returned an error.
-----------------------------------
core/programs/PostEffect_Motion_fp.cg(32) : 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 ERROR : The compile returned an error.
-----------------------------------
(0) : error C6003: Arithmetic instruction limit of 48 exceeded; 52 arithmetic instructions needed to compile program
-----------------------------------
CG: Error loading: 'core/programs/PostEffect_Motion_staticloop_fp.cg'!
ERROR: Couldn't create program 'PostEffect_Motion_staticloop_fp.cg'
ERROR: Couldn't load 'PostEffect_Motion_fp.cg'!
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: ALSA Software on default
  Number of mono sources: 32
--------------------------------------------------------

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 Episode 1
  Version    $Rev: 2553 $
  Date    $Date: 2008-04-09 23:06:19 -0400 (Wed, 09 Apr 2008) $
Checking Supported Profiles
  Profile CG_PROFILE_VP20 is supported
  Profile CG_PROFILE_ARBVP1 is supported
  Profile CG_PROFILE_ARBFP1 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
--------------------------------------------------------
--------------------------------------------------------

Statistics
--------------------------------------------------------
Medium framerate: 57.187378
--------------------------------------------------------

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
|
|------------------------------------------------------|
08-12-2009, 02:22 PM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#16
Solved: 8 Years, 8 Months, 4 Weeks ago RE: Penumbra Scrolling Graphics Problem

that looks like the game is starting and running fine? (well at least the menu)

What is the date on the hpl.log file? (or delete it and run the game again to make sure it's from the current run).

I guess I'm confused at what the "current" issue we are working on is now.

Does the game not run at all now? or are we just trying to ease things with compiz?

Personally what I do w/ compiz is I run the "fusion-icon" application that runs up in the panel and I switch to metacity via that when I run games and then switch back when I do "real work" :-D

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
08-13-2009, 10:05 PM
Website Find
msp301 Offline
Junior Member

Posts: 11
Threads: 1
Joined: Jul 2009
Reputation: 0
#17
Solved: 8 Years, 8 Months, 4 Weeks ago RE: Penumbra Scrolling Graphics Problem

(08-13-2009, 10:05 PM)Urkle Wrote: that looks like the game is starting and running fine? (well at least the menu)

What is the date on the hpl.log file? (or delete it and run the game again to make sure it's from the current run).

I guess I'm confused at what the "current" issue we are working on is now.

Does the game not run at all now? or are we just trying to ease things with compiz?

Personally what I do w/ compiz is I run the "fusion-icon" application that runs up in the panel and I switch to metacity via that when I run games and then switch back when I do "real work" :-D

yeah, seems a bit weird, the log file is current, the topic has moved to trying to automate compiz and penumbra, but I think this could be something to do with Ubuntu 9.04's application launcher as I have known it to have a few issues before in previous releases; I think I can safely say there is no more to try to get this to work ... I will either resort to "fusion-icon" as you've suggested or I can keep doing this manually from the terminal (which keeps the great routines of the linux user going lol) ... I can report now that the Intel X4500 Mobile Graphics yet still has some graphics problems on running Penumbra anyway (some nice big pixels here and there across the screen) ... Thanks again for everyone's help in this thread Smile
08-13-2009, 10:24 PM
Find




Users browsing this thread: 2 Guest(s)