vzex
Posts: 8
Joined: Mon Nov 14, 2016 2:37 am

Problem with 2k hdmi output(half screen blank)

Mon Nov 14, 2016 2:58 am

I have a lcd printer controled by pi,and the host server is Photonic3D(https://github.com/area515/Photonic3D), the lcd is 5.5inch (2560*1440 resolution) connected to pi through the hdmi port.After many times' tests, finally i got image showed on the lcd screen.
but it's looks not right,please look at the pic below
Image
the above half screen doesn't show anything, and the below...has been divided into two partsImage
Here' my config.txt

Code: Select all

hdmi_force_hotplug=1

disable_overscan=1

framebuffer_depth=24

gpu_mem=192

framebuffer_ignore_alpha=1




hdmi_ignore_edid=0xa5000080

#hdmi_cvt 2560 1440 50 3 0 0 1

hdmi_cvt 2560 1440 50

hdmi_group=2

hdmi_mode=87

hdmi_pixel_freq_limit=500000000

hvs_priority=0x32ff

config_hdmi_boost=4

framebuffer_width=2560

framebuffer_height=1440
and the tvservice -s is :

Code: Select all

tvservice -s

state 0x120006 [DVI DMT (87) RGB full 16:9], 2560x1440 @ 50.00Hz, progressive

Code: Select all

tvservice -m DMT

Group DMT has 20 modes:

           mode 4: 640x480 @ 60Hz 4:3, clock:25MHz progressive 

           mode 5: 640x480 @ 72Hz 4:3, clock:31MHz progressive 

           mode 6: 640x480 @ 75Hz 4:3, clock:31MHz progressive 

           mode 8: 800x600 @ 56Hz 4:3, clock:36MHz progressive 

           mode 9: 800x600 @ 60Hz 4:3, clock:40MHz progressive 

           mode 10: 800x600 @ 72Hz 4:3, clock:50MHz progressive 

           mode 11: 800x600 @ 75Hz 4:3, clock:49MHz progressive 

           mode 16: 1024x768 @ 60Hz 4:3, clock:65MHz progressive 

           mode 17: 1024x768 @ 70Hz 4:3, clock:75MHz progressive 

           mode 18: 1024x768 @ 75Hz 4:3, clock:78MHz progressive 

           mode 21: 1152x864 @ 75Hz 4:3, clock:108MHz progressive 

           mode 28: 1280x800 @ 60Hz 16:10, clock:83MHz progressive 

           mode 32: 1280x960 @ 60Hz 4:3, clock:108MHz progressive 

           mode 35: 1280x1024 @ 60Hz 5:4, clock:108MHz progressive 

           mode 36: 1280x1024 @ 75Hz 5:4, clock:135MHz progressive 

           mode 47: 1440x900 @ 60Hz 16:10, clock:106MHz progressive 

           mode 48: 1440x900 @ 75Hz 16:10, clock:136MHz progressive 

           mode 51: 1600x1200 @ 60Hz 4:3, clock:162MHz progressive 

           mode 58: 1680x1050 @ 60Hz 16:10, clock:146MHz progressive 


  (prefer) mode 87: 2560x1440 @ 50Hz 16:9, clock:256MHz progressive 

Code: Select all

fbset -s




mode "1920x1200"

    geometry 1920 1200 1920 1200 24

    timings 0 0 0 0 0 0 0

    rgba 8/16,8/8,8/0,0/24


endmode
btw:I don't know why the fbset -s 's result is different from my real resolution
I guess this maybe a rotate problem, but i always fail with [email protected](usb wifi crash,and can't operate it with ssh), when I change it to [email protected], the rotation success(just looks like success, but shows the same image), So I can't find anyway to fix it now, Does anyone can solve this? Thanks!

aBUGSworstnightmare
Posts: 861
Joined: Tue Jun 30, 2015 1:35 pm

Re: Problem with 2k hdmi output(half screen blank)

Mon Nov 14, 2016 8:49 am

Hi,
1.) what TFT do you use? Paneloook doens't list any 5.5in display with 2560x1440pixels.
2.) I think you will have to use a custom HDMI timing instead of hdmi_cvt --> refer to viewtopic.php?f=29&t=24679
Joerg

vzex
Posts: 8
Joined: Mon Nov 14, 2016 2:37 am

Re: Problem with 2k hdmi output(half screen blank)

Mon Nov 14, 2016 9:07 am

the tft is jdi's:https://www.aliexpress.com/store/produc ... 03471.html
I'll have a try later, thank you

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5549
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Problem with 2k hdmi output(half screen blank)

Mon Nov 14, 2016 10:12 am

Maximum specified resolution is 1920x1080 @ 60Hz, so 2560x1440 @ 50Hz is almost 50% more pixels being processed a second and likely to fail (the composition hardware block is unlikely to be able to retrieve all the pixels from SDRAM in realtime, and the image tears or otherwise underflows resulting in corrupted images).
2560x1440 @ 24Hz is back within pixel rate limits hence likely to work.
I don't quite get your comment on rotation as I don't see anything in your configuration that specifies a rotation.

Seeing as you have
hdmi_pixel_freq_limit=500000000
hvs_priority=0x32ff
in there I assume you have read through viewtopic.php?f=38&t=79330 where 3840 x 2160 @ 15Hz has been achieved, and 24Hz with overclocking.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
Please don't send PMs asking for support - use the forum.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

vzex
Posts: 8
Joined: Mon Nov 14, 2016 2:37 am

Re: Problem with 2k hdmi output(half screen blank)

Mon Nov 14, 2016 1:28 pm

hdmi_timings=2560 0 16 11 16 1440 0 16 2 16 0 0 0 24 0 88473600 3

after I add this, the result doesn't change, just look the same :cry:

aBUGSworstnightmare
Posts: 861
Joined: Tue Jun 30, 2015 1:35 pm

Re: Problem with 2k hdmi output(half screen blank)

Mon Nov 14, 2016 1:34 pm

vzex wrote:hdmi_timings=2560 0 16 11 16 1440 0 16 2 16 0 0 0 24 0 88473600 3

after I add this, the result doesn't change, just look the same :cry:
And were did you get the timing details from? Display data sheet? Guessing around??
One question: this is a display coming from a mobile phone, isn't it? So your resolution should be 1440x2560 and not 2560x1440

So turn it to hdmi_timings=1440 0 16 2 16 2560 0 16 11 16 0 0 0 24 0 88473600 3

and try this
Last edited by aBUGSworstnightmare on Mon Nov 14, 2016 1:49 pm, edited 1 time in total.

aBUGSworstnightmare
Posts: 861
Joined: Tue Jun 30, 2015 1:35 pm

Re: Problem with 2k hdmi output(half screen blank)

Mon Nov 14, 2016 1:48 pm

6by9 wrote:...
hvs_priority=0x32ff
...
Hi 6by9,
is there any documentation for this parameter? Is using the hdmi_pixel_freq_limit=xx (in MHz) possible for DPI as well (since the timing data when using DPI is in hdmi_timings= ... too).
Joerg

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5549
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Problem with 2k hdmi output(half screen blank)

Mon Nov 14, 2016 2:10 pm

aBUGSworstnightmare wrote:
6by9 wrote:...
hvs_priority=0x32ff
...
Hi 6by9,
is there any documentation for this parameter? Is using the hdmi_pixel_freq_limit=xx (in MHz) possible for DPI as well (since the timing data when using DPI is in hdmi_timings= ... too).
You really need dom or PhilE to comment. This is altering the AXI bus arbiters to vary the access priority for the HVS to the AXI bus, so about as low level as you can get. Random messing could seriously impact system behaviour.

It is setting the HVS (Hardware Video Scaler) normal priority (lowest nibble - 0xf), panic priority (next nibble - 0xf0), transposer normal priority (3rd nibble - 0x200), and panic priority (4th nibble- 0x3000). 0=lowest priority, 0xF=highest priority.

hdmi_pixel_freq_limit appears to be altering the HDMI EDID parsing and will filter out any modes that exceed the defined value. Seeing as AFAIK DPI isn't using an EDID at all, then it shouldn't make any difference.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
Please don't send PMs asking for support - use the forum.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

vzex
Posts: 8
Joined: Mon Nov 14, 2016 2:37 am

Re: Problem with 2k hdmi output(half screen blank)

Mon Nov 14, 2016 2:25 pm

The arguments are not all right, I made some references from viewtopic.php?p=952843#p952843 , but still have somthing to guess, here is the data file:https://drive.google.com/open?id=0B_f34 ... kxPRnJUelU , just a second ago, after I changed the hz to 60, my pi dead...I have to re-write the flash now.

vzex
Posts: 8
Joined: Mon Nov 14, 2016 2:37 am

Re: Problem with 2k hdmi output(half screen blank)

Mon Nov 14, 2016 2:27 pm

I've tested 1440*2560, it's not right either, 1/4 left and 1/4 right screen are blank,and the middle has the image.

aBUGSworstnightmare
Posts: 861
Joined: Tue Jun 30, 2015 1:35 pm

Re: Problem with 2k hdmi output(half screen blank)

Mon Nov 14, 2016 2:38 pm

Get rid of 'framebuffer_depth=24' statment and post your full config.txt

Asking again: Where did you get the timing details from? Are these valid or just 'edjucated guesses'.
What if setting front_/backp_porch = 1 and sync pulse to 2. Double the pixel frequency to see what happens.

Problem is that you don't know what your converter board is doing...

vzex
Posts: 8
Joined: Mon Nov 14, 2016 2:37 am

Re: Problem with 2k hdmi output(half screen blank)

Mon Nov 14, 2016 4:01 pm

yeah,just"edjucated guesses"....

here is the new config.txt

Code: Select all

hdmi_force_hotplug=1

dtparam=audio=on

disable_overscan=1
#framebuffer_depth=24
gpu_mem=192
framebuffer_ignore_alpha=1
#start_x=1

#hdmi_cvt=2560 1080 50 7 0 0 1
hdmi_group=2
hdmi_mode=87
hdmi_pixel_freq_limit=400000000
hvs_priority=0x32ff
max_framebuffer_width=2560
max_framebuffer_height=1080
framebuffer_width=2560
framebuffer_height=1080
config_hdmi_boost=4
hdmi_timings=2560 0 1 2 1 1440 0 1 2 1 0 0 0 24 0 176947200 3
Here is my newest config.txt,right now i have to reinstall the system,so i will tell you the result tomorrow

aBUGSworstnightmare
Posts: 861
Joined: Tue Jun 30, 2015 1:35 pm

Re: Problem with 2k hdmi output(half screen blank)

Mon Nov 14, 2016 5:48 pm

Your native display resolution is in portrait mode --> your timing MUST be portrait mode as well :!: NO WAY TO ROTATE A DISPLAY BY REVERSING THE TIMING!

So:
1. set your frame buffer right (orientation and resolution is wrong!)
2. set display timing to the right resolution
You can rotate the display later by using

Code: Select all

#set display orientation
display_rotate=3
#framebuffer for landscape
framebuffer_width=2560
framebuffer_height=1440
This will rotate to landscape. Nevertheless your timings need to be portrait.

I.e. here's the timing for a Nexus 7 screen with 800x1280pixel resolution

Code: Select all

hdmi_timings=800 0 16 16 64 1280 0 5 1 2 0 0 0 60 0 66800000 5
This is connected to DPI and not HDMI!

BTW: TC358870XBG has no scaler, so your seller should have implemented correct timings for the screen with correct EDID data. Can't your seller support with settings? Is the screen working on another host (i.e. PC able to give the correct resolution)
Last edited by aBUGSworstnightmare on Mon Nov 14, 2016 6:03 pm, edited 3 times in total.

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5549
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Problem with 2k hdmi output(half screen blank)

Mon Nov 14, 2016 5:53 pm

Working backwards, do you really need to disable the EDID in the first place, or does the EDID correctly reflect the display?
The output from tvservice sort of implies that the EDID is correct (I think). You will need to set hdmi_pixel_freq_limit in config.txt to avoid 2560x1440 being ignored due to being out of spec.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
Please don't send PMs asking for support - use the forum.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

vzex
Posts: 8
Joined: Mon Nov 14, 2016 2:37 am

Re: Problem with 2k hdmi output(half screen blank)

Tue Nov 15, 2016 2:02 am

6by9 wrote:Working backwards, do you really need to disable the EDID in the first place, or does the EDID correctly reflect the display?
The output from tvservice sort of implies that the EDID is correct (I think). You will need to set hdmi_pixel_freq_limit in config.txt to avoid 2560x1440 being ignored due to being out of spec.
yes, the screen works well with pc,and when i parse the edid file, the result shows something like "guess 2560*[email protected]". I've not tried to disable the ignore_edid line yet,I'll try it after work

SimonHu
Posts: 3
Joined: Sun Nov 27, 2016 7:44 pm

Re: Problem with 2k hdmi output(half screen blank)

Sun Nov 27, 2016 8:46 pm

If you find out a working configuration, would you mind posting it here?

I happen to own the same printer, and am therefore very interested in the results of your research! And I suppose, there will be many others, I guess.

vzex
Posts: 8
Joined: Mon Nov 14, 2016 2:37 am

Re: Problem with 2k hdmi output(half screen blank)

Mon Nov 28, 2016 2:19 am

SimonHu wrote:If you find out a working configuration, would you mind posting it here?

I happen to own the same printer, and am therefore very interested in the results of your research! And I suppose, there will be many others, I guess.

Code: Select all

hdmi_force_hotplug=1

#hdmi_ignore_edid=0xa5000080

disable_overscan=1
framebuffer_depth=24
gpu_mem=192
framebuffer_ignore_alpha=1
#start_x=1

hdmi_cvt=1440 2560 48
hdmi_group=2
hdmi_mode=87
hdmi_pixel_freq_limit=400000000
hvs_priority=0x32ff
max_framebuffer_width=1440
max_framebuffer_height=2560
framebuffer_width=1440
framebuffer_height=2560
config_hdmi_boost=4
#hdmi_timings=1440 0 16 16 64 2560 0 5 2 1 0 0 0 50 0 176947200 3

#hdmi_cvt 2560 1440 50
the screen is 1440*2560, not 2560*1440!
So all the widths should be 1440,and heights be 2560.
@24hz the screen is half,@50hz the screen has a deformation,and @48hz the screen just works well now。
Thanks for all the people helping me!

SimonHu
Posts: 3
Joined: Sun Nov 27, 2016 7:44 pm

Re: Problem with 2k hdmi output(half screen blank)

Mon Nov 28, 2016 9:31 pm

Thank you very much! It works now, but the screen is flickering (short random flashes every couple of seconds). Has anyone an idea what could be the problem here? Your screen doesn't flicker at all, I guess?

SimonHu
Posts: 3
Joined: Sun Nov 27, 2016 7:44 pm

Re: Problem with 2k hdmi output(half screen blank)

Mon Nov 28, 2016 9:43 pm

Found it. It was just a bad HDMI cable (the one that was included with the printer, actually)

Again: THANK YOU VERY MUCH!

cambiaso87
Posts: 1
Joined: Wed May 31, 2017 7:37 am

Re: Problem with 2k hdmi output(half screen blank)

Wed May 31, 2017 8:05 am

I follow the setting which mentioned by vzex. It work fine in potrait mode. However when i am using display_rotate=3. It does not fit the full screen in landscape mode. 2 big black border on the side. How can 2 solve the problems?
Attachments
1.jpg
1.jpg (50.77 KiB) Viewed 2960 times

alrahimkhan
Posts: 1
Joined: Sat Jul 22, 2017 6:23 pm

Re: Problem with 2k hdmi output(half screen blank)

Sat Jul 22, 2017 6:34 pm

Hi,

I have a raspberrypi connected to topfoison 1440p display https://www.alibaba.com/product-detail/ ... 5388Nep58E

I'm running windows 10 IOT

I need my pi to run this display, can anyone help me?

This is my config

Code: Select all

# For more options and information see
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details
# GPU Firmware SHA256 checksum: 7CE2EF13CDD77F1782FFFF98533572503DF4B46765966CC7E18F6C6455B9623A
# kernel.img SHA256 checksum: 6C82C8720BE4EFB2951BDC01FA187B0B659227033EB7D7DB5ACA6324FD644D7F
# kernel.img git commit ID: f6706f4bd3b10c8294589f45082c8bdc4c50be59

#
# Boot
#
init_uart_clock=16000000    # Set UART clock to 16Mhz
kernel_old=1                # Load kernel.img at physical memory address 0x0
safe_mode_gpio=8            # A temp firmware limitation workaround
max_usb_current=1           # Enable maximum usb current

#
# Memory
#
gpu_mem=32                  # Set VC to 32MB, ARM DRAM to (1008-32)MB
hdmi_force_hotplug=1        # Enable HDMI display even if it is not connected (640x480)

#
# Overclocking
#
core_freq=250               # Frequency of GPU processor core in MHz

#
# Video
#
framebuffer_ignore_alpha=1  # Ignore the alpha channel for Windows.
framebuffer_swap=1          # Set the frame buffer to be Windows BGR compatible.
disable_overscan=1          # Disable overscan
hdmi_group=2                # Use VESA Display Mode Timing over CEA
hdmi_cvt 800 480 60 6 0 0 0 # Add custom 800x480 resolution (group 2 mode 87)

vstepanov
Posts: 1
Joined: Sat Jun 23, 2018 1:44 pm

Re: Problem with 2k hdmi output(half screen blank)

Mon Jun 25, 2018 5:47 am

I have the same problem as cambiaso87 has.
My 5.5 LCD has native resolution 1440*2560 and native portrait mode. It works only with 49Hz. With 50Hz image tremble and blank. With 48 Hz I see only half of screen (as in 1st post). With 49Hz lcd works fine. String in config.txt:
hdmi_cvt=1440 2560 49 3 0 0 1

When I use display_rotate (or display_hdmi_rotate) = 3, screen rotated but cutted from left and right. System resolutuion is 1440x1440!
I has tried all combinations in max_framebuffer_width, max_framebuffer_height, framebuffer_width, framebuffer_height, increased hdmi_pixel_freq_limit, but either RPi did not loaded, or maximum width was 1440.

I use last Jessie, tried previous versions, tried OpenElec and OSMC.
What is problem can be?

nosrev
Posts: 3
Joined: Thu Aug 16, 2018 6:42 am

Re: Problem with 2k hdmi output(half screen blank)

Thu Aug 16, 2018 7:54 am

Hey guys,
just want to push this a bit.

In general i have two problems:
My screen is shifted to the bottom by approx 200px when using basic settings:
Image

Code: Select all

hdmi_cvt=1440 2560 48
hdmi_group=2
hdmi_mode=87
hdmi_pixel_freq_limit=400000000
max_framebuffer_width=1440
max_framebuffer_height=2560
(using over-scan does not help)

If i try to rotate the screen i have the same problem as my predecessors, it only displays a 1440*1440 square, necessary settings:
Image

Code: Select all

framebuffer_width=1440
framebuffer_height=2560
display_rotate=3
When trying to use the above provided timing i get half but no shifted image:
Image

Code: Select all

hdmi_timings=1440 0 16 16 64 2560 0 5 2 1 0 0 0 50 0 176947200 3
This half image also gets a half square if apply:
Image

Code: Select all

framebuffer_width=1440
framebuffer_height=2560
display_rotate=3
All images: https://imgur.com/a/MrfFZ0M

So i guess the shifted display problem i have is related to a timing issue and the rotate square thing is actually related to the frame buffer (since it is required to set it when rotating, otherwise the pi gets stuck at boot). :?:
Would be great if somebody who has knowledge in this could bring some light into the darkness. :idea:

nosrev
Posts: 3
Joined: Thu Aug 16, 2018 6:42 am

Re: Problem with 2k hdmi output(half screen blank)

Mon Sep 17, 2018 8:30 am

nosrev wrote:
Thu Aug 16, 2018 7:54 am
When trying to use the above provided timing i get half but no shifted image:
Image

Code: Select all

hdmi_timings=1440 0 16 16 64 2560 0 5 2 1 0 0 0 50 0 176947200 3
Have been able to solve this problem by trail and error!

Code: Select all

hdmi_timings=1440 0 16 16 64 2560 0 5 2 1 0 0 0 50 0 200000000 3
Did the trick for me. (changing the pixel_freq made the image fullscreen)

Still having problems with "DISPLAY_HDMI_ROTATE" (can not get rid of the square)
I read something at the official doc https://www.raspberrypi.org/documentati ... t/video.md that this requires additional memory, but even splitting to 256MB does not make a change.

Return to “Advanced users”

Who is online

Users browsing this forum: D3R0 and 18 guests