Ipad 3/4 Display with HDMI converter board

Discussion about displays and related hardware including MiSTer filters and video settings.
User avatar
tid
Posts: 1
Joined: Sun May 24, 2020 9:22 pm

Re: Ipad 3/4 Display with HDMI converter board

Unread post by tid »

orange428 wrote: Mon Jul 05, 2021 8:53 pm Does anyone know what video_mode=13 is based on?
https://github.com/MiSTer-devel/Main_Mi ... /video.cpp

Code: Select all

vmode_t vmodes[] =
{
	{ { 1280, 110,  40, 220,  720,  5,  5, 20 },  74.25  }, //0
	{ { 1024,  24, 136, 160,  768,  3,  6, 29 },  65     }, //1
	{ {  720,  16,  62,  60,  480,  9,  6, 30 },  27     }, //2
	{ {  720,  12,  64,  68,  576,  5,  5, 39 },  27     }, //3
	{ { 1280,  48, 112, 248, 1024,  1,  3, 38 }, 108     }, //4
	{ {  800,  40, 128,  88,  600,  1,  4, 23 },  40     }, //5
	{ {  640,  16,  96,  48,  480, 10,  2, 33 },  25.175 }, //6
	{ { 1280, 440,  40, 220,  720,  5,  5, 20 },  74.25  }, //7
	{ { 1920,  88,  44, 148, 1080,  4,  5, 36 }, 148.5   }, //8
	{ { 1920, 528,  44, 148, 1080,  4,  5, 36 }, 148.5   }, //9
	{ { 1366,  70, 143, 213,  768,  3,  3, 24 },  85.5   }, //10
	{ { 1024,  40, 104, 144,  600,  1,  3, 18 },  48.96  }, //11
	{ { 1920,  48,  32,  80, 1440,  2,  4, 38 }, 185.203 }, //12
	{ { 2048,  48,  32,  80, 1536,  2,  4, 38 }, 209.318 }, //13
};
User avatar
muthuxmut
Posts: 76
Joined: Mon May 25, 2020 6:56 am
Has thanked: 99 times
Been thanked: 16 times

Re: Ipad 3/4 Display with HDMI converter board

Unread post by muthuxmut »

Kingteepee wrote: Sat Jul 10, 2021 3:39 am can someone please copy and past their ini so i can see if my display board is defective works with my pc and my switch but i cant get a picture on my mister

Code: Select all

[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                ; set to 1 for YPbPr on VGA output.
composite_sync=0       ; 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=1          ; 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.
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.
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. 30 seconds if not set.
                       ; Background picture will get darker after double timeout
osd_rotate=0           ; Display OSD menu rotated,  0 - no rotation, 1 - rotate right (+90°), 2 - rotate left (-90°)                  

; 1 - enables the recent file loaded/mounted.
; WARNING: This option will enable write to SD card on every load/mount which may wear the SD card after many writes to the same place
;          There is also higher chance to corrupt the File System if MiSTer will be reset or powered off while writing.
recents=0

; lastcore - Autoboot the last loaded core (corename autosaved in CONFIG/lastcore.dat) first found on the SD/USB
; lastexactcore - Autoboot the last loaded exact core (corename_yyyymmdd.rbf autosaved in CONFIG/lastcore.dat) first found on the SD/USB
; corename - Autoboot first corename_*.rbf found on the SD/USB
; corename_yyyymmdd.rbf - Autoboot first corename_yyyymmdd.rbf found on the SD/USB
;bootcore=lastcore    ; uncomment to autoboot a core, as the last loaded core.

; 10-30 timeout before autoboot, comment for autoboot without timeout.
bootcore_timeout=10

; Option to load the custom font. Format is plain bitmap 8x8.
; Supported sizes of font:
;   768 bytes - chars 32-127 (only alpha + numeric)
;  1024 bytes - chars 0-127
;  1136 bytes - chars 0-141
;  up to 2048 - only chars 0-141 will be used.
; if first 32 chars are empty (for sizes 1024 bytes and more) then they are skipped.
font=font/myfont.pf

; USER button emulation by keybaord. Usually it's reset button.
; 0 - lctrl+lalt+ralt (lctrl+lgui+rgui on keyrah)
; 1 - lctrl+lgui+rgui
; 2 - lctrl+lalt+del
; 3 - same as 0 (lctrl+lalt+ralt on keyrah)
reset_combo=0

; set to 1 for DVI mode. Audio won't be transmitted through HDMI in DVI mode.
dvi_mode=1

; 0 - 1280x720@60
; 1 - 1024x768@60
; 2 - 720x480@60
; 3 - 720x576@50
; 4 - 1280x1024@60
; 5 - 800x600@60
; 6 - 640x480@60
; 7 - 1280x720@50
; 8 - 1920x1080@60
; 9 - 1920x1080@50
;10 - 1366x768@60
;11 - 1024x600@60
;12 - 1920x1440@60
;13 - 2048x1536@60
;
custom mode: hact,hfp,hs,hbp,vact,vfp,vs,vbp,Fpix_in_KHz
;   video_mode=1280,110,40,220,720,5,5,20,74250
video_mode=13


; set to 1-10 (seconds) to display video info on startup/change
video_info=0

; Set to 1 for automatic HDMI VSync rate adjust to match original VSync.
; Set to 2 for low latency mode (single buffer).
; This option makes video butter smooth like on original emulated system.
; Adjusting is done by changing pixel clock. Not every display supports variable pixel clock.
; For proper adjusting and to reduce possible out of range pixel clock, use 60Hz HDMI video
; modes as a base even for 50Hz systems. 
vsync_adjust=1

; If you monitor doesn't support either very low (NTSC monitors may not support PAL) or 
; very high (PAL monitors may not support NTSC) then you can set refresh_min and/or refresh_max
; parameters, so vsync_adjust won't be applied for refreshes outside specified.
; These parameters are valid only when vsync_adjust is non-zero.
refresh_min=0
refresh_max=0

; These parameters have the same format as video_mode.
; You need to supply both PAL and NTSC modes if you want vsync_adjust to switch between
; predefined modes as a base. This will reduce the range of pixel clock.
;video_mode_ntsc=0
;video_mode_pal=7

; 1-10 (seconds) to display controller's button map upon first time key press
; 0 - disable
controller_info=6

; JammaSD/J-PAC/I-PAC keys to joysticks translation
; You have to provide correct VID and PID of your input device
; Examples: Legacy J-PAC with Mini-USB or USB capable I-PAC with PS/2 connectors VID=0xD209/PID=0x0301
; USB Capable J-PAC with only PS/2 connectors VID=0x04B4/PID=0x0101
; JammaSD: VID=0x04D8/PID=0xF3AD
jamma_vid=0x04D8
jamma_pid=0xF3AD

; Disable merging input devices. Use if only player 1 works.
; Leave no_merge_pid empty to apply this to all devices with the same VID.
;no_merge_vid=0x045E
;no_merge_pid=0x028E

; Speeds in sniper/non-sniper modes of mouse emulation by joystick 
; 0 - (default) - faster move in non-sniper mode, slower move in sniper mode.
; 1 - movement speeds are swapped.
sniper_mode=0

; Uncomment following option if you don't want to see a second line for long file names in listing.
;browse_expand=0

; 0 - disable MiSTer logo in Menu core
logo=1

; Custom shared folder for core supporting this feature (currently minimig and ao486 only)
; Can be relative to core's home dir or absolute path.
; Path must exist before core start to use it, or it will fail.
; Make sure USB device is mounted before use shared folder on USB!
shared_folder=

; Custom aspect ratio
;custom_aspect_ratio_1=16:10
;custom_aspect_ratio_2=1:1

; use specific (VID/PID) mouse X movement as a spinner and paddle. Use VID=0xFFFF/PID=0xFFFF to use all mice as spinners.
; spinner_throttle with base value 100 gives one spinner step per one tick. Higher value makes spinner slower.
; Lower than 100 makes spinner faster. Negative value gives opposite direction.
;spinner_vid=0x1BCF
;spinner_pid=0x0005
;spinner_throttle=-50

; Default filters for video scaler and audio. Paths must be relative to scaler/audio filter filders without leading slash.
;vfilter_default=LCD_Effect/07.txt
;afilter_default=LPF2000_3tap.txt

Galaga Tragic :)
orange428
Posts: 23
Joined: Thu Aug 27, 2020 4:36 pm
Been thanked: 5 times

Re: Ipad 3/4 Display with HDMI converter board

Unread post by orange428 »

thanks tid...i didn't think about looking in the source files. it's basically the same line Sorgelig posted a year ago.
SDLearmonth
Posts: 2
Joined: Sun May 24, 2020 11:41 pm

Re: Ipad 3/4 Display with HDMI converter board

Unread post by SDLearmonth »

Finally set up my screen, cheers Greg!

Love this thing, you can get away with using non-integer scaling and you wont end up with noticeable shimmer, due to the high PPI of the screen for its size. So I tend to leave everything on 4:3 to fill the screen and use the "no interpolation" filter, apart from handhelds.

Low lag sync mode works for most cores except some arcade stuff and GBA, where it will just drop sync. For now I just use Alt1 config to switch to the 60Hz mode for those cores when needed. Sadly I can't get it to sync to the OSSC at all.

Speakers are louder than I expected for their size - little 1W 8ohm ones I used, soldered to the pins on the board rather than sourcing a molex connector.

MBg6bDX.jpeg
MBg6bDX.jpeg (1.52 MiB) Viewed 37352 times
numbski
Posts: 22
Joined: Fri Jan 22, 2021 3:59 pm
Been thanked: 2 times

Re: Ipad 3/4 Display with HDMI converter board

Unread post by numbski »

Sorry to tack onto this thread, but I am wanting to order a 12v 3a power for this screen, and I have seen two different plug sizes mentioned. One is 3.5mm, and another is 1.35mm. Which one is it, and is it positive or negative tip?
FoxbatStargazer
Top Contributor
Posts: 994
Joined: Thu Dec 10, 2020 5:44 pm
Has thanked: 309 times
Been thanked: 228 times

Re: Ipad 3/4 Display with HDMI converter board

Unread post by FoxbatStargazer »

You can use the refresh_rate settings in mister.ini to set limits on the refresh while using vsync_adjust=1 or 2. When a core goes outside the bounds it will automatically switch to vsync_adjust=0 and take the refresh from your video mode. Then you don't have to bother switching manually. Just start with maybe 58 and 62 and you can adjust it from there if you feel adventurous.
User avatar
muthuxmut
Posts: 76
Joined: Mon May 25, 2020 6:56 am
Has thanked: 99 times
Been thanked: 16 times

Re: Ipad 3/4 Display with HDMI converter board

Unread post by muthuxmut »

numbski wrote: Mon Aug 02, 2021 5:17 pm Sorry to tack onto this thread, but I am wanting to order a 12v 3a power for this screen, and I have seen two different plug sizes mentioned. One is 3.5mm, and another is 1.35mm. Which one is it, and is it positive or negative tip?
the screen will have some basic instructions on the website page you purchased from ??
my LCD was from aliexpress and there was this pic

Mi-STer-LCD.png
Mi-STer-LCD.png (743.71 KiB) Viewed 36430 times

so the plug is a 3.5mm x 1.35mm, that is to say the outside is 3.5mm and the inside is 1.35mm
and it *should* be centre positive
Galaga Tragic :)
snoot
Posts: 15
Joined: Wed May 12, 2021 11:41 am
Has thanked: 5 times
Been thanked: 1 time

Re: Ipad 3/4 Display with HDMI converter board

Unread post by snoot »

SDLearmonth wrote: Mon Jul 26, 2021 10:05 pm Finally set up my screen, cheers Greg!

Love this thing, you can get away with using non-integer scaling and you wont end up with noticeable shimmer, due to the high PPI of the screen for its size. So I tend to leave everything on 4:3 to fill the screen and use the "no interpolation" filter, apart from handhelds.

Low lag sync mode works for most cores except some arcade stuff and GBA, where it will just drop sync. For now I just use Alt1 config to switch to the 60Hz mode for those cores when needed. Sadly I can't get it to sync to the OSSC at all.

Speakers are louder than I expected for their size - little 1W 8ohm ones I used, soldered to the pins on the board rather than sourcing a molex connector.


MBg6bDX.jpeg
Looks great! I'd heard reports that people have got poor audio from the speaker output, with digital interference. Have you experienced that?
numbski
Posts: 22
Joined: Fri Jan 22, 2021 3:59 pm
Been thanked: 2 times

Re: Ipad 3/4 Display with HDMI converter board

Unread post by numbski »

muthuxmut wrote: Tue Aug 03, 2021 4:05 am
numbski wrote: Mon Aug 02, 2021 5:17 pm Sorry to tack onto this thread, but I am wanting to order a 12v 3a power for this screen, and I have seen two different plug sizes mentioned. One is 3.5mm, and another is 1.35mm. Which one is it, and is it positive or negative tip?
the screen will have some basic instructions on the website page you purchased from ??
my LCD was from aliexpress and there was this pic


Mi-STer-LCD.png


so the plug is a 3.5mm x 1.35mm, that is to say the outside is 3.5mm and the inside is 1.35mm
and it *should* be centre positive
Indeed, you're correct - and I too have that version of the board. I ordered a universal supply, and the 3.5mm x 1.5mm with positive tip is what worked.

Thank you for your detailed answer. Surely that will help people that come along to this later! :)
User avatar
muthuxmut
Posts: 76
Joined: Mon May 25, 2020 6:56 am
Has thanked: 99 times
Been thanked: 16 times

Re: Ipad 3/4 Display with HDMI converter board

Unread post by muthuxmut »

no worries.
I've ordered a Mean Well PSU that does 5v and 12v outputs.
I'll throw up pics when I have it all up and running

it's a RD-65A
input 100-240vac
output 5v 6A, 12v 3A
Galaga Tragic :)
jd213
Posts: 93
Joined: Sun Aug 15, 2021 2:44 pm
Has thanked: 15 times
Been thanked: 16 times

Re: Ipad 3/4 Display with HDMI converter board

Unread post by jd213 »

Just set up one of these with Laserbear's case, don't see myself using it as my main display but it's nice to have a little dedicated monitor for my MiSTer.

Most cores seemed to work with Vsync set to Low Lag, but certain consoles like NES, SNES, and TG-16 didn't work unless I changed the Vsync. Also no luck on Robotron 2084 set to Low Lag, which was disappointing since I had my twin stick out .

Also got green lines or blue speckles on a lot of Capcom arcade cores, the green lines look like HDMI artifacts so will have to try a different cable.
snoot
Posts: 15
Joined: Wed May 12, 2021 11:41 am
Has thanked: 5 times
Been thanked: 1 time

Re: Ipad 3/4 Display with HDMI converter board

Unread post by snoot »

jd213 wrote: Tue Aug 24, 2021 3:54 pm Just set up one of these with Laserbear's case, don't see myself using it as my main display but it's nice to have a little dedicated monitor for my MiSTer.

Most cores seemed to work with Vsync set to Low Lag, but certain consoles like NES, SNES, and TG-16 didn't work unless I changed the Vsync. Also no luck on Robotron 2084 set to Low Lag, which was disappointing since I had my twin stick out .

Also got green lines or blue speckles on a lot of Capcom arcade cores, the green lines look like HDMI artifacts so will have to try a different cable.
Oh no, I play little else other than Robotron and my driver board is about to arrive. I thought the Robotron arcade core was 60hz and would work with low lag.
snoot
Posts: 15
Joined: Wed May 12, 2021 11:41 am
Has thanked: 5 times
Been thanked: 1 time

Re: Ipad 3/4 Display with HDMI converter board

Unread post by snoot »

Got the board today, fantastic screen if anything it's too bright!

It seems happy enough at video_mode 0 (1280 x 720) in vsync_adjust=2 on Robotron, and looks fine stretched so good enough for me, big relief!

Edit: video mode 12 looks better
MiSTer_Kirk
Posts: 210
Joined: Thu Feb 04, 2021 11:42 pm
Has thanked: 18 times
Been thanked: 46 times

Re: Ipad 3/4 Display with HDMI converter board

Unread post by MiSTer_Kirk »

TwinX wrote: Sun May 23, 2021 2:22 pm
Kintaro wrote: Sun May 23, 2021 11:53 am Can anybody confirm that this iPad screen and driver combination can sync to PAL cores like Minimig or C64 with vsync=2 ?

For me smooth scrolling is an essential par of the retro experience.

Thanks in advance!
Works on my system , tested with 1080P. I only do not know how to get full screen
Can anyone confirm that the ipad screen works with PAL cores ?
Just got mine, to replace my Dell, and the screen won't sync with anything 50hz. So, any PAL cores, I have to set to 60hz, which for us in PAL land will speed everything up slightly, but it's the music that now sounds weird because it's also playing slightly too fast.
FoxbatStargazer
Top Contributor
Posts: 994
Joined: Thu Dec 10, 2020 5:44 pm
Has thanked: 309 times
Been thanked: 228 times

Re: Ipad 3/4 Display with HDMI converter board

Unread post by FoxbatStargazer »

This screen doesn't even handle some arcade cores right so I doubt PAL will work direclty.

Use the refresh rate min/max setting in the ini. This will switch the output over to vsync_adjust=0 when outside of the range, i.e. Mister will take care of buffering the frames to match your video_mode (which is probably around 60hz.) There will be a bit of choppiness and lag but the game itself (and sound) will run at the correct PAL speeds.
MiSTer_Kirk
Posts: 210
Joined: Thu Feb 04, 2021 11:42 pm
Has thanked: 18 times
Been thanked: 46 times

Re: Ipad 3/4 Display with HDMI converter board

Unread post by MiSTer_Kirk »

Thanks. I will try that.
For anyone waiting for a case, or still using theirs bare, I mounted mine in one of these.

https://www.amazon.co.uk/dp/B07ZG41VMP/

I also mounted the converter board inside, and used sticky mounting pads to mount the buttons on the rear, so it's out of the way. With this stand, you can freely rotate the display to use horizontally, or vertically.
snoot
Posts: 15
Joined: Wed May 12, 2021 11:41 am
Has thanked: 5 times
Been thanked: 1 time

Re: Ipad 3/4 Display with HDMI converter board

Unread post by snoot »

snoot wrote: Thu Aug 26, 2021 6:10 pm Got the board today, fantastic screen if anything it's too bright!

It seems happy enough at video_mode 0 (1280 x 720) in vsync_adjust=2 on Robotron, and looks fine stretched so good enough for me, big relief!

Edit: video mode 12 looks better
Looks like the display introduces a couple of frames of lag at non native resolution, so not a lot of benefit of vsync_adjust 2 at 1440 vs 1 at 1536.
snoot
Posts: 15
Joined: Wed May 12, 2021 11:41 am
Has thanked: 5 times
Been thanked: 1 time

Re: Ipad 3/4 Display with HDMI converter board

Unread post by snoot »

Now then, inspired by the thread viewtopic.php?f=23&t=1438 I updated the Robotron core to run at 60hz rather than 60.1hz.

Did a quick test and I got a few intermittent blankings, but once it settled down I played to level 68 on video mode 13 and vsync_adjust 2 without experiencing any problems. Didn't get any issues on subsequent games either.

If anyone's interested in the core binary I'll see if I can put it somewhere.
Post Reply