Custom Video Modes Test Thread

https://github.com/MiSTer-devel/Main_MiSTer/wiki
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Custom Video Modes Test Thread

Post by Sorgelig »

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
Captain Atari
Captain Atari
Posts: 151
Joined: Wed Oct 24, 2018 9:43 am

Re: Custom Video Modes Test Thread

Post by paulbnl »

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: 63
Joined: Sun May 13, 2018 6:41 pm

Re: Custom Video Modes Test Thread

Post by uigiflip »

whats best for 1280 by 1024?
Replay 2, Mister, FPGA Replay + 68060 Daughterboard
Grabulosaure
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 112
Joined: Tue Sep 05, 2017 9:35 pm
Contact:

Re: Custom Video Modes Test Thread

Post by Grabulosaure »

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

Post by Epic »

Anyone have a custom video mode for 2560x1440?
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Custom Video Modes Test Thread

Post by Sorgelig »

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: 336
Joined: Thu Aug 07, 2014 6:52 pm

Re: Custom Video Modes Test Thread

Post by Chris23235 »

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: 9
Joined: Wed Dec 18, 2019 1:15 am

Re: Custom Video Modes Test Thread

Post by leonquest »

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

Post by Epic »

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: 112
Joined: Tue Sep 05, 2017 9:35 pm
Contact:

Re: Custom Video Modes Test Thread

Post by Grabulosaure »

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: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Custom Video Modes Test Thread

Post by Sorgelig »

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

Post by fabius77 »

can someone please help me in setting the video mode for 1280x960 please?
Lightwave
Atari maniac
Atari maniac
Posts: 91
Joined: Sun Dec 16, 2018 8:18 pm

Re: Custom Video Modes Test Thread

Post by Lightwave »

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

Post by fabius77 »

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

Post by luke79 »

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: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Custom Video Modes Test Thread

Post by Sorgelig »

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

Post by luke79 »

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: 91
Joined: Sun Dec 16, 2018 8:18 pm

Re: Custom Video Modes Test Thread

Post by Lightwave »

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

Post by luke79 »

Nevermind, I tested another Waveshare 7" lcd (h) revision and it worked right out of the box !
Peredonov
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 120
Joined: Sat Jan 04, 2020 8:06 pm

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

Post by Peredonov »

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: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Custom Video Modes Test Thread

Post by Sorgelig »

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
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 120
Joined: Sat Jan 04, 2020 8:06 pm

Re: Custom Video Modes Test Thread

Post by Peredonov »

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
Atari nerd
Atari nerd
Posts: 45
Joined: Thu Mar 12, 2020 2:13 am

Re: Custom Video Modes Test Thread

Post by Sigismond0 »

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: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Custom Video Modes Test Thread

Post by Sorgelig »

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
Atari nerd
Atari nerd
Posts: 45
Joined: Thu Mar 12, 2020 2:13 am

Re: Custom Video Modes Test Thread

Post by Sigismond0 »

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.
Locked

Return to “MiSTer”