Page 1 of 2

LG C9 OLED & 1920x1440p

Posted: Thu Jun 25, 2020 6:39 pm
by Zorlac
Hi All,

I have a LG C9 OLED and the new 1920x1440p option will not work in MiSTer.

What is odd is that if I set my computer (using HDMI) to 1920x1440, the LG works just fine and I get the pillar bars on each side since this is a 4:3 aspect ratio.

Does anyone know how I can get the settings that nVIDIA use for 1920x1440 and then add said settings to mister.ini?

Re: LG C9 OLED & 1920x1440p

Posted: Fri Jun 26, 2020 9:11 am
by Milspex
didn't LG just introduce 1440p for this years generation of oleds? The CX series I think

Re: LG C9 OLED & 1920x1440p

Posted: Fri Jun 26, 2020 3:00 pm
by Zorlac
Yes, I have heard that it works just fine on the CX models.

Re: LG C9 OLED & 1920x1440p

Posted: Thu Jul 02, 2020 11:15 pm
by Eric79ff
any light on this would be helpful i have been trying all evening to get a 1440p out of my mister. windows on my PC will output 1440p no problem but whatever setting i try on the mister give me invalid or nothing at all

Re: LG C9 OLED & 1920x1440p

Posted: Fri Jul 03, 2020 11:12 am
by Eric79ff
an update is that i have been successful in getting 1920 x 1200p with these settings

video_mode=1920,48,32,80,1200,3,6,26,154128

this is on a lg OLED B6

like i said the thing is i know the display will output 1440p i just need to dial in the right timings and i don't really know what i'm doing just reading lots of information etc

Re: LG C9 OLED & 1920x1440p

Posted: Fri Jul 03, 2020 1:27 pm
by mambrino
did you try these settings?

video_mode=1920,48,32,112,1440,3,4,39,184828

Re: LG C9 OLED & 1920x1440p

Posted: Fri Jul 03, 2020 6:13 pm
by Zorlac
As a reference, here are the VESA timings for 1920x1440@60Hz if I am understanding correctly:

video_mode=1920,128,208,344,1440,1,3,56,234000

https://glenwing.github.io/docs/VESA-DMT-1.13.pdf

I tested and it does not work. Also, tested yours mambrino and no luck.

Re: LG C9 OLED & 1920x1440p

Posted: Fri Jul 03, 2020 7:34 pm
by Grabulosaure
Using this calculator :
https://github.com/kevinlekiller/cvt_mo ... culator_12

I get :
1920x1440 @60Hz :
# 1920x1440 @ 60.000 Hz (CVT) field rate 59.968 Hz; hsync: 89.532 kHz; pclk: 233.50 MHz
Modeline "1920x1440_60.00" 233.50 1920 2056 2264 2608 1440 1443 1447 1493 -hsync +vsync
video_mode = 1920,136,208,344,1440,3,4,46,233500

1920x1440 @50Hz :
# 1920x1440 @ 50.000 Hz (CVT) field rate 49.980 Hz; hsync: 74.171 kHz; pclk: 192.25 MHz
Modeline "1920x1440_50.00" 192.25 1920 2056 2256 2592 1440 1443 1447 1484 -hsync +vsync
video_mode = 1920,136,200,336,1440,3,4,37,192250

1920x1440 @60Hz. Reduced blanking for LCD screens :
1920x1440 @ 60.000 Hz Reduced Blank (CVT) field rate 59.974 Hz; hsync: 88.822 kHz; pclk: 184.75 MHz
Modeline "1920x1440_60.00_rb1" 184.75 1920 1968 2000 2080 1440 1443 1447 1481 +hsync -vsync
video_mode = 1920,48,32,80,1440,3,4,34,184750

Re: LG C9 OLED & 1920x1440p

Posted: Fri Jul 03, 2020 8:38 pm
by Zorlac
I am assuming you recommend trying the 3rd option since this display is not a CRT?

Re: LG C9 OLED & 1920x1440p

Posted: Fri Jul 03, 2020 8:59 pm
by Grabulosaure
Try everything. roll a dice. Read the screen EDID data.
CRTs needed long blanking delays to give time for moving back the spot to top/left. LCD don't have these constraints.
Reduced blanking allows to reduce clock frequency, which is far better for mister HDMI encoder which is officially limited to 165MHz

Re: LG C9 OLED & 1920x1440p

Posted: Sat Jul 04, 2020 12:54 am
by Zorlac
I tried both the 60 Hz ones you posted Grabulosaure..., but no luck. :/

Thank you for trying! It really is weird that it works with a nVidia GPU, but not MiSTer. I have no idea how to see the timing info nVidia is using for this resolution.

Re: LG C9 OLED & 1920x1440p

Posted: Sat Jul 04, 2020 3:55 pm
by Eric79ff
Like you zorlac I've had issues trying to get 1440p working on my lg even the nvidia drivers can output the display. The only one I've got working atm and sticking with is the 1200p one I posted up above. Hopefully someone else can shed some light onto the subject...

Re: LG C9 OLED & 1920x1440p

Posted: Sat Jul 04, 2020 6:44 pm
by Zorlac
Does anyone know what timing standard MiSTer's HDMI uses? (e.g., GTF, DMT, CVT, CVT Reduced Blanking)

Did a little more looking and it looks like nVidia's custom resolution settings will tell you all timing info except for horz/vert "back porch".


UPDATE - I am almost positive nVIDIA is using this CVT Reduced Blanking timing:

video_mode=1920,48,32,112,1440,3,4,39,184828

So why wont this work with MiSTer? Very odd...

UPDATE 2 - Just tested again with the timings above and my LG C9 is reporting a 58.8 Hz refresh rate. Maybe this is the issue? How can I make sure MiSTer is set to 60 Hz? For reference...the 1920x1080 default resolution timings for MiSTer show up at 59.90 Hz on my display.

UPDATE 3 - Okay, nevermind. 1920x1440 actually doesnt work with my nVidia GPU. It looks like it does, but my LG reports 3840x2160 @ 59.95 Hz. I then tried manual timings using CVT Reduced Blanking from the nVidia custom timings panel and tested...and it failed. Pretty sure this is not possible now with this display. :(

Re: LG C9 OLED & 1920x1440p

Posted: Mon Jul 06, 2020 8:00 pm
by Milspex
Eric79ff wrote: Fri Jul 03, 2020 11:12 am an update is that i have been successful in getting 1920 x 1200p with these settings

video_mode=1920,48,32,80,1200,3,6,26,154128

this is on a lg OLED B6

Got this to work on my C7, but isn't it a little bit stretched wide or are my eyes deceiving me?

Re: LG C9 OLED & 1920x1440p

Posted: Mon Jul 06, 2020 8:11 pm
by Grabulosaure
I once made a version of the menu core with a link to the I2C DDC/EDID interface:
http://temlib.org/pub/mister/edid.tgz

Using the menu core to run "edid" code from MiSTer command line. Screen supported video modes will be listed.

Re: LG C9 OLED & 1920x1440p

Posted: Mon Jul 06, 2020 8:42 pm
by grizzly
Where should i put the edid folder?
Tried putting it under the sd root then in the utility folder i see no edid or any other option after booting the mister then tried moving all files from the edid folder to the sd root=no boot picture.
So have no id'e at all how to proceed.

Re: LG C9 OLED & 1920x1440p

Posted: Mon Jul 06, 2020 9:02 pm
by dshadoff
Grabulosaure wrote: Mon Jul 06, 2020 8:11 pm I once made a version of the menu core with a link to the I2C DDC/EDID interface:
http://temlib.org/pub/mister/edid.tgz

Using the menu core to run "edid" code from MiSTer command line. Screen supported video modes will be listed.
Actually, this would make a very helpful "Utility" core, together with the lag tester that you put in the (special build of the) Genesis core.
Probably just about as useful as the memory tester.

Re: LG C9 OLED & 1920x1440p

Posted: Mon Jul 06, 2020 9:17 pm
by Grabulosaure
It was just a test.

@grizzly
- Extract the archive
- Rename menu.rbf to m.rbf
- Copy m.rbf, edid, edid-decode to the SD card.
- Launch the new "M" core from MiSTer menu
- Type F9 for the console, then "root", "1" for login
- Type "cd /media/fat" to get to the SD card root.
- Type "./edid a | ./edid-decode | more"

All supported video modes of the connected screen will be listed.

Re: LG C9 OLED & 1920x1440p

Posted: Tue Jul 14, 2020 5:59 pm
by mdd45
I have a the AOC Agon AG 271QG and i cannot get 1920x1440 @60hz to work with mister (no signal). 1080p and 720p is working ok.

Here is what i get from running edid: https://imgur.com/a/PFOpBvc

Any idea what modeline i should use?

Re: LG C9 OLED & 1920x1440p

Posted: Wed Jul 15, 2020 6:26 pm
by grizzly
mdd45 wrote: Tue Jul 14, 2020 5:59 pm I have a the AOC Agon AG 271QG and i cannot get 1920x1440 @60hz to work with mister (no signal). 1080p and 720p is working ok.
Yep same here and i get the same Edid.
I have manage to get 1920x1440 work from windows but it will then stretch the image to 16:9 (cover the full screen) and no way to turn it off (that i can find/see).
I tried some Edid reading tools in windows but got way less info then with Grabulosaure Edid script.

I guess we have too get in the Service menu to maybe be able too stop the stretching, i have found three different methods to get to the service menu for AOC screens/tv (not for this model) but none work and have tried many times, basically given up on 1440p at this time.
Anyone know how too get in?

Re: LG C9 OLED & 1920x1440p

Posted: Wed Jul 15, 2020 7:08 pm
by mdd45
my screen on windows using 1920x1440 goes to 4:3. On mister though i cannot get a screen, only no signal....

Re: LG C9 OLED & 1920x1440p

Posted: Wed Jul 15, 2020 11:53 pm
by Zorlac
I got 1200p to work, but the aspect ratio is all messed up...which got me to thinking. 2560x1440p would be the best resolution for a 16:9 native display like the C9, but that will not happen with current MiSTer hardware. I think for now...1080p with integer scaling enabled will have to do (for me).

Re: LG C9 OLED & 1920x1440p

Posted: Sat Jan 23, 2021 9:54 pm
by EeK
Zorlac wrote: Wed Jul 15, 2020 11:53 pm I got 1200p to work, but the aspect ratio is all messed up...which got me to thinking. 2560x1440p would be the best resolution for a 16:9 native display like the C9, but that will not happen with current MiSTer hardware. I think for now...1080p with integer scaling enabled will have to do (for me).
@Zorlac, did you ever get 1920x1440 working on your C9? Or are you still using 1080p60 with integer scaling?

I have the same TV and had the same issue ("invalid format") when trying to output 1920x1440 from the MiSTer. Editing the EDID via CRU didn't do anything (overriding the EDID won't change what the TV can do).

Re: LG C9 OLED & 1920x1440p

Posted: Sun Jan 24, 2021 9:05 pm
by Zorlac
No luck...I ended up getting a 2nd OLED (the CX) for my battle station and moved the MiSTer to that display. Works perfect now.

Re: LG C9 OLED & 1920x1440p

Posted: Mon Jan 25, 2021 2:00 am
by Sumolx
Grabulosaure wrote: 1920x1440 @60Hz. Reduced blanking for LCD screens :
1920x1440 @ 60.000 Hz Reduced Blank (CVT) field rate 59.974 Hz; hsync: 88.822 kHz; pclk: 184.75 MHz
Modeline "1920x1440_60.00_rb1" 184.75 1920 1968 2000 2080 1440 1443 1447 1481 +hsync -vsync
video_mode = 1920,48,32,80,1440,3,4,34,184750
Thank you! This mode runs perfectly without the display blinking out! I am running on an ultrawide 38" 3840x1600

Re: LG C9 OLED & 1920x1440p

Posted: Mon Jan 25, 2021 5:56 am
by XtraSmiley
Zorlac wrote: Sun Jan 24, 2021 9:05 pm No luck...I ended up getting a 2nd OLED (the CX) for my battle station and moved the MiSTer to that display. Works perfect now.
That's interesting. I have a C9, so I guess there is some difference between the two for it to work on one but not the other?

By they way, what is the benefit of running at that resolution over 1080p?

Re: LG C9 OLED & 1920x1440p

Posted: Fri Feb 19, 2021 9:26 pm
by Tofana10am
Same problem here guys...

I've tried the following on my Acer ET322QU 32" FreeSync monitor and all I get is "snow", but the monitor's information display correctly shows 1920x1440@60Hz. Not sure what's gong on, but it certainly is frustrating.

;video_mode=12 - SNOW (Locks up MiSTER and have to power cycle)
;video_mode=1920,48,32,80,1200,3,6,26,154128 - SNOW (Locks up MiSTER and have to power cycle)
;video_mode=1920,32,32,50,1440,4,5,26,180000 - SNOW (Locks up MiSTER and have to power cycle)
;video_mode=1920,8,20,20,1440,2,4,3,170000- SNOW (Locks up MiSTER and have to power cycle)
;video_mode=1920,48,32,112,1440,3,4,39,184828 - SNOW (Locks up MiSTER and have to power cycle)
;video_mode = 1920,48,32,80,1440,3,4,34,184750 - SNOW (Locks up MiSTER and have to power cycle)

I'm currently using video_mode=1536,48,32,80,1200,3,10,22,125674 which was provided by Atrac17 for use with the NES core.

Of course the standard video_mode=8 works just fine as well for 1920x1080@60Hz

Re: LG C9 OLED & 1920x1440p

Posted: Sat Feb 20, 2021 1:59 am
by Tofana10am
Maybe I’m answering my own question here, but from what I’ve read on the Atari forums, it appears as though the MiSTer’s pixel clock is limited to 165MHz over HDMI, which is how I have my monitor connected. I’ll see if I can dig up a VGA cable tomorrow and try to see if that solves the problem. Does anyone have a custom modeline for 1920x1440 at 60Hz whose pixel clock is less than or equal to 165MHz? Is such a thing possible?

It still doesn’t answer why I’m having problems with the 1920x1200 resolution though as that pixel clock is 154MHz.

From Atari forums...
* 20MHz : Minimal frequency set by the MiSTer software
* 150MHz : This is the designed frequency target for the scaler, to support 1920x1080. The scaler was optimised to get [almost] no timing errors at that frequency.
* 165MHz : This is the maximum frequency supported by the ADV7513 HDMI encoder.
* 200MHz : This is the limit set by the MiSTer software.

Re: LG C9 OLED & 1920x1440p

Posted: Sat Feb 20, 2021 12:32 pm
by Tofana10am
No luck with the VGA connection. I still get snow and a locked up MiSTer when trying to achieve the 1440p settings. VGA worked fine for the 1536x1200 resolution (same as the HDMI input). So now I’m left to believe that there’s either something wrong with the miSTer settings, or the monitor.

Monitor is displaying the correct resolution and timings when the info screen is on, so that’s good.

MiSTer requires a power cycle after each snow screen, so that leads me to believe that it’s not the monitor, but the settings.

Re: LG C9 OLED & 1920x1440p

Posted: Sat Feb 20, 2021 1:49 pm
by paulbnl
Tofana10am wrote: Sat Feb 20, 2021 12:32 pm No luck with the VGA connection. I still get snow and a locked up MiSTer when trying to achieve the 1440p settings. VGA worked fine for the 1536x1200 resolution (same as the HDMI input). So now I’m left to believe that there’s either something wrong with the miSTer settings, or the monitor.

Monitor is displaying the correct resolution and timings when the info screen is on, so that’s good.

MiSTer requires a power cycle after each snow screen, so that leads me to believe that it’s not the monitor, but the settings.
Set fb_size=0. Main Mister crashes if you set fb_size=1 with higher than 1080p resolutions.