nighthawk398
Posts: 2
Joined: Wed Jan 13, 2016 9:12 pm

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

Wed Jan 13, 2016 9:16 pm

Trying to setup Raspberry PI Zero with a DVDO Air wireless HDMI receiver-transmitter

Anyone have any ideas of what setting at all to use in config.txt

its works fine when I hook the Pi up directly to the projector I am using

the DVDO Air also works fine on my cable box and Blu-ray player

But for some reason its not picking up the HDMI signal from my Pi Zero

alemnte
Posts: 3
Joined: Mon Nov 23, 2015 7:11 am

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

Thu Jan 14, 2016 5:58 am

I don't have HDMI output from the pi. It's not that the screen is just black, there is simply no output. I can still SSH into it, cadrephotos so it's not frozen either.
Last edited by alemnte on Sun Jan 17, 2016 1:18 pm, edited 1 time in total.

nighthawk398
Posts: 2
Joined: Wed Jan 13, 2016 9:12 pm

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

Fri Jan 15, 2016 5:24 pm

nighthawk398 wrote:Trying to setup Raspberry PI Zero with a DVDO Air wireless HDMI receiver-transmitter

Anyone have any ideas of what setting at all to use in config.txt

its works fine when I hook the Pi up directly to the projector I am using

the DVDO Air also works fine on my cable box and Blu-ray player

But for some reason its not picking up the HDMI signal from my Pi Zero

I was able fix my problem with this I found earlier in the thread:

hdmi_force_hotplug=1
hdmi_drive=1
hdmi_mode=16
disable_overscan=1

pingpong2012
Posts: 28
Joined: Mon Mar 30, 2015 1:09 am

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

Sat Feb 13, 2016 12:27 am

I'm having an issue with resolution not being remembered. The Pi start everything up at 640x480, and if I reboot it, it goes to the monitor's native resolution of 1024x768.

I'm using an HDMI-to-VGA adapter, and I had to force hotplug and sound, so it's possible the issue is that, but I don't get why the Pi would always reset to the wrong resolution. I can force to the right one, but that has the issue of messing up the resolution if I go to a different screen.

Is there a way to remember the screen identity and get it to keep that resolution? It still bothers me there isn't a tool to change the resolution after the Pi has started.

User avatar
AndyD
Posts: 2320
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

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

Sat Feb 13, 2016 4:44 am

@pingpong2012, I wonder if you could use the [EDID=*] filter in config.txt. See if your HDMI-to-VGA adapter reports an EDID name by running

Code: Select all

tvservice -n

smarz2
Posts: 5
Joined: Sun Feb 14, 2016 5:54 am

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

Sun Feb 21, 2016 1:50 am

FAQ Logout [ smarz2 ] smarz2
Unread PostsNew Posts
pi button audio not working

Post a reply Watch
2 posts

Report this post
Reply with quote
Permalink

by cmlop02 » Sat Oct 03, 2015 7:42 am
i've been trying to do this project https://learn.adafruit.com/playing-soun ... i/overview my wireing is right but when i push the button i get
[mpg123.c:629] error: Cannot open
binary-language-moisture-evaporators.mp3: File access error. (code 22)

I put a working mp3 in the home folder with the .py named binary-language-moisture-evaporators.mp3 and gpio pin 23. help!

Posts: 1
Joined: Sat Oct 03, 2015 7:30 am

Edit post
Delete post
Report this post
Reply with quote
Permalink

by smarz2 » Sat Feb 20, 2016 5:48 pm
I have a python script which plays an mp3 file using mpg123. When I run the python script from a command line, the mp3 file plays. When I place the python script in /etc/rc.local to run the python script on R-Pi bootup, most of the script runs perfectly except the mp3 file does not play, and I receive the error

[mpg123.c:xxx] error: cannot open memo.mp3: File access error(code 22)

I have a Raspberry Pi 2 connected to a Samsung Syncmaster 205BW using an HDMI to DVI cable.

I changed the /boot/config.txt to add hdmi_drive=2, and the audio works (finally) when I run the rc.local in a test mode, but then the R-Pi won't bootup.It flashes an error: Optimum Resolution 1680x1050 60 Hz. I changed the parameters below to set the config.txt for my monitor:

hdmi_group=2
hdmi_mode=58 1680x1050 60 Hz

It is only on boot that the audio doesn't work. When I change hdmi_drive=2, then I get the monitor resolution error that keeps flashing, and it won't boot up. Can anyone please help?

smarz2
Posts: 5
Joined: Sun Feb 14, 2016 5:54 am

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

Sun Feb 21, 2016 8:16 am

I figured out my problem, My python script had the line below:

os.system('mpg123 -q Memo.mp3 &')

This code worked great from a command line while I was logged in as"pi", but when the script is run on boot from /etc/rc.local, the file takes on root's environment variables, and the Memo.mp3 file which is located in a folder under pi's home folders is not found. When I run from a command promptas pi user, the foldersunder pi's home directory are in the pi user's PATH. Therefore, the script runs fine since the file is found.

I want to thank the soapBAR2's post which led me to my solution: http://ubuntuforums.org/showthread.php?t=1313921

When I changed my code to add the full path to my mp3 file, as shown below, the mp3file plays on R-Pi boot up. I changed the code as shown below:
os.system('mpg123 -q /home/pi/Desktop/Current_software/good/Memo.mp3 &')

I hope this helps someone else with this problem. I incorrectly thought my problem was a monitor setting which was a red herring.

pingpong2012
Posts: 28
Joined: Mon Mar 30, 2015 1:09 am

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

Sun Feb 21, 2016 9:27 pm

AndyD wrote:@pingpong2012, I wonder if you could use the [EDID=*] filter in config.txt. See if your HDMI-to-VGA adapter reports an EDID name by running

Code: Select all

tvservice -n
From a no-power boot, the reply is
[E] No device present

If I reboot, it shows
device_name=HWP-HP_vs15

All I can think is maybe the chip doesn't respond fast enough, cause the pi boots in like five seconds? Is there a way I could delay the entire boot of the pi (pre-video-output) to test?

User avatar
rpdom
Posts: 12283
Joined: Sun May 06, 2012 5:17 am
Location: Essex, UK

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

Mon Feb 22, 2016 7:13 am

pingpong2012 wrote:All I can think is maybe the chip doesn't respond fast enough, cause the pi boots in like five seconds? Is there a way I could delay the entire boot of the pi (pre-video-output) to test?
Yes. Put

Code: Select all

bootcode_delay=xxx
in your config.txt file (where xxx is a number of seconds).

According to https://www.raspberrypi.org/documentati ... fig-txt.md, this does:
Wait for a given number of seconds in bootcode.bin before loading start.elf; the default value is 0.

This is useful in particular to insert a delay before reading the EDID of the monitor, which can be useful if the Pi and monitor are powered from the same source but the monitor takes longer to start up than the Pi. Try setting this value if the display detection is "wrong" on initial boot but correct if you soft-reboot the Pi without removing power from the monitor.
which seems to describe your case.

hungsterx
Posts: 2
Joined: Mon Feb 29, 2016 10:30 pm

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

Mon Feb 29, 2016 10:56 pm

Hi how do i run the tvservice command on Windows 10 IoT?

User avatar
DougieLawson
Posts: 32071
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

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

Tue Mar 01, 2016 12:56 am

hungsterx wrote:Hi how do i run the tvservice command on Windows 10 IoT?
You can't.

Boot Raspbian and run it there.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3B*3, 3B+

Please post ALL technical questions on the forum. Do not send private messages.

pingpong2012
Posts: 28
Joined: Mon Mar 30, 2015 1:09 am

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

Tue Mar 01, 2016 3:12 am

rpdom wrote:
pingpong2012 wrote:All I can think is maybe the chip doesn't respond fast enough, cause the pi boots in like five seconds? Is there a way I could delay the entire boot of the pi (pre-video-output) to test?
Yes. Put

Code: Select all

bootcode_delay=xxx
in your config.txt file (where xxx is a number of seconds).

According to https://www.raspberrypi.org/documentati ... fig-txt.md, this does:
Wait for a given number of seconds in bootcode.bin before loading start.elf; the default value is 0.

This is useful in particular to insert a delay before reading the EDID of the monitor, which can be useful if the Pi and monitor are powered from the same source but the monitor takes longer to start up than the Pi. Try setting this value if the display detection is "wrong" on initial boot but correct if you soft-reboot the Pi without removing power from the monitor.
which seems to describe your case.
Thank you. This solved the problem perfectly. One second is too short, but two is enough that it gets the right resolution.

buntysatya
Posts: 1
Joined: Wed Mar 02, 2016 2:37 pm

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

Wed Mar 02, 2016 3:07 pm

Followed a lot of guides and tinkered a lot with the config.txt but still unable to change the resolution for the last two days. Runs absolutely fine when connected to a full HDTV but when connecting to an old vga monitor via a hdmi to vga convertor getting 640x480 resolution. http://imgur.com/3TsQ4zZ
Found quite some guides on the Internet but no matter what I did I still can´t get it changed to 1024x768 or whatever should be the resolution.
appreciate any assistance here´s the config .txt http://pastebin.com/uSSbW08a and edid http://pastebin.com/vP1NVShe

Monitor is an old Samsung Samtron 45bn.

pingpong2012
Posts: 28
Joined: Mon Mar 30, 2015 1:09 am

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

Thu Mar 03, 2016 4:23 am

buntysatya wrote:Followed a lot of guides and tinkered a lot with the config.txt but still unable to change the resolution for the last two days. Runs absolutely fine when connected to a full HDTV but when connecting to an old vga monitor via a hdmi to vga convertor getting 640x480 resolution. http://imgur.com/3TsQ4zZ
Found quite some guides on the Internet but no matter what I did I still can´t get it changed to 1024x768 or whatever should be the resolution.
appreciate any assistance here´s the config .txt http://pastebin.com/uSSbW08a and edid http://pastebin.com/vP1NVShe

Monitor is an old Samsung Samtron 45bn.
My HDMI->VGA wasn't even detected without hotplug enabled, so that might help something. I also was the last poster; my monitor is detected properly if I add a few seconds of delay to the Pi boot. You can also manually set the resolution with the MODE and GROUP settings, it might support 1600x1200 at 60fps, but probably 1024x768 at 75hz would be best.

A suggestion, more like a demand: next time post your config without 99% of it being comments. Like, you can have a back-up of your config with all the descriptions, but it's inconsiderate to expect someone to go through so much noise.

chetan sarma
Posts: 1
Joined: Tue Mar 08, 2016 5:58 am

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

Tue Mar 08, 2016 6:49 am

can i use putty and xming for display when i am working with windows 10 iot?

JimmyS
Posts: 1
Joined: Fri Mar 11, 2016 6:17 am

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

Fri Mar 11, 2016 7:00 am

Hello,
Should I change something, when my preffered and native resolution arent the same? LG TV, HD Ready 1366x768. Shouldnt be preffered Native mode?

Code: Select all

Group CEA has 15 modes:
           mode 1: 640x480 @ 60Hz 4:3, clock:25MHz progressive
           mode 2: 720x480 @ 60Hz 4:3, clock:27MHz progressive
           mode 3: 720x480 @ 60Hz 16:9, clock:27MHz progressive
           mode 4: 1280x720 @ 60Hz 16:9, clock:74MHz progressive
           mode 5: 1920x1080 @ 60Hz 16:9, clock:74MHz interlaced
           mode 16: 1920x1080 @ 60Hz 16:9, clock:148MHz progressive
           mode 17: 720x576 @ 50Hz 4:3, clock:27MHz progressive
           mode 18: 720x576 @ 50Hz 16:9, clock:27MHz progressive
  (native) mode 19: 1280x720 @ 50Hz 16:9, clock:74MHz progressive
           mode 20: 1920x1080 @ 50Hz 16:9, clock:74MHz interlaced
           mode 21: 720x576 @ 50Hz 4:3, clock:27MHz x2 interlaced
           mode 31: 1920x1080 @ 50Hz 16:9, clock:148MHz progressive
           mode 32: 1920x1080 @ 24Hz 16:9, clock:74MHz progressive
           mode 33: 1920x1080 @ 25Hz 16:9, clock:74MHz progressive
           mode 34: 1920x1080 @ 30Hz 16:9, clock:74MHz progressive
~ # tvservice -m DMT
Group DMT has 4 modes:
           mode 4: 640x480 @ 60Hz 4:3, clock:25MHz progressive
           mode 9: 800x600 @ 60Hz 4:3, clock:40MHz progressive
           mode 16: 1024x768 @ 60Hz 4:3, clock:65MHz progressive
  (prefer) mode 39: 1360x768 @ 60Hz 16:9, clock:85MHz progressive

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 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 58-62 Hz, horizontal is 30-83 kHz, max pixel clock is 160 MHz
HDMI:EDID monitor range does not support GTF
HDMI:EDID found monitor name descriptor tag 0xfc
HDMI:EDID monitor name is LG_TV
HDMI:EDID found preferred DMT detail timing format: 1360x768p @ 60 Hz (39)
HDMI:EDID found DMT detail timing format: 1024x768p @ 60 Hz (16)
HDMI:EDID established timing I/II bytes are A1 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 7140 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 unknown standard timing 1152x864 @ 60 Hz aspect ratio (4:3)
HDMI:EDID parsing v3 CEA extension 0
HDMI:EDID monitor support - underscan IT formats:yes, basic audio:yes, yuv444:yes, yuv422:yes, #native DTD:1
HDMI:EDID found CEA detail timing format: 1920x1080i @ 60 Hz (5)
HDMI:EDID found CEA detail timing format: 1280x720p @ 60 Hz (4)
HDMI:EDID found CEA detail timing format: 720x480p @ 60 Hz (2)
HDMI:EDID found CEA detail timing format: 1920x1080p @ 60 Hz (16)
HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz
HDMI:EDID found CEA format: code 31, 1920x1080p @ 50Hz
HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz
HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz (native)
HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz
HDMI:EDID found CEA format: code 20, 1920x1080i @ 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 18, 720x576p @ 50Hz
HDMI:EDID found CEA format: code 32, 1920x1080p @ 24Hz
HDMI:EDID found CEA format: code 33, 1920x1080p @ 25Hz
HDMI:EDID found CEA format: code 34, 1920x1080p @ 30Hz
HDMI:EDID found CEA format: code 21, 1440x576i @ 50Hz
HDMI:EDID found CEA format: code 1, 640x480p @ 60Hz
HDMI:EDID found audio format 6 channels AC3, sample rate: 32|44|48 kHz, bitrate: 640 kbps
HDMI:EDID found audio format 2 channels PCM, sample rate: 32|44|48|96|192 kHz, sample size: 16|20|24 bits
HDMI:EDID found HDMI VSDB length 7
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 max TMDS clock 150 MHz
HDMI:EDID HDMI VSDB has no latency information
HDMI:EDID adding mandatory support for CEA (17) 720x576p @ 50Hz
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 3045736)
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 61864
HDMI:EDID best score mode is now CEA (5) 1920x1080i @ 60 Hz with pixel clock 74 MHz (score 4149416)
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 2649416
HDMI:EDID best score mode is now DMT (16) 1024x768p @ 60 Hz with pixel clock 65 MHz (score 4619370)
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 94120
HDMI:EDID CEA mode (20) 1920x1080i @ 50 Hz with pixel clock 74 MHz has a score of 76840
HDMI:EDID CEA mode (21) 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 128680
HDMI:EDID CEA mode (32) 1920x1080p @ 24 Hz with pixel clock 74 MHz has a score of 74766
HDMI:EDID CEA mode (33) 1920x1080p @ 25 Hz with pixel clock 74 MHz has a score of 76840
HDMI:EDID CEA mode (34) 1920x1080p @ 30 Hz with pixel clock 74 MHz has a score of 87208
HDMI:EDID best score mode is now DMT (39) 1360x768p @ 60 Hz with pixel clock 85 MHz (score 5188004)
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
Thank You in advance

clutchdude
Posts: 2
Joined: Mon Apr 04, 2016 7:23 pm
Location: Austin, TX

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

Mon Apr 04, 2016 8:06 pm

Hi

I have a raspberry pi 2 & 3 that is having issues outputting 1080p to a connected tv monitor.

I have tried several different HDMI cables with no luck and confirmed that the display works fine with 1080p on an attached monitor. I also tried different HDMI ports on the TV

This is with an LG 55LN5700 / Model # 55LN5700-UH running the latest firmware.

Here's the following EDID info -

Code: Select all

pi@raspberrypi:~ $ parse-edid< edid.dat
Checksum Correct

Section "Monitor"
	Identifier "LG TV"
	ModelName "LG TV"
	VendorName "GSM"
	# Monitor Manufactured week 1 of 2013
	# EDID version 1.3
	# Digital Display
	DisplaySize 1600 900
	Gamma 2.20
	Option "DPMS" "false"
	Horizsync 30-83
	VertRefresh 58-62
	# Maximum pixel clock is 160MHz
	#Not giving standard mode: 640x480, 60Hz
	#Not giving standard mode: 800x600, 60Hz
	#Not giving standard mode: 1024x768, 60Hz
	#Not giving standard mode: 1152x864, 60Hz
	#Not giving standard mode: 1280x1024, 60Hz

	#Extension block found. Parsing...
	Modeline 	"Mode 10" +hsync +vsync
	Modeline 	"Mode 0" +hsync +vsync
	Modeline 	"Mode 1" +hsync +vsync
	Modeline 	"Mode 2" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
	Modeline 	"Mode 3" 74.250 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
	Modeline 	"Mode 4" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
	Modeline 	"Mode 5" 74.250 1920 2008 2052 2200 1080 1082 1087 1125 +hsync +vsync interlace
	Modeline 	"Mode 6" 74.250 1280 1390 1420 1650 720 725 730 750 +hsync +vsync
	Modeline 	"Mode 7" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
	Modeline 	"Mode 8" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
	Modeline 	"Mode 9" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
	Modeline 	"Mode 11" +hsync +vsync interlace
	Modeline 	"Mode 12" +hsync +vsync
	Modeline 	"Mode 13" -hsync -vsync
	Option "PreferredMode" "Mode 10"
EndSection
Here's the config.txt

Code: Select all

# Enable audio (loads snd_bcm2835)
dtparam=audio=on
dtoverlay=vc4-kms-v3d
gpu_mem=64
hdmi_force_hotplug=1
disable_overscan=1
With this setting, I get an 1152x480 resolution but this ONLY works when the raspberry pi and tv are turned on at the same time(using a power strip).

Code: Select all

pi@raspberrypi:~ $ tvservice -m CEA
Group CEA has 2 modes:
           mode 4: 1280x720 @ 60Hz 16:9, clock:74MHz progressive
           mode 16: 1920x1080 @ 60Hz 16:9, clock:148MHz progressive
pi@raspberrypi:~ $ tvservice -m DMT
Group DMT has 1 modes:
  (prefer) mode 4: 640x480 @ 60Hz 4:3, clock:25MHz progressive
pi@raspberrypi:~ $ tvservice -s
state 0x120006 [DVI DMT (4) RGB full 4:3], 640x480 @ 60.00Hz, progressive
Rebooting the raspberry pi causes the TV to now display a spinning LG cube that states "Invalid format".
Logging back into the raspberry pi and running tvservice gets the following

Code: Select all


pi@raspberrypi:~ $ tvservice -m CEA
Group CEA has 8 modes:
           mode 1: 640x480 @ 60Hz 4:3, clock:25MHz progressive
           mode 2: 720x480 @ 60Hz 4:3, clock:27MHz progressive
           mode 3: 720x480 @ 60Hz 16:9, clock:27MHz progressive
           mode 4: 1280x720 @ 60Hz 16:9, clock:74MHz progressive
           mode 5: 1920x1080 @ 60Hz 16:9, clock:74MHz interlaced
  (prefer) mode 16: 1920x1080 @ 60Hz 16:9, clock:148MHz progressive
           mode 32: 1920x1080 @ 24Hz 16:9, clock:74MHz progressive
           mode 34: 1920x1080 @ 30Hz 16:9, clock:74MHz progressive
pi@raspberrypi:~ $ tvservice -m DMT
Group DMT has 5 modes:
           mode 4: 640x480 @ 60Hz 4:3, clock:25MHz progressive
           mode 9: 800x600 @ 60Hz 4:3, clock:40MHz progressive
           mode 16: 1024x768 @ 60Hz 4:3, clock:65MHz progressive
           mode 35: 1280x1024 @ 60Hz 5:4, clock:108MHz progressive
           mode 39: 1360x768 @ 60Hz 16:9, clock:85MHz progressive
pi@raspberrypi:~ $ tvservice -s
state 0x12000a [HDMI CEA (16) RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive
I have tried various DMT & CEA settings in the config.txt - I usually get a spinning LG cube that states "Invalid format"

When the settings work, I get an 1152 x 800 or 1152 x <whatever vertical resolution>

I *did* get HDMI 1080p working with the following work around - I started the Pi up attached to a standard LCD(Dell) monitor, then once it was up, unplugged it from the monitor and attached it to the TV and it worked with 1080p

When I tried the opposite direction(unplugged from TV and plugged into monitor) I got an error on the LCD monitor of "Input Clock speed not supported" or something.

Here's the "working" tvservice -s when I hotplugged it over to the TV

Code: Select all

pi@raspberrypi:~ $ tvservice -s
state 0x12000a [HDMI CEA (16) RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive
When I reboot, however, the LG tv no longer works and displays "Invalid Format" again.

User avatar
Gerd
Posts: 66
Joined: Wed Mar 16, 2016 10:48 am
Location: Europe

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

Tue Apr 05, 2016 1:23 pm

clutchdude wrote:
Here's the config.txt

Code: Select all

# Enable audio (loads snd_bcm2835)
dtparam=audio=on
dtoverlay=vc4-kms-v3d
gpu_mem=64
hdmi_force_hotplug=1
disable_overscan=1
So you enabled the experimental OpenGL driver. But the OpenGL driver does not care about CEA and DMT settings in config.txt! (See viewtopic.php?p=906709#p906709 )
I would disable the experimental driver in raspi-config, not only in config.txt, because there is more to adjust, and raspi-config does it. Then set DMT/CEA Mode to your TVs native resolution and it should work.

clutchdude
Posts: 2
Joined: Mon Apr 04, 2016 7:23 pm
Location: Austin, TX

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

Tue Apr 05, 2016 3:49 pm

Fixed - should have gone back and disabled it - Thanks!

romermsp
Posts: 5
Joined: Fri Apr 22, 2016 3:39 pm

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

Fri Apr 22, 2016 4:55 pm

It's my first post.
My Pi Displays well on a HDMI TV when it boot,
but the TV get no signal if no user action(keyboard or mouse) for several minutes,
and when I press a key or mouse then the TV displays again.
I had already set 'hdmi_force_hotplug=1' but no effect.
Is it any way to keeps it display even if no user input?

zombie11
Posts: 2
Joined: Sat May 14, 2016 9:19 am

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

Sat May 14, 2016 9:23 am

Hi, I have a 6 inch display with a resolution of 2560x1440 and mini-HDMI input.

I've tried many different settings on config.txt but I just can't get any image.
Even tried with Arch linux and Raspbian Jessie Desktop and Lite.

Anyone has a solution for me?

Thanks in advance.

blueshap
Posts: 1
Joined: Wed May 25, 2016 6:35 pm

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

Thu May 26, 2016 5:41 pm

Hey, I'm new to the forums, and I was looking for a little help,

I've been working on a retropie-based project for a while now. For this project, I've used a monitor with VGA output, so I bought a converter, and edited the config.txt file to support VGA. For the longest time I used a RPi B+ but I've since bought the RPi 3 for stronger processing. However, when I tried different configs, I've gotten results from a blank screen, to flashing on and off, or even flickering with the wrong colors.

Does anyone know if there's specific configs that I need on the RPi 3? I'm no linux expert, so some help would be appreciated

The monitor is a samsung sync master 920NW, and has a 1440 x 900 resolution, and a 60 or 75 Hz refresh rate.
The adapter is an abelconn hdmi2vgad adapter.

pingpong2012
Posts: 28
Joined: Mon Mar 30, 2015 1:09 am

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

Thu Jun 02, 2016 2:04 am

Here's a troubling problem: If I change the resolution on my pi for a specific monitor (1280x1024) the buffer resolution won't change. Edit: I don't want to set the resolution specifically in config.txt because I want to use different monitors. If there was a simple way to set the resolution based on an if-then with the EDID information, I'd love to hear it.

Here's the long story:

I'm using an HDMI-VGA adapter that otherwise works perfectly (for other monitors, bigger and smaller), but the monitor I'm using is 1280x1024 with a "preferred" mode of 1280x720. There is no native resolution listed, according to tvservice.

I can change the resolution with tvservice, and the screen goes black (according to some threads, if x11-xserver-utils is installed the screen should autorefresh, but it doesn't for me). I can do: fbset -depth 8 && fbset -depth 16, which refreshes the terminal but I still have to move stuff around the screen to refresh. The framebuffer size is mis-matched, but centered.

If I do not do the fbset commands, I can ctrl-alt-backspace to go to the log-in screen. The resolution IS 1280x1024, but the screen is actually 1196x668 with black borders according to fbset. I can manually try to set the framebuffer by doing:

fbset -g 1280 1024 1280 1024 8
or
fbset -g 1280 1024 1280 1024 16

Both of which sometimes freeze the system, but always turn the screen black (and cannot be returned from via fbset) If I do:

fbset 1280x1024-60 > /home/pi/Desktop/log.txt

The screen turns black, I cannot set the fb depth to return to the terminal, but I can read on reboot:

Code: Select all


mode "1280x1024-60"
    #D: 107.991 MHz, H: 63.976 kHz, V: 60.015 Hz
    geometry 1280 1024 1280 1024 8
    timings 9260 248 48 38 1 112 3
    hsync high
    vsync high
    accel true
    rgba 8/0, 8/0, 8/0, 0/0
endmode

The actual framebuffer size differs from what tvservice is reporting, because I can do fbset -i and receive:

Code: Select all


mode "1184x624"
    geometry 1184 624 1184 624 16
    timings 0 0 0 0 0 0 0
    rgba 5/11,6/5,5/0,0/16
endmode

Frame buffer device information:
    Name             : BCM2708 FB
    Address         : 0x3da92000
    Size                : 1477632
    Type               : PACKED PIXELS
    Visual             : TRUECOLOR
    XPanStep      : 1
    YPanStep      : 1
    YWrapStep   : 0
    LineLength    : 2368
    Accelerator   : No

I almost finished my post before I found that if I open up Minecraft Pi, the surface is actually drawn partially off-screen, even though the window is centered on the desktop.

P.s. I really, really wish there was a gui for this stuff. I guess there was one before, but it was always broken. Even a gui that just prepares the commands from menus and executes them (the mode/group, depth, and refresh).



romermsp wrote:
That's the screensaver. From viewtopic.php?t=57552

Download the latest xscreensaver from https://www.jwz.org/xscreensaver/ , compile with ./configure, make, make install and then "In the [Display Mode] tab, set like this - Mode: [Disable Screen Saver]". The old version in the Pi repository nags you on start-up that it is out of date, but works (it's insecure according to the developer).
zombie11 wrote: Hi, I have a 6 inch display with a resolution of 2560x1440 and mini-HDMI input.

I've tried many different settings on config.txt but I just can't get any image.
The Raspberry PI shouldn't support 2560x1440. The HDMI standard according to viewtopic.php?t=83446&f=91 is 1.3a, and 1.3a does not do 2560x1440.
blueshap wrote: However, when I tried different configs, I've gotten results from a blank screen, to flashing on and off, or even flickering with the wrong colors.
There is the HDMI overdrive setting in the config, which provides more power to the HDMI port (the highest value is 7 I think). The Pi3 is also picky about the voltage, from what I've read it prefers at least 5.1V, not 5V or lower. Any normal supply I used (all 2.1A or higher) gave the undervoltage warning, and only with a pi-specific 2.5A supply "CanaKit 5V 2.5A" did the warning stop. I did not have any issues on the other supplies except the flashing rainbow square. If I enabled OpenGL, the pi crashes on the portable supplies, if not the wired ones too. All of the supplies worked for the Pi 2B without any rainbow square or problems. Some posts say you can disable wifi and bluetooth to save some power.

One of the official supplies is https://thepihut.com/collections/raspbe ... wer-supply . I thought I had the official supply but I was mistaken. The official supply is 5.1V.

nicemachines
Posts: 6
Joined: Sun Apr 03, 2016 8:28 pm

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

Sat Jun 04, 2016 2:40 pm

I haven't read this entire thread, but getting a X-105 expansion board is a great way of using VGA and having an additional card reader and the backup of a watch battery, like we are all used to having.

texy
Forum Moderator
Forum Moderator
Posts: 5071
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

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

Sun Jun 05, 2016 4:03 pm

nicemachines wrote:I haven't read this entire thread, but getting a X-105 expansion board is a great way of using VGA and having an additional card reader and the backup of a watch battery, like we are all used to having.
Not sure of the point of this post, which is off-topic.....please keep comments on topic.
Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

Return to “Troubleshooting”

Who is online

Users browsing this forum: harms, NoSheds and 34 guests