miracle2k / onkyo-eiscp

Control Onkyo A/V receivers over the network; usuable as a script, or as a Python library.
MIT License
466 stars 110 forks source link

HDMI 4K enhanced mode as option? #145

Open rubin110 opened 1 year ago

rubin110 commented 1 year ago

TLDR can this library issue commands to switch between HDMI 4K Enhanced and Standard modes?

My Onkyo TX-NR787 has a secret menu to switch to"HDMI 4K Enhanced" mode, which enables 10-bit/12-bit support. In order to turn this feature on I have to go to the physical unit, while holding the BD/DVD input button also press the power button twice, then go back to the input I was on originally. This is turned on for the whole unit and not just for a single input. There is no way to do this from the remote.

image

image

My Chromecast with Google TV in HDR mode only outputs YCbCr4:2:2 12 bit at 60 Hz, while my PC in HDR mode can only spit out YCbCr4:2:0 8 bit at 60 Hz. When the receiver is in enhanced mode I can only view my Google TV however the input my PC is on just displays a blue screen. I can switch back to standard mode which makes my PC work, but then my Google TV switches to non-HDR with no option to switch it back to HDR.

It would be great if I could issue commands from this library to switch these modes and then just automate turning it on and off. I dug around this project but haven't found anything that would be related to this option. Could this be added?

Thank you.

mitchcapper commented 1 year ago

Just posted an updating protocol documentation file which includes how to do this. You can do it with raw commands right now:

"HSF" - HDMI 4K/8K Signal Format Command    
"00"    sets HDMI 4K/8K Signal Format:4K Standard
"01"    sets HDMI 4K/8K Signal Format:4K Enhanced
"02"    sets HDMI 4K/8K Signal Format:8K Standard
"03"    sets HDMI 4K/8K Signal Format:8K Enhanced
"UP"    sets HDMI 4K/8K Signal Format Wrap-Around Up
"QSTN"  gets HDMI 4K/8K Signal Format Status
rubin110 commented 1 year ago

Thank you so much!

The irony is that I got so frustrated with Onkyo making this such a dumb thing, that it prompted me to finally start my build-a-new-gaming-pc project and run a newer GPU that can spit out what's needed for enhanced mode. So I no longer have a need to auto switch the modes when switching inputs.

Thank you though!

rubin110 commented 1 year ago

I want to verify this so I can close out this ticket. Is it possible to do so with just the plain old onkyo binary?

mitchcapper commented 1 year ago

not sure the lib has receiver.raw that would work. In terms of officially command support wont be until the new file submitted is parsed to update the command db.

rubin110 commented 1 year ago

Coming back to this ticket. I don't have a good means of testing out this fix. Not sure if you would like me to close out this ticket or not.