English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   support.WinUAE (https://eab.abime.net/forumdisplay.php?f=5)
-   -   HQ2x not smooth (some pictures linked so possibly slow loading) (https://eab.abime.net/showthread.php?t=47675)

NewDeli 25 September 2009 17:28

HQ2x not smooth (some pictures linked so possibly slow loading)
 
Hi,


I wanted to evaluate how things would go with the HQ2x filter and do a CPU usage comparison (top left widget polls CPU every second, and it's not made by MS) with a version I keep using as some of you may know, the now famous : 1.4.6 :p .

With the other filters, gaming would be completely doable, but with HQ2x, I had many slowdowns :
Jerky scrolling, and rubbish audio, and ultimately errors.

I tried to reduce the audio settings levels (stereo,instead of 5.1, no A1200 filter...), and also tried Menace full screen (i usually use Full Window, a great idea tm Toni), it didn't help.


Here it goes :
http://netcomet.free.fr/images/Humor...v2b14.HQ2x.gif
CPU usage with the beta version : 85%
Not only the CPU usage is higher, but even if it was allowed to top 99%, the game is completely unplayable.


http://netcomet.free.fr/images/Humor...1.4.6.HQ2x.gif
CPU usage with the 1.4.6 version : 71%


I also compared CPU usage of WinUAE running the same game with the D3D filter, and it was roughly the same (under 65%) with both versions (I can post the pics if necessary).

  • The game runs from its WHDload slave
  • the Workbench used is AmigaSYS 4, upgraded
  • The DualCore CPU inside DVDBOX is the e8600 (@3.33GHz)

Sorry for those with a slow Internet connexion.


Just to make you salivate, I post a screenshot of an emulated A4000 @50MHz. Its config. I tweaked to Cycle-exact the 020 :cool (not really relevant, but may be worth noticing visually the 6-8% delta HQ2x induces compared to other filters). It also bears the D3D filter, which I should be using as default instead of the Null one.

Oh, I am aware most A4000 didn't have a 020, but I couldn't do that with the 040 nor with the 030.
May be the explanation is HQ2x not fully implemented, I am not, I repeat I am NOT whoring on the beta.
http://netcomet.free.fr/images/Humor...ycle-exact.gif

Toni Wilen 25 September 2009 18:52

hq2x = slower than necessary (2xbuffer copies requirred..) because its author was not interested in supporting pitch/stride (search older threads, I won't reply again)

Use D3D shader filters which include hq2x.

andreas 25 September 2009 19:06

Toni, maybe it would be an idea that you remove hq2x (standalone) from the code completely, because
1) it's included in D3D shader as you say
2) if the standalone version is not there, no one will complain any longer :D

Quote:

Originally Posted by Deleauvive (Post 598169)
Just to make you salivate, I post a screenshot of an emulated A4000 @50MHz.

Salivate?
I take that as a joke. Colors are really ugly in the bottom screenshot, no brilliance, no luminance, no life! :-/ everything looks like a badly adjusted C64 emulator, while the screenshots on top are as bright and full of light as I want them to see :)

NewDeli 25 September 2009 20:48

Quote:

Originally Posted by andreas (Post 598193)
It's included in D3D shader


I didn't read all the posts from the "anybody wants filters" discussion, but I would say it may be partly included.

The following screenshot is Menace with the D3D shader, and the lower "stripe" (the vegetal lifeforms, and the logo) appears a tad less sharper to me.
Note that it may be easier/even more difficult to spot with other games.

Of course, D3D is more than enough to give an edge to the classic games, but I am not sure absolutely no difference is to find between the two. That's nice of you to have replied to my first post, anyway.
Any chance OpenGL put back in the lot :rolleyes ?

http://netcomet.free.fr/images/Humor....v2b14.D3D.gif






NewDeli 26 September 2009 04:26

Beta 15 would allow me to use HQ2x, although I am not too sure how exactly it fares compared to the more popular one like SaI.

Also this beta definitely runs smoother :bowdown , you save my day : WB 3.x and especially AmigaOS breathe again.
Nonetheless, I want to make clear that I am not endorsing this idea :
"Since I am now able to almost make Menace playable, let's keep HQ2x for the next releases", don't get me wrong.

In fact, I might have found out about a go-between substitute in the name of...
"HQlite" :cool .


Apparently, the OpenMSX team gather the work of many contributors worldwide (most notably because they are the forthcoming inspiration for the hugely popular BlueMSX emulator ones), and one of these is a modification of the original HQ filter (if I understand well), called HQlite, which as the name implies should look nice yet be faster.

May be worth having a quick glance at the source code of v0.7.2.


http://netcomet.free.fr/images/Humor...te.OpenMSX.gif

Retro-Nerd 09 October 2009 01:00

I prefer DirectDraw scanlines, looks much better. :p


http://www.abload.de/img/0043617.png


And look at your Scale2x shot, the letters are completely deformed. My eyes are bleeding!!!

:evilgrin :crying

TCD 09 October 2009 01:13

TBH, the Scale2X filter looks the worst of the examples above. This one is too 'blurry' and the picture looks off. Still don't like scanlines :p

NewDeli 09 October 2009 01:14

"Deformed" is a bit exaggerated, "shinier" I would say.

May I ask is it 16 or 32-bit bilinear you've set there R-N ?
Did you modify the extra settings (transparency) in any way ?
Is it HiRes or lowRes ?

waal 09 October 2009 01:18

Quote:

Originally Posted by Retro-Nerd (Post 602852)
I prefer DirectDraw scanlines, looks much better.





And look at your Scale2x shot, the letters are completely deformed. My eyes are bleeding!!!



Yeah that's the way. Beautiful.

Really I should read this huge thread. I still don't understand the purpose of all these filters.

TCD 09 October 2009 01:29

http://img218.imageshack.us/img218/2...designscra.png

Now this is how it should look like ;) Lovely, isn't it? :D

Retro-Nerd 09 October 2009 01:34

Quote:

Originally Posted by Deleauvive (Post 602856)
"Deformed" is a bit exaggerated, "shinier" I would say.

May I ask is it 16 or 32-bit bilinear you've set there R-N ?
Did you modify the extra settings (transparency) in any way ?
Is it HiRes or lowRes ?

Line Mode Scanlines, no D3D filter.

waal 09 October 2009 01:47

Quote:

Originally Posted by TheCyberDruid (Post 602861)
http://img218.imageshack.us/img218/2...designscra.png

Now this is how it should look like ;) Lovely, isn't it? :D

How do you do that ? And what's your screen resolution ?

I'm asking this because I never had enough patience to tweak those filters. I usually do like Retro-Nerd, perhaps with more transparency for scanlines.

TCD 09 October 2009 01:52

Magic ;) No seriously, this is the 'Null filter' -> 'Automatic Resize' setting. Without any scanlines of course :D

waal 09 October 2009 01:55

Oh now I see :)

TCD 09 October 2009 01:57

Just try it and see if you like it :)

waal 09 October 2009 02:05

You have made me confused with all these examples.:)
Now I can't exactly remember how my Amiga rendered on screen. I used to plug it to a Phillips color monitor, a 1084S and a TV. Now I mostly use Winuaex on a CRT. I guess I should definitly buy a real Amiga to be sure. lol.

NewDeli 09 October 2009 05:33

2xSAI rules !
 
EDIT : I am reinserting better looking screenshots.
I had to rethink the way I grab those screens, after reading john4p excellent post on that matter.


I didn't want to create a new thread simply to discuss which would be my (and yours) favorite filter with the latest betas.

Apparently, some people favor the null filter, it's a good filter, albeit a bit conservative and INMHO the following screenshots speak for themselves as for 2xSAI being superior.

The mistake I had made with the previous screenshots is that Resolution was not to set to 16-bit (and LowRes for the + filter shots).

CPU usage is noticeably lower (under 35%), because I use ASIO4ALL (Cf. my other thread) along with beta 17, and a lower res. helps (wish I knew earlier :( ).

HQ2x would still be unusable, I don't mind it being removed eventually since the day I noticed 2xSAI was faster, better and more gentle with the sprites :great .


Here we go :

http://netcomet.free.fr/images/Humor...17.(loRes).gif
2xSAI filter on
The DMA Design logo is very neat. My favorite filter.


http://netcomet.free.fr/images/Humor...17.(loRes).gif
Null filter on. Minor enhancements compared to the original image, still a bit blurry. Probably the second best.


http://netcomet.free.fr/images/Humor...17.(loRes).gif
HQ2x filter on. not great... Too bad if you still like it anyway, since it will probably be discarded.


http://netcomet.free.fr/images/Humor...17.(HiRes).gif
Now for the real thing (well, almost :D ) aka no filters.
Double line mode, @ 656x496
The ship does look completely different, almost "alien", how could it be :help ?
Certainly other differences to spot.


If you (Toni, any GM) think there's no point in discussing this after the huge thread "who wants...filters", this post can be moved after having PM'd me.

TCD 09 October 2009 10:23

Quote:

Originally Posted by Deleauvive (Post 602913)
Apparently, some people favor the null filter, it's a good filter, albeit a bit conservative and INMHO the following screenshots speak for themselves as for 2xSAI being superior.

It's a matter of taste and not 'superiority'. I find that the 2xSAI filter looks 'wrong', but that's just what I think.

Quote:

Originally Posted by Deleauvive (Post 602913)
The ship does look completely different, almost "alien", how could it be :help ?

Never seen this before. Guess you're doing it wrong ;)

killergorilla 09 October 2009 10:43

Quote:

Originally Posted by Deleauvive (Post 602913)
http://netcomet.free.fr/images/Humor...17.(loRes).gif
2xSAI filter on
The DMA Design logo is very neat. My favorite filter.

That looks like utter dogshit!

DH 09 October 2009 10:50

^ :agree
That just reminds me of the smooth edges filter in Photoshop, if it gets overdone the result looks totally naff and unusable.

Scary how someone can think that's the best out of everything else :crazy


All times are GMT +2. The time now is 16:36.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.04904 seconds with 11 queries