17 May 2019, 00:40 | #281 | |
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
Quote:
Unfortunately not I assume you upped the smartres version to exclude GammaOut for the time being? (I like the plain Hires version better, also because of GammaOut ) In attached zip saturation 1.0 and 2.0 are compared for the updated smartres version. As you can see still only part of the image is affected by the saturation, but not the reds. For reference I also included the full RA one with saturation at 2.0. Hope it helps.. |
|
17 May 2019, 18:50 | #282 |
Registered User
Join Date: May 2017
Location: EU
Posts: 342
|
It's definitely something on the nVidia side. I rearanged the saturation calculations to do a seperate application per color channel. Hopefully it's fixed now.
|
17 May 2019, 23:41 | #283 | |
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
Quote:
No change . I also tried it without custom _WinUAE.fx and with D3D11, but makes no difference. Would it be an idea to first isolate the saturation function in a separate saturation shader to see if the issue is not somewhere in the interaction with scanline function etc? |
|
18 May 2019, 12:14 | #284 | |
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
Quote:
I guess we can rule out AMD/NVidia issue. It seems either the shader saturation code is "broken", or possibly there's an issue with WinUAE shader compiler? Could you make a version with saturation code completely removed? I would like to compare the output of that shader to the current one with saturation at 1.0. I have a hunch the output will differ...(?) |
|
18 May 2019, 13:23 | #285 |
Registered User
Join Date: May 2017
Location: EU
Posts: 342
|
Ah, i know the problem now. In the RA preset, saturation is applied after color-profiles. If it's applied before, the conversion matrices revert the red color in the 4-1 case. So i added the saturation parameter and function to the color-profiles too and it should work like with the crt-guest-dr-venom setup.
|
18 May 2019, 14:27 | #286 | |
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
Quote:
I guess the naming convention from the files in the previous zip was confusing. I had included both a comparison for setting 1.0 and 2.0 without color profiles and with color profiles. If you look again at the two shots without color profiles from my previous post (they are named x_amd6850-SAT1.0.png and x_amd6850-SAT2.0.png) you'll see that the saturation for red does not change between setting 1.0 and 2.0 if you flip forward and backward between the two. I would appreciate it if you could do the same exercise yourself, such that at least the full issue is clear. It seems either the shader saturation code is "broken", or possibly there's an issue with WinUAE shader compiler? Could you make a version with saturation code completely removed? I would like to compare the output of that shader to the current one with saturation at 1.0. I have a hunch the output will differ...(?) |
|
18 May 2019, 15:04 | #287 |
Registered User
Join Date: May 2017
Location: EU
Posts: 342
|
NP, saturation removed in one of the shaders. I just want to say that it puzzles me a bit, since it works normally here.
I'll add two screenshots of the color profile shader using the 4-1 configuration with saturation at 1.0 and 2.0. |
18 May 2019, 15:28 | #288 | |
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
Quote:
Yeah, I can imagine. I got puzzled myself just now, as it seems my comments for the stuff without the color profiles is not right. I got confused myself with all the testing I guess (facepalm ). Tonight I'll test the color-profiles stuff again, but I think the earlier solution you had worked out in the smart-res shader may have fixed it already, such that the addition of saturation to the color profiles shader itself may not even be needed... Anyway, I'll test it again tonight thoroughly just to be really sure. Thanks for bearing with me |
|
19 May 2019, 01:27 | #289 | |
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
Quote:
Also happy to see that the color profile 4 works very well for Amiga / WinUAE in DCI-P3 mode. It's very nice to have the CRT and WinUAE run next to eachother and easily forget which is which. Even more so because the WinUAE shader and Amiga system and games were not part of the tests when creating the profiles, so it kind of works properly "out of sample", which is nice. Could you update the shader pack with the fixed Color-Profiles.fx and the smartres shader that has GammaOut added? That way newer users will have everything handy with one zip. No scrolling through forums to get all the proper files Speaking of which, I noticed the custom _WinUAE.fx is not part of the shader pack. Personally I think it's so valuable for proper looking CRT effect that it should be part of it? It would only need a very short readme, telling people to set the proper screen width in the shader, using it with D3D9 and set a dummy mask in the filter tab to make it work. Maybe add that too to make the pack complete? Anyway, cheers again, back to playing some Amiga games! |
|
20 May 2019, 20:14 | #290 |
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
Hi Toni,
I'm trying to switch shaders during runtime, using "displaydata" in the config file, as a tryout like the following: Code:
displaydata=nlace,cmd=gfx_filter=D3D:CRT-Trinitron-SmartRes.fx displaydata=lace,cmd=gfx_filter=D3D:CRT-Trinitron-HiRes.fx I tried this with both d3d9 and d3d11, same result (log is from d3d9) Is this supposed to work (I guess maybe not..)? If it's not supposed to work, is there an equivalent to use in your recent shader parser addition? The goal is to switch shaders upon lace/non-lace switch, or alternatively a way to let the shader know that interlace is detected. Would anything be possible with "displaydata=lace" in the "string winuae_config : WINUAE_CONFIG =".? If so, could you possibly give a pointer what that should look like and what it would return to the shader? |
21 May 2019, 14:14 | #291 |
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
@ guest.r
Have a question on the differences between the Trinitron versions . Trinitron-HiRes vs. Trinitron-HiRes-SmartRes, what does the "smartres" do different for the hires version? Trinitron-Hires-SmartRes vs. Trinitron-Smartres, which one would you recommend for games, or are they both equally suitable? I think they all look pretty good, just curious what the benefit "technically" is for the Trinitron-SmartRes version when playing games? I'm a bit charmed by the hires-smartres version as I'm loading most games and demos through whdload, for which during boot (wb shell in hires) the screen look great also, opposed to the trinitron-smartres version. In that regard, could you add the GammaOut to the Trinitron-SmartRes version? Then I can compare the apples to apples Lastly, with Brightboost, what is the "neutral" setting for brightboost? Can it be compared to the brightness setting on a CRT where the "middle" is the default / neutral setting? If so, is the "1.0" setting for brightboost neutral? |
21 May 2019, 15:57 | #292 | |||
Registered User
Join Date: May 2017
Location: EU
Posts: 342
|
@Dr. Venom:
Quote:
Quote:
Quote:
Last but not least, new version of the pack is here: - custom _winuae.fx added with some description, - crt-shifty(2) added, - some small tweaks like gammaOUT... |
|||
22 May 2019, 18:56 | #293 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
Better design is needed.. |
|
23 May 2019, 21:31 | #294 |
Zone Friend
|
Hey guest.r - What resolution and size settings do you recommend for your shaders? I'm have WinUAE running in fullscreen at 1920x180 and on the filter tab: Scaling ='Fullscreen (TV)', Horiz Size & Vert size = 'FS', Aspect Ratio Correction = 'Automatic'
Unfortunately on most on your smartres shaders the scanlines (or the pixels themselves) always seem kinda uneven (e.g. using the otherwise fabulous trinitron, some vertical scanlines are thin, some 'fat') no matter what number I try in the two sliders to the right of the Horiz & Vert size dropdown. A picture is probably better at explaining, it's properly zoomed in but if I scale it down the resize interpolation might break what I actually see on the screen! |
23 May 2019, 21:37 | #295 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,438
|
Select 1x/4x for the shader resize. Works perfectly fine. And no Scaling at all. Use 2x/2x zoom for Hires and 4x/4x for LoRes shader versions.
|
23 May 2019, 21:39 | #296 |
Registered User
Join Date: May 2017
Location: EU
Posts: 342
|
As Retro-Nerd wrote...
Don't forget to use Bilinear from Point/Bilinear from the Extra Settings menu. |
23 May 2019, 21:41 | #297 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,438
|
Ah yes, this is very important. Without the bilinear option you never get it right.
|
23 May 2019, 22:39 | #298 |
Zone Friend
|
Got it, looks really good - thanks both ..... however my CPU is now feeling a little erm, bothered! (A leap from <10% at 1x * 1x to 379% at 2x * 4x according to the GUI ). Guess I might need a new GPU for such prettiness!
|
23 May 2019, 22:43 | #299 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,438
|
A combination of beam racing/lagless vsync and shader is a bit heavy on CPU/GPU. Without beam racing it's OKish. 1x/4x shader resize should be also much better than 2x/4x, performance-wise.
|
24 May 2019, 11:04 | #300 |
Zone Friend
|
There's a weird thing I have with my GPU and beam-racing (I believe DamienD has the same issue - and GPU!) - Despite *everything* set to PAL (and living in a PAL country), turning on V-Sync or beam racing makes WinUAE run at 60fps (though not solidly, it randomly flickers between around 55-65). Presumably it's due the laptop monitor being locked at 60Hz - unfortunately it's not changeable even when digging deep in GPU and monitor settings.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multipass shaders | craig64 | support.FS-UAE | 21 | 08 December 2020 11:01 |
HLSL/CG Shaders and xBR | Enverex | support.FS-UAE | 11 | 19 July 2013 16:44 |
fx Shaders in WinUAE 2.6.0 | crazy46guy | support.WinUAE | 8 | 16 June 2013 14:30 |
[FS-UAE] Optimized or corrected Amiga Game Database Entrys | nexusle | support.FS-UAE | 3 | 24 August 2012 21:30 |
Subpixel-corrected lines and polygons on Amiga | Scali | Coders. Asm / Hardware | 9 | 11 January 2012 12:37 |
|
|