Mega Bezel Reflection Shader! - Feedback and Updates

I get way better performance with MBZ__4__BASIC-BORDER__LCD-GRID.slangp without stutter nor audio crackling but color is not there :upside_down_face:

MBZ__4__BASIC-BORDER__LCD-GRID.slangp :point_down:

MBZ__4__BASIC-BORDER__GUEST-DrVENOM.slangp :point_down:

Exactly.

1 Like

I like the green ones.

1 Like

Love the green ones too (Tea Midori & DMG)… love the classics :nerd_face:

2 Likes

I’ve been using this for a while and it’s fantastic. But I have a question: Is there an easy way to only enable the background and screen scaling (the bezel and frame can go either way), and disable literally everything else (color correction, scanlines, etc)? I want something that looks and performs like Citra’s hybrid mode without being too intensive. I made something that looks pretty nice for Citra IMO but the 3DS preset makes it dip below full speed on a 4K display.

(Image compression makes the scanlines look a little worse, but you get the idea)

2 Likes

Which preset are you specifically using?

What resolution are you running the core at? 1x, 2x?

Did you try Dual-Screen-3DS__MBZ__4__BASIC-BORDER.slangp ?

This should give you the best performance of any of the presets available.

1 Like

image

Mega Bezel PSA

Hi All, I’ve added info about how to report bugs or ask about how to get better performance etc, this will give me the information I need to more easily help you. :smiling_face_with_three_hearts:

4 Likes

I’m using Dual-Screen-3DS__MBZ__2__STANDARD.slangp.

3x resolution, which I’d like to keep if possible, but bringing it down to 2x allows full speed.

I don’t see any Dual-Screen-3DS__MBZ__4__BASIC-BORDER.slangp; I tried using MBZ__4__BASIC-BORDER.slangp and enabling dual screen, but the bezel stays around both screens in a 4:3 shape instead of splitting up the screens.

1 Like

This is probably one I’ve added locally, so until I update you could use MBZ__4__BASIC-BORDER.slangp and use these parameters, that should work better than the STANDARD because it does not increase the resolution like the STANDARD one does.

HSM_FLIP_VIEWPORT_VERTICAL = 1
HSM_ASPECT_RATIO_MODE = 5
HSM_INT_SCALE_MODE = 0
HSM_NON_INTEGER_SCALE = 88.888
HSM_INT_SCALE_BORDER_MIN_HEIGHT = 10
HSM_DUALSCREEN_MODE = 1
HSM_DUALSCREEN_2ND_SCREEN_ASPECT_RATIO_MODE = 1
HSM_DUALSCREEN_2ND_SCREEN_SIDES_CROP = "10"
HSM_DUALSCREEN_POSITION_OFFSET_BETWEEN_SCREENS = "-2.8"
HSM_CURVATURE_MODE = -1
HSM_SCREEN_CORNER_RADIUS = 4
HSM_TUBE_BLACK_EDGE_THICKNESS = 50
HSM_BZL_WIDTH = 160
HSM_BZL_HEIGHT = 150
HSM_FRM_THICKNESS = 100

Unfortunately, that produced a similar issue.

But if there’s going to be a 3DS basic preset in the next update, I can just wait until then.

2 Likes

I try to load shaders, but only the one without reflections starts, all the others give an error.

  • RA 1.9.0 - Snes9x (1.60 0655370)
  • HSM_Bezel_Reflection_V0.9.08_2021-04-26
  • Metal Warrior / Cybernator
  • 1920x1080
  • GTX 980 Log
2 Likes

If you like my 3DS Vertical graphic at all, once the Basic Border is capable of doing the 3DS I will be releasing a Hybrid preset that will use the Basic Border preset under an overlay. It should perform pretty well.

1 Like

Here is your problem. The shader requires RA 1.9.1 or newer. :grin:

BTW. I missed this at first glance. It was the short log and “Exceeded maximum number of parameters” line that had me take a second look.

Thank you for including the requested info.

3 Likes

Hi guys,

Sorry for the question, maybe an answer does already exist in this forum. What have i to to to have a green background with the gameboy shader ?

1 Like

I think you can use the palette setting in the core settings. You can also use the GEL layer with a Gameboy_GEL.png in my repo.

1 Like

I have another question I noticed that in almost all presets the grid does not fit in 1080p except Smoothed-ScaleFX_ _ MBZ__2, how can I fix this? (Waves appear on the screen)

Okay, I already found it

  • -SCANLINE / Tipe-0
2 Likes

The Waves you are seeing are called a Moire effect, it’s the same effect you see through a screen door sometimes.

It is caused by using a crt shader with scanlines and tube curvature and made worse when the resolution is limited. It is a thorny problem , and sometimes hard to get rid of at 1080, it is much less of a problem at 4k.

If you remove curvature on the screen it will definitely disappear.

If you keep using curvature using Integer scale in the shader parameters can sometimes help.

5 Likes

Is the mega bezel shader really demanding? RA freezes every time I try to load a preset. I can’t guarantee that I installed everything correctly though :stuck_out_tongue:

@HyperspaceMadness

3 Likes

Are you using vulkan? helps a lot.

3 Likes

Well it’s more demanding than standard guest venom. Can you fill me in on your setup, Retroarch Version, Core, etc?

Basically this stuff:

3 Likes

Does this contain anything useful?

[INFO] [CONTENT LOAD]: Updating firmware status for: C:\RetroArch-Win64\cores\genesis_plus_gx_libretro.dll on C:\RetroArch-Win64\system
[INFO] [CORE]: Using content: C:\RetroArch-Win64\roms\genesis\Sonic the Hedgehog (JUE) [!].bin.
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] RetroArch 1.9.1 (Git cf6ca2a)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5 CPU         650  @ 3.20GHz
[INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES
[INFO] Built: Mar 28 2021
[INFO] Version: 1.9.1
[INFO] Git: cf6ca2a
[INFO] =================================================
[INFO] [Input]: Found input driver: "dinput".
[INFO] [Core]: Loading dynamic libretro core from: "C:\RetroArch-Win64\cores\genesis_plus_gx_libretro.dll"
[INFO] [Overrides]: No core-specific overrides found at "C:\RetroArch-Win64\config\Genesis Plus GX\Genesis Plus GX.cfg".
[INFO] [Overrides]: No content-dir-specific overrides found at "C:\RetroArch-Win64\config\Genesis Plus GX\genesis.cfg".
[INFO] [Overrides]: No game-specific overrides found at "C:\RetroArch-Win64\config\Genesis Plus GX\Sonic the Hedgehog (JUE) [!].cfg".
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[INFO] [Environ]: GET_LANGUAGE: "0".
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL.
[INFO] [Environ]: SET_CONTROLLER_INFO.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[INFO] Core requested VFS version >= v1, providing v3
[INFO] [Remaps]: Remap directory: "C:\RetroArch-Win64\config\remaps".
[INFO] [Overrides]: Redirecting save file to "C:\RetroArch-Win64\saves\Sonic the Hedgehog (JUE) [!].srm".
[INFO] [Overrides]: Redirecting save state to "C:\RetroArch-Win64\states\Sonic the Hedgehog (JUE) [!].state".
[INFO] [Environ]: PERFORMANCE_LEVEL: 1.
[INFO] [Environ]: GET_LOG_INTERFACE.
[INFO] [Environ]: PERFORMANCE_LEVEL: 7.
[INFO] [Environ]: SET_SERIALIZATION_QUIRKS.
[INFO] [Environ]: SET_DISK_CONTROL_INTERFACE.
[INFO] [CONTENT LOAD]: Content loading skipped. Implementation will load it on its own.
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[libretro INFO] Frontend supports RGB565 - will use that instead of XRGB1555.
[INFO] [Environ]: SYSTEM_DIRECTORY: "C:\RetroArch-Win64\system".
[INFO] [Environ]: GET_SAVE_DIRECTORY.
[libretro INFO] Game Genie ROM should be located at: C:\RetroArch-Win64\system\ggenie.bin
[libretro INFO] Action Replay (Pro) ROM should be located at: C:\RetroArch-Win64\system\areplay.bin
[libretro INFO] Sonic & Knuckles (2 MB) ROM should be located at: C:\RetroArch-Win64\system\sk.bin
[libretro INFO] Sonic & Knuckles UPMEM (256 KB) ROM should be located at: C:\RetroArch-Win64\system\sk2chip.bin
[libretro INFO] Mega Drive TMSS BOOTROM should be located at: C:\RetroArch-Win64\system\bios_MD.bin
[libretro INFO] Game Gear TMSS BOOTROM should be located at: C:\RetroArch-Win64\system\bios.gg
[libretro INFO] Master System (PAL) BOOTROM should be located at: C:\RetroArch-Win64\system\bios_E.sms
[libretro INFO] Master System (NTSC-U) BOOTROM should be located at: C:\RetroArch-Win64\system\bios_U.sms
[libretro INFO] Master System (NTSC-J) BOOTROM should be located at: C:\RetroArch-Win64\system\bios_J.sms
[libretro INFO] Mega CD (PAL) BIOS should be located at: C:\RetroArch-Win64\system\bios_CD_E.bin
[libretro INFO] Sega CD (NTSC-U) BIOS should be located at: C:\RetroArch-Win64\system\bios_CD_U.bin
[libretro INFO] Mega CD (NTSC-J) BIOS should be located at: C:\RetroArch-Win64\system\bios_CD_J.bin
[libretro INFO] Mega CD (PAL) BRAM is located at: C:\RetroArch-Win64\saves\scd_E.brm
[libretro INFO] Sega CD (NTSC-U) BRAM is located at: C:\RetroArch-Win64\saves\scd_U.brm
[libretro INFO] Mega CD (NTSC-J) BRAM is located at: C:\RetroArch-Win64\saves\scd_J.brm
[libretro INFO] Sega/Mega CD RAM CART is located at: C:\RetroArch-Win64\saves\cart.brm
[libretro INFO] INFORMATION - Loading 524288 bytes ...
[INFO] [Environ]: SET_AUDIO_BUFFER_STATUS_CALLBACK.
[INFO] [SRAM]: Skipping SRAM load..
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Cheats]: Load game-specific cheatfile: C:\RetroArch-Win64\cheats\Genesis Plus GX\Sonic the Hedgehog (JUE) [!].cht
[INFO] [Audio]: Set audio input rate to: 44156.86 Hz.
[INFO] [Video]: Video @ fullscreen
[INFO] [XInput]: Found XInput v1.4.
[WARN] [DINPUT]: Strong rumble unavailable.
[WARN] [DINPUT]: Weak rumble unavailable.
[INFO] [Joypad]: Found joypad driver: "xinput".
[INFO] [D3D12]: Found GPU at index 0: NVIDIA GeForce GTX 1050
[INFO] [D3D12]: Found GPU at index 1: Microsoft Basic Render Driver
[INFO] [D3D12]: Using GPU index 0.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Shaders]: Specific shader preset found at C:\RetroArch-Win64\config\global.slangp.
[INFO] [slang]: Compiling shader "C:\RetroArch-Win64\shaders\shaders_slang\misc\grade.slang".
[INFO] [slang]: Compiling shader "C:\RetroArch-Win64\shaders\shaders_slang\crt\shaders\guest\crt-gdv-new\afterglow0.slang".
[INFO] [slang]: Compiling shader "C:\RetroArch-Win64\shaders\shaders_slang\crt\shaders\guest\crt-gdv-new\pre-shaders-afterglow.slang".
[INFO] [slang]: Compiling shader "C:\RetroArch-Win64\shaders\shaders_slang\crt\shaders\guest\crt-gdv-new\avg-lum.slang".
[INFO] [slang]: Compiling shader "C:\RetroArch-Win64\shaders\shaders_slang\crt\shaders\guest\crt-gdv-new\linearize.slang".
[INFO] [slang]: Compiling shader "C:\RetroArch-Win64\shaders\shaders_slang\crt\shaders\guest\crt-gdv-new\blur_horiz2.slang".
[INFO] [slang]: Compiling shader "C:\RetroArch-Win64\shaders\shaders_slang\crt\shaders\guest\crt-gdv-new\blur_vert2.slang".
[INFO] [slang]: Compiling shader "C:\RetroArch-Win64\shaders\shaders_slang\crt\shaders\guest\crt-gdv-new\crt-guest-dr-venom2.slang".
[INFO] [Video]: Found display server: win32
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Display]: Found display driver: "d3d12".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Playlist]: Loading history file: [C:\RetroArch-Win64\content_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\RetroArch-Win64\content_music_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\RetroArch-Win64\content_video_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\RetroArch-Win64\content_image_history.lpl].
[INFO] [Playlist]: Loading favorites file: [C:\RetroArch-Win64\content_favorites.lpl].
[INFO] [Playlist]: Written to playlist file: C:\RetroArch-Win64\content_history.lpl
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[INFO] [Environ]: GET_LANGUAGE: "0".
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL.
[INFO] [Core Options]: Saved core options file to "C:\RetroArch-Win64\config\Genesis Plus GX\Genesis Plus GX.opt"
[INFO] [Environ]: SET_CONTROLLER_INFO.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[INFO] Core requested VFS version >= v1, providing v3
[INFO] [Environ]: PERFORMANCE_LEVEL: 1.
[INFO] [Environ]: GET_LOG_INTERFACE.
[INFO] [Environ]: PERFORMANCE_LEVEL: 7.
[INFO] [Environ]: SET_SERIALIZATION_QUIRKS.
[INFO] [Environ]: SET_DISK_CONTROL_INTERFACE.
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[libretro INFO] Frontend supports RGB565 - will use that instead of XRGB1555.
[INFO] [Environ]: SYSTEM_DIRECTORY: "C:\RetroArch-Win64\system".
[INFO] [Environ]: GET_SAVE_DIRECTORY.
[libretro INFO] Game Genie ROM should be located at: C:\RetroArch-Win64\system\ggenie.bin
[libretro INFO] Action Replay (Pro) ROM should be located at: C:\RetroArch-Win64\system\areplay.bin
[libretro INFO] Sonic & Knuckles (2 MB) ROM should be located at: C:\RetroArch-Win64\system\sk.bin
[libretro INFO] Sonic & Knuckles UPMEM (256 KB) ROM should be located at: C:\RetroArch-Win64\system\sk2chip.bin
[libretro INFO] Mega Drive TMSS BOOTROM should be located at: C:\RetroArch-Win64\system\bios_MD.bin
[libretro INFO] Game Gear TMSS BOOTROM should be located at: C:\RetroArch-Win64\system\bios.gg
[libretro INFO] Master System (PAL) BOOTROM should be located at: C:\RetroArch-Win64\system\bios_E.sms
[libretro INFO] Master System (NTSC-U) BOOTROM should be located at: C:\RetroArch-Win64\system\bios_U.sms
[libretro INFO] Master System (NTSC-J) BOOTROM should be located at: C:\RetroArch-Win64\system\bios_J.sms
[libretro INFO] Mega CD (PAL) BIOS should be located at: C:\RetroArch-Win64\system\bios_CD_E.bin
[libretro INFO] Sega CD (NTSC-U) BIOS should be located at: C:\RetroArch-Win64\system\bios_CD_U.bin
[libretro INFO] Mega CD (NTSC-J) BIOS should be located at: C:\RetroArch-Win64\system\bios_CD_J.bin
[libretro INFO] Mega CD (PAL) BRAM is located at: C:\RetroArch-Win64\saves\scd_E.brm
[libretro INFO] Sega CD (NTSC-U) BRAM is located at: C:\RetroArch-Win64\saves\scd_U.brm
[libretro INFO] Mega CD (NTSC-J) BRAM is located at: C:\RetroArch-Win64\saves\scd_J.brm
[libretro INFO] Sega/Mega CD RAM CART is located at: C:\RetroArch-Win64\saves\cart.brm
[libretro INFO] INFORMATION - Loading 524288 bytes ...
[INFO] [Environ]: SET_AUDIO_BUFFER_STATUS_CALLBACK.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_MINIMUM_AUDIO_LATENCY.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_MINIMUM_AUDIO_LATENCY.
[INFO] [Environ]: SET_GEOMETRY: 320x224, aspect: 1.306.
[INFO] [d3d12]: Updating framebuffer size 320 x 224.
[INFO] [d3d12]: Updating framebuffer size 320 x 224.
[INFO] [d3d12]: Updating framebuffer size 320 x 224.
[INFO] [d3d12]: Updating framebuffer size 320 x 224.
[INFO] [d3d12]: Updating framebuffer size 320 x 224.
[INFO] [d3d12]: Updating framebuffer size 800 x 224.
[INFO] [d3d12]: Updating framebuffer size 800 x 600.
[INFO] [d3d12]: Updating framebuffer size 1494 x 1120.
[INFO] [Environ]: SET_GEOMETRY.
[INFO] [slang]: Compiling shader "C:\RetroArch-Win64\shaders\shaders_slang\bezel\Mega_Bezel\shaders\HyperspaceMadness\hsm-prep-info-cache-standard.slang".
[INFO] [slang]: Compiling shader "C:\RetroArch-Win64\shaders\shaders_slang\bezel\Mega_Bezel\shaders\HyperspaceMadness\hsm-prep-intro.slang".
1 Like