MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

Dante82
MAME Fan
Reged: 07/01/17
Posts: 35
Send PM


Card for 4K hlsl
#375310 - 04/02/18 04:08 PM


Hi guys, considering upgrading to a 4K 32 inch GSync display for my arcade cabinet. Currently running an Nvidia 650ti boost. Works fine for 1080p hlsl, would this handle 4K hlsl?

If not would a 750ti suffice? Looking to not break the bank. This will be paired with an i7 8700k btw.

Thanks.



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: Card for 4K hlsl new [Re: Dante82]
#375311 - 04/02/18 04:16 PM


Probably need 1070 or better.



Dante82
MAME Fan
Reged: 07/01/17
Posts: 35
Send PM


Re: Card for 4K hlsl new [Re: B2K24]
#375314 - 04/02/18 04:46 PM


> Probably need 1070 or better.

Oh to hell with that. I didn’t think you would need that high of a card....

Thanks for the quick response.



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: Card for 4K hlsl new [Re: Dante82]
#375315 - 04/02/18 05:50 PM


I have a 28 inches 4K monitor and a EVGA GTX 970 4GB vidcard. It's not enough to play PC games in 4K resolution, but it have way more than enough power for MAME with HLSL / GLSL /BGFX enabled at 60 fps.
I just tested a few MAME games at 3840x2160 res with HLSL enabled before writing this reply and they all played without lag, using between 17% and 40% of the GPU.
I don't have many heavy MAME games but it was enough for "RC de Go", "Gradius 4", "Simpsons Bowling".
If you know of a very heavy game in MAME, please let me know and I'll test it here for you.

With a 750ti you might still be able to run older MAME games at 4K resolution (elevator action, metal slug...), I would recommend a GeForce GTX 960 (either 960 or 960ti). I will probably be enough for 4K MAME games with HLSL enabled. For some newer games, you might want to lower the screen resolution to 2560x1440. Games look pretty darn good at this resolution in my 28 inches 4K monitor (gaming at 1920x1080 resolution looks like crap).

A GTX 950 might be enough, but I doubt it. Emphasis in the word might.

You don't need a GTX 1070 if it's just MAME games.



Emu Loader
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]



krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM


Re: Card for 4K hlsl new [Re: Dante82]
#375319 - 04/02/18 08:13 PM


You might find this article useful. It's from 2013, so the info isn't super-current, but there's still some good info...

https://www.pugetsystems.com/labs/articles/4K-Monitor-Requirements-and-Usage-492/

I thought this was an important point...


Quote:


Finally, if you are not gaming plan on needing at least 1.5GB of video memory for each 4k display you will be running unless your system is solely used for light tasks such as showing pictures or playing movies. In that case, 1GB of video memory per display should be more than sufficient. If you are gaming, the amount of video memory you need per display is going to depend heavily on the game but will almost certainly be at least 2GB. To be safe we recommend having at least 4GB of video memory per display, but if you play games like Skyrim with lots of mods you may find that you need as much as 6GB of video memory.




I don't know how much video memory HLSL uses, but it probably wouldn't hurt to look for a car with 2GB of video memory at a minimum.



GroovyMAME support forum on BYOAC



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: Card for 4K hlsl new [Re: krick]
#375321 - 04/02/18 09:24 PM


Most games I tried at 3840x2160 res with HLSL enabled (default settings) used no more than 500MB or VRAM. "RC de Go" used 600MB of VRAM.
I beleive a vidcard with 1.5GB or 2GB of VRAM should be fine for MAME at 4K resolution.
I couldn't make OpenGL or BGFX effects work though. For some reason, enabling the OpenGL setting is not working for me.



Emu Loader
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]



Dante82
MAME Fan
Reged: 07/01/17
Posts: 35
Send PM


Re: Card for 4K hlsl new [Re: CiroConsentino]
#375323 - 04/02/18 10:59 PM


Guys thank you for the additional insight. So for some extra info this is an arcade emulation only pc. No current gaming.

Along with Mame I will be running:

Demul - Atomiswave + Naomi
Model 2
Supermodel 3
Taito Type X
Arcade PC dumps (Aliens Extermination, Contra Evolution, Super Bikes)
Laserdisc


And Ciro, because of the i7’s immense power I’m running the heavy hitters: Gradius IV, Blitz/2000, Gauntlet DL/Legends, the Cruisin games, Etc.

When I heard at least a 1070, The Acer monitor that I’m purchasing is just under 1000 beans. A 1070 is 450-500 beans. 1500 just for better CRT shadowmask simulation? It seems a little beyond obsession....


Does it really make 1080p look like shit? I’m running Bulbous Beard’s hlsl preset at 1920x1200 and I think it looks great. Ciro can you take a full size 4K screenshot of like Alien Storm with hlsl and post it? I’ve never seen a screenshot of Mame hlsl at 4K...



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: Card for 4K hlsl new [Re: Dante82]
#375328 - 04/03/18 01:36 AM



Quote:


I’m running Bulbous Beard’s hlsl preset at 1920x1200 and I think it looks great.


That's your monitor's native resolution ? If yes then of course it looks good because the monitor doesn't upcale the output image.

Yes, playing at 1920x1080 res on a 4K res monitor, the monitor must upscales the image to 3840x2160 internally and sorry to say but 4K monitors are crappy upscallers.
I'm a PC gamer and most my games I play at 2560x1440. Games look nice at this resolution.
My monitor is a Samsung U28D590D and its internal upcale processor is awful when it comes to 1920x1080 resolution.

Now, a good 4K TV (not a monitor) has specific high quality upscale processors that do an excellent job and image looks really nice. Some 4K TVs have image filters that make everything look prety. A 4K monitor doesn't do that.

I'll take a 4K screenshot in a while as I'm far away from my computer right now. I'll use the default HLSL settings unless you want to see a specific HLSL setting.

FYI, no point in taking a 4K screenshot at 1080p resolution because you can't see it in a screenshot with a non 4K monitor, only noticeable live while game is being displayed.



Emu Loader
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


4K Screenshot with HLSL applied (10MB file inside) new [Re: CiroConsentino]
#375329 - 04/03/18 02:52 AM Attachment: astorm.png 11156 KB (1 downloads)


Default HLSL settings but I changed the "HLSL screenshot resolution" setting to 3840x2160.

[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment



Emu Loader
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6125
Loc: Fort Worth, Tx
Send PM


Re: 4K Screenshot with HLSL applied (10MB file inside) new [Re: CiroConsentino]
#375330 - 04/03/18 03:11 AM Attachment: 0000.png 6989 KB (2 downloads)


> Default HLSL settings but I changed the "HLSL screenshot resolution" setting to
> 3840x2160.

I only use 2560x1440. (Because my screen only go that far.)

But I turn off the shadow_mask_alpha because on the real screen when you far away from it. You can't see the color scanlines patterns. Just the lines and brightness. Ether the lines going up to down or going left to right.

You can't even see the lines farther back away. Looking like a slick clear glass screen.

Only see the color scanlines patterns way up close to the screen. Talking about zoom all the way to the screen.

color scanlines patterns = RGB lines or what ever the color lines are. Close being vanish from the brightness screen.

With the shadow_mask_alpha turn up. MAME doesn't know how to fade/darken it in/out on automatic when the bright/dark video colors show up. Stays dark. Look fake. It better leave that shadow_mask_alpha turn off.

===========================================================

Look something like this far away. Because the brightness kills the color scanlines patterns. Only leave the single color dark lines.

[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment



W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: 4K Screenshot with HLSL applied (10MB file inside) new [Re: Dullaron]
#375332 - 04/03/18 03:36 AM


I could not find the option to turn off shadow_mask_alpha, but in my mame.ini it is set to 0.0
Is this the off setting ?
this is my HLSL settings (MAME default)
Code:

#
# DIRECT3D POST-PROCESSING OPTIONS
#
hlslpath hlsl
hlsl_enable 1
hlsl_oversampling 0
hlsl_write auto
hlsl_snap_width 3840
hlsl_snap_height 2160
shadow_mask_tile_mode 0
shadow_mask_alpha 0.0
shadow_mask_texture shadow-mask.png
shadow_mask_x_count 6
shadow_mask_y_count 4
shadow_mask_usize 0.1875
shadow_mask_vsize 0.25
shadow_mask_uoffset 0.0
shadow_mask_voffset 0.0
distortion 0.0
cubic_distortion 0.0
distort_corner 0.0
round_corner 0.0
smooth_border 0.0
reflection 0.0
vignetting 0.0
scanline_alpha 0.0
scanline_size 1.0
scanline_height 1.0
scanline_variation 1.0
scanline_bright_scale 1.0
scanline_bright_offset 0.0
scanline_jitter 0.0
hum_bar_alpha 0.0
defocus 0.0,0.0
converge_x 0.0,0.0,0.0
converge_y 0.0,0.0,0.0
radial_converge_x 0.0,0.0,0.0
radial_converge_y 0.0,0.0,0.0
red_ratio 1.0,0.0,0.0
grn_ratio 0.0,1.0,0.0
blu_ratio 0.0,0.0,1.0
saturation 1.0
offset 0.0,0.0,0.0
scale 1.0,1.0,1.0
power 1.0,1.0,1.0
floor 0.0,0.0,0.0
phosphor_life 0.0,0.0,0.0



Edited by CiroConsentino (04/03/18 03:39 AM)



Emu Loader
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6125
Loc: Fort Worth, Tx
Send PM


Edit. new [Re: CiroConsentino]
#375333 - 04/03/18 03:37 AM


> I could not find the option to turn off shadow_mask_alpha, but in my mame.ini it is
> set to 0.0
> Is this the off setting ?

shadow_mask_alpha 0.0

That is it.

inipath .

#
# OSD VIDEO OPTIONS
#
video d3d
numscreens 1
window 0
maximize 1
waitvsync 0
syncrefresh 0
monitorprovider auto

#
# DIRECT3D POST-PROCESSING OPTIONS
#
hlsl_enable 1
shadow_mask_tile_mode 0
shadow_mask_alpha 0.0
shadow_mask_texture shadow-mask.png
shadow_mask_x_count 12
shadow_mask_y_count 6
shadow_mask_usize 0.5
shadow_mask_vsize 0.5
shadow_mask_uoffset 0.0
shadow_mask_voffset 0.0
distortion -0.08
cubic_distortion 0.10
distort_corner 0.02
round_corner 0.10
smooth_border 0.01
reflection 0.0
vignetting 0.0
scanline_alpha 0.5
scanline_size 1.0
scanline_height 1.0
scanline_variation 1.0
scanline_bright_scale 1.0
scanline_bright_offset 0.0
scanline_jitter 0.0
hum_bar_alpha 0.01
defocus 0.8,0.0
converge_x 0.0,0.0,0.0
converge_y 0.0,0.0,0.0
radial_converge_x 0.0,0.0,0.0
radial_converge_y 0.0,0.0,0.0
red_ratio 1.0,0.0,0.0
grn_ratio 0.0,1.0,0.0
blu_ratio 0.0,0.0,1.0
saturation 1.25
offset 0.0,0.0,0.0
scale 1.0,1.0,1.0
power 1.0,1.0,1.0
floor 0.03,0.03,0.03
phosphor_life 0.0,0.0,0.0

#
# BLOOM POST-PROCESSING OPTIONS
#
bloom_blend_mode 0
bloom_scale 0.165
bloom_overdrive 1.00,1.00,1.00
bloom_lvl0_weight 1.00
bloom_lvl1_weight 0.64
bloom_lvl2_weight 0.32
bloom_lvl3_weight 0.16
bloom_lvl4_weight 0.08
bloom_lvl5_weight 0.06
bloom_lvl6_weight 0.04
bloom_lvl7_weight 0.02
bloom_lvl8_weight 0.01



W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: Edit. new [Re: Dullaron]
#375334 - 04/03/18 03:44 AM


Let me try your HLSL settings here.
huh, no difference from MAME's default settings. At least not that I could see.



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: Edit. new [Re: CiroConsentino]
#375336 - 04/03/18 05:30 AM


> Let me try your HLSL settings here.
> huh, no difference from MAME's default settings. At least not that I could see.

Rename the ini folder and you should get a different result.

Regardless of what's changed in mame.ini, you have to remember that raster.ini will have the final say unless you're specifying all settings on the command line (which I doubt)



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6125
Loc: Fort Worth, Tx
Send PM


Re: Edit. new [Re: B2K24]
#375339 - 04/03/18 06:15 AM


> > Let me try your HLSL settings here.
> > huh, no difference from MAME's default settings. At least not that I could see.
>
> Rename the ini folder and you should get a different result.
>
> Regardless of what's changed in mame.ini, you have to remember that raster.ini will
> have the final say unless you're specifying all settings on the command line (which I
> doubt)

or use this.

inipath .

There a dot there. Works every time.



uman
MAME Fan
Reged: 04/15/12
Posts: 455
Send PM


Re: Edit. new [Re: Dullaron]
#375341 - 04/03/18 10:06 AM


Dullaron, really no offend here, BUT the whole purpose of buying a 4k monitor for a MAME cab, would be for a better simulation of the shadow-mask (g-sync, free-sync aside).
Now you come here and tell the people absolute wrong things, like turning the shadowmask completely off, because YOU dont see a difference, even on a real CRT-cab, at a reasonable distance from the screen.

Seriously, if that would be true, dont you think that the devs would be removing all shadowmask parameters, because we wouldnt see a difference anyway?
Shadowmasks and scanlines are the most remarkable characteristics of a CRT. While scanlines are most of the time (depending on screen resolution) very easy to handle to look authentic, shadowmasks are way harder to create a believable illusion. The higher the resolution of the screen is, the better it is for the shader to create realistic shadowmasks and in the case of a 4k monitor, you have 4x more pixels left to create a shadowmask. I go even further and say, that the current texture-mappings could need a update for such (4k) monitors. At the time, when they where added, the max. resolution for monitors was 1920x1080.

So please Dullaron, dont advice people to turn off shadowmasks, especially in a thread like this. Not only that MAME have three different shadowmasks and by that, covering the most different CRT-setups, many people who are interested in these kind of things, would like to see all three shadowmasks. If shadowmasks are to dark for you, you obviously did something wrong with them or didnt compensate the "darkness" properly, by tinkering with other parameters like brightness, bloom etc.
Your advice is a clear disrespect of the hard work of Mooglyguy, cgwg, Timothy Lotte and Jezze, to simulate one of the most important charcteristics of a CRT.

I still have the hope that CiroConsentino will do some more screenshots with all shadowmasks that are availabe with HLSL settings that makes sense. Sadly i cant currently help with better settings, as i am not at home.
Maybe some other users here, like B2K24 can help out with proper settings for the three different shadowmasks.



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6125
Loc: Fort Worth, Tx
Send PM


Re: Edit. new [Re: uman]
#375342 - 04/03/18 12:23 PM


> Dullaron, really no offend here, BUT the whole purpose of buying a 4k monitor for a
> MAME cab, would be for a better simulation of the shadow-mask (g-sync, free-sync
> aside).
> Now you come here and tell the people absolute wrong things, like turning the
> shadowmask completely off, because YOU dont see a difference, even on a real CRT-cab,
> at a reasonable distance from the screen.
>
> Seriously, if that would be true, dont you think that the devs would be removing all
> shadowmask parameters, because we wouldnt see a difference anyway?
> Shadowmasks and scanlines are the most remarkable characteristics of a CRT. While
> scanlines are most of the time (depending on screen resolution) very easy to handle
> to look authentic, shadowmasks are way harder to create a believable illusion. The
> higher the resolution of the screen is, the better it is for the shader to create
> realistic shadowmasks and in the case of a 4k monitor, you have 4x more pixels left
> to create a shadowmask. I go even further and say, that the current texture-mappings
> could need a update for such (4k) monitors. At the time, when they where added, the
> max. resolution for monitors was 1920x1080.
>
> So please Dullaron, dont advice people to turn off shadowmasks, especially in a
> thread like this. Not only that MAME have three different shadowmasks and by that,
> covering the most different CRT-setups, many people who are interested in these kind
> of things, would like to see all three shadowmasks. If shadowmasks are to dark for
> you, you obviously did something wrong with them or didnt compensate the "darkness"
> properly, by tinkering with other parameters like brightness, bloom etc.
> Your advice is a clear disrespect of the hard work of Mooglyguy, cgwg, Timothy Lotte
> and Jezze, to simulate one of the most important charcteristics of a CRT.
>
> I still have the hope that CiroConsentino will do some more screenshots with all
> shadowmasks that are availabe with HLSL settings that makes sense. Sadly i cant
> currently help with better settings, as i am not at home.
> Maybe some other users here, like B2K24 can help out with proper settings for the
> three different shadowmasks.

Real CRT and MAME HLSL/BGFX doesn't do the same thing. Real CRT have control over the color lines brightness while MAME can't do. There is a big different between those two.

Have to be emulated correctly or else not gonna look right on the fading and come back.

Now you see why I turn that off. Better than have those look incorrect with rainbows showing.



Dante82
MAME Fan
Reged: 07/01/17
Posts: 35
Send PM


Re: 4K Screenshot with HLSL applied (10MB file inside) new [Re: CiroConsentino]
#375343 - 04/03/18 12:32 PM


> Default HLSL settings but I changed the "HLSL screenshot resolution" setting to
> 3840x2160.

Ciro thank you so much . Looks great! I can really see the detail compared to my set up.

Also guys aside from 4K I really want the GSync feature to accompany groovymame. This way I don’t have to screw with frame delay/sync tolerances on a per game basis. Everything just runs at native timing. Not to mention it will minimize input lag on every other emu I run.



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Dante82, You can test 4K rendering with your current vidcard today! (see how) new [Re: Dante82]
#375344 - 04/03/18 02:06 PM Attachment: nvidia-dsr-enable.png 56 KB (0 downloads)


hi, I woke up this morning and remembered about nVidia's Dynamic Super Resolution (DSR) feature. The vidcard will internally render graphics at higher resolution (eg. 3840x2160 4K). This way you can see right now if your current vidcard can render MAME at 4K resolution.
You need a newer GeForce video driver that supports DSR though.

1. Open nVidia Control Panel
2. Go to Manage 3D Settings
3. On General tag, go to DSR - Factors
4. Check 2.0x (native resolution) and perpahs 2.25x as well. You're in 1920x1200 res right ? 2.0x will render at 3840x2400 res.
This will increase vidcard's internal rendering resolution 2 times your current Windows resolution.
5. Click "Apply" button and restart Windows if asked
6. Make sure to select "auto" screen resolution in MAME settings... or the max resolution your monitors supports (do not use higher res or monitor will not show image).
7. Run a MAME game. Start with an older one like "Alien Storm"

Just remember to uncheck all selected DSR factors and make sure it's OFF when you're done testing this.
Also, the monitor you're looking at with G-Sync might have good upscale processors. My Samsung 4K monitor was cheap and I bought it 2 years ago when 4K monitors started to appear. It's good for PC gaming at native res but not at 1920x1080.
Asus monitors have better upscale processors.

[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment

Edited by CiroConsentino (04/03/18 02:06 PM)



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: Edit. new [Re: B2K24]
#375345 - 04/03/18 02:08 PM


I don't have custom game settings, only mame.ini. No custom .ini files in inipath except vector.ini for vector games.



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: Edit. new [Re: uman]
#375346 - 04/03/18 02:28 PM



Quote:


I still have the hope that CiroConsentino will do some more screenshots with all shadowmasks that are availabe with HLSL settings that makes sense.



I can do some more snaps, no problem.
I changed HLSL shadow-mask and nothing changed. Should I change the shadow mask in BGFX or HLSL ? Note that my mame.ini have default MAME settings, except for rompath / samplepath / snapshot_directory.
I haven't used these features in a long long time and I completely forgot how HLSL/BGFX/GLSL works. I know they recently changed.

I just found out that my frontend is not selecting BGFX shadow mask in "MAME Settings" screen (no code in button "Select"). I guess I missed that and nobody reported the bug.

Where MAME gets the shadow masks for BGFX ?
For HLSL, MAME uses the .png files in "mamedir\artwork\" root folder, I think. There's a "mamedir\artwork\bgfx\" sub-folder in there. Should BGFX get shadow maks only from there ?



uman
MAME Fan
Reged: 04/15/12
Posts: 455
Send PM


Re: Edit. new [Re: Dullaron]
#375356 - 04/03/18 08:58 PM Attachment: shadowmask.jpg 116 KB (0 downloads)


> Real CRT and MAME HLSL/BGFX doesn't do the same thing. Real CRT have control over the
> color lines brightness while MAME can't do. There is a big different between those
> two.
>
> Have to be emulated correctly or else not gonna look right on the fading and come
> back.
>
> Now you see why I turn that off. Better than have those look incorrect with rainbows
> showing.

This is just hilarious. According to your statement, we can ditch all shaders completely. Of course is a real CRT different from HLSL/BGFX/GLSL, because its the real thing and you cant beat the real thing, by emulation/simulation.

That garbage talk from you, i dont know if i need to laugh, cry or just rage-quit this thread. Dude, dont eat LSD and there will be no rainbows showing.

I can only guess what you are trying to say here:
"Real CRT have control over the color lines brightness while MAME can't do."
Light output (or nits) of a real CRT, has nothing to do with MAME. This is a display/monitor problem and different technics to create a picture/frame. Also this has not much to do with a shadowmask.

If you dont know what a shadowmask is, then dont mix different terms and make a mess here. Anyway I attached a picture of it.

[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6125
Loc: Fort Worth, Tx
Send PM


Edit: Sorry about all this. new [Re: uman]
#375361 - 04/04/18 12:32 AM


> > Real CRT and MAME HLSL/BGFX doesn't do the same thing. Real CRT have control over
> the
> > color lines brightness while MAME can't do. There is a big different between those
> > two.
> >
> > Have to be emulated correctly or else not gonna look right on the fading and come
> > back.
> >
> > Now you see why I turn that off. Better than have those look incorrect with
> rainbows
> > showing.
>
> This is just hilarious. According to your statement, we can ditch all shaders
> completely. Of course is a real CRT different from HLSL/BGFX/GLSL, because its the
> real thing and you cant beat the real thing, by emulation/simulation.
>
> That garbage talk from you, i dont know if i need to laugh, cry or just rage-quit
> this thread. Dude, dont eat LSD and there will be no rainbows showing.
>
> I can only guess what you are trying to say here:
> "Real CRT have control over the color lines brightness while MAME can't do."
> Light output (or nits) of a real CRT, has nothing to do with MAME. This is a
> display/monitor problem and different technics to create a picture/frame. Also this
> has not much to do with a shadowmask.
>
> If you dont know what a shadowmask is, then dont mix different terms and make a mess
> here. Anyway I attached a picture of it.

To me the patterns just need to be lighter than that. My guest is 0.25 or less will fix that. I even lower to that on the shadow amount as well. Look better than what I used.

I am the a$$ho!e. Point is over 0.25 is too much. Just trying get this to fade out on bright white. Over that amount will kill the goods.

New changes that I did.

inipath .

#
# OSD VIDEO OPTIONS
#
video d3d
numscreens 1
window 1
maximize 1
waitvsync 0
syncrefresh 0
monitorprovider auto

#
# DIRECT3D POST-PROCESSING OPTIONS
#
hlsl_enable 1
shadow_mask_tile_mode 0
shadow_mask_alpha 0.25
shadow_mask_texture shadow-mask.png
shadow_mask_x_count 12
shadow_mask_y_count 6
shadow_mask_usize 0.5
shadow_mask_vsize 0.5
shadow_mask_uoffset 0.0
shadow_mask_voffset 0.0
distortion -0.08
cubic_distortion 0.10
distort_corner 0.02
round_corner 0.10
smooth_border 0.01
reflection 0.0
vignetting 0.0
scanline_alpha 0.25
scanline_size 1.0
scanline_height 1.0
scanline_variation 1.0
scanline_bright_scale 0.5
scanline_bright_offset 1.0
scanline_jitter 0.0
hum_bar_alpha 0.01
defocus 0.8,0.0
converge_x 0.0,0.0,0.0
converge_y 0.0,0.0,0.0
radial_converge_x 0.0,0.0,0.0
radial_converge_y 0.0,0.0,0.0
red_ratio 1.0,0.0,0.0
grn_ratio 0.0,1.0,0.0
blu_ratio 0.0,0.0,1.0
saturation 1.25
offset 0.0,0.0,0.0
scale 1.0,1.0,1.0
power 1.0,1.0,1.0
floor 0.05,0.05,0.05
phosphor_life 0.0,0.0,0.0

#
# BLOOM POST-PROCESSING OPTIONS
#
bloom_blend_mode 0
bloom_scale 0.165
bloom_overdrive 1.00,1.00,1.00
bloom_lvl0_weight 1.00
bloom_lvl1_weight 0.64
bloom_lvl2_weight 0.32
bloom_lvl3_weight 0.16
bloom_lvl4_weight 0.08
bloom_lvl5_weight 0.06
bloom_lvl6_weight 0.04
bloom_lvl7_weight 0.02
bloom_lvl8_weight 0.01



Dante82
MAME Fan
Reged: 07/01/17
Posts: 35
Send PM


Re: Dante82, You can test 4K rendering with your current vidcard today! (see how) new [Re: CiroConsentino]
#375366 - 04/04/18 04:10 AM


> hi, I woke up this morning and remembered about nVidia's Dynamic Super Resolution
> (DSR) feature. The vidcard will internally render graphics at higher resolution (eg.
> 3840x2160 4K). This way you can see right now if your current vidcard can render MAME
> at 4K resolution.
> You need a newer GeForce video driver that supports DSR though.
>
> 1. Open nVidia Control Panel
> 2. Go to Manage 3D Settings
> 3. On General tag, go to DSR - Factors
> 4. Check 2.0x (native resolution) and perpahs 2.25x as well. You're in 1920x1200 res
> right ? 2.0x will render at 3840x2400 res.
> This will increase vidcard's internal rendering resolution 2 times your current
> Windows resolution.
> 5. Click "Apply" button and restart Windows if asked
> 6. Make sure to select "auto" screen resolution in MAME settings... or the max
> resolution your monitors supports (do not use higher res or monitor will not show
> image).
> 7. Run a MAME game. Start with an older one like "Alien Storm"
>
> Just remember to uncheck all selected DSR factors and make sure it's OFF when you're
> done testing this.
> Also, the monitor you're looking at with G-Sync might have good upscale processors.
> My Samsung 4K monitor was cheap and I bought it 2 years ago when 4K monitors started
> to appear. It's good for PC gaming at native res but not at 1920x1080.
> Asus monitors have better upscale processors.

Yes I totally forgot about DSR....will get a chance to try this tomorrow and will post back my results. Thanks for the detailed instructions!



Dante82
MAME Fan
Reged: 07/01/17
Posts: 35
Send PM


Re: Dante82, You can test 4K rendering with your current vidcard today! (see how) new [Re: CiroConsentino]
#375518 - 04/09/18 01:56 AM


Sorry been super busy at work. Just got a chance to try this out tonight.

So my DSR was at 3X my native resolution. This was the closest to 4K without going over. Smoothing was set to 0 percent because I wanted to see the detail, the default 33% was too blurry.

And the verdict is....well it ran no problem, card is a Nvidia 650TI Boost. Definite detail difference. Upon pausing Mame and putting my face up to the monitor I could see the staggered slot mask , although very tiny it was well defined. At my native resolution, while it looks good (to me anyway), that detail does not show.

So with this success would I be safe at a native 4K monitor?



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: Dante82, You can test 4K rendering with your current vidcard today! (see how) new [Re: Dante82]
#375528 - 04/09/18 01:39 PM


>> So with this success would I be safe at a native 4K monitor?

Yes. DSR forces the vidcard to internally render the game at high resolution as if the monitor was 4K res, then it shrinks the image down to monitor's actual resolution to displaying the game. There should be no performance difference compared to a monitor with native 4K resolution (3840x2160).
Except that with a 4K monitor you will get much better picture quality as it has a lot more pixels showing on screen.

This morning I found this thread about DSR 4K rendering versus actual 4K rendering. They confirm what I already knew:
https://steamcommunity.com/discussions/forum/11/364040166689313959

MAME doesn't render graphics in 3D , not yet anyway (if ever). The HLSL filter is not a performance hog like PC games. If MAME is running at full speed in your tests with nVidia DSR, there's no reason to think it will run different in a native 4K monitor.

Still, if you run a heavier MAME game you can always lower the game resolution to 2560x1440.

I'm a PC gamer an run all newer PC games at 2560x1440 as my GTX 970 vidcard is not powerful for 4K res ("GTA5 PC" and "Watch Dogs"), but it run older games at 4K res in full speed like "GTA Vice City / San Andreas", "Thief 4", "Dishonored" and the newest "Hitman" game.


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 174 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3200