MagicEngine
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Japanese English 

vsync issues

 
Post new topic   Reply to topic    MagicEngine Forum Index -> Bug/Problem Reports
View previous topic :: View next topic  
Author Message
GaijinPunch
Member
Member


Joined: 07 Feb 2005
Posts: 24

PostPosted: Mon May 12, 2008 4:18 am    Post subject: vsync issues Reply with quote

Not seen this reported so figured I'd make the threads:

vsync1 seems to speed up magic engine to about 3x normal speed (video & audio). Maybe it's enabling frame skip somehow?
vsync2 doesn't, but it seems to not sync either. I get a lot of tearing.
Disabling both gives me the best output: runs at normal speed, and I get no tearing.
Back to top
View user's profile Send private message
denzilla
Regular
Regular


Joined: 03 Jan 2003
Posts: 141

PostPosted: Mon May 12, 2008 12:00 pm    Post subject: Reply with quote

Have you DL'd 1.1.2? That bug was reported in 1.1.0 and fixed.
Back to top
View user's profile Send private message
emodel
Member
Member


Joined: 17 Jan 2004
Posts: 24

PostPosted: Tue May 13, 2008 9:54 am    Post subject: Reply with quote

Im using 1.1.2 and I confirm the problem.
Back to top
View user's profile Send private message
dmichel
Admin
Admin


Joined: 04 Apr 2002
Posts: 1166
Location: France

PostPosted: Tue May 13, 2008 10:22 am    Post subject: Reply with quote

Does this happen in windowed mode or in fullscreen?

May be your video driver doesn't support 60Hz refresh rate.
_________________
David Michel
Back to top
View user's profile Send private message
Fudoh
Visitor
Visitor


Joined: 22 Mar 2005
Posts: 13

PostPosted: Fri May 16, 2008 11:34 am    Post subject: Reply with quote

Another VSync Problem here (with 1.1.2).

On the previous ME (1.0.x) versions I was pretty happy with VSync Mode 2. Perfectly smooth and rock solid 60fps.

With 1.1.2 on both VSync modes I barely get around 35-40fps. The games run all choppy while the taskmanager only shows around 20% CPU usage (I'm running a 3.2 GHz single core cpu).

With VSync turned off I get solid 60fps, but it's unbearable in scrolling games (tearing).

I really like 1.1.2, but this VSync issue is really killing it right now Sad

Thanks,
Tobias


PS: all in windowed mode

PPS: Update: changed from DX to OpenGL and everything seems to be running very nicely now. It's just weird since I never used OpenGL on the previous version (was it even available?)
Back to top
View user's profile Send private message
dmichel
Admin
Admin


Joined: 04 Apr 2002
Posts: 1166
Location: France

PostPosted: Fri May 16, 2008 12:47 pm    Post subject: Reply with quote

That's what I was about to suggest you, to try with OpenGL. Smile

I don't know why but I can't get vsync and windowed to work in DirectX, it's weird.

(OpenGL is available in 1.0 too but only as a pce.ini option)
_________________
David Michel
Back to top
View user's profile Send private message
wrdaniel
Visitor
Visitor


Joined: 20 May 2008
Posts: 3

PostPosted: Tue May 20, 2008 10:42 pm    Post subject: Reply with quote

Hi,
I use the 1.1.2 version and have tearing problems with vertical scrolling games like "Super Star Soldier". Installed the 0.99b5 version and there are no such problems. I use the low resolutions in the .ini file and the output is on a tv with RGB input.

How are the .ini options set?

vsync=0,2

whats the first and second value. Using DirectX, is it DirectDraw or Direct3D API?

I also can reproduce the speedup emulator using he vsync1 mode. it is if you change from no vsync to vsync1 mode without restarting the emulator. after a restart, the emulator runs normal speed.

tnx in andvance, wrdaniel
Back to top
View user's profile Send private message
Kaminari
Elder
Elder


Joined: 19 Apr 2002
Posts: 1432
Location: Paris, France

PostPosted: Tue May 20, 2008 11:44 pm    Post subject: Reply with quote

First value is for window mode, second value is for fullscreen mode.

ME uses DirectDraw if I'm not mistaken.
_________________
Kaminarimon HES Music Archive | Tokugawa Corporation | YouTube Channel
Back to top
View user's profile Send private message Visit poster's website
wrdaniel
Visitor
Visitor


Joined: 20 May 2008
Posts: 3

PostPosted: Tue May 27, 2008 12:28 am    Post subject: Reply with quote

tried around some more, but i cant get rid of the tearing in vertical scrolling games. only way is using the 0.99beta5 version, which shows no tearing.

which settings from 1.1.3 represent the 0.99beta5 vsync settings? whats the difference in the newer versions of MagicEngine?

tnx, wrdaniel
Back to top
View user's profile Send private message
wrdaniel
Visitor
Visitor


Joined: 20 May 2008
Posts: 3

PostPosted: Wed Jul 16, 2008 5:54 pm    Post subject: Reply with quote

so, finally got it working. was a problem with using "4:3 ratio" or the "horizontal_stretch" option. i reconfigured the custom video modes, so now i don't need those two options and it works fine. tnx, wrdaniel
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MagicEngine Forum Index -> Bug/Problem Reports All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group