Custom Video Modes Test Thread

https://github.com/MiSTer-devel/Main_MiSTer/wiki

Moderators: Mug UK, Zorro 2, spiny, Greenious, Sorgelig, Moderator Team

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6068
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Custom Video Modes Test Thread

Postby Sorgelig » Tue Jan 28, 2020 2:35 pm

you cannot have other refresh rate with vsync_adjust than core's original video.
It's like "i want it to be red but it should remain blue" :)

paulbnl
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 137
Joined: Wed Oct 24, 2018 9:43 am

Re: Custom Video Modes Test Thread

Postby paulbnl » Tue Jan 28, 2020 4:15 pm

comatron wrote:Ahoi. I got a PC Screen capable of higher refresh rates (up to 100hz @ 1024x768). I really like the screen and my prefered method is just to use scandoubler as there is no latency. But then of course it flickers as it is at 50hz. Is there a possibility to get it running at double refresh so the flickering is gone and i stick with a latency free pic? that would be sooo awesome (mainly using minimig)


Currently it is only possible to get 100Hz with vsync_adjust=0 and a custom video_mode and that has 2 frames of latency. At 100hz this is only 20ms compared to 40ms at 50hz. If you use vsync_adjust=2 then there is no latency but it will match the Minimig refresh rate.

uigiflip
Atari freak
Atari freak
Posts: 62
Joined: Sun May 13, 2018 6:41 pm

Re: Custom Video Modes Test Thread

Postby uigiflip » Thu Jan 30, 2020 8:08 pm

whats best for 1280 by 1024?
Replay 2, Mister, FPGA Replay + 68060 Daughterboard

Grabulosaure
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 103
Joined: Tue Sep 05, 2017 9:35 pm
Contact:

Re: Custom Video Modes Test Thread

Postby Grabulosaure » Thu Jan 30, 2020 8:30 pm

uigiflip wrote:whats best for 1280 by 1024?

Standard 1280x1024 @60Hz ?

Code: Select all

video_mode=4


That's in mister.ini help comments.

There is also the possibility of dumping the screen EDID with a PC and create a mode matching exactly one of the screen supported resolutions.

Epic
Atarian
Atarian
Posts: 4
Joined: Fri Oct 19, 2018 9:08 am

Re: Custom Video Modes Test Thread

Postby Epic » Sun Feb 02, 2020 1:05 am

Anyone have a custom video mode for 2560x1440?

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6068
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Custom Video Modes Test Thread

Postby Sorgelig » Sun Feb 02, 2020 6:37 am

Epic wrote:Anyone have a custom video mode for 2560x1440?

impossible. 1920x1080 is max with a little extra. 2560x1440 is simply too high. Get a proper Monitor either 1920x1080 or 3840x2160.
Or use 1280x720 to have less artefacts.

Chris23235
Captain Atari
Captain Atari
Posts: 165
Joined: Thu Aug 07, 2014 6:52 pm

Re: Custom Video Modes Test Thread

Postby Chris23235 » Fri Feb 07, 2020 6:03 pm

Sorgelig wrote:1366x768 is one of predefined modes.
video_mode=10


Can anyone help me with the settings for 1366x768@50Hz?

leonquest
Atarian
Atarian
Posts: 7
Joined: Wed Dec 18, 2019 1:15 am

Re: Custom Video Modes Test Thread

Postby leonquest » Wed Feb 12, 2020 10:55 pm

Do any of the settings proposed here affect Jotego's arcade cores in any way?

Epic
Atarian
Atarian
Posts: 4
Joined: Fri Oct 19, 2018 9:08 am

Re: Custom Video Modes Test Thread

Postby Epic » Mon Feb 24, 2020 11:10 am

Grabulosaure wrote:
uigiflip wrote:whats best for 1280 by 1024?

Standard 1280x1024 @60Hz ?

Code: Select all

video_mode=4


That's in mister.ini help comments.

There is also the possibility of dumping the screen EDID with a PC and create a mode matching exactly one of the screen supported resolutions.


This would be useful to find modes that my monitor supports. Any chance you have steps on how to do this?

Grabulosaure
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 103
Joined: Tue Sep 05, 2017 9:35 pm
Contact:

Re: Custom Video Modes Test Thread

Postby Grabulosaure » Mon Feb 24, 2020 9:30 pm

Epic wrote:
Grabulosaure wrote:
uigiflip wrote:whats best for 1280 by 1024?

Standard 1280x1024 @60Hz ?

Code: Select all

video_mode=4


That's in mister.ini help comments.

There is also the possibility of dumping the screen EDID with a PC and create a mode matching exactly one of the screen supported resolutions.


This would be useful to find modes that my monitor supports. Any chance you have steps on how to do this?


There are various ways to get monitor EDID.
For example on Linux "monitor-get-edid | monitor-parse-edid" or using "xrandr".

But it's not possible currently on MiSTer, it would need a special core or some access from Linux to the HDMI controller chip.

Anyway many screens support more resolutions and modes than those advertised.

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6068
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Custom Video Modes Test Thread

Postby Sorgelig » Tue Feb 25, 2020 4:35 am

i didn't explore DDC wiring more precise. May be it's possible to get the EDID, so at least in Menu core it can be added if possible.

fabius77
Atarian
Atarian
Posts: 2
Joined: Wed Feb 26, 2020 12:38 pm

Re: Custom Video Modes Test Thread

Postby fabius77 » Wed Feb 26, 2020 12:40 pm

can someone please help me in setting the video mode for 1280x960 please?

Lightwave
Atari maniac
Atari maniac
Posts: 88
Joined: Sun Dec 16, 2018 8:18 pm

Re: Custom Video Modes Test Thread

Postby Lightwave » Wed Feb 26, 2020 2:51 pm

fabius77 wrote:can someone please help me in setting the video mode for 1280x960 please?


This works for my VGA CRT:

video_mode=1280,80,136,216,960,1,3,30,102100

fabius77
Atarian
Atarian
Posts: 2
Joined: Wed Feb 26, 2020 12:38 pm

Re: Custom Video Modes Test Thread

Postby fabius77 » Wed Feb 26, 2020 5:27 pm

Lightwave wrote:
fabius77 wrote:can someone please help me in setting the video mode for 1280x960 please?


This works for my VGA CRT:

video_mode=1280,80,136,216,960,1,3,30,102100


thanks a lot!

luke79
Retro freak
Retro freak
Posts: 12
Joined: Sat Dec 28, 2019 3:54 pm

Re: Custom Video Modes Test Thread

Postby luke79 » Fri Feb 28, 2020 2:09 pm

Anyone knows the video_mode for a waveshare 5inch HDMI LCD (B)

It's 800x480 LCD panel, 60Hz I guess. The only info I found is the config for a RPi :

Code: Select all

max_usb_current=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
hdmi_drive=1


I tried with

Code: Select all

video_mode=800,40,48,128,480,13,3,45,33000
but it doesn't seem to work.
I also tried the embedded 2 and 6 video_modes but I got nothing at all ...

What can I try ?

Thanks !

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6068
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Custom Video Modes Test Thread

Postby Sorgelig » Sun Mar 01, 2020 9:00 am

i think you need to find out timings of mode 87 first.

luke79
Retro freak
Retro freak
Posts: 12
Joined: Sat Dec 28, 2019 3:54 pm

Re: Custom Video Modes Test Thread

Postby luke79 » Mon Mar 02, 2020 10:45 am

Sorgelig wrote:i think you need to find out timings of mode 87 first.


Hum, I'm unable to find any tech spec or data. Is there a way to find it out other than guessing randomly ? I'm lost here...

Lightwave
Atari maniac
Atari maniac
Posts: 88
Joined: Sun Dec 16, 2018 8:18 pm

Re: Custom Video Modes Test Thread

Postby Lightwave » Tue Mar 03, 2020 1:54 am

luke79 wrote:
Sorgelig wrote:i think you need to find out timings of mode 87 first.


Hum, I'm unable to find any tech spec or data. Is there a way to find it out other than guessing randomly ? I'm lost here...


If you have a Windows PC with integrated Intel video, you can dump the raw EDID using the Intel display software to save info with the monitor connected. Then copy and paste the EDID from the text file into an online convertor like this:

http://www.edidreader.com/

This should give you the values you need to create a custom display mode.

Otherwise, there are several EDID utilities you could download that will do the same thing.

luke79
Retro freak
Retro freak
Posts: 12
Joined: Sat Dec 28, 2019 3:54 pm

Re: Custom Video Modes Test Thread

Postby luke79 » Wed Mar 04, 2020 10:43 am

Nevermind, I tested another Waveshare 7" lcd (h) revision and it worked right out of the box !

Peredonov
Atari maniac
Atari maniac
Posts: 98
Joined: Sat Jan 04, 2020 8:06 pm

The case for 1080i: Add HDMI CEA Mode 5 Support

Postby Peredonov » Fri Mar 27, 2020 4:35 pm

Please forgive that this is a plea from a mere pleb user, and not someone with the skills to implement this, but I would like to bring to Sorgelig and other MiSTer contributors' attention the benefits of adding support for 1080i video output, if possible. I have a vague recollection of Sorgelig mentioning that interlaced output cannot be supported, though I'm not sure if that was referring to SD interlaced/480i. We do know that CEA mode 5 (1080i 60Hz) as well as mode 20 (1080i 50Hz) is supported by devices like Raspberry Pi.

This is a non-exclusive list of displays whose native or best supported resolution is 1080i:
1. HD CRT TVs (e.g.: Super Fine Pitch Sony XBR models, Hi-Scan with HDMI/DVI KV-XXHS, some Samsung 100Hz models, etc.)
2. Late 2000s/early 2010s "HD Ready" LCDs and Plasmas that support 1080i but not 1080p (e.g. some old Sony Bravia models).
3. Multisync CRT professional monitors (D series, A series, L5).

In all such TVs and monitors, 1080i produces a better picture than 720p for obvious reasons. HD CRTs, which were very popular during the years leading to the rise of LCD, would probably benefit the most, as 1080i is the only resolution that is not scaled and processed by such TVs, which avoids additional lag but retains all the benefits of CRT in HD.

Professional OLED and dual layer LCD Sony monitors with interlaced emulation (PVM 1714/2514, BVM E or F 170/250, BVM X300/310) could also benefit. While these monitors support 1080p, and the newer ones are extremely expensive, when they are more affordable some users may find that the illusion of greater resolution that interlacing produces may be preferable to the progressive equivalent.

Again, just wanted to make this topic for the consideration of developers. If it's dumb, unnecessary, or impossible, feel free to ignore. :cheers:

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6068
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Custom Video Modes Test Thread

Postby Sorgelig » Fri Mar 27, 2020 8:17 pm

Peredonov wrote:Please forgive that this is a plea from a mere pleb user, and not someone with the skills to implement this, but I would like to bring to Sorgelig and other MiSTer contributors' attention the benefits of adding support for 1080i video output, if possible.

It will require more complicated scaler which is already at the edge of timing violations. Also MiSTer is about supporting of modern devices, not obsolete ones. 1080i is in the past, so leave it there. None of flat pannels support interlaced mode natively, so additional de-interlacer with additional latency is used for 1080i to be able to provide data for panel. There is no reason to put effort on supporting 10 years old TVs. My TV in living room is pretty old and also doesn't support 1080p but supports 1080i. Buy a new TV already! 1080p capable TVs are pretty cheap today.

Peredonov
Atari maniac
Atari maniac
Posts: 98
Joined: Sat Jan 04, 2020 8:06 pm

Re: Custom Video Modes Test Thread

Postby Peredonov » Fri Mar 27, 2020 8:26 pm

Sorgelig wrote:It will require more complicated scaler which is already at the edge of timing violations. Also MiSTer is about supporting of modern devices, not obsolete ones. 1080i is in the past, so leave it there.


Understood. I am of the opinion that 1080i can still have a place, as a lot of HD broadcast and bluray content is in 1080i. I also feel that very few people have actually ever seen 1080i displayed pure without processing or de-interlacing. I have seen it both on an HD CRT, a multisyinc BVM, and a BVM OLED. It is actually a very special picture that as a video aficionado I can really appreciate. I personally prefer it to the look of 1080p.

But if supporting 1080i goes against the capabilities and philosophy of MiSTer then it can't be helped :shrug: An alternative is to use a good external HDMI scaler to go from 1080p to 1080i, at the cost of a frame or so of added lag.

Sigismond0
Atarian
Atarian
Posts: 8
Joined: Thu Mar 12, 2020 2:13 am

Re: Custom Video Modes Test Thread

Postby Sigismond0 » Fri Mar 27, 2020 8:57 pm

Has anybody had any luck with a alt video mode that works for Vectrex on a 15khz CRT? I tried using the Gameboy recommended resolution below, and it sort of works, but it looks like the Vectrex is just too detailed to really work in 240p. I get a strange mix of dark and light scanlines. 480i might just be enough to make it playable, but as far as I can tell that's not doable with this method.

[Vectrex]
video_mode=320,8,32,24,240,4,3,16,6048
vga_scaler=1
vsync_adjust=2
vscale_mode=1

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6068
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Custom Video Modes Test Thread

Postby Sorgelig » Fri Mar 27, 2020 10:28 pm

Sigismond0 wrote:Has anybody had any luck with a alt video mode that works for Vectrex on a 15khz CRT? I tried using the Gameboy recommended resolution below, and it sort of works, but it looks like the Vectrex is just too detailed to really work in 240p. I get a strange mix of dark and light scanlines. 480i might just be enough to make it playable, but as far as I can tell that's not doable with this method.

[Vectrex]
video_mode=320,8,32,24,240,4,3,16,6048
vga_scaler=1
vsync_adjust=2
vscale_mode=1


Vectrex resolution is 410 lines in low-res mode. vscale_mode=1 won't work. Also it will be downscaled to 240 which will be ugly. It's not suited for 15KHz mode anyway.

Sigismond0
Atarian
Atarian
Posts: 8
Joined: Thu Mar 12, 2020 2:13 am

Re: Custom Video Modes Test Thread

Postby Sigismond0 » Sat Mar 28, 2020 1:16 am

I tried vscale=0 as well and both had the same results--it displays on screen and is technically playable, but is ugly just like you said. Ah well, it was worth a shot anyway.


Return to “MiSTer”

Who is online

Users browsing this forum: jlancaster86, Vingt13 and 9 guests