I created a repository regarding this hoping this is what you meant

Here's the link
https://github.com/boehmiboy/RPi-Square-Resolutions.git
Code: Select all
hdmi_cvt=1024 600 60 3 0 0 0
# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=87
Are you saying you can get an image (e.g. using CVT settings)? If so what problem are you seeing?Mortar Art wrote: from the sounds of it, you're the person to ask about my issue. I've been trying to connect my Rift DK2 to the Pi B+ for a few days now, and have tried almost every possible combination in config.txt.
The DK2 is 1080x1920. It's not a rotated 1080p display. It's natively in portrait. Is there any way to get a 9x16 aspect ratio thrown in to the mix for the sake of people trying to use Oculus devices?
I was trying to use hdmi_timings do run an DVI-2-LVDS-Converter. Unfortunately I did not work as aspected...dom wrote:latest "next" firmware has some changes to custom hdmi modes.
CVT now uses a single config string to set up. (First post edited)
You can also play with the raw hdmi timings:
The hdmi_timings parameters are:You wil obviously need a timing data sheet for the display, and quite possibly a scope to debug what is happening, but it may allow non-standard displays to be driven.Code: Select all
hdmi_timings=<h_active_pixels> <h_sync_polarity <h_front_porch> <h_sync_pulse> <h_back_porch> <v_active_lines> <v_sync_polarity> <v_front_porch> <v_sync_pulse> <v_back_porch> <v_sync_offset_a> <v_sync_offset_b> <pixel_rep> <frame_rate> <interlaced> <pixel_freq> <aspect_ratio>
The aspect ratio is:It will appear as the last hdmi_mode (87 for DMT, 65 for CEA). Use hdmi_group to determine CEA or DMT.Code: Select all
HDMI_ASPECT_4_3 = 1 HDMI_ASPECT_14_9 = 2 HDMI_ASPECT_16_9 = 3 HDMI_ASPECT_5_4 = 4 HDMI_ASPECT_16_10 = 5 HDMI_ASPECT_15_9 = 6 HDMI_ASPECT_21_9 = 7 HDMI_ASPECT_64_27 = 8
This was my test, for VGA@75[edit: use hdmi_timings rather than hdmi_timing]Code: Select all
hdmi_group=2 hdmi_mode=87 hdmi_timings=640 0 16 64 120 480 0 1 3 16 0 0 0 75 0 31500000 1
Code: Select all
HDMI:EDID failed to find a matching detail format for 3440x1440p hfp:48 hs:32 hbp:80 vfp:3 vs:10 vbp:21 pixel clock:265 MHz
HDMI:EDID calculated refresh rate is 50 Hz
HDMI:EDID guessing the format to be 3440x1440p @50 Hz
HDMI:EDID found unknown detail timing format: 3440x1440p hfp:48 hs:32 hbp:80 vfp:3 vs:10 vbp:21 pixel clock:265 MHz
Code: Select all
hdmi_group=2
hdmi_mode=87
#hdmi_cvt=3440 1440 50 7 0 0 1
hdmi_timings=3440 1 48 32 80 1440 0 3 10 21 0 0 0 50 0 265250000 7
Code: Select all
tvservice -m DMT
Group DMT has 9 modes:
mode 4: 640x480 @ 60Hz 4:3, clock:25MHz progressive
mode 9: 800x600 @ 60Hz 4:3, clock:40MHz progressive
mode 16: 1024x768 @ 60Hz 4:3, clock:65MHz progressive
mode 28: 1280x800 @ 60Hz 16:10, clock:83MHz progressive
mode 35: 1280x1024 @ 60Hz 5:4, clock:108MHz progressive
mode 58: 1680x1050 @ 60Hz 16:10, clock:146MHz progressive
mode 82: 1920x1080 @ 60Hz 16:9, clock:148MHz progressive
mode 83: 1600x900 @ 60Hz 16:9, clock:108MHz progressive
mode 85: 1280x720 @ 60Hz 16:9, clock:74MHz progressive
pi:~ # tvservice -s
state 0x12001a [HDMI DMT (82) RGB full 16:9], 1920x1080 @ 60.00Hz, progressive
It's not showing up because the pixel clock is too high. Add this:Thomason wrote:I've got a new LG UltraWide 34UM95 21:9 display and try to get the native resolution 3440x1440 to work with my new PI 2 running openelec 5.x.
Code: Select all
hdmi_pixel_freq_limit=300000000
dom wrote: It's not showing up because the pixel clock is too high. Add this:and it will probably show up, but I suspect that it is way too high to be usable.Code: Select all
hdmi_pixel_freq_limit=300000000
1920x1200@60 is the most we officially support.
If tried the 3440x1440 with the higher hdmi_pixel_freq_limit as well as hvs_priority set to 0x32ff -> without success.dom wrote: It's not showing up because the pixel clock is too high. Add this:Code: Select all
hdmi_pixel_freq_limit=300000000
Code: Select all
hdmi_cvt=2560 1080 60 7 0 0 1
hdmi_group=2
hdmi_mode=87
hdmi_pixel_freq_limit=400000000
hvs_priority=0x32ff
Good to hear. Are you using this resolution with OpenELEC without issues?Thomason wrote: Anyhow, if read from my displays edid data that there it also supports 2560x1080, which is also 21:9 (very close to). That one works out of the box and I don't see any performance issues...
Seems so, tvservice reports the correct resolution and KODI offers that resolution in the video settings.dom wrote:Good to hear. Are you using this resolution with OpenELEC without issues?Thomason wrote: Anyhow, if read from my displays edid data that there it also supports 2560x1080, which is also 21:9 (very close to). That one works out of the box and I don't see any performance issues...
I'm jealousThomason wrote: ...
Anyhow, if read from my displays edid data that there it also supports 2560x1080, which is also 21:9 (very close to). That one works out of the box and I don't see any performance issues...
To be complete my config.txt looks something like this:Code: Select all
hdmi_cvt=2560 1080 60 7 0 0 1 hdmi_group=2 hdmi_mode=87 hdmi_pixel_freq_limit=400000000 hvs_priority=0x32ff
Code: Select all
...
(prefer) mode 87: 2560x1080 @ 60Hz 64:27 (21:9), clock:181MHz progressive
Code: Select all
Enabling fuzzy format match...
Parsing edid2...
HDMI:EDID version 1.3, 1 extensions, screen size 58x24 cm
HDMI:EDID features - videodef 0x80 standby suspend active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF
HDMI:EDID found monitor name descriptor tag 0xfc
HDMI:EDID monitor name is LG_ULTRAWIDE
HDMI:EDID found monitor range descriptor tag 0xfd
HDMI:EDID monitor range offsets: V min=0, V max=0, H min=0, H max=0
HDMI:EDID monitor range: vertical is 56-75 Hz, horizontal is 30-90 kHz, max pixel clock is 240 MHz
HDMI:EDID monitor range does not support GTF
HDMI:EDID failed to find a matching detail format for 2560x1080p hfp:64 hs:64 hbp:96 vfp:3 vs:10 vbp:18 pixel clock:185 MHz
HDMI:EDID calculated refresh rate is 60 Hz
HDMI:EDID guessing the format to be 2560x1080p @60 Hz
HDMI:EDID found unknown detail timing format: 2560x1080p hfp:64 hs:64 hbp:96 vfp:3 vs:10 vbp:18 pixel clock:185 MHz
HDMI:EDID found preferred CEA detail timing format: 1920x1080p @ 60 Hz (16)
HDMI:EDID established timing I/II bytes are A5 4B 80
...
HDMI:EDID preferred mode remained as CEA (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz
HDMI:EDID has HDMI support and audio support
Code: Select all
hdmi_ignore_cec_init=1
hdmi_drive=2
disable_overscan=1
hdmi_ignore_edid=0xa5000080
hdmi_group=2
hdmi_mode=87
hdmi_timings=2560 1 64 64 96 1080 1 3 10 31 0 0 1 60 0 185580000 8
config_hdmi_boost=4
max_framebuffer_width=2560
max_framebuffer_height=1280
framebuffer_width=2560
framebuffer_height=1080
gpu_mem=128
arm_freq=900
gpu_freq=275
sdram_freq=500
hdmi_pixel_freq_limit=400000000
avoid_pwm_pll=1