CRT_SwitchRes config problem with gameboy emulator

Hi I am on windows 10 with retroarch 1.9 my config is ok to use CRT_Switchres (Crt_emudriver) lot of cores work fine but with others cores no try to change the resolution by defaut i have the good resolution

I try to setup gameboy emulator to play with a crt 15kHz core : Sameboy (sameboy_libretro.dll) same issue with (gambatte_libretro.dll)

When i launch one game the first time, the resolution is 640x480
I use the retroarch menu (Quick menu) to setup the resolution
Back button -> Settings -> Video -> Output -> Screen Resolution i choose 2560x200 OK the resolution is applied without any problem

I save the configuration Quick Menu -> Overrides -> Save Core Overrrides

I have a conf file for the core \retroarch\config\SameBoy\SameBoy.cfg

Content : video_fullscreen_x = “2560” video_fullscreen_y = “200” Ok

When i restart retroarch and i launch a same game I have the message on the screen “Overrides config load…” the configuration file is loaded but the resolution is at 640x480 no error message

I try to add more options in cfg file like : aspect_ratio_index = 19 video_aspect_ratio = 12.8 video_fullscreen_x = “2560” video_fullscreen_y = “200” video_scale_integer = “true” video_fullscreen = true video_windowed_fullscreen = false video_refresh_rate = “60”

but no effect the resolution is always 640x480 Does anyone have the same problem ? Do you have an idea to impose a resolution to a core ?

log

[INFO] RetroArch 1.9.0 (Git 6388872a54) [INFO] === Build ======================================= [INFO] CPU Model Name: Intel® Core™ i5-4690K CPU @ 3.50GHz [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX [INFO] Built: Aug 11 2020 [INFO] Version: 1.9.0 [INFO] Git: 6388872a54 [INFO] ================================================= [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] [Overrides]: Redirecting save file to “D:\arcadeBox\Emulateurs\retroarch\saves.srm”. [INFO] [Overrides]: Redirecting save state to “D:\arcadeBox\Emulateurs\retroarch\states.state”. [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 48000.00 Hz. [INFO] [Video]: Video @ fullscreen [INFO] Setting fullscreen to 640x480 @ 60Hz on device \.\DISPLAY1. [INFO] [XInput]: Found XInput v1.4. [INFO] [Joypad]: Found joypad driver: “xinput”. [INFO] [Font]: Using font rendering backend: freetype. [INFO] [D3D11]: Found GPU at index 0: AMD Radeon HD 7800 Series (CRT Emudriver) [INFO] [D3D11]: Found GPU at index 1: Microsoft Basic Render Driver [INFO] [D3D11]: Using GPU index 0. [INFO] [Video]: Found display server: win32 [INFO] [Shaders]: Found shader “D:\arcadeBox\Emulateurs\retroarch\shaders\retroarch.slangp” [INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency. [INFO] [Display]: Found display driver: “d3d11”. [INFO] [MIDI]: Input disabled. [INFO] [MIDI]: Output disabled. [INFO] [MIDI]: Initialized “winmm” driver. [INFO] Disconnecting device from port 3. [INFO] Disconnecting device from port 4. [INFO] Disconnecting device from port 5. [INFO] Disconnecting device from port 6. [INFO] Disconnecting device from port 7. [INFO] Disconnecting device from port 8. [INFO] Disconnecting device from port 9. [INFO] Disconnecting device from port 10. [INFO] Disconnecting device from port 11. [INFO] Disconnecting device from port 12. [INFO] Disconnecting device from port 13. [INFO] Disconnecting device from port 14. [INFO] Disconnecting device from port 15. [INFO] Disconnecting device from port 16. [INFO] [SRAM]: SRAM will not be saved. [INFO] [Playlist]: Loading history file: [D:\arcadeBox\Emulateurs\retroarch\content_history.lpl]. [INFO] [Playlist]: Loading history file: [D:\arcadeBox\Emulateurs\retroarch\content_music_history.lpl]. [INFO] [Playlist]: Loading history file: [D:\arcadeBox\Emulateurs\retroarch\content_video_history.lpl]. [INFO] [Playlist]: Loading history file: [D:\arcadeBox\Emulateurs\retroarch\content_image_history.lpl]. [INFO] [Playlist]: Loading favorites file: [D:\arcadeBox\Emulateurs\retroarch\content_favorites.lpl]. [INFO] Setting refresh rate to: 60.000 Hz. [INFO] [Environ]: SET_SUBSYSTEM_INFO. [INFO] [CONTENT LOAD]: Updating firmware status for: D:\arcadeBox\Emulateurs\retroarch\cores\sameboy_libretro.dll on D:\arcadeBox\Emulateurs\retroarch…\bios [INFO] [CORE]: Using content: D:\arcadeBox\Roms\gb\Megaman_II.zip. [INFO] 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.0 (Git 6388872a54) [INFO] [Overrides]: Redirecting save file to “D:\arcadeBox\Emulateurs\retroarch\saves\Megaman_II.srm”. [INFO] [Overrides]: Redirecting save state to “D:\arcadeBox\Emulateurs\retroarch\states\Megaman_II.state”. [INFO] === Build ======================================= [INFO] CPU Model Name: Intel® Core™ i5-4690K CPU @ 3.50GHz [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX [INFO] Built: Aug 11 2020 [INFO] Version: 1.9.0 [INFO] Git: 6388872a54 [INFO] ================================================= [INFO] [CORE]: Loading dynamic libretro core from: “D:\arcadeBox\Emulateurs\retroarch\cores\sameboy_libretro.dll” [INFO] [Overrides]: Core-specific overrides found at D:\arcadeBox\Emulateurs\retroarch\config\SameBoy\SameBoy.cfg. [INFO] [Overrides]: No content-dir-specific overrides found at D:\arcadeBox\Emulateurs\retroarch\config\SameBoy\gb.cfg. [INFO] [Overrides]: No game-specific overrides found at D:\arcadeBox\Emulateurs\retroarch\config\SameBoy\Megaman_II.cfg. [INFO] Config: appending config “D:\arcadeBox\Emulateurs\retroarch\config\SameBoy\SameBoy.cfg” [INFO] [Remaps]: remap directory: D:\arcadeBox\Emulateurs\retroarch\config\remaps [INFO] [Overrides]: Redirecting save file to “D:\arcadeBox\Emulateurs\retroarch\saves\Megaman_II.srm”. [INFO] [Overrides]: Redirecting save state to “D:\arcadeBox\Emulateurs\retroarch\states\Megaman_II.state”. [INFO] [Environ]: SYSTEM_DIRECTORY: “D:\arcadeBox\Emulateurs\retroarch…\bios”. [INFO] [Environ]: GET_SAVE_DIRECTORY. [INFO] [Environ]: GET_LOG_INTERFACE. [INFO] [CONTENT LOAD]: Content loading skipped. Implementation will load it on its own. [INFO] [Environ]: SET_VARIABLES. [libretro INFO] Initializing as model: cgb [libretro INFO] Loading boot image: D:\arcadeBox\Emulateurs\retroarch…\bios\cgb_boot.bin [INFO] [Environ]: SET_CONTROLLER_INFO. [INFO] [Environ]: SET_INPUT_DESCRIPTORS: [INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888. [libretro INFO] Initializing as model: dmg [libretro INFO] Loading boot image: D:\arcadeBox\Emulateurs\retroarch…\bios\dmg_boot.bin [libretro INFO] Initializing as model: dmg [libretro INFO] Loading boot image: D:\arcadeBox\Emulateurs\retroarch…\bios\dmg_boot.bin [INFO] [Environ]: SET_CONTROLLER_INFO. [INFO] [Environ]: SET_INPUT_DESCRIPTORS: [INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes. [INFO] [Environ]: GET_RUMBLE_INTERFACE. [libretro INFO] Rumble environment supported [INFO] [Environ]: SET_MEMORY_MAPS. [INFO] ndx flags ptr offset start select disconn len addrspace [INFO] 001 M1A1bc 000000006CF6EDD5 00000000 0000FFFF FFFFFFFF 00000000 00000001 [INFO] 002 M1A1bc 000000006CF76E5C 00000000 0000FF80 FFFFFF80 00000000 00000080 [INFO] 003 M1A1bc 0000000009650080 00000000 0000C000 FFFFF000 00000000 00001000 [INFO] 004 M1A1bc 0000000009651080 00000000 0000D000 FFFFF000 00000000 00001000 [INFO] 005 M1A1bc 0000000000000000 00000000 0000A000 FFFFE000 00000000 00002000 [INFO] 006 M1A1bc 0000000009829FC0 00000000 00008000 FFFFE000 00000000 00002000 [INFO] 007 M1A1bC 00000000096A7E90 00000000 00000000 FFFFC000 00000000 00004000 [INFO] 008 M1A1bC 00000000096ABE90 00000000 00004000 FFFFC000 00000000 00004000 [INFO] 009 M1A1bc 000000006CF7700D 00000000 0000FE00 FFFFFF00 00000000 000000A0 [INFO] 010 M1A1bc 0000000009652080 00000000 00010000 FFFF0000 00000000 00010000 [INFO] 011 M1A1bc 000000006CF76EDB 00000000 0000FF00 FFFFFF00 00000000 00000080 [INFO] [SRAM]: Skipping SRAM load… [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Cheats]: Load game-specific cheatfile: D:\arcadeBox\Emulateurs\retroarch\cheats\SameBoy\Megaman_II.cht [INFO] [Audio]: Set audio input rate to: 385751.94 Hz. [INFO] [Video]: Video @ 2560x200 [INFO] Setting fullscreen to 2560x200 @ 60Hz on device \.\DISPLAY1. [INFO] [XInput]: Found XInput v1.4. [INFO] [Joypad]: Found joypad driver: “xinput”. [INFO] [Font]: Using font rendering backend: freetype. [INFO] [D3D11]: Found GPU at index 0: AMD Radeon HD 7800 Series (CRT Emudriver) [INFO] [D3D11]: Found GPU at index 1: Microsoft Basic Render Driver [INFO] [D3D11]: Using GPU index 0. [INFO] [Video]: Found display server: win32 [INFO] [Shaders]: Found shader “D:\arcadeBox\Emulateurs\retroarch\shaders\retroarch.slangp” [INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency. [INFO] [Display]: Found display driver: “d3d11”. [INFO] [Environ]: SET_SUBSYSTEM_INFO. [INFO] [MIDI]: Input disabled. [INFO] [MIDI]: Output disabled. [INFO] [MIDI]: Initialized “winmm” driver. [libretro INFO] Connecting device 1 into port 0 [INFO] Disconnecting device from port 3. [INFO] Disconnecting device from port 4. [INFO] Disconnecting device from port 5. [INFO] Disconnecting device from port 6. [INFO] Disconnecting device from port 7. [INFO] Disconnecting device from port 8. [INFO] Disconnecting device from port 9. [INFO] Disconnecting device from port 10. [INFO] Disconnecting device from port 11. [INFO] Disconnecting device from port 12. [INFO] Disconnecting device from port 13. [INFO] Disconnecting device from port 14. [INFO] Disconnecting device from port 15. [INFO] Disconnecting device from port 16. [INFO] [Playlist]: Loading history file: [D:\arcadeBox\Emulateurs\retroarch\content_history.lpl]. [INFO] [Playlist]: Loading history file: [D:\arcadeBox\Emulateurs\retroarch\content_music_history.lpl]. [INFO] [Playlist]: Loading history file: [D:\arcadeBox\Emulateurs\retroarch\content_video_history.lpl]. [INFO] [Playlist]: Loading history file: [D:\arcadeBox\Emulateurs\retroarch\content_image_history.lpl]. [INFO] [Playlist]: Loading favorites file: [D:\arcadeBox\Emulateurs\retroarch\content_favorites.lpl]. [INFO] Setting refresh rate to: 60.000 Hz. [INFO] [Overrides]: Configuration overrides unloaded, original configuration restored. [INFO] [Cheats]: Save game-specific cheatfile: D:\arcadeBox\Emulateurs\retroarch\cheats\SameBoy\Megaman_II.cht [INFO] Content ran for a total of: 00 hours, 00 minutes, 06 seconds. [INFO] Saving runtime log file: D:\arcadeBox\Emulateurs\retroarch\playlists\logs\SameBoy\Megaman_II.lrtl [INFO] [CORE]: Unloading game… [libretro INFO] Unloading GB: 1 [INFO] [CORE]: Unloading core… [INFO] [CORE]: Unloading core symbols… [INFO] [Core Options]: Saved core options file to “D:\arcadeBox\Emulateurs\retroarch\config\SameBoy\SameBoy.opt” [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames. [INFO] [CONTENT LOAD]: Removing temporary content file: D:\arcadeBox\Roms\gb\Megaman II (E).gb. [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.

Gameboy’s resolution is so small it physically can’t be displayed on a CRT so it sounds like it’s automatically falling back to 640x480. A 160x144 modeline just isn’t possible. You have to disable switchres for that core and set a low resolution manually (like 2560x224 or whatever).