herg
Posts: 3
Joined: Mon Jun 13, 2016 5:25 pm

Re: Setting up HDMI output when video output isn't what you

Mon Jun 13, 2016 5:46 pm

I have an older commercial Panasonic plasma, model number TH-50PHD8, and so far, I've only used Openelec.

The default settings for the Pi do not display anything. Forcing it to VGA did get it working, but at times, the entire display goes black for a couple of seconds. With custom timings, I can get it to mostly work at the native resolution. I do still, however, get occasional flickers of garbage pixels in the upper left of the screen. These seem to be limited to a max of two lines, but it does happen very quickly, so it's hard to be sure.

Here's my edidparser output before I added the custom timing:

Code: Select all

OpenELEC:~ # edidparser edid.dat
Enabling fuzzy format match...
Parsing edid.dat...
HDMI:EDID version 1.3, 0 extensions, screen size 92x52 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 ignored unknown descriptor tag 0x0
HDMI:EDID found monitor name descriptor tag 0xfc
HDMI:EDID monitor name is TY-42TM6D
HDMI:EDID does not yet know monitor vertical range, setting to default 24 to 120Hz
HDMI:EDID failed to find a matching detail format for 1366x768p hfp:38 hs:184 hbp:220 vfp:3 vs:6 vbp:29 pixel clock:87 MHz
HDMI:EDID calculated refresh rate is 60 Hz
HDMI:EDID guessing the format to be 1366x768p @60 Hz
HDMI:EDID found preferred DMT detail timing format: 1366x768p @ 60 Hz (81)
HDMI:EDID failed to find a matching detail format for 852x480p hfp:30 hs:128 hbp:78 vfp:10 vs:2 vbp:33 pixel clock:34 MHz
HDMI:EDID calculated refresh rate is 60 Hz
HDMI:EDID guessing the format to be 852x480p @60 Hz
HDMI:EDID found unknown detail timing format: 852x480p hfp:30 hs:128 hbp:78 vfp:10 vs:2 vbp:33 pixel clock:34 MHz
HDMI:EDID established timing I/II bytes are 21 08 00
HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II
HDMI:EDID standard timings block x 8: 0x0101 0101 0101 0101 0101 0101 0101 0101
HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
HDMI:EDID best score mode initialised to DMT (4) 640x480p @ 60 Hz with pixel clock 25 MHz (score 0)
HDMI:EDID best score mode is now DMT (4) 640x480p @ 60 Hz with pixel clock 25 MHz (score 36864)
HDMI:EDID best score mode is now DMT (9) 800x600p @ 60 Hz with pixel clock 40 MHz (score 57600)
HDMI:EDID best score mode is now DMT (16) 1024x768p @ 60 Hz with pixel clock 65 MHz (score 94370)
HDMI:EDID best score mode is now DMT (81) 1366x768p @ 60 Hz with pixel clock 85 MHz (score 5188835)
HDMI:EDID preferred mode remained as DMT (81) 1366x768p @ 60 Hz with pixel clock 85 MHz
HDMI:EDID has only DVI support and no audio support
edid_parser exited with code 0
I have had a PC hooked up for a long time now, so I forget how I figured out how to set it up, but that's what I used to transfer the working timing from. It's probably not a coincidence that these match what the EDID is reporting:

Code: Select all

hdmi_timings=1366 0 38 184 220 768 0 3 6 29 0 0 0 60 0 87440000 3
All the front/back porch, etc. numbers match exactly, but after calculating it, the pixel rate is a bit off. I plan to try using the exact value that I've calculated, as well as running NOOBS to see if it happens there.

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 9661
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Setting up HDMI output when video output isn't what you

Mon Jun 13, 2016 6:04 pm

This (the TH-50PHD8) is a VGA monitor, so what are you using to convert the PI's HDMI signal to VGA?

herg
Posts: 3
Joined: Mon Jun 13, 2016 5:25 pm

Re: Setting up HDMI output when video output isn't what you

Mon Jun 13, 2016 6:17 pm

mahjongg wrote:This (the TH-50PHD8) is a VGA monitor, so what are you using to convert the PI's HDMI signal to VGA?
I have the DVI blade (TY-42TM6D) installed.

herg
Posts: 3
Joined: Mon Jun 13, 2016 5:25 pm

Re: Setting up HDMI output when video output isn't what you

Wed Jun 15, 2016 4:55 pm

For what it's worth, I have not been able to reproduce the garbage pixels, even at the incorrect pixel clock. Maybe my TV or DVI blade was in a funky state due to all the incompatible timings and after powering down, it was cleared? Who knows?

It still seems that the EDID is uncommon and not handled successfully by the Pi. I'm attaching the file in case it's useful.
Attachments
edid.zip
(267 Bytes) Downloaded 281 times

algoritmi
Posts: 3
Joined: Sat Jun 18, 2016 5:36 am

Re: Setting up HDMI output when video output isn't what you

Wed Jun 22, 2016 11:20 pm

Hello Dear All,
First of all let me excuse for eventual misuse of the forum, hope the admins won't block me :-) I have a problem, maybe irrelevant to the topic, but I hope someone can help me with an information. I desperately need one piece of the Manga Screen (in whatever condition). Please tell me if anybody is selling second hand new or previously used manga screen. You can also refer to any alternative 4.3" capacitive touch display which can be used with Raspberry Pi 3.
Thank you very much for your help in advance, and sorry endlessly for disturbing anyone.
Best Regards

Hnphtha
Posts: 1
Joined: Sun Jul 03, 2016 3:17 am

Re: Setting up HDMI output when video output isn't what you

Sun Jul 03, 2016 3:24 am

Dear all,
I need to detect any display/monitor connect to Raspberry Pi. I mean I need to know the mac address (physical address) of monitor connect to Raspberry Pi (Using HDMI or VGA). Does anyone know its solution?
Regards

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 4144
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Setting up HDMI output when video output isn't what you

Sun Jul 03, 2016 1:43 pm

Hnphtha wrote:Dear all,
I need to detect any display/monitor connect to Raspberry Pi. I mean I need to know the mac address (physical address) of monitor connect to Raspberry Pi (Using HDMI or VGA). Does anyone know its solution?
Regards
I'm not sure what you mean by "mac address (physical address) of monitor" and why you need it. FWIW, most of the "monitor id" info. I'm aware of can be extracted from the EDID file via the (Raspbian) tvservice command:
https://www.cpmspectrepi.uk/raspberry_p ... tings.html
but, w.r.t. VGA monitors you may only get info. relating to the HDMI-to-VGA (active) converter in use.
Trev.
Usually running Raspbian Jessie on up to 9 of 13 Pi's (an A, B1, B2, B+, P2B, 3xP0, P0W) and Stretch on my P3B, B+, A+ and a B2. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5106
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Setting up HDMI output when video output isn't what you

Sun Jul 03, 2016 4:02 pm

Code: Select all

pi@domnfs:~ $ tvservice -d edid.dat
Written 256 bytes to edid.dat
pi@domnfs:~ $ edidparser edid.dat  |grep -i physical
HDMI:EDID HDMI VSDB has physical address 1.0.0.0

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 4144
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Setting up HDMI output when video output isn't what you

Sun Jul 03, 2016 6:30 pm

dom wrote:

Code: Select all

pi@domnfs:~ $ tvservice -d edid.dat
Written 256 bytes to edid.dat
pi@domnfs:~ $ edidparser edid.dat  |grep -i physical
HDMI:EDID HDMI VSDB has physical address 1.0.0.0
@dom, thanks for that example - I've learnt something new (having never needed to delve that deeply into an EDID file).
Trev.
Usually running Raspbian Jessie on up to 9 of 13 Pi's (an A, B1, B2, B+, P2B, 3xP0, P0W) and Stretch on my P3B, B+, A+ and a B2. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

Renju P B
Posts: 2
Joined: Wed Jul 13, 2016 11:17 am

Re: Setting up HDMI output when video output isn't what you

Wed Jul 13, 2016 11:51 am

I think I have tried everything said in the post. I'm able to work with pi2 with my laptop through ssh without any issues. But when use hdmi-vga converter to display on a lcd monitor, it is booting process is happening but before the login screen, the monitor goes blank and the green LED lights up forever ( not blinking). Can't figure out why. . .Any ideas, somebody, anybody. . .

mongooseman
Posts: 2
Joined: Tue Aug 02, 2016 9:32 am

Re: Setting up HDMI output when video output isn't what you

Tue Aug 02, 2016 11:12 am

I am sending a signal to my production monitor hdmi to vga connector. The cable is a vga to 5bnc. I get a picture and it looks pretty good , but it is squashed really thin.

How do I change this?

Swoosh
Posts: 3
Joined: Fri Aug 14, 2015 1:02 pm

Re: Setting up HDMI output when video output isn't what you

Sat Sep 24, 2016 5:01 pm

Hello !

I'm interested in HDMI support and I have a stupid question on the way the TV and the PI "remember" each other ?
When I first started my pi with my (basic raspbian install) "old" samsung TV (HD ready) the console seems to match the screen, no dead zone...
Then I installed kodi and it didn't seem to find the right dimensions of the screen (but the whole screen wa used) so I used the settings to enlarge the HMI to fit the whole screen.

Then I tried to add retropie and the screen was shrunk and some black belt around the screen appeared.
I thought it was only in retropie but it appens also with kodi and at each restart...
I didn't check if something has changed in the boot setup, but is there a way to force screen detection to use the whole screen ?
"Full HD" and "HD ready" seem to be some kind of standards it would be nice to have some kind of autodetect at each boot if it's possible :)

I want to do it for my config but if I go to see some friends I want it to work fine !

Thank you for the support :)

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5106
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Setting up HDMI output when video output isn't what you

Sat Sep 24, 2016 5:42 pm

Swoosh wrote:I didn't check if something has changed in the boot setup, but is there a way to force screen detection to use the whole screen ?
You really want to fix this at the TV end.
Check the display menu options (it may be called "just scan", "screen fit", "HD size", "full pixel", "unscaled", "dot by dot", "native" or "1:1"), then use the disable_overscan=1 option.

All software should then fit the screen correctly.

Swoosh
Posts: 3
Joined: Fri Aug 14, 2015 1:02 pm

Re: Setting up HDMI output when video output isn't what you

Sat Sep 24, 2016 5:54 pm

I have disabled all those options years ago and this TV is not connected but I will have a look...
No rescale occurs anyway, when I boot with the old SD card everything is all right !
The pi seems to request something different with each SD card or some mystical event occurs !
I've made some tests before asking... The problem is on the pi side...

Sckay
Posts: 2
Joined: Sun Oct 16, 2016 10:15 pm

Re: Setting up HDMI output when video output isn't what you

Sun Oct 16, 2016 10:59 pm

Hello, Good all. I'm a little newbie at this and Im in a difficult project for me. Gameboy zero. He found a cheap screen 3.5-inch Amazon.. The thing is that the screen does not look good and I think it is due to the resolution. I am running retropie. How can I set the resolution of this screen http://sudomod.com/wiki/index.php?title ... te_Display
The resolution i want is 320x240.
Someone would kindly tell me the code that should put in the config.txt?
Image
Image
Image
Image
Thank

JasonLatendre
Posts: 1
Joined: Wed Oct 26, 2016 5:05 pm

Re: Setting up HDMI output when video output isn't what you

Wed Oct 26, 2016 5:17 pm

Hi,
I know you have to force the audio through the HDMI trough the prompt command screen but it still doesn't work.
I was able to get the audio jack working but still no sound through the HDMI. I tried everything from the RPI website, read through the fourms, google and youtube.

Maybe this one I got is defective?
Anyone else have this problem?

ali.taroosheh
Posts: 1
Joined: Mon Nov 14, 2016 8:04 am

Re: Setting up HDMI output when video output isn't what you

Mon Nov 14, 2016 8:14 am

Hi everybody

I have problem with HDMI setting in config.txt file

I made it in such a way:

hdmi_mode=1
hdmi_mode=16

but after reboot tvservice -s show me 640x480 resolution and always it is out of my monitor borders.

tvservice -m CEA show me just one option and it is 1920x1080 60Hz

how can I resolve it

thanks

ZombieSheepman
Posts: 1
Joined: Tue Jan 03, 2017 7:57 am

Re: Setting up HDMI output when video output isn't what you

Tue Jan 03, 2017 8:04 am

How do I know if my screen is CEA or DMT? My screen resolution is 1024x600 which isn't listed. When I uncomment diasable_underscan, it messes up the screen and only displays random lines.

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 4144
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Setting up HDMI output when video output isn't what you

Wed Jan 04, 2017 9:32 am

ZombieSheepman wrote:How do I know if my screen is CEA or DMT? My screen resolution is 1024x600 which isn't listed. When I uncomment diasable_underscan, it messes up the screen and only displays random lines.
AFAIK, generally speaking, T.V.'s mainly use CEA modes and monitors, esp. those with DVI (and maybe also VGA) inputs mainly use DMT modes. However many support both - tvservice -m CEA and tvservice -m DMT should report what modes are available and then one can choose a preferred or native mode.**
Trev.
**see http://www.cpmspectrepi.uk/raspberry_pi ... tings.html
Usually running Raspbian Jessie on up to 9 of 13 Pi's (an A, B1, B2, B+, P2B, 3xP0, P0W) and Stretch on my P3B, B+, A+ and a B2. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

Newk³
Posts: 13
Joined: Wed Mar 27, 2013 1:28 am

Re: Setting up HDMI output when video output isn't what you

Sun Jan 08, 2017 2:55 pm

Hi!
i got this nice PhilipsTV 26PFL5322 that has a native WXGA resolution of 1366x768 with 2 hdmi and 2 scart inputs (and some other analog inputs but i rather go digital in order to get a crisp picture).
the EDID did output this:

Code: Select all

Enabling fuzzy format match...
Parsing EDID.DAT...
HDMI:EDID version 1.3, 1 extensions, screen size 71x40 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 PhilipsTV__5_�
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 47-85 Hz, horizontal is 31-80 kHz, max pixel clock is 140 MHz
HDMI:EDID monitor range does not support GTF
HDMI:EDID found preferred DMT detail timing format: 1280x768p @ 60 Hz (22)
HDMI:EDID found DMT detail timing format: 1360x768p @ 60 Hz (39)
HDMI:EDID established timing I/II bytes are AD CE 00
HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 5, 640x480p @ 72 Hz in established timing I/II
HDMI:EDID found DMT format: code 6, 640x480p @ 75 Hz in established timing I/II
HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 10, 800x600p @ 72 Hz in established timing I/II
HDMI:EDID found DMT format: code 11, 800x600p @ 75 Hz in established timing I/II
HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 17, 1024x768p @ 70 Hz in established timing I/II
HDMI:EDID found DMT format: code 18, 1024x768p @ 75 Hz in established timing I/II
HDMI:EDID standard timings block x 8: 0x3159 4559 6159 8180 0101 0101 0101 0101 
HDMI:EDID found DMT format: code 7, 640x480p @ 85 Hz (4:3) in standard timing 0
HDMI:EDID found DMT format: code 12, 800x600p @ 85 Hz (4:3) in standard timing 1
HDMI:EDID found DMT format: code 19, 1024x768p @ 85 Hz (4:3) in standard timing 2
HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 3
HDMI:EDID parsing v3 CEA extension 0
HDMI:EDID monitor support - underscan IT formats:no, basic audio:yes, yuv444:yes, yuv422:yes, #native DTD:1
HDMI:EDID found CEA detail timing format: 1280x720p @ 50 Hz (19)
HDMI:EDID found CEA detail timing format: 1280x720p @ 60 Hz (4)
HDMI:EDID found CEA detail timing format: 1920x1080i @ 50 Hz (20)
HDMI:EDID found CEA detail timing format: 1920x1080i @ 60 Hz (5)
HDMI:EDID found CEA detail timing format: 1920x1080p @ 50 Hz (31)
HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz (native)
HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz 
HDMI:EDID found CEA format: code 20, 1920x1080i @ 50Hz 
HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz 
HDMI:EDID found CEA format: code 31, 1920x1080p @ 50Hz 
HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz 
HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz 
HDMI:EDID found CEA format: code 17, 720x576p @ 50Hz 
HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz 
HDMI:EDID found CEA format: code 2, 720x480p @ 60Hz 
HDMI:EDID found CEA format: code 1, 640x480p @ 60Hz 
HDMI:EDID found CEA format: code 22, 1440x576i @ 50Hz 
HDMI:EDID found CEA format: code 21, 1440x576i @ 50Hz 
HDMI:EDID found CEA format: code 7, 1440x480i @ 60Hz 
HDMI:EDID found CEA format: code 6, 1440x480i @ 60Hz 
HDMI:EDID found audio format 2 channels PCM, sample rate: 32|44|48 kHz, sample size: 16|20|24 bits
HDMI:EDID found HDMI VSDB length 6
HDMI:EDID HDMI VSDB has physical address 1.0.0.0
HDMI:EDID HDMI VSDB supports AI:yes, dual link DVI:no
HDMI:EDID HDMI VSDB deep colour support - 48-bit:no 36-bit:no 30-bit:no DC_yuv444:no
HDMI:EDID HDMI VSDB has no latency information
HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
HDMI:EDID best score mode initialised to DMT (4) 640x480p @ 60 Hz with pixel clock 25 MHz (score 0)
HDMI:EDID best score mode is now CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 43432)
HDMI:EDID best score mode is now CEA (2) 720x480p @ 60 Hz with pixel clock 27 MHz (score 45736)
HDMI:EDID CEA mode (3) 720x480p @ 60 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID best score mode is now CEA (4) 1280x720p @ 60 Hz with pixel clock 74 MHz (score 3580296)
HDMI:EDID DMT mode (4) 640x480p @ 60 Hz with pixel clock 25 MHz has a score of 36864
HDMI:EDID CEA mode (5) 1920x1080i @ 60 Hz with pixel clock 74 MHz has a score of 2649416
HDMI:EDID DMT mode (5) 640x480p @ 72 Hz with pixel clock 31 MHz has a score of 44236
HDMI:EDID CEA mode (6) 1440x480i @ 60 Hz with pixel clock 27 MHz has a score of 35368
HDMI:EDID DMT mode (6) 640x480p @ 75 Hz with pixel clock 31 MHz has a score of 46080
HDMI:EDID CEA mode (7) 1440x480i @ 60 Hz with pixel clock 27 MHz has a score of 35368
HDMI:EDID DMT mode (7) 640x480p @ 85 Hz with pixel clock 36 MHz has a score of 77224
HDMI:EDID DMT mode (9) 800x600p @ 60 Hz with pixel clock 40 MHz has a score of 57600
HDMI:EDID DMT mode (10) 800x600p @ 72 Hz with pixel clock 50 MHz has a score of 69120
HDMI:EDID DMT mode (11) 800x600p @ 75 Hz with pixel clock 49 MHz has a score of 72000
HDMI:EDID DMT mode (12) 800x600p @ 85 Hz with pixel clock 56 MHz has a score of 106600
HDMI:EDID CEA mode (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz has a score of 149416
HDMI:EDID DMT mode (16) 1024x768p @ 60 Hz with pixel clock 65 MHz has a score of 94370
HDMI:EDID CEA mode (17) 720x576p @ 50 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID DMT mode (17) 1024x768p @ 70 Hz with pixel clock 75 MHz has a score of 110100
HDMI:EDID CEA mode (18) 720x576p @ 50 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID DMT mode (18) 1024x768p @ 75 Hz with pixel clock 78 MHz has a score of 117964
HDMI:EDID best score mode is now CEA (19) 1280x720p @ 50 Hz with pixel clock 74 MHz (score 4094120)
HDMI:EDID DMT mode (19) 1024x768p @ 85 Hz with pixel clock 94 MHz has a score of 158692
HDMI:EDID CEA mode (20) 1920x1080i @ 50 Hz with pixel clock 74 MHz has a score of 3128680
HDMI:EDID CEA mode (21) 1440x576i @ 50 Hz with pixel clock 27 MHz has a score of 35368
HDMI:EDID CEA mode (22) 1440x576i @ 50 Hz with pixel clock 27 MHz has a score of 35368
HDMI:EDID best score mode is now DMT (22) 1280x768p @ 60 Hz with pixel clock 68 MHz (score 5176946)
HDMI:EDID CEA mode (31) 1920x1080p @ 50 Hz with pixel clock 148 MHz has a score of 2128680
HDMI:EDID DMT mode (35) 1280x1024p @ 60 Hz with pixel clock 108 MHz has a score of 182286
HDMI:EDID DMT mode (39) 1360x768p @ 60 Hz with pixel clock 85 MHz has a score of 4625336
HDMI:EDID preferred mode remained as DMT (22) 1280x768p @ 60 Hz with pixel clock 68 MHz
HDMI:EDID has HDMI support and audio support
edid_parser exited with code 0
i could not set the DMT hdmi_mode to 81 or 86 (which are 1366x768 without or with reduced blanking respectively).
(Even with hdmi_ignore_edid=0xa5000080) The TV screen just states it cannot display these...
The closest i can get is 1360x768 (mode 39) which results in the difference in these 6 pixels to be stretched out horizontally over the 1366 pixels of the screen that makes text look blurry and rasterization to look wavey. :cry:
I was hoping to set framebuffer to 1366 so it would work but i did get no different results.
Anyone got tips how to do this? Maybe specifying my own EDID file? (but don't know how and what to put in there)
As a last resort maybe having a little overscan left and right of 3 pixels but even that i could not get to look crisp... it looked like it was taking 6 from the 1360 instead of adding the 6.
Any help would be much appreciated :)

RDS
Posts: 549
Joined: Tue Oct 06, 2015 8:17 am
Location: Lancashire, UK

Re: Setting up HDMI output when video output isn't what you

Sun Jan 15, 2017 2:28 pm

I am attempting to run my Pi(s) Headless using VNC.

If I connect an HDMI TV, before starting up the Pi, the display on the VNC viewer is exactly what I require but if I start the Pi up without a display connected the Viewer display is very low quality.

I have obtained the EDID file information with the TV connected (shown below).

Code: Select all

HDMI:EDID version 1.3, 1 extensions, screen size 160x90 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 LCD_TV
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 48-62 Hz, horizontal is 14-68 kHz, max pixel clock is 150 MHz
HDMI:EDID monitor range does not support GTF
HDMI:EDID found preferred DMT detail timing format: 1360x768p @ 60 Hz (39)
HDMI:EDID found DMT detail timing format: 1280x720p @ 60 Hz (85)
HDMI:EDID established timing I/II bytes are 21 08 00
HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II
HDMI:EDID standard timings block x 8: 0x3140 4540 6140 8180 0101 0101 0101 0101 
HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz (4:3) in standard timing 0
HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz (4:3) in standard timing 1
HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz (4:3) in standard timing 2
HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 3
HDMI:EDID parsing v3 CEA extension 0
HDMI:EDID monitor support - underscan IT formats:no, basic audio:yes, yuv444:yes, yuv422:yes, #native DTD:0
HDMI:EDID found CEA detail timing format: 1920x1080i @ 50 Hz (20)
HDMI:EDID found CEA detail timing format: 1920x1080i @ 60 Hz (5)
HDMI:EDID found CEA detail timing format: 1280x720p @ 50 Hz (19)
HDMI:EDID found CEA detail timing format: 1920x1080p @ 50 Hz (31)
HDMI:EDID found CEA detail timing format: 1920x1080p @ 60 Hz (16)
HDMI:EDID found CEA format: code 1, 640x480p @ 60Hz 
HDMI:EDID found CEA format: code 2, 720x480p @ 60Hz 
HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz 
HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz 
HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz 
HDMI:EDID found CEA format: code 6, 1440x480i @ 60Hz 
HDMI:EDID found CEA format: code 7, 1440x480i @ 60Hz 
HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz 
HDMI:EDID found CEA format: code 17, 720x576p @ 50Hz 
HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz 
HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz 
HDMI:EDID found CEA format: code 20, 1920x1080i @ 50Hz 
HDMI:EDID found CEA format: code 21, 1440x576i @ 50Hz 
HDMI:EDID found CEA format: code 22, 1440x576i @ 50Hz 
HDMI:EDID found CEA format: code 31, 1920x1080p @ 50Hz 
HDMI:EDID found audio format 2 channels PCM, sample rate: 32|44|48 kHz, sample size: 16|20|24 bits
HDMI:EDID found HDMI VSDB length 6
HDMI:EDID HDMI VSDB has physical address 2.0.0.0
HDMI:EDID HDMI VSDB supports AI:yes, dual link DVI:no
HDMI:EDID HDMI VSDB deep colour support - 48-bit:no 36-bit:no 30-bit:no DC_yuv444:no
HDMI:EDID HDMI VSDB has no latency information
HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
HDMI:EDID best score mode initialised to DMT (4) 640x480p @ 60 Hz with pixel clock 25 MHz (score 0)
HDMI:EDID best score mode is now CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 43432)
HDMI:EDID best score mode is now CEA (2) 720x480p @ 60 Hz with pixel clock 27 MHz (score 45736)
HDMI:EDID CEA mode (3) 720x480p @ 60 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID best score mode is now CEA (4) 1280x720p @ 60 Hz with pixel clock 74 MHz (score 80296)
HDMI:EDID DMT mode (4) 640x480p @ 60 Hz with pixel clock 25 MHz has a score of 61864
HDMI:EDID best score mode is now CEA (5) 1920x1080i @ 60 Hz with pixel clock 74 MHz (score 3649416)
HDMI:EDID CEA mode (6) 1440x480i @ 60 Hz with pixel clock 27 MHz has a score of 35368
HDMI:EDID CEA mode (7) 1440x480i @ 60 Hz with pixel clock 27 MHz has a score of 35368
HDMI:EDID DMT mode (9) 800x600p @ 60 Hz with pixel clock 40 MHz has a score of 82600
HDMI:EDID CEA mode (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz has a score of 2149416
HDMI:EDID DMT mode (16) 1024x768p @ 60 Hz with pixel clock 65 MHz has a score of 119370
HDMI:EDID CEA mode (17) 720x576p @ 50 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID CEA mode (18) 720x576p @ 50 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID CEA mode (19) 1280x720p @ 50 Hz with pixel clock 74 MHz has a score of 3071080
HDMI:EDID best score mode is now CEA (20) 1920x1080i @ 50 Hz with pixel clock 74 MHz (score 4128680)
HDMI:EDID CEA mode (21) 1440x576i @ 50 Hz with pixel clock 27 MHz has a score of 35368
HDMI:EDID CEA mode (22) 1440x576i @ 50 Hz with pixel clock 27 MHz has a score of 35368
HDMI:EDID CEA mode (31) 1920x1080p @ 50 Hz with pixel clock 148 MHz has a score of 2628680
HDMI:EDID DMT mode (35) 1280x1024p @ 60 Hz with pixel clock 108 MHz has a score of 182286
HDMI:EDID best score mode is now DMT (39) 1360x768p @ 60 Hz with pixel clock 85 MHz (score 5188004)
HDMI:EDID DMT mode (85) 1280x720p @ 60 Hz with pixel clock 74 MHz has a score of 4610592
HDMI:EDID preferred mode remained as DMT (39) 1360x768p @ 60 Hz with pixel clock 85 MHz
HDMI:EDID has HDMI support and audio support
edid_parser exited with code 0
Could someone please advise me exactly what statements I need in the config.txt file to replicate the 'HDMI connected display' on the VNC viewer, when running completely headless. I understand that I will need to use the 'preferred mode' information at the end but not sure which parts go in the config file.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5106
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Setting up HDMI output when video output isn't what you

Sun Jan 15, 2017 4:00 pm

RDS wrote:I am attempting to run my Pi(s) Headless using VNC.

If I connect an HDMI TV, before starting up the Pi, the display on the VNC viewer is exactly what I require but if I start the Pi up without a display connected the Viewer display is very low quality.
To get exactly the same behaviour with or without hdmi you should capture the edid ("tvservice -d edid.dat").
Put edid.dat in /boot. Add to config.txt:

Code: Select all

hdmi_force_hotplug=1
hdmi_edid_file=1

RDS
Posts: 549
Joined: Tue Oct 06, 2015 8:17 am
Location: Lancashire, UK

Re: Setting up HDMI output when video output isn't what you

Sun Jan 15, 2017 4:55 pm

@dom
Brilliant!
Just what I wanted.
Thank you very much.

PjV
Posts: 13
Joined: Tue Dec 13, 2016 5:39 pm

Re: Setting up HDMI output when video output isn't what you

Thu Jan 19, 2017 9:47 am

Hi,

I have a Pi 3 and a Dell U2913WM monitor (2560x1080).
By editing /boot/config.txt I have successfully configured the PI to output 2560x1080 (at 49Hz) to the monitor.
However, the pixel canvas is still 1920x1080 and I haven't been able to change this.
I tried editing /etc/fb.modes or starting fbset from the command line directly; That only results in blank screens.
Could anybody tell me how/where to fix this, so I get the desired canvas?

This is what TVService -s reports:

Code: Select all

state 0x120006 [DVI DMT (87) RGB full 64:27 (21:9)], 2560x1080 @ 49.00Hz, progressive
And fbset reports:

Code: Select all

mode "1920x1080"
    geometry 1920 1080 1920 1080 32
    timings 0 0 0 0 0 0 0
    rgba 8/16,8/8,8/0,8/24
endmode
Below are the settings in config.txt.
(They could help other people are looking to configure this monitor too.)
If a parameter it is not shown here it is either commented out, or not present, in my config.txt.

Code: Select all

disable_overscan=1
framebuffer_width=2560
framebuffer_height=1080
max_frame_buffer_width=2560
max_frame_buffer_height=1080
hdmi_cvt=2560 1080 49 7 0 0 1 
hdmi_group=2
hdmi_mode=87
hdmi_pixel_freq_limit=300000000
#Not sure if these are required:
hvs_priority=0x32ff
config_hdmi_boost=4
dtparam=audio=on
mode 8 (64:27) for aspect ratio doesn't work.
Also, with a cheap hdmi cable I got artefacts at this resolution (184 MHz clock) but another cheap cable works flawless.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5106
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Setting up HDMI output when video output isn't what you

Thu Jan 19, 2017 11:25 am

PjV wrote: max_frame_buffer_width=2560
max_frame_buffer_height=1080
You want:

Code: Select all

max_framebuffer_width=2560
max_framebuffer_height=1080
config_hdmi_boost=4
Note the default is 5 on newer Pi's, so this is actually reducing the signal.
Try setting it to 7 and see if that fixes your cheap cable.

Return to “Troubleshooting”

Who is online

Users browsing this forum: tk1 and 92 guests