[RESOLVED] HDMIRx Passtrough not working

Post Reply
vsavu
Posts: 13
Joined: Tue Jan 08, 2019 1:16 pm
4kOpen Owner: Yes
[RESOLVED] HDMIRx Passtrough not working

Post by vsavu » Tue Jan 08, 2019 1:19 pm

I have followed the instructions at https://4kopen.com/wiki/hdmi-receive, but the passtrough is not working. HDMIRx is detected correctly and the troubleshooting step did not help. Can I provide more details to help? Output from hdmirx-capture:

Code: Select all

Configure for DVP capture
Configure Audio capture
HDMIRx: Hotplug detected: Status IN
HDMIRx: Signal Detected... ~~~~~~
Configure and start DVP capture
Reconfiguring output format of DVP for Main-VID
DVP output configured with pixel format: 0x7003
====================================
=====Supported Capture formats======
	Pixel code: 0x100a
		--Resizing caps--
		min_width : 120
		max_width : 1920
		min_height: 67
		max_height: 1080
	Pixel code: 0x7003
		--Resizing caps--
		min_width : 120
		max_width : 1920
		min_height: 67
		max_height: 1080
	Pixel code: 0x2008
		--Resizing caps--
		min_width : 120
		max_width : 1920
		min_height: 67
		max_height: 1080
====================================
====================================
	HDMIRx Video input properties
	Width      : 1920
	Height     : 1080
	PixelCode  : 0x100a
	Field      : 1
	Colorspace : 8
====================================
Configure and start Audio capture
====================================
	Codec             : 0
	Channel Count     : 2
	Sampling Freqeuncy: 48000
====================================

User avatar
attie
Posts: 21
Joined: Thu May 17, 2018 11:40 am
4kOpen Owner: Yes
Re: HDMIRx Passtrough not working

Post by attie » Tue Jan 08, 2019 3:24 pm

Hi vsavu,
  • Please could you confirm that the source isn't protected by HDCP? (for example a Blu-ray player)
    • Ideally use a PC to get baseline verification of functionality - without protected content active.
  • What system image are you using? (Raspbian / Starkl)
  • What do you see on the output? (desktop / blue / black / green / garbage)
I'll look into this in parallel.

Attie

vsavu
Posts: 13
Joined: Tue Jan 08, 2019 1:16 pm
4kOpen Owner: Yes
Re: HDMIRx Passtrough not working

Post by vsavu » Tue Jan 08, 2019 3:29 pm

  • We are using an AndroidTV mini player and a HDMI signal generator. Neither protect content with HDCP.
  • Raspbian
  • Desktop

User avatar
attie
Posts: 21
Joined: Thu May 17, 2018 11:40 am
4kOpen Owner: Yes
Re: HDMIRx Passtrough not working

Post by attie » Tue Jan 08, 2019 3:41 pm

Thanks.

Please could you try running the following:

Code: Select all

stfbset -a 0
This will make the graphics plane that the desktop is rendered onto fully transparent.
I have a feeling the HDMI Receive steps in the wiki were written for Starkl, so I'll update them if necessary.
Within Raspbian, the transparency for the graphics plane is managed in conjunction with applications like our port of Parole.

I'm getting a board up and running with a fresh Raspbian image to follow along if necessary.

Attie

User avatar
attie
Posts: 21
Joined: Thu May 17, 2018 11:40 am
4kOpen Owner: Yes
Re: HDMIRx Passtrough not working

Post by attie » Tue Jan 08, 2019 3:48 pm

I've just tested this through on Raspbian.

The full set of commands I used are as follows:

Code: Select all

# disable audio/video local playback to Main-VID/Mixer
media-ctl -l '"dvb0.video0":0->"Main-VID":0[0]'
media-ctl -l '"dvb0.audio0":0->"mixer0":0[0]'

# create audio path
media-ctl -l '"v4l2.audio0":1->"mixer0":0[1]'
media-ctl -l '"hdmirx0":2->"v4l2.audio0":0[1]'

# create video path
media-ctl -l '"v4l2.video0":1->"Main-VID":0[1]'
media-ctl -l '"hdmirx0":1->"dvp0":0[1]'
media-ctl -l '"dvp0":1->"v4l2.video0":0[1]'

# make the desktop transparent
stfbset -a 0

# run hdmirx passthrough
hdmirx-capture --dec-id=0 --dvp-start --aud-start --vid-capture-profile=2 --debug

vsavu
Posts: 13
Joined: Tue Jan 08, 2019 1:16 pm
4kOpen Owner: Yes
Re: HDMIRx Passtrough not working

Post by vsavu » Tue Jan 08, 2019 3:58 pm

It is now working. Thanks for the help.

User avatar
attie
Posts: 21
Joined: Thu May 17, 2018 11:40 am
4kOpen Owner: Yes
Re: HDMIRx Passtrough not working

Post by attie » Tue Jan 08, 2019 4:04 pm

Great! No problem.


Post Reply