Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a Gigabyte UD5H motherboard (Intel Z77 chipset) with onboard HDMI and an Intel i5 3750K CPU. I'm running Ubuntu 12.10 64 bit. I do not have a dedicated graphics card.

I have connected the PC to the TV over HDMI. The graphics seems to work fine (presumably the HD4000 integrated graphics are doing their thing correctly).

The problem I'm having is that on first boot, audio works OK over HDMI. If I turn the TV off but leave the PC on, audio no longer is available over HDMI. The graphics continue to work though.

If I go to Sound Settings, HDMI doesn't even show up as an available audio output (like it would on first boot).

I've tried killing and restarting pulseaudio but that doesn't work. Rebooting solves the issue but since the PC is a HTPC I can't keep rebooting it every time the TV is turned off!

Is there a way to fix this? Do I need any special drivers?

share|improve this question
    
How is audio out connected when the TV is off? Are there any other HDMI devices connected? –  Takkat Oct 27 '12 at 12:49
    
After a lot of tinkering about I may have solved things. I installed 'caffeine' to prevent Ubuntu from sleeping and I've hadn't had an issue since. –  Garry Oct 29 '12 at 14:26

1 Answer 1

When you turn off your TV, Ubuntu loses it's audio output (the TV); so it no longer makes that an option. Try running:

sudo alsa force-reload
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.