bugSlipstream - Bugs: bug #35158, Odd Resolution Support

 
 

bug #35158: Odd Resolution Support

Submitter:  Simon Fendall <simeykins>
Submitted:  Fri 23 Dec 2011 04:57:17 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 24 Dec 2011 10:26:23 AM UTC, comment #4: 

Things have been working rock solid for a while now. I'll give the patch a try if this problem arises again.
It looked like the Gnome portion of the window was the full 600x600, but Techne only rendered the portion that it used.

Simon Fendall <simeykins>
Fri 23 Dec 2011 09:11:38 PM UTC, comment #3: 

Alright let's see if we can troubleshoot this.  Attached you'll find a patch against the latest CVS tree for Techne (it's changed a bit).  To apply go into techne/src, copy the patch here and do:

cp main.c main.c.orig
patch < main.c.patch

Now recompile and run Slipstream like this:

slipstream-browser 2> /tmp/patchout

and start a game.  If it works ok then quit and restart until it fails.  Now quit and inspect the file /tmp/patchout.  It should contain (possibly amongst others) lines like this:

GDK_CONFIGURE: event=(1024, 640), graphics.window=(1024, 640)

Attach the file here together with your current ~/.slipstream file and then restore the old main.c file by doing:

mv main.c.orig main.c

I'm a bit puzzled by your screenshot.  The width is 600 pixels but the height of the used part of the window is 480 pixels.  I cannot imagine where this number comes from though.

(file #24656)

Dimitris Papavasiliou <dpapavas>
Group administrator
Fri 23 Dec 2011 10:35:29 AM UTC, comment #2: 

Even worse, it seems to work fine with me every time.  At least here at work.  If at least it fails often enough in your set-up I can try to come up with fixes using the force until it stops happening for you.  I may have some idea why this is happening...

Dimitris Papavasiliou <dpapavas>
Group administrator
Fri 23 Dec 2011 09:43:59 AM UTC, comment #1: 

It worked correctly just a second ago. Intermittent bugs; the worst kind.

Simon Fendall <simeykins>
Fri 23 Dec 2011 04:57:17 AM UTC, original submission:  

Hey, Dimitris,
With the latest CVS odd resolutions don't seem to be working. I've become addicted to 600x600, so handy having 45° at the corner of the screen. The lower portion of the screen is no longer rendering, instead favouring a 'standard' proportion.

May or may not be Slipstream related.

Screenshot attached.

Si

Simon Fendall <simeykins>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #24656:  main.c.patch added by dpapavas (579B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dpapavas (Posted a comment)
  • -email is unavailable- added by simeykins (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-12-23 dpapavas Attached File- Added main.c.patch, #24656
    2011-12-23 simeykins Attached File- Added Screenshot at 2011-12-23 17:51:20.png, #24655

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code