Re: Setting up HDMI output
Just wanted to chime in here to help anyone thats getting '0 bytes written' with tvservice -d:
if you're sure you're writing to a file you have permissions to, then the next step is to try using a DVI adapter to plug into your monitor so it's DVI -> HDMI on the pi. My monitor wasn't outputting EDID info via the HDMI port but it did with DVI and now everything works great. Someone mentioned this earlier in the thread and it worked like a charm for me.
if you're sure you're writing to a file you have permissions to, then the next step is to try using a DVI adapter to plug into your monitor so it's DVI -> HDMI on the pi. My monitor wasn't outputting EDID info via the HDMI port but it did with DVI and now everything works great. Someone mentioned this earlier in the thread and it worked like a charm for me.
-
- Posts: 9
- Joined: Mon Aug 20, 2012 3:30 am
Re: Setting up HDMI output
Heres my specs:
1080p Monitor
60hz
I want to change my config.txt from
hdmi_group = 1
hdmi_mode 16
(HDMI_CEA_1080p60)
to
hdmi_group = 2
hdmi_mode = (HDMI_DMT_1080p_60 = 0x52)
2 things
What do i put in the txt for 0x52?
Will it make a difference?
also,
I plug my sd card into my computer, try to open config.txt and it says its corrupted. In fact, it says my whole sd card is corrupted and I need to reformat. I can boot my raspberry pi perfectly, and i can see and open all of my files. how would I change my config.txt? through raspberrypi? or through reformatting in windows , reimaging and changing from there?
1080p Monitor
60hz
I want to change my config.txt from
hdmi_group = 1
hdmi_mode 16
(HDMI_CEA_1080p60)
to
hdmi_group = 2
hdmi_mode = (HDMI_DMT_1080p_60 = 0x52)
2 things
What do i put in the txt for 0x52?
Will it make a difference?
also,
I plug my sd card into my computer, try to open config.txt and it says its corrupted. In fact, it says my whole sd card is corrupted and I need to reformat. I can boot my raspberry pi perfectly, and i can see and open all of my files. how would I change my config.txt? through raspberrypi? or through reformatting in windows , reimaging and changing from there?
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 6505
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: Setting up HDMI output
@yoyodude1124
hdmi_mode = 0x52
is fine.
Are you using an built in sdcard reader on a laptop? These frequently are buggy and unusable.
Try an external USB sdcard reader. You can get them from a pound store in the UK.
hdmi_mode = 0x52
is fine.
Are you using an built in sdcard reader on a laptop? These frequently are buggy and unusable.
Try an external USB sdcard reader. You can get them from a pound store in the UK.
Re: Setting up HDMI output
I'm guessing you're on Windows as I have the same issue. For whatever reason my Windows box ignores the first FAT32 partition and says the whole card can't be read. The good news is that the config.txt file can be changed directly on the RPi. Just open it in your favorite text editor (it's located in /boot) and edit it directly. Config.txt is only read at start up so you won't mess anything up to change it with the RPi running. That does also mean you must restart your Pi to apply the changesyoyodude1124 wrote:Heres my specs:
also,
I plug my sd card into my computer, try to open config.txt and it says its corrupted. In fact, it says my whole sd card is corrupted and I need to reformat. I can boot my raspberry pi perfectly, and i can see and open all of my files. how would I change my config.txt? through raspberrypi? or through reformatting in windows , reimaging and changing from there?

Dear forum: Play nice 

-
- Posts: 9
- Joined: Mon Aug 20, 2012 3:30 am
Re: Setting up HDMI output
Thanks! And, will it make a difference if I change The Hdmi Mode/Group that I mentioned in my original post?abishur wrote:I'm guessing you're on Windows as I have the same issue. For whatever reason my Windows box ignores the first FAT32 partition and says the whole card can't be read. The good news is that the config.txt file can be changed directly on the RPi. Just open it in your favorite text editor (it's located in /boot) and edit it directly. Config.txt is only read at start up so you won't mess anything up to change it with the RPi running. That does also mean you must restart your Pi to apply the changesyoyodude1124 wrote:Heres my specs:
also,
I plug my sd card into my computer, try to open config.txt and it says its corrupted. In fact, it says my whole sd card is corrupted and I need to reformat. I can boot my raspberry pi perfectly, and i can see and open all of my files. how would I change my config.txt? through raspberrypi? or through reformatting in windows , reimaging and changing from there?
(Forgot to mention, I'm using an HDMI to DVI adapter cable)
Re: Setting up HDMI output
It won't make a difference when you make the change, but it will make a difference when you reboot and it goes into effectyoyodude1124 wrote:Thanks! And, will it make a difference if I change The Hdmi Mode/Group that I mentioned in my original post?abishur wrote:I'm guessing you're on Windows as I have the same issue. For whatever reason my Windows box ignores the first FAT32 partition and says the whole card can't be read. The good news is that the config.txt file can be changed directly on the RPi. Just open it in your favorite text editor (it's located in /boot) and edit it directly. Config.txt is only read at start up so you won't mess anything up to change it with the RPi running. That does also mean you must restart your Pi to apply the changesyoyodude1124 wrote:Heres my specs:
also,
I plug my sd card into my computer, try to open config.txt and it says its corrupted. In fact, it says my whole sd card is corrupted and I need to reformat. I can boot my raspberry pi perfectly, and i can see and open all of my files. how would I change my config.txt? through raspberrypi? or through reformatting in windows , reimaging and changing from there?
(Forgot to mention, I'm using an HDMI to DVI adapter cable)

Dear forum: Play nice 

-
- Posts: 9
- Joined: Mon Aug 20, 2012 3:30 am
Re: Setting up HDMI output
And what do I do if i change it to the point of where it wont boot?abishur wrote:It won't make a difference when you make the change, but it will make a difference when you reboot and it goes into effectyoyodude1124 wrote:Thanks! And, will it make a difference if I change The Hdmi Mode/Group that I mentioned in my original post?abishur wrote: I'm guessing you're on Windows as I have the same issue. For whatever reason my Windows box ignores the first FAT32 partition and says the whole card can't be read. The good news is that the config.txt file can be changed directly on the RPi. Just open it in your favorite text editor (it's located in /boot) and edit it directly. Config.txt is only read at start up so you won't mess anything up to change it with the RPi running. That does also mean you must restart your Pi to apply the changes
(Forgot to mention, I'm using an HDMI to DVI adapter cable)
Do i re-flash?
or boot up on a different Raspbian sd card and change it using an sd to usb adapter?
Re: Setting up HDMI output
Both are legitimatize solutionsyoyodude1124 wrote: And what do I do if i change it to the point of where it wont boot?
Do i re-flash?
or boot up on a different Raspbian sd card and change it using an sd to usb adapter?

Dear forum: Play nice 

-
- Posts: 9
- Joined: Mon Aug 20, 2012 3:30 am
Re: Setting up HDMI output
OK! Thanks for the help!abishur wrote:Both are legitimatize solutionsyoyodude1124 wrote: And what do I do if i change it to the point of where it wont boot?
Do i re-flash?
or boot up on a different Raspbian sd card and change it using an sd to usb adapter?
Re: Setting up HDMI output
My monitor is an Acer AL1751W which supports a maximum resolution of 1280x768 (WXGA). Sadly although this mode is seen it's not known so it's not picked and the software drops it back to 1024x768 which is annoying, especially as I was hoping to use it to watch videos on. Anyway here's the output from tvservice -d having being pushed through editparser:Gert van Loo wrote:Users are encouraged to post the EDID of their monitors (and the output for the parser), if Raspberry Pi chooses a default resolution which is not expected (or strange).
Please include make and model number when you post EDID online.
Code: Select all
HDMI:EDID version 1.3, 0 extensions, screen size 37x23 cm
HDMI:EDID features - videodef 0x81 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 S/N descriptor tag 0xff
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-60 kHz, max pixel clock is 80 MHz
HDMI:EDID monitor range does not support GTF
HDMI:EDID found monitor name descriptor tag 0xfc
HDMI:EDID monitor name is Acer_AL1751W
HDMI:EDID found unknown detail timing format: 1280x768p hfp:55 hs:138 hbp:192 vfp:1 vs:3 vbp:21 pixel clock:79 MHz
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: 0x0101 0101 0101 0101 0101 0101 0101 0101
HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
HDMI:EDID no known preferred format has been set
HDMI:EDID filtering preferred group has been changed from Invalid to DMT
HDMI:EDID best score mode initialised to DMT (4) 640x480p @ 60 Hz with pixel clock 25 MHz (score 18432)
HDMI:EDID best score mode is now DMT (4) 640x480 @ 60 MHz with pixel clock 25 Hz (score 36864)
HDMI:EDID best score mode is now DMT (5) 640x480 @ 72 MHz with pixel clock 31 Hz (score 44236)
HDMI:EDID best score mode is now DMT (6) 640x480 @ 75 MHz with pixel clock 31 Hz (score 46080)
HDMI:EDID best score mode is now DMT (9) 800x600 @ 60 MHz with pixel clock 40 Hz (score 57600)
HDMI:EDID best score mode is now DMT (10) 800x600 @ 72 MHz with pixel clock 50 Hz (score 69120)
HDMI:EDID best score mode is now DMT (11) 800x600 @ 75 MHz with pixel clock 49 Hz (score 72000)
HDMI:EDID best score mode is now DMT (16) 1024x768 @ 60 MHz with pixel clock 65 Hz (score 94370)
HDMI:EDID best score mode is now DMT (17) 1024x768 @ 70 MHz with pixel clock 75 Hz (score 110100)
HDMI:EDID best score mode is now DMT (18) 1024x768 @ 75 MHz with pixel clock 78 Hz (score 117964)
HDMI:EDID preferred mode is updated to DMT (18) 1024x768p @ 75 Hz with pixel clock 78750000 Hz
HDMI:EDID has only DVI support and no audio support
edid_parser exited with code 0
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 6505
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: Setting up HDMI output
Can you update to latest firmware (with rpi-update). And add this to config.txtTallPaul wrote:I hope it helps someone resolve this ...
edid_format_smart_match=1
Re: Setting up HDMI output
Thanks dom, yes, that's fixed it nicely. It now comes up as 1280x768 @ 60Hz which is just dandy.
Re: Setting up HDMI output
I also have a hard struggle with getting the sound work through HDMI with my Panasonic PX-80 42" HDTV.
It feels I had tried everything out but it will not work.
if I run;
sudo amixer cset numid=3 1 for running through headphones it will work
sudo aplay /usr/share/sounds/alsa/Front_Center.wav
but when running sudo amixer cset numid=3 2 for HDMI it will not.
Do you have any ideas?
It feels I had tried everything out but it will not work.
if I run;
sudo amixer cset numid=3 1 for running through headphones it will work
sudo aplay /usr/share/sounds/alsa/Front_Center.wav
but when running sudo amixer cset numid=3 2 for HDMI it will not.
Do you have any ideas?
Code: Select all
Parsing edid.dat...
HDMI:EDID version 1.3, 1 extensions, unknown aspect ratio
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 Panasonic-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 23-61 Hz, horizontal is 15-68 kHz, max pixel clock is 150 MHz
HDMI:EDID monitor range does not support GTF
HDMI:EDID found preferred CEA detail timing format: 1280x720p @ 50 Hz (19)
HDMI:EDID found CEA detail timing format: 1280x720p @ 60 Hz (4)
HDMI:EDID established timing I/II bytes are 00 00 00
HDMI:EDID standard timings block x 8: 0x0101 0101 0101 0101 0101 0101 0101 0101
HDMI:EDID parsing v3 CEA extension 0
HDMI:EDID monitor support - underscan IT formats:no, basic audio:yes, yuv444:yes, yuv422:yes, #native DTD:2
HDMI:EDID found CEA detail timing format: 1920x1080p @ 50 Hz (31)
HDMI:EDID found CEA detail timing format: 1920x1080i @ 50 Hz (20)
HDMI:EDID found CEA detail timing format: 720x576p @ 50 Hz (17)
HDMI:EDID found CEA detail timing format: 1920x1080i @ 60 Hz (5)
HDMI:EDID found CEA detail timing format: 720x480p @ 60 Hz (2)
HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz (native)
HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz (native)
HDMI:EDID found CEA format: code 31, 1920x1080p @ 50Hz
HDMI:EDID found CEA format: code 16, 1920x1080p @ 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 32, 1920x1080p @ 24Hz
HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz
HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz
HDMI:EDID found CEA format: code 17, 720x576p @ 50Hz
HDMI:EDID found CEA format: code 2, 720x480p @ 60Hz
HDMI:EDID found CEA format: code 22, 1440x576i @ 50Hz
HDMI:EDID found CEA format: code 7, 1440x480i @ 60Hz
HDMI:EDID found CEA format: code 21, 1440x576i @ 50Hz
HDMI:EDID found CEA format: code 6, 1440x480i @ 60Hz
HDMI:EDID found CEA format: code 1, 640x480p @ 60Hz
HDMI:EDID found audio format 2 channels PCM, sample rate: 32|44|48 kHz, sample size: 16 bits
HDMI:EDID found HDMI VSDB length 7
HDMI:EDID HDMI VSDB has physical address 3.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:yes 30-bit:yes DC_yuv444:yes
HDMI:EDID HDMI VSDB max TMDS clock 190 MHz
HDMI:EDID HDMI VSDB has no latency information
HDMI:EDID adding mandatory support for DMT (4) 640x480p @ 60Hz
HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
HDMI:EDID best score mode initialised to CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 18432)
HDMI:EDID best score mode is now CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 61864)
HDMI:EDID best score mode is now CEA (2) 720x480p @ 60 Hz with pixel clock 27 MHz (score 2066472)
HDMI:EDID CEA mode (3) 720x480p @ 60 Hz with pixel clock 27 MHz has a score of 66472
HDMI:EDID best score mode is now CEA (4) 1280x720p @ 60 Hz with pixel clock 74 MHz (score 4690888)
HDMI:EDID DMT mode (4) 640x480p @ 60 Hz with pixel clock 25 MHz has a score of 18432
HDMI:EDID CEA mode (5) 1920x1080i @ 60 Hz with pixel clock 74 MHz has a score of 2773832
HDMI:EDID CEA mode (6) 1440x480i @ 60 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID CEA mode (7) 1440x480i @ 60 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID CEA mode (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz has a score of 273832
HDMI:EDID CEA mode (17) 720x576p @ 50 Hz with pixel clock 27 MHz has a score of 3066472
HDMI:EDID CEA mode (18) 720x576p @ 50 Hz with pixel clock 27 MHz has a score of 66472
HDMI:EDID best score mode is now CEA (19) 1280x720p @ 50 Hz with pixel clock 74 MHz (score 5163240)
HDMI:EDID CEA mode (20) 1920x1080i @ 50 Hz with pixel clock 74 MHz has a score of 3732360
HDMI:EDID CEA mode (21) 1440x576i @ 50 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID CEA mode (22) 1440x576i @ 50 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID CEA mode (31) 1920x1080p @ 50 Hz with pixel clock 148 MHz has a score of 4232360
HDMI:EDID CEA mode (32) 1920x1080p @ 24 Hz with pixel clock 74 MHz has a score of 124532
HDMI:EDID preferred mode remained as CEA (19) 1280x720p @ 50 Hz with pixel clock 74 MHz
HDMI:EDID has HDMI support and audio support
edid_parser exited with code 0
Re: Setting up HDMI output
I had the same problem with getting '0 bytes written'tterrace wrote:Just wanted to chime in here to help anyone thats getting '0 bytes written' with tvservice -d:
if you're sure you're writing to a file you have permissions to, then the next step is to try using a DVI adapter to plug into your monitor so it's DVI -> HDMI on the pi. My monitor wasn't outputting EDID info via the HDMI port but it did with DVI and now everything works great. Someone mentioned this earlier in the thread and it worked like a charm for me.
all I did was
sudo ./tvservice -d mytvinfo and got 260 bytes
Hope this helps
Cheers
David
Re: Setting up HDMI output
I have the "Written 0 bytes" problem (running as root).
I'm using a Dell 1707FPc monitor with DVI-D input, via an HDMI to DVI-D cable. Although the native mode for the monitor is 1280x1024@60Hz, my Pi insists on running at 1280x720@60Hz(p). I'd like to be able to use the native resolution if possible, so I was trying to read the EDID info.
If I specify hdmi_mode=35 (which I believe is 1280x1024@60Hz), the monitor blanks and says "Not supported, please use 1280x1024@60Hz".
Also, when I play MPEG2 (DVB-T) files (Yay!) with omxplayer, they only take up half the width of the screen, so look too tall and thin. Is there anyway of stretching them?
Now I realise I should probably have started a new thread, as I've diverged from the original issue. Sorry
I'm using a Dell 1707FPc monitor with DVI-D input, via an HDMI to DVI-D cable. Although the native mode for the monitor is 1280x1024@60Hz, my Pi insists on running at 1280x720@60Hz(p). I'd like to be able to use the native resolution if possible, so I was trying to read the EDID info.
If I specify hdmi_mode=35 (which I believe is 1280x1024@60Hz), the monitor blanks and says "Not supported, please use 1280x1024@60Hz".
Also, when I play MPEG2 (DVB-T) files (Yay!) with omxplayer, they only take up half the width of the screen, so look too tall and thin. Is there anyway of stretching them?
Now I realise I should probably have started a new thread, as I've diverged from the original issue. Sorry

-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 6505
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: Setting up HDMI output
It sounds like your monitor isn't reporting an EDID. Could be a fault (e.g. bent pin, broken cable, faulty monitor). Can you confirm if Pi + cable can read the EDID from a different display?rpdom wrote:I have the "Written 0 bytes" problem (running as root).
I'm using a Dell 1707FPc monitor with DVI-D input, via an HDMI to DVI-D cable. Although the native mode for the monitor is 1280x1024@60Hz, my Pi insists on running at 1280x720@60Hz(p). I'd like to be able to use the native resolution if possible, so I was trying to read the EDID info.
If I specify hdmi_mode=35 (which I believe is 1280x1024@60Hz), the monitor blanks and says "Not supported, please use 1280x1024@60Hz".
Also, when I play MPEG2 (DVB-T) files (Yay!) with omxplayer, they only take up half the width of the screen, so look too tall and thin. Is there anyway of stretching them?
Now I realise I should probably have started a new thread, as I've diverged from the original issue. Sorry
Do you get any modes reported with
Code: Select all
tvservice -m CEA
tvservice -m DMT
Code: Select all
hdmi_ignore_edid=0xa5000080
hdmi_group=2
hdmi_mode=35
Re: Setting up HDMI output
Ok, on a completely different monitor (max res 1024x768@60Hz), the monitor reports 1024x720@60Hz, but tvservice -s gives:dom wrote:It sounds like your monitor isn't reporting an EDID. Could be a fault (e.g. bent pin, broken cable, faulty monitor). Can you confirm if Pi + cable can read the EDID from a different display?
Code: Select all
state: HPD high|DVI mode|HDCP off|composite off (0x120016), 1280x720 @ 60Hz, progressive
No, 0 modes reported for CEA and DMT on both monitors. Possibly a duff cable, it was a cheap one. I was just pleased it worked at all.dom wrote:Do you get any modes reported withCode: Select all
tvservice -m CEA tvservice -m DMT
This had no effect.dom wrote:Assuming you have no edid, you will be restricted to 720p. Add these to config.txt:Code: Select all
hdmi_ignore_edid=0xa5000080 hdmi_group=2 hdmi_mode=35
Code: Select all
root@raspihf:/opt/vc/bin# ./tvservice -m CEA
Group CEA has 0 modes:
root@raspihf:/opt/vc/bin# ./tvservice -m DMT
Group DMT has 0 modes:
root@raspihf:/opt/vc/bin# ./tvservice -s
state: HPD high|DVI mode|HDCP off|composite off (0x120016), 1280x720 @ 60Hz, progressive
root@raspihf:/opt/vc/bin# cat /boot/config.txt
#arm_freq=930
#gpu_freq=350
#sdram_freq=500
#hdmi_force_hotplug=1
hdmi_ignore_edid=0xa5000080
hdmi_group=2
hdmi_mode=35
disable_overscan=1
decode_MPG2=my_key_here
Even if the cable isn't working properly, the "hdmi_ignore_edid" should overide that I think?
Re: Setting up HDMI output
I'm having problems connecting my Amoi LCD TV.
My Pi reads the EDID (posted...) wich puts out preferred mode (4) 1280x720p @ 60
I have tried a multitude of different combinations in config.txt inc."hdmi_safe" whitout any luck.
There is no Image, no sign that there's any communication between the tv and the Pi except that I can read the EDID.
The tv shows "No signal input" no matter what.
Any help would be greatly appreciated.
currently my /boot/config.txt
My Pi reads the EDID (posted...) wich puts out preferred mode (4) 1280x720p @ 60
I have tried a multitude of different combinations in config.txt inc."hdmi_safe" whitout any luck.
There is no Image, no sign that there's any communication between the tv and the Pi except that I can read the EDID.
The tv shows "No signal input" no matter what.
Any help would be greatly appreciated.
Code: Select all
pi@raspberrypi ~ $ /opt/vc/bin/tvservice -s
state: HPD high|HDMI mode|HDCP off|composite off (0x12001a), 1280x720 @ 60Hz, progressive
Code: Select all
pi@raspberrypi ~ $ /opt/vc/bin/tvservice -m CEA
Group CEA has 1 modes:
(native) mode 4: 1280x720 @ 60Hz, progressive
Code: Select all
#hdmi_safe=1
#hdmi_ignore_edid=0xa5000080
edid_format_smart_match=1
disable_overscan=1
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
#framebuffer_width=1280
#framebuffer_height=720
hdmi_force_hotplug=1
hdmi_group=1
hdmi_mode=4
hdmi_drive=2
config_hdmi_boost=4
#sdtv_mode=2
#arm_freq=800
Code: Select all
/opt/vc/bin/edidparser edid.dat
Parsing edid.dat...
HDMI:EDID version 1.3, 1 extensions, screen size 80x45 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 AMOI-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 49-61 Hz, horizontal is 15-46 kHz, max pixel clock is 80 MHz
HDMI:EDID monitor range does not support GTF
HDMI:EDID found preferred CEA detail timing format: 1280x720p @ 60 Hz (4)
HDMI:EDID found CEA detail timing format: 1920x1080i @ 60 Hz (5)
HDMI:EDID established timing I/II bytes are 2D CF 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 found DMT format: code 36, 1280x1024p @ 75 Hz in established timing I/II
HDMI:EDID standard timings block x 8: 0x7140 8140 8180 A940 0101 0101 0101 0101
HDMI:EDID unknown standard timing 1152x864 @ 60 Hz aspect ratio (4:3)
HDMI:EDID found DMT format: code 32, 1280x960p @ 60 Hz (4:3) in standard timing 1
HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 2
HDMI:EDID found DMT format: code 51, 1600x1200p @ 60 Hz (4:3) 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:7
HDMI:EDID found unknown detail timing format: 1280x512p hfp:110 hs:40 hbp:220 vfp:5 vs:5 vbp:20 pixel clock:74 MHz
HDMI:EDID found CEA detail timing format: 1920x1080i @ 50 Hz (20)
HDMI:EDID found CEA detail timing format: 720x576p @ 50 Hz (17)
HDMI:EDID found CEA detail timing format: 1280x720p @ 50 Hz (19)
HDMI:EDID found CEA detail timing format: 640x480p @ 60 Hz (1)
HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz (native)
HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz (native)
HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz
HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz
HDMI:EDID found CEA format: code 20, 1920x1080i @ 50Hz
HDMI:EDID found CEA format: code 31, 1920x1080p @ 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 1, 640x480p @ 60Hz
HDMI:EDID found CEA format: code 7, 1440x480i @ 60Hz
HDMI:EDID found CEA format: code 6, 1440x480i @ 60Hz
HDMI:EDID found CEA format: code 22, 1440x576i @ 50Hz
HDMI:EDID found CEA format: code 21, 1440x576i @ 50Hz
HDMI:EDID found audio format 2 channels PCM, sample rate: 32|44|48|88|96|176|192 kHz, sample size: 16|20|24 bits
HDMI:EDID found HDMI VSDB length 5
HDMI:EDID HDMI VSDB has physical address 1.0.0.0
HDMI:EDID HDMI VSDB has no extension fields
HDMI:EDID adding mandatory support for CEA (2) 720x480p @ 60Hz
HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
HDMI:EDID best score mode initialised to CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 18432)
HDMI:EDID best score mode is now CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 2561864)
HDMI:EDID CEA mode (2) 720x480p @ 60 Hz with pixel clock 27 MHz has a score of 66472
HDMI:EDID CEA mode (3) 720x480p @ 60 Hz with pixel clock 27 MHz has a score of 66472
HDMI:EDID best score mode is now CEA (4) 1280x720p @ 60 Hz with pixel clock 74 MHz (score 5190888)
HDMI:EDID DMT mode (4) 640x480p @ 60 Hz with pixel clock 25 MHz has a score of 18432
HDMI:EDID CEA mode (5) 1920x1080i @ 60 Hz with pixel clock 74 MHz has a score of 4898248
HDMI:EDID DMT mode (5) 640x480p @ 72 Hz with pixel clock 31 MHz has a score of 22118
HDMI:EDID CEA mode (6) 1440x480i @ 60 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID DMT mode (6) 640x480p @ 75 Hz with pixel clock 31 MHz has a score of 23040
HDMI:EDID CEA mode (7) 1440x480i @ 60 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID DMT mode (9) 800x600p @ 60 Hz with pixel clock 40 MHz has a score of 28800
HDMI:EDID DMT mode (10) 800x600p @ 72 Hz with pixel clock 50 MHz has a score of 34560
HDMI:EDID DMT mode (11) 800x600p @ 75 Hz with pixel clock 49 MHz has a score of 36000
HDMI:EDID CEA mode (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz has a score of 398248
HDMI:EDID DMT mode (16) 1024x768p @ 60 Hz with pixel clock 65 MHz has a score of 47185
HDMI:EDID CEA mode (17) 720x576p @ 50 Hz with pixel clock 27 MHz has a score of 3566472
HDMI:EDID DMT mode (17) 1024x768p @ 70 Hz with pixel clock 75 MHz has a score of 55050
HDMI:EDID CEA mode (18) 720x576p @ 50 Hz with pixel clock 27 MHz has a score of 66472
HDMI:EDID DMT mode (18) 1024x768p @ 75 Hz with pixel clock 78 MHz has a score of 58982
HDMI:EDID CEA mode (19) 1280x720p @ 50 Hz with pixel clock 74 MHz has a score of 3117160
HDMI:EDID CEA mode (20) 1920x1080i @ 50 Hz with pixel clock 74 MHz has a score of 4232360
HDMI:EDID CEA mode (21) 1440x576i @ 50 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID CEA mode (22) 1440x576i @ 50 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID CEA mode (31) 1920x1080p @ 50 Hz with pixel clock 148 MHz has a score of 232360
HDMI:EDID DMT mode (32) 1280x960p @ 60 Hz with pixel clock 108 MHz has a score of 98728
HDMI:EDID DMT mode (35) 1280x1024p @ 60 Hz with pixel clock 108 MHz has a score of 103643
HDMI:EDID DMT mode (36) 1280x1024p @ 75 Hz with pixel clock 135 MHz has a score of 98304
HDMI:EDID DMT mode (51) 1600x1200p @ 60 Hz with pixel clock 162 MHz has a score of 140200
HDMI:EDID preferred mode remained as CEA (4) 1280x720p @ 60 Hz with pixel clock 74 MHz
HDMI:EDID has HDMI support and audio support
edid_parser exited with code 0
Re: Setting up HDMI output
Lilliput 619 Touchscreen HDMI monitor's strange behaviour:
Case 1: the monitor is already plugged in when Rpi is powered on - the optimum resolution (got with trial and error) is 720x480 (set in config.txt), but HDMI sound does not work:
Case 2: the monitor is plugged in when the system is already booted - resolution is 1280x720 (config.txt is partially ignored), but HDMI sound works fine:
but:
Trying to set the mode explicitly by:
leads to the same sound problem with the good resolution (720x480).
config.txt:
EDID:
Any ideas please?
Case 1: the monitor is already plugged in when Rpi is powered on - the optimum resolution (got with trial and error) is 720x480 (set in config.txt), but HDMI sound does not work:
Code: Select all
$ /opt/vc/bin/tvservice -s
state: HPD high|DVI mode|HDCP off|composite off (0x120016), 720x480 @ 60Hz, progressive
Code: Select all
$ /opt/vc/bin/tvservice -s
state: HPD high|HDMI mode|HDCP off|composite off (0x12001a), 1280x720 @ 60Hz, progressive
Code: Select all
$ /opt/vc/bin/tvservice -m DMT
Group DMT has 0 modes:
$ /opt/vc/bin/tvservice -m CEA
Group CEA has 1 modes:
mode 3: 720x480 @ 60Hz, progressive
Code: Select all
$ /opt/vc/bin/tvservice -e "CEA 3"
Powering on HDMI with explicit settings (CEA mode 3)
config.txt:
Code: Select all
hdmi_group=1
hdmi_mode=3
hdmi_drive=2
hdmi_ignore_edid=0xa5000080
hdmi_force_edid_audio=1
hdmi_force_hotplug=1
Code: Select all
HDMI:EDID version 1.3, 0 extensions, screen size 36x29 cm
HDMI:EDID features - videodef 0x81 standby suspend active off; colour encoding:RGB444|YCbCr444|YCbCr422; sRGB is default colourspace; preferred format is native; support GTF
HDMI:EDID found monitor S/N descriptor tag 0xff
HDMI:EDID found monitor name descriptor tag 0xfc
HDMI:EDID monitor name is AS4637_______
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-85 Hz, horizontal is 24-80 kHz, max pixel clock is 140 MHz
HDMI:EDID monitor range default GTF supported
HDMI:EDID found preferred DMT detail timing format: 1280x1024p @ 60 Hz (35)
HDMI:EDID established timing I/II bytes are BF EF 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 8, 800x600p @ 56 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 found DMT format: code 36, 1280x1024p @ 75 Hz in established timing I/II
HDMI:EDID standard timings block x 8: 0x8180 818F 6140 6159 4540 4559 3140 3159
HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 0
HDMI:EDID found DMT format: code 36, 1280x1024p @ 75 Hz (5:4) 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 19, 1024x768p @ 85 Hz (4:3) in standard timing 3
HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz (4:3) in standard timing 4
HDMI:EDID found DMT format: code 12, 800x600p @ 85 Hz (4:3) in standard timing 5
HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz (4:3) in standard timing 6
HDMI:EDID found DMT format: code 7, 640x480p @ 85 Hz (4:3) in standard timing 7
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 18432)
HDMI:EDID best score mode is now DMT (4) 640x480 @ 60 MHz with pixel clock 25 Hz (score 61864)
HDMI:EDID DMT mode (5) 640x480p @ 72 Hz with pixel clock 31 MHz has a score of 44236
HDMI:EDID DMT mode (6) 640x480p @ 75 Hz with pixel clock 31 MHz has a score of 46080
HDMI:EDID best score mode is now DMT (7) 640x480 @ 85 MHz with pixel clock 36 Hz (score 77224)
HDMI:EDID DMT mode (8) 800x600p @ 56 Hz with pixel clock 36 MHz has a score of 53760
HDMI:EDID best score mode is now DMT (9) 800x600 @ 60 MHz with pixel clock 40 Hz (score 82600)
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 best score mode is now DMT (12) 800x600 @ 85 MHz with pixel clock 56 Hz (score 106600)
HDMI:EDID best score mode is now DMT (16) 1024x768 @ 60 MHz with pixel clock 65 Hz (score 119370)
HDMI:EDID DMT mode (17) 1024x768p @ 70 Hz with pixel clock 75 MHz has a score of 110100
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 DMT (19) 1024x768 @ 85 MHz with pixel clock 94 Hz (score 158692)
HDMI:EDID best score mode is now DMT (35) 1280x1024 @ 60 MHz with pixel clock 108 Hz (score 5182286)
HDMI:EDID DMT mode (36) 1280x1024p @ 75 Hz with pixel clock 135 MHz has a score of 221608
HDMI:EDID preferred mode remained as DMT (35) 1280x1024p @ 60 Hz with pixel clock 108 MHz
HDMI:EDID has only DVI support and no audio support
Re: Setting up HDMI output
Thanks! Got my RasPi looking good on my 42" HDMI TV. With sound, even! Took a few tries to figure out what worked the best, but it isn't off the screen, nor is it blown up x100.
Re: Setting up HDMI output
Having a lot of trouble with monitor settings. I have a “Atec System” 1280x1024 monitor that I’m connecting with a HDMI to DVI converter cable. The monitor was initially recognised properly on first boot, but is no longer the case.
/opt/vc/bin/tvservice –m CEA reports “ Group CEA has 0 modes”
/opt/vc/bin/tvservice –m DMT reports “ Group DMT has 0 modes”
Some configuration efforts:
A: In /boot/config.txt, with:
disable_overscan=1
I get 1280x720/ 60Hz display. The display uses the full real-estate of the display, but display is stretched. This is the best operating mode, but non-ideal.
B:With no settings made, I get the same 1280x720/ 60Hz display, but this occupies say 70% of the screen.
C: With :
hdmi_group=2
hdmi_mode=35
I still get the same 1280x720/60Hz display as for B
/opt/vc/bin/tvservice –s reports
“state: HPD high|DVI mode|HDCP off|composite off (0x120016), 1280x720 @ 60Hz, progressive”
D: With:
hdmi_group=2
hdmi_mode=4
I get the same as B
E: With :
hdmi_group=2
hdmi_mode=35
hdmi_force_hotplug=1
disable_overscan=1
framebuffer_width=1280
framebuffer_height=1024
I get a 1280x720/60Hz display with large black stripes down the left/right sides.
F: With :
hdmi_group=2
hdmi_mode=35
hdmi_force_hotplug=1
disable_overscan=1
framebuffer_width=1280
framebuffer_height=1024
sdtv_aspect=1
I get the same as E
G: With :
hdmi_group=2
hdmi_mode=35
hdmi_force_hotplug=1
disable_overscan=1
framebuffer_width=1280
framebuffer_height=1024
sdtv_aspect=1
hdmi_ignore_edid=0xa500080
I get a (very inconvenient) 1280x682) display, whereby I cant see the bottom of the screen.
H: Ran rpi-update etc
hdmi_group=2
hdmi_mode=35
hdmi_force_hotplug=1
disable_overscan=1
sdtv_aspect=1
Still 1280x720.
Any more ideas? I’m out. BTW, this monitor works fine with an analog output 1280x1024 from my laptop. And it did work fine on first boot. I even took a photo!
Cheers
Fred
/opt/vc/bin/tvservice –m CEA reports “ Group CEA has 0 modes”
/opt/vc/bin/tvservice –m DMT reports “ Group DMT has 0 modes”
Some configuration efforts:
A: In /boot/config.txt, with:
disable_overscan=1
I get 1280x720/ 60Hz display. The display uses the full real-estate of the display, but display is stretched. This is the best operating mode, but non-ideal.
B:With no settings made, I get the same 1280x720/ 60Hz display, but this occupies say 70% of the screen.
C: With :
hdmi_group=2
hdmi_mode=35
I still get the same 1280x720/60Hz display as for B
/opt/vc/bin/tvservice –s reports
“state: HPD high|DVI mode|HDCP off|composite off (0x120016), 1280x720 @ 60Hz, progressive”
D: With:
hdmi_group=2
hdmi_mode=4
I get the same as B
E: With :
hdmi_group=2
hdmi_mode=35
hdmi_force_hotplug=1
disable_overscan=1
framebuffer_width=1280
framebuffer_height=1024
I get a 1280x720/60Hz display with large black stripes down the left/right sides.
F: With :
hdmi_group=2
hdmi_mode=35
hdmi_force_hotplug=1
disable_overscan=1
framebuffer_width=1280
framebuffer_height=1024
sdtv_aspect=1
I get the same as E
G: With :
hdmi_group=2
hdmi_mode=35
hdmi_force_hotplug=1
disable_overscan=1
framebuffer_width=1280
framebuffer_height=1024
sdtv_aspect=1
hdmi_ignore_edid=0xa500080
I get a (very inconvenient) 1280x682) display, whereby I cant see the bottom of the screen.
H: Ran rpi-update etc
hdmi_group=2
hdmi_mode=35
hdmi_force_hotplug=1
disable_overscan=1
sdtv_aspect=1
Still 1280x720.
Any more ideas? I’m out. BTW, this monitor works fine with an analog output 1280x1024 from my laptop. And it did work fine on first boot. I even took a photo!
Cheers
Fred
Re: Setting up HDMI output
@fred You're getting pretty much the same results as I get on my Dell monitor, (as I mentioned a little earlier in this thread). I also get nothing when trying to read the edid info.
The monitor works at 1280x1024@60 on a Debian PC, via VGA or DVI-D interface and that PC can read the edid data too (attached)
The monitor works at 1280x1024@60 on a Debian PC, via VGA or DVI-D interface and that PC can read the edid data too (attached)
- Attachments
-
- ediddata.zip
- (309 Bytes) Downloaded 415 times
Re: Setting up HDMI output
excuse me but...
do I have to set up HDMI if it just works for me?
do I have to set up HDMI if it just works for me?
Cogito ergo sum
Re: Setting up HDMI output
Nope, this is only for those who are experiencing issues with HDMI. If yours is working as is, then just enjoy itOnira wrote:excuse me but...
do I have to set up HDMI if it just works for me?

Dear forum: Play nice 

Re: Setting up HDMI output
Hello, this is my first post and I hope I'm posting in the correct place as I'm having some problems getting HDMI running on my pi. I'm trying to connect to my samsung Syncmaster 940BW which has a native resolution of 1440 x 900 via HDMI cable to DVI adapter.
I have used the same cables and adapters to connect my laptop to the monitor, and all works fine.
I have connected the pi to a television via composite and it seems to work fine.
I have connected the pi to a different television via HDMI and when switching to the HDMI input on the tv, the display says there is no signal present. This is the same problem on the samsung monitor. The monitor says no signal is present.
I have tried a few tweaks to the config.txt file, which I'm editing in leafpad. Here is how the config.txt file looks at present.
None of the various combinations of tweaks I've used have changed the lack of signal that the monitor says is present. Is it possible there is an issue with the hardware? Maybe the HDMI jack is faulty? I see no visible damage there. Any input on the issue would be much appreciated. Thanks.
I have used the same cables and adapters to connect my laptop to the monitor, and all works fine.
I have connected the pi to a television via composite and it seems to work fine.
I have connected the pi to a different television via HDMI and when switching to the HDMI input on the tv, the display says there is no signal present. This is the same problem on the samsung monitor. The monitor says no signal is present.
I have tried a few tweaks to the config.txt file, which I'm editing in leafpad. Here is how the config.txt file looks at present.
Code: Select all
hdmi_safe=1
hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=47
hdmi_drive=2
config_hdmi_boost=4
None of the various combinations of tweaks I've used have changed the lack of signal that the monitor says is present. Is it possible there is an issue with the hardware? Maybe the HDMI jack is faulty? I see no visible damage there. Any input on the issue would be much appreciated. Thanks.