Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any friendlier way to switch HDMI Audio on and off? #65

Open
saif-ellafi opened this issue Sep 3, 2021 · 4 comments
Open

Any friendlier way to switch HDMI Audio on and off? #65

saif-ellafi opened this issue Sep 3, 2021 · 4 comments

Comments

@saif-ellafi
Copy link

saif-ellafi commented Sep 3, 2021

Hi, question and reporting in here :)

Using a MSI GS65 Stealth - 2060 RTX and Tumbleweed

  1. Would be fantastic to unify the docs, I made it to achieve Nvidia Prime with Dynamic Power Management by reading a combination of various wiki pages and this GitHub - Just saying :)
  2. No need for me to use prime-select, on Nvidia mode + Enabling DynamicPowerManagement as explained here turns off the GPU successfully on demand. To my surprise and very positively, it evens turns on as I plug in an HDMI Monitor or TV and works perfectly fine (as opposed to other linux distributions I tried the same with). Power consumption is significantly lower when the GPU is turned off. prime-select would be for me unnecessary.
  3. As stated on this Git repo, HDMI Audio on my TV doesn't work :( I am not sure if any linux distribution achieves DynamicPowerManagement and HDMI Audio simultaneously. But definitely having to restart the system and change the udev rules is significantly unconvenient. Was wondering if it is being considered to find a way to detect HDMI mode and perhaps apply the udev rules on somewhat demand? Or at least something that doesn't require a full reboot.

Best regards and thanks for doing this!

@sndirsch
Copy link
Collaborator

sndirsch commented Sep 4, 2021

Unfortunately having both - HDMI Audio and DynamicPowerManagement - is not possible from the driver side. And indeed switching between these is unconvenient, but I'm not aware of making it easier (if you do please let me know). So basically you need to decide which one of these two is more important or more often used by yourself and then configure this appropriately. At least this issue is already documented and how to do it.

https://github.com/openSUSE/SUSEPrime#hdmi-audio-support-does-not-work

@saif-ellafi
Copy link
Author

Thank you. Will have to make research. At first I would think if there is anyway of reloading udev, but the typical udevadmn control --reload-rules doesn't do anything.

@un-kasimir
Copy link

Hey @sndirsch! Just as a follow-up question on this:

Did you consider adding an option within prime-select to enable/disable hdmi audio (and therefore disable/enable pm)? This would be more convenient than adding/removing comments in that udev file.

Besides that - thanks for all your work on this! You make it a lot easier to configure NVIDIA drivers!

@sndirsch
Copy link
Collaborator

sndirsch commented Oct 6, 2022

I think that would be possible. But it should be done in a proper way so you can see in the status which feature is enabled/disabled. Probably this option should only switch this setting. So you can do it after the initial config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants