Emuforums.com

Go Back   Emuforums.com > PSX Emulation > ePSXe Discussion
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

Reply
 
Thread Tools Display Modes
Old August 27th, 2008, 15:35   #21
jonc2006
Mod of Douchebagness™
 
jonc2006's Avatar
 
Join Date: May 2006
Location: USA MD
Posts: 9,793
and you say its just occuring with the OGL2, none of the other plugins do this? thats weird then. like i said earlier, i was playing a 2d game myself and i got some tearing for some odd reason and what fixed it for me was setting vsync to app. preference (was enabled globally before) and leaving global triple buffering on.

it might take awhile but ill play around with some of the configs i use with that plugin and ill see if i can trigger the tearing again and find out if there are other ways to fix it aside from the one i did before. for now just use something other than the OGL2 if the tearing is that bad because using it with 2d games isnt really ideal anyway.

i was using the OGL2 and fooling around with some shaders and seeing how they look with some of my 2d games, but normally with 2d games i use the software plugin or run them on psx instead of epsxe. aside from the shader effects the OGL2 plugin can pull off, there isnt much else you can with 2d games do as far as visual enhancements go aside from some basic filtering, so you are not really missing out on much by using the software plugin.
__________________

Antec 900/Antec Truepower Quattro 1000W/eVGA 780i SLI/Windows XP Media SP2 & Windows Vista Ultimate 32-bit SP1/Intel Core 2 Duo E8400@4.0GHz/Dual eVGA e-Geforce GTX280 1GB DDR3 SLI Enabled/Creative SB X-Fi XtremeGamer/Corsiar XMS2 4GB (2x2GB) PC2-6400 DDR2/Dual WD Caviar SE16 500GB 7200RPM HDDs

The Official jonc2006™ Emotion Chart.
Courtesy of PCXL-Fan after he tried to steal my identity on Steam because I am so awesome.
Official jonc2006™ Fan Club
Official jonc2006™ Trophy Collection

Last edited by jonc2006; August 27th, 2008 at 15:47..
jonc2006 is offline   Reply With Quote

Advertisement [Remove Advertisement]

Old August 27th, 2008, 15:48   #22
Suissant
Registered User
 
Join Date: Aug 2008
Location: DD/DD
Posts: 17
Quote:
Originally Posted by jonc2006 View Post
and you say its just occuring with the OGL2, none of the other plugins do this? thats weird then. like i said earlier, i was playing a 2d game myself and i got some tearing for some odd reason and what fixed it for me was setting vsync to app. preference (was enabled globally before) and leaving global triple buffering on.

it might take awhile but ill play around with some of the configs i use with that plugin and ill see if i can trigger the tearing again and find out if there are other ways to fix it aside from the one i did before. for now just use something other than the OGL2 if the tearing is that bad because using it with 2d games isnt really ideal anyway. i was fooling around with some shaders and seeing how they look with some of my 2d games, normally with 2d games i use the software plugin or run them on psx instead of epsxe since aside from the shader effects the OGL2 can do, there isnt many options for enhancements aside from some basic filtering with any 2d games so you are not really missing out on much by using the software plugin.
The problem is that it's not only 2d games. I tried playing my old copy of Soul Reaver just to see if it would have problem too and yep, it's tearing too.
But I give up. Thanks for being helpful
Suissant is offline   Reply With Quote

Old August 27th, 2008, 15:53   #23
jonc2006
Mod of Douchebagness™
 
jonc2006's Avatar
 
Join Date: May 2006
Location: USA MD
Posts: 9,793
eh you can but i dont think you should give up just yet, there must be a way to fix this. this is one of my OGL2 configs, you might need to adjust some things in the compatibility section depending on the game you are playing and there might be a few other things you should modify but using this setup i get no tearing whatsoever in any of my games, 2d or 3d.

__________________

Antec 900/Antec Truepower Quattro 1000W/eVGA 780i SLI/Windows XP Media SP2 & Windows Vista Ultimate 32-bit SP1/Intel Core 2 Duo E8400@4.0GHz/Dual eVGA e-Geforce GTX280 1GB DDR3 SLI Enabled/Creative SB X-Fi XtremeGamer/Corsiar XMS2 4GB (2x2GB) PC2-6400 DDR2/Dual WD Caviar SE16 500GB 7200RPM HDDs

The Official jonc2006™ Emotion Chart.
Courtesy of PCXL-Fan after he tried to steal my identity on Steam because I am so awesome.
Official jonc2006™ Fan Club
Official jonc2006™ Trophy Collection

Last edited by jonc2006; August 27th, 2008 at 16:01..
jonc2006 is offline   Reply With Quote

Old August 27th, 2008, 16:42   #24
Squall-Leonhart
Banned
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
if using the internal plugin, the fps setting in petes plugin is not used at all. and games are rendered at 59.93fps, or something like that.

anyway, use forceware 175.16 or the latest 177, force AA/AF to disabled in a profile for epsxe, enable Vsync+Triplebuffering and set Prerender to 2.

or just import this profile using nhancer

Emuforums.com - psxemu.zip
Squall-Leonhart is offline   Reply With Quote

Old August 30th, 2008, 16:48   #25
Mr.Henky
Registered User
 
Mr.Henky's Avatar
 
Join Date: Apr 2008
Location: Slovakia
Posts: 79
I have same problem in all PSX games. Refresh rate is 75 Hz, FPS is 50 and I see tearing.
Mr.Henky is offline   Reply With Quote

Old August 30th, 2008, 16:59   #26
Squall-Leonhart
Banned
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
Can you record a video using fraps.?
Squall-Leonhart is offline   Reply With Quote

Old August 30th, 2008, 18:02   #27
Mr.Henky
Registered User
 
Mr.Henky's Avatar
 
Join Date: Apr 2008
Location: Slovakia
Posts: 79
Send big files the easy way. Files too large for email attachments? No problem!
Mr.Henky is offline   Reply With Quote

Old August 30th, 2008, 19:10   #28
lastgen
Registered User
 
Join Date: Mar 2007
Location: Earth
Posts: 80
Quote:
Originally Posted by Mr.Henky View Post
I have same problem in all PSX games. Refresh rate is 75 Hz, FPS is 50 and I see tearing.
This is exactly what I was talking about earlier. Squall, are you paying attention? The screen refreshes 1.5 times per frame, which means the screen is halfway through its second refresh when the new frame is drawn, thus you get tearing halfway down the screen every third refresh. Mathematically speaking anyway, real-world timing issues mean it won't be quite that regular.

The best fix is to set your monitor refresh to either 50Hz, or 100Hz if you can.
If you can't, then you could turn on VSync and frame-skipping, this would get rid of tearing, but it would also skip every other frame. So that's more of a trade off than a real fix.
lastgen is offline   Reply With Quote

Old August 30th, 2008, 19:49   #29
Squall-Leonhart
Banned
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
Quote:
Originally Posted by Suissant View Post
The resolution I'm using is at 60 fps (old crt monitor). And the fps in game is at 60. I really don't know what the problem is. Theoretically I should even have tearing as both the game and my monitor are at 60.

I used fraps and it says I'm running at 30 fps, but the fps display from pete's plugin says I'm running at 59.9 fps :I weird
If fraps says its running at 30fps then its at 30fps, fraps measures the actual FPS, while the plugin measures the frames prepared internally. if real output is only 30fps, then the fact 60 frames are prepared internally would explain why the tearing is occuring.

It has nothing to do with the vsync lastgen, its a fault in the OpenGL2 plugin for 2D rendering.

If the Real FPS doesn't match the internal FPS then Tearing occurs across the rendered frame, and it has nothing to do with Vsync, the same thing can be reproduced with Snes9x.

Epsxe seems to work in the reverse of snes9x however.
Snes9x Skips the preparation of the internal frames, to maintain the speed of the Real FPS
EPSXE skips the preparation of the external FPS to maintain the internal FPS.

Both of these results in frame tearing, OP the reason you had 30fps instead of 60, is because you have Frameskipping enabled. Or its the Aero Glass UI interfering with epsxe.

Last edited by Squall-Leonhart; August 30th, 2008 at 20:05.. Reason: Automerged Doublepost
Squall-Leonhart is offline   Reply With Quote

Old August 30th, 2008, 21:45   #30
lastgen
Registered User
 
Join Date: Mar 2007
Location: Earth
Posts: 80
Quote:
Originally Posted by Squall-Leonhart View Post
...its a fault in the OpenGL2 plugin...
On this, I can agree with you. I'm just trying to discern the nature of the fault, and how to solve it, and I think that's where we are disagreeing.

For Suissant's problem, 30 fps on a 60Hz monitor should be a smooth display. Unless the plug-in is drawing directly to the screen, rather than making proper use of a double buffer.

Quote:
Originally Posted by Squall-Leonhart View Post
It has nothing to do with the vsync lastgen....
It has everything to do with drawing to the screen outside of VBlank. What is the purpose of VSync, if not to prevent this? And if the plug-in is somehow bypassing that even when set to force on, well, I don't know what to say about that.
lastgen is offline   Reply With Quote

Old August 31st, 2008, 06:57   #31
Squall-Leonhart
Banned
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
To prevent screen tearing the internal and real FPS must be the same. in this case, EPSXE is preparing frames at 60fps, but the video card is only rendering them @ 30fps. Thus tearing occurs. I was able to reproduce it by enabling frameskipping (Real Fps dropped from 50 down to 22ish. The GPU Plugin is basically preparing the Frames faster then the GPU can output them.


What cpu's are in use? what driver settings? driver versions?. if if using an AMD cpu, install the AMD Optimiser.

neither of you have set Prerender limit to 0 in the respecting control panels have you?

Last edited by Squall-Leonhart; August 31st, 2008 at 07:10.. Reason: Automerged Doublepost
Squall-Leonhart is offline   Reply With Quote

Old September 1st, 2008, 19:47   #32
Suissant
Registered User
 
Join Date: Aug 2008
Location: DD/DD
Posts: 17
Quote:
Originally Posted by Squall-Leonhart View Post
To prevent screen tearing the internal and real FPS must be the same. in this case, EPSXE is preparing frames at 60fps, but the video card is only rendering them @ 30fps. Thus tearing occurs. I was able to reproduce it by enabling frameskipping (Real Fps dropped from 50 down to 22ish. The GPU Plugin is basically preparing the Frames faster then the GPU can output them.


What cpu's are in use? what driver settings? driver versions?. if if using an AMD cpu, install the AMD Optimiser.

neither of you have set Prerender limit to 0 in the respecting control panels have you?
I tried setting Prerender Limit to 0. Opengl minimum isn't 2?
My cpu is an intel core duo. My driver is 177.79 which is a beta, but I tried using various other drivers and none worked. And I'm NOT enabling frameskipping. I really don't know why fraps is showing 30 fps, the gameplay is very smooth.

I found this in the Pete's Plugin forum:

its not a vsync problem, its because the internal frames are processed at 50 or 60fps, but your video card is only outputting 30 or lower.

You can check this against FRAPS if you like, you'll find that the Actual FPS is half that of the internal FPS, and this isn't how its supposed to be.

It may help to set the affinity to one core or the other.

I'll try doing this, if it works i'll post.

Last edited by Suissant; September 1st, 2008 at 19:58.. Reason: Automerged Doublepost
Suissant is offline   Reply With Quote

Old September 2nd, 2008, 08:55   #33
Squall-Leonhart
Banned
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
Prerender limit should not be set below 1, especially on a Geforce 8 series card. 1 results in a hit to internal frame preparing, so set it to 2.
Squall-Leonhart is offline   Reply With Quote

Old September 12th, 2008, 14:17   #34
Suissant
Registered User
 
Join Date: Aug 2008
Location: DD/DD
Posts: 17
I fixed by setting the compatibility on epsxe to Windows 98/ME. The tearing disappeared. Don't have the least idea why.
Suissant is offline   Reply With Quote

Old September 12th, 2008, 16:15   #35
Squall-Leonhart
Banned
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
The problem is in the driver's handling of multithreaded opengl. When you set epsxe to a compatibility mode lower then XP, it falls back to only running on a single core.

Setting affinity to 1 without compatibility would achieve the same fix, you should also try using nhancer to set multithreaded opengl to off, or compatibility mode.So effectively, it has nothing to do with Vsync, its caused by the internal and external fps not matching due to the dual core multithreading options.

It might be a bug in recent drivers. however epsxe doesn't benefit from dual cores anyway so you can edit the epsxe profile to disable multithreaded permanently when running it.
<!-- END TEMPLATE: pm_messagelistbit_user -->
Squall-Leonhart is offline   Reply With Quote

Old September 13th, 2008, 17:18   #36
Suissant
Registered User
 
Join Date: Aug 2008
Location: DD/DD
Posts: 17
Quote:
Originally Posted by Squall-Leonhart View Post
The problem is in the driver's handling of multithreaded opengl. When you set epsxe to a compatibility mode lower then XP, it falls back to only running on a single core.

Setting affinity to 1 without compatibility would achieve the same fix, you should also try using nhancer to set multithreaded opengl to off, or compatibility mode.So effectively, it has nothing to do with Vsync, its caused by the internal and external fps not matching due to the dual core multithreading options.

It might be a bug in recent drivers. however epsxe doesn't benefit from dual cores anyway so you can edit the epsxe profile to disable multithreaded permanently when running it.
<!-- END TEMPLATE: pm_messagelistbit_user -->
Yes, you're right. However, with multithreaded disabled my performance suffered a bit whereas with Windows 98 compatibility and multithreaded enabled I had no image tearing and my performance didn't suffer. I don't know if epsxe benefit or not from dual cores, I'm only telling what happened
EDIT: Nevermind, it has nothing to do with windows compatibility. So, guys, the solution is to disable multithread when playing with epsxe (you can do this with nhancer). Thanks everyone

Last edited by Suissant; September 13th, 2008 at 17:37..
Suissant is offline   Reply With Quote

Old September 14th, 2008, 00:23   #37
Squall-Leonhart
Banned
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
Suisant, with multithreaded opengl disabled, does the internal fps now match the fraps fps?
Squall-Leonhart is offline   Reply With Quote

Old September 16th, 2008, 00:31   #38
Suissant
Registered User
 
Join Date: Aug 2008
Location: DD/DD
Posts: 17
Quote:
Originally Posted by Squall-Leonhart View Post
Suisant, with multithreaded opengl disabled, does the internal fps now match the fraps fps?
No, fraps still shows 30 fps. But the game runs fine, no stutter. And no tearing
Suissant is offline   Reply With Quote

Old September 16th, 2008, 04:12   #39
Squall-Leonhart
Banned
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
thats wierd, it shows 50fps here.
Squall-Leonhart is offline   Reply With Quote

Old July 22nd, 2012, 00:02   #40
Gumbletoad
Registered User
 
Join Date: Jul 2012
Location: USA , Virginia
Posts: 1
ohhhh my god!!! i have read all of these things and have tried nonstop settings... Is there a fix for this yet? I keep trying different plugins too
Gumbletoad is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 23:10.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.