Hello there!
I'm currently developing a game which is a 2D side scroller. For the last week I've only been developing on OS X but now I figured I'd test whether the game would run fine on windows so I started it just to see it's stuttering there. I'm also only getting around 50 fps with vsync turned off which makes me scratch my head since I'm running on a pretty good system (i5 @ 3.4Ghz, 16gb ram, amd hd7870ghz edition w/ latest drivers, windows 8.1) whereas I'm running the game very smoothly on my laptop (macbook air 2013, 13", i5 @ 1.3Ghz, 4gb ram, Intel HD5000, osx 10.10).
Are there any platform-specific things I would need to know or did I just do big mistakes in development?
I'm attaching the love file just to point out what the problem is. If you're not experiencing this problem it might just be my system but nontheless I'd love to know more about the problem.
Sincerely, DeadlineGer
Game stuttering on Windows only
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 5
- Joined: Wed Oct 01, 2014 11:11 am
Game stuttering on Windows only
- Attachments
-
- Game Forum Version.love
- Game .love File
- (1.9 MiB) Downloaded 123 times
Re: Game stuttering on Windows only
Im on Windows 8.1 right now, and I can say that for me the game is running fine at 310 fps.
Specs:
I5-4210, quad core, 2.4 ghz.
8gb ddr3 ram.
GeForce 840M.
Specs:
I5-4210, quad core, 2.4 ghz.
8gb ddr3 ram.
GeForce 840M.
-
- Prole
- Posts: 5
- Joined: Wed Oct 01, 2014 11:11 am
Re: Game stuttering on Windows only
Thank you for trying it out!Tjakka5 wrote:Im on Windows 8.1 right now, and I can say that for me the game is running fine at 310 fps.
Specs:
I5-4210, quad core, 2.4 ghz.
8gb ddr3 ram.
GeForce 840M.
I'd appreciate if anyone else could try and run it so I can try to determine the problem?
Possibly something something is wrong with my windows machine but I'd be very surprised by that.
Re: Game stuttering on Windows only
dayum boy 9600 pixels is too big for this comp
-
- Prole
- Posts: 5
- Joined: Wed Oct 01, 2014 11:11 am
Re: Game stuttering on Windows only
Sorry I can't really understand what you are talking about?Doctory wrote:dayum boy 9600 pixels is too big for this comp
If it's the background image you are mentioning: It's "only" 4000px in width but that was only for demonstrational purposes. Later on I'll make these smaller of course.
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Game stuttering on Windows only
Could it be possible that the OS X GPU driver is just better at handling the large image than whatever one is currently in your installation of Windows?
Edit: I just tried it in my Windows and I only notice it slightly stutter once. Not enough to know if it's what you see on your end.
Edit: I just tried it in my Windows and I only notice it slightly stutter once. Not enough to know if it's what you see on your end.
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: Game stuttering on Windows only
Your canvas is 9600px... my computer doesnt support canvases nor shaders tough so I cant help youDeadlineGer wrote:Sorry I can't really understand what you are talking about?Doctory wrote:dayum boy 9600 pixels is too big for this comp
If it's the background image you are mentioning: It's "only" 4000px in width but that was only for demonstrational purposes. Later on I'll make these smaller of course.
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
-
- Prole
- Posts: 5
- Joined: Wed Oct 01, 2014 11:11 am
Re: Game stuttering on Windows only
Yup you were right about the size of the canvas.
I'm rendering the whole map which is tile-based into a canvas every frame and based on the camera movement I move the mapcanvas to the left or right. I tried using a smaller canvas for the map but the results did not change - still lagging on my windows machine and running more than perfectly fine on the laptop.
I can't really imagine it having something to do with the width of the canvas since the problem occurs on a powerful machine but not on a less powerful machine. I updated the drivers for my graphics card which did not help out. Really can't explain this.
Just to test I ran an old game I programmed which didn't use canvases or big images at all and it lagged as well so I think it's got something to do with the setup of the machine but I can't determine what the problem could be..
I'm rendering the whole map which is tile-based into a canvas every frame and based on the camera movement I move the mapcanvas to the left or right. I tried using a smaller canvas for the map but the results did not change - still lagging on my windows machine and running more than perfectly fine on the laptop.
I can't really imagine it having something to do with the width of the canvas since the problem occurs on a powerful machine but not on a less powerful machine. I updated the drivers for my graphics card which did not help out. Really can't explain this.
Just to test I ran an old game I programmed which didn't use canvases or big images at all and it lagged as well so I think it's got something to do with the setup of the machine but I can't determine what the problem could be..
Re: Game stuttering on Windows only
I also can't run the game since the canvas is too big.
Just an idea, but did you check if LÖVE uses the correct video card on your system (and not the integrated one)? A friend of mine had that problem with one of my games.
Just put that into love.load:
Just an idea, but did you check if LÖVE uses the correct video card on your system (and not the integrated one)? A friend of mine had that problem with one of my games.
Just put that into love.load:
Code: Select all
print("\n---- RENDERER ---- ");
local name, version, vendor, device = love.graphics.getRendererInfo()
print(string.format("Name: %s \nVersion: %s \nVendor: %s \nDevice: %s", name, version, vendor, device));
Re: Game stuttering on Windows only
I have the same problem with stuttering. My game runs perfectly in OSX but in Windows 8.1 it keeps doing that. I made a topic to discuss it and it seems to be a hardware+Windows 8/8.1 issue. Waiting for some solution too.
Who is online
Users browsing this forum: Google [Bot] and 1 guest