srg320 / Saturn_MiSTer

159 stars 15 forks source link

Screen Horizontal Alignment Issue on CRT via VGA RGB #12

Open cerulean-hero opened 10 months ago

cerulean-hero commented 10 months ago

Version (or build number)

f05dd39

Single or Dual SDRAM?

Single (128MB)

Steps to reproduce

  1. Use the following settings in Mister.ini:
  2. vga_mode=rgb ; supported modes: rgb, ypbpr, svideo, cvbs. rgb is default. ntsc_mode=0 ; Only for S-Video and CVBS vga_mode. 0 - normal NTSC, 1 - PAL-60, 2 - PAL-M. composite_sync=1 ; set to 1 for composite sync on HSync signal of VGA output.
  3. Use the following Saturn bios files: Sega Saturn 1.01 Japan Sega Saturn 1.01a USA
  4. Connect Mister using VGA to RGB BNC cable.
  5. Start up any game with the correct region and BIOS selected
  6. BIOS screen and game screens are horizontally misaligned on the screen. The screen is moved over to the left, which cuts off part of the game and leaves some empty black screen space on the right.

Expected Behavior

BIOS and game screen should be centered on the screen without anything cut off on either side.

Actual Behavior

Screen is off-center to the left which cuts off part of the game and there is a small empty blank black space on the right.

Debug Output/Crash Output

No response

Additional Context

No response

Configuration Files

[MiSTer] key_menu_as_rgui=0 ; set to 1 to make the MENU key map to RGUI in Minimig (e.g. for Right Amiga) forced_scandoubler=0 ; set to 1 to run scandoubler on VGA output always (depends on core). ;ypbpr=0 ; (obsolete. see vga_mode) vga_mode=rgb ; supported modes: rgb, ypbpr, svideo, cvbs. rgb is default. ntsc_mode=0 ; Only for S-Video and CVBS vga_mode. 0 - normal NTSC, 1 - PAL-60, 2 - PAL-M. composite_sync=1 ; set to 1 for composite sync on HSync signal of VGA output. vga_scaler=0 ; set to 1 to connect VGA to scaler output. hdmi_audio_96k=0 ; set to 1 for 96khz/16bit HDMI audio (48khz/16bit otherwise) keyrah_mode=0x18d80002 ; VIDPID of keyrah for special code translation (0x23418037 for Arduino Micro) vscale_mode=0 ; 0 - scale to fit the screen height. ; 1 - use integer scale only. ; 2 - use 0.5 steps of scale. ; 3 - use 0.25 steps of scale. ; 4 - integer resolution scaling, use core aspect ratio ; 5 - integer resolution scaling, maintain display aspect ratio vscale_border=0 ; set vertical border for TVs cutting the upper/bottom parts of screen (1-399) ;bootscreen=0 ; uncomment to disable boot screen of some cores like Minimig. ;mouse_throttle=10 ; 1-100 mouse speed divider. Useful for very sensitive mice rbf_hide_datecode=0 ; 1 - hides datecodes from rbf file names. Press F2 for quick temporary toggle menu_pal=0 ; 1 - PAL mode for menu core hdmi_limited=0 ; 1 - use limited (16..235) color range over HDMI ; 2 - use limited (16..255) color range over HDMI, for VGA converters. direct_video=0 ; 1 - enable core video timing over HDMI, use only with VGA converters. hdr=0 ; 1 - enable HDR using the BT2020 color space (faux-HDR, use color controls to tweak). ; 2 - enable HDR using the DCI P3 color space. ; 3 - enable HDR without color space conversion. fb_size=0 ; 0 - automatic, 1 - full size, 2 - 1/2 of resolution, 4 - 1/4 of resolution. fb_terminal=1 ; 1 - enabled (default), 0 - disabled osd_timeout=30 ; 5-3600 timeout (in seconds) for OSD to disappear in Menu core. 0 - never timeout. ; Background picture will get darker after double timeout video_off=0 ; output black frame in Menu core after timeout (is seconds). Valid only if osd_timout is non zero. osd_rotate=0 ; Display OSD menu rotated, 0 - no rotation, 1 - rotate right (+90°), 2 - rotate left (-90°)
vga_sog=0 ; 1 - enable sync on green (needs analog I/O board v6.0 or newer).

Opened Issues and Pull Requests

No response

Kuba-J commented 10 months ago

Hi, bugs should be reported here:

https://github.com/MiSTer-devel/Saturn_MiSTer/issues

This bug has already been fixed, core test can be downloaded from here: https://github.com/MikeS11/YC_Builds-MiSTer/tree/main/_YCConsole

or Saturn_20231011.zip