Re: Prevent turning off external monitor when playing audio though HDMI

2019-11-26 Thread Rex Dieter
Robert Mihaly wrote:


> I'll try to ask over at Spotify as well. Is this[1] the API you
> mentioned?
> 
> [1]: https://www.freedesktop.org/wiki/Software/systemd/inhibit/

I believe so, yes.

-- Rex
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Prevent turning off external monitor when playing audio though HDMI

2019-11-23 Thread Robert Mihaly
On Sat, 2019-11-23 at 12:39 -0700, stan via users wrote:
> No, I meant the setting in the screensaver  itself.  It separates
> into
> three timers under 'Display Power Management':
> Standby after xxx minutes
> Suspend after xxx minutes
> Off after xxx minutes
> 
> But, I see now that it is Xscreensaver, and in Gnome you will be
> using
> Wayland.  Also, it doesn't meet your requirement that it happen only
> when the display is being used.  So, it wouldn't meet your needs,
> and,
> as Rex said, you need to somehow gain that ability for your
> application.

Ah right, I see what you mean. My confusion came from that I don't use
a separate screensaver just GDM/Gnome shell and don't have those
options directly. I don't use Wayland because of NVIDIA optimus and
stuff, but it might not be relevant here anyway.

Yes, I agree about the application support, I reached out to Spotify
about this question, but would be great if someone could point me to
some API other apps like Totem use to suspend power management when
something is playing.

Thanks,
Robert
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Prevent turning off external monitor when playing audio though HDMI

2019-11-23 Thread stan via users
On Sat, 23 Nov 2019 16:40:48 +0100
Robert Mihaly  wrote:

> I think you mean this setting:
> 
> $ gsettings describe org.gnome.desktop.session idle-delay
> The number of seconds of inactivity before the session is considered
> idle.
> 
> Yeah, I guess I could use that to disable the screen saver, but was
> thinking about something that would work automatically and inhibit it
> only when the music is playing through HDMI for example.

No, I meant the setting in the screensaver  itself.  It separates into
three timers under 'Display Power Management':
Standby after xxx minutes
Suspend after xxx minutes
Off after xxx minutes

But, I see now that it is Xscreensaver, and in Gnome you will be using
Wayland.  Also, it doesn't meet your requirement that it happen only
when the display is being used.  So, it wouldn't meet your needs, and,
as Rex said, you need to somehow gain that ability for your application.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Prevent turning off external monitor when playing audio though HDMI

2019-11-23 Thread Robert Mihaly
On Sat, 2019-11-23 at 08:00 -0700, stan via users wrote:
> I notice in the screensaver preferences, the advanced tab, that a
> timeout can be set for turning off the power to the device.  Perhaps
> you could use that?  I haven't tried this, so don't know if it will
> work.

I think you mean this setting:

$ gsettings describe org.gnome.desktop.session idle-delay
The number of seconds of inactivity before the session is considered
idle.

Yeah, I guess I could use that to disable the screen saver, but was
thinking about something that would work automatically and inhibit it
only when the music is playing through HDMI for example.

I have this functionality with video players, e.g. Totem would prevent
turning off the monitor when I play a video on it. I am looking for
this functionality for music players and wondering if Spotify has a way
to do this.

- Robert

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Prevent turning off external monitor when playing audio though HDMI

2019-11-23 Thread Robert Mihaly
On Sat, 2019-11-23 at 09:26 -0600, Rex Dieter wrote:
> What application are you using to play audio?

I am using Spotify from Flathub, couldn't find anything in the
application settings. Is there perhaps another spotify client that
supports the inhibit power-management functionality? Or do other music
players like Rhythmbox support this?

I'll try to ask over at Spotify as well. Is this[1] the API you
mentioned?

[1]: https://www.freedesktop.org/wiki/Software/systemd/inhibit/
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Prevent turning off external monitor when playing audio though HDMI

2019-11-23 Thread Rex Dieter
Robert Mihaly wrote:

> Hi everyone,
> 
> I have an external monitor connected via HDMI which has better sounding
> speakers than the internal ones. Sometimes I leave the machine idle while
> keep playing audio on it, but shortly after the lock screen kicks the
> external monitor is turned off (power saving I guess) and the audio
> switches back to the internal speakers. I use Fedora Workstation 31, Gnome
> 3.34.1, PulseAudio 13.0, Kernel 5.3.11.
> 
> Does anyone know about a way to prevent turning off the external monitor
> when audio is being played through the HDMI port? 

Yes, there's a well-known API to inhibit power-management for media players.

What application are you using to play audio?

For example, I know that vlc supports the api for when video is playing, but 
apparently not for audio-only unfortunately.
Reference: https://forum.videolan.org/viewtopic.php?t=144664

-- Rex
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Prevent turning off external monitor when playing audio though HDMI

2019-11-23 Thread stan via users
On Sat, 23 Nov 2019 14:03:45 -
"Robert Mihaly"  wrote:

> Hi everyone,
> 
> I have an external monitor connected via HDMI which has better
> sounding speakers than the internal ones. Sometimes I leave the
> machine idle while keep playing audio on it, but shortly after the
> lock screen kicks the external monitor is turned off (power saving I
> guess) and the audio switches back to the internal speakers. I use
> Fedora Workstation 31, Gnome 3.34.1, PulseAudio 13.0, Kernel 5.3.11.
> 
> Does anyone know about a way to prevent turning off the external
> monitor when audio is being played through the HDMI port? I would
> still like to have the lock screen, even blanking it, but without
> turning it off and keep using the external monitor speakers.
> Currently I use Spotify from Flathub for playing music and when I
> make a break and leave the music on, after few minutes it switches
> back to the internal speakers, that have worse quality especially if
> I am away from the machine.

I notice in the screensaver preferences, the advanced tab, that a
timeout can be set for turning off the power to the device.  Perhaps
you could use that?  I haven't tried this, so don't know if it will
work.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Prevent turning off external monitor when playing audio though HDMI

2019-11-23 Thread Robert Mihaly
Hi everyone,

I have an external monitor connected via HDMI which has better sounding 
speakers than the internal ones. Sometimes I leave the machine idle while keep 
playing audio on it, but shortly after the lock screen kicks the external 
monitor is turned off (power saving I guess) and the audio switches back to the 
internal speakers. I use Fedora Workstation 31, Gnome 3.34.1, PulseAudio 13.0, 
Kernel 5.3.11.

Does anyone know about a way to prevent turning off the external monitor when 
audio is being played through the HDMI port? I would still like to have the 
lock screen, even blanking it, but without turning it off and keep using the 
external monitor speakers. Currently I use Spotify from Flathub for playing 
music and when I make a break and leave the music on, after few minutes it 
switches back to the internal speakers, that have worse quality especially if I 
am away from the machine.

I have seen this same question raised in other forums [1][2][3], but couldn't 
see solutions, so wanted to try to ask here in case anyone knows a way to deal 
with this.

[1] https://askubuntu.com/questions/1165801/dpms-and-hdmi-audio
[2] https://trac.videolan.org/vlc/ticket/10865
[3] https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/451

Thanks,
Robert
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: no audio with HDMI

2013-05-11 Thread Wolfgang S. Rupprecht

Mike Wright mike.wri...@mailinator.com writes:
 I've connected the HDMI output from a PC to an HDTV's HDMI port.  The
 TV reports HDMI no audio.

 On the PC, PulseAudio Volume Control-Output Devices shows:

   HDA ATI HDMI Digital Stereo (HDMI)
   Port: HDMI/Display Port

Same problem here on an Asus M3A78T with AMD chipset.  In addition to no
audio, the videos play at ~10x speed over HDMI.  Over DVI to a computer
monitor they play normal speed and audio over the analog 1/8 jacks
works too.  HDMI support seems kind of rough all around.

-wolfgang
-- 
g+:  https://plus.google.com/114566345864337108516/about
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: no audio with HDMI

2013-05-11 Thread Mikkel L. Ellertson
On 05/10/2013 06:58 PM, Mike Wright wrote:
 Hi all,

 Need help from the audio gurus.

 f18, up to date.

 Anybody using their HDMI out for a TV?

 I've connected the HDMI output from a PC to an HDTV's HDMI port. 
 The TV reports HDMI no audio.

 On the PC, PulseAudio Volume Control-Output Devices shows:

   HDA ATI HDMI Digital Stereo (HDMI)
   Port: HDMI/Display Port

 followed by check boxes for various codecs.  PCM is checked but
 grayed-out/disabled (which is the one I think I need).

 Below that the Front-Left/Right volume control indicators *do*
 respond to the keyboard's volume keys and below that is a
 graphical sound indicator that matches the expected output.  All
 of that shows that the audio is making it into the system but is
 not making its way out.

 A hunch says PCM issue, but I really haven't a clue.  It would be
 very sweet to have this resolved.

 Thanks,
 Mike Wright
Dumb question - did you select HDMI as your default audio output, or
as the output for the program you are trying to play? Or did you
select the option to have audio go to both devices? On my system, it
defaulted to going just to the sound card.

One other thing - I remember having to set up a special loopback to
get an analog input to the sound card to go to the HDMI sound
output, but I can not remember how I did it right now. The audio
part of my monitor died, and I had to go back to a set of speakers
off the sound card. (Hardware problem - it does not work with the
analog input either.)

Mikkel

-- 
Do not meddle in the affairs of dragons, for thou art crunchy and
taste good with Ketchup!
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


no audio with HDMI

2013-05-10 Thread Mike Wright

Hi all,

Need help from the audio gurus.

f18, up to date.

Anybody using their HDMI out for a TV?

I've connected the HDMI output from a PC to an HDTV's HDMI port.  The TV 
reports HDMI no audio.


On the PC, PulseAudio Volume Control-Output Devices shows:

  HDA ATI HDMI Digital Stereo (HDMI)
  Port: HDMI/Display Port

followed by check boxes for various codecs.  PCM is checked but 
grayed-out/disabled (which is the one I think I need).


Below that the Front-Left/Right volume control indicators *do* respond 
to the keyboard's volume keys and below that is a graphical sound 
indicator that matches the expected output.  All of that shows that the 
audio is making it into the system but is not making its way out.


A hunch says PCM issue, but I really haven't a clue.  It would be very 
sweet to have this resolved.


Thanks,
Mike Wright
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: no audio with HDMI

2013-05-10 Thread Tom Horsley
On Fri, 10 May 2013 16:58:03 -0700
Mike Wright wrote:

HDA ATI HDMI Digital Stereo (HDMI)

I think there are versions of ATI cards without working
HDMI audio. Is it a very new model? I believe the support
is documented somewhere on the X.org wiki.

I also had HDMI just suddenly stop working on my Intel
output a few weeks ago, then suddenly start back up
again a few hours later. Never did figure that out.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: no audio with HDMI

2013-05-10 Thread Mike Wright

05/10/2013 05:34 PM, Tom Horsley wrote:

On Fri, 10 May 2013 16:58:03 -0700
Mike Wright wrote:


HDA ATI HDMI Digital Stereo (HDMI)


I think there are versions of ATI cards without working
HDMI audio. Is it a very new model? I believe the support
is documented somewhere on the X.org wiki.

I also had HDMI just suddenly stop working on my Intel
output a few weeks ago, then suddenly start back up
again a few hours later. Never did figure that out.



Nice to hear from you Tom.

My volume control popup showed up today ;)

Recent hardware is Gigabyte board with onboard audio:
  Audio device: Advanced Micro Devices [AMD] nee ATI RS880 HDMI Audio 
[Radeon HD 4200 Series]


chipset is Realtek ALC892.

Do you know where I could find a flowchart or some graphical 
representation of how things come in and things go out and they shake it 
all about?


alsa wiki about this was most recently updated three years ago.  pulse 
vs jack was also 3 years ago.


I know I can't be the only person wanting to understand fedora/linux sound.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org