spwx
Posts: 7
Joined: Sat Jan 11, 2014 11:33 pm

hdmi_drive=2 changes colors

Sat Jan 18, 2014 5:37 pm

Hello, I am trying to get sound to work on my TV. I have two HDMI inputs labled:

HDMI 1 (DVI)
HDMI 2 (ARC)

I've tried both and can only get sound to work when adding "hdmi_drive=2" to the /boot/config.txt file.

On reboot boot i can get sound to work however it really fades the colors on the screen. Is there anyway to get both audio and vibrant color at the same time?

Thank you!

spwx
Posts: 7
Joined: Sat Jan 11, 2014 11:33 pm

Re: hdmi_drive=2 changes colors

Sat Jan 18, 2014 5:50 pm

Also is there a way to force the raspberry pi to tell me what hdmi_mode and hdmi_group it is auto detecting?

Thank you!

User avatar
DougieLawson
Posts: 39304
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: hdmi_drive=2 changes colors

Sat Jan 18, 2014 5:53 pm

Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

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

Re: hdmi_drive=2 changes colors

Sat Jan 18, 2014 7:12 pm

The "tvservice -s" command will show the current video type, group and mode.

Example on my main Pi

Code: Select all

rpdom@raspi:~$ tvservice -s
state 0x120016 [DVI DMT (35) RGB full 5:4], 1280x1024 @ 60Hz, progressive
So you can see I'm running group DMT (into a DVI-D monitor) and mode 35.

spwx
Posts: 7
Joined: Sat Jan 11, 2014 11:33 pm

Re: hdmi_drive=2 changes colors

Sun Jan 19, 2014 6:28 am

Thanks a lot guys! I learned a lot.

Basically i just tried a bunch of different hdmi_modes. They all had the same problem.

Whenever i set hdmi_drive=2 the colors at the terminal are faded.

User avatar
Burngate
Posts: 6313
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: hdmi_drive=2 changes colors

Sun Jan 19, 2014 10:41 am

HDMI is confusing, isn't it? Not least because TV manufacturers have their own ideas about what you should be wanting.
PixelEncoding.png
PixelEncoding.png (8.64 KiB) Viewed 1226 times
It sounds like the Pi is sending one of the "limited" encodings, while the TV is expecting "full"

spwx
Posts: 7
Joined: Sat Jan 11, 2014 11:33 pm

Re: hdmi_drive=2 changes colors

Sun Jan 19, 2014 5:25 pm

Thanks for the help, but no luck with those either. I tried all five.

I can't quite tell but it looks like only my terminal colors are being effected and X windows is fine. For now ill just set hdmi_drive=1 and use a head set for sound.

Return to “Troubleshooting”