LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-29-2019, 11:54 PM   #1
allpurpbox
LQ Newbie
 
Registered: Jan 2006
Posts: 11

Rep: Reputation: 0
HDMI Audio Sync


HDMI audio is out of sync by about 1 to 2 seconds in any desktop in multiple linux distros. Two things that fix it. The first is turning TV ON and OFF and the second is suspending and resuming the computer. Both are getting rather annoying to do after every reboot to sync audio.
 
Old 07-30-2019, 04:33 AM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Is the audio AHEAD of or BEHIND the video? I have an HDTV (old one) that has audio outs and compensates for it's sync issue. Otherwise audio will always be AHEAD of the video since it takes a while for the TV to show the image. More of an issue if you don't output audio from the TV. Persistence across multiple distros probably means a hardware issue/quirk. Some TVs just suck. Have all the distros been .deb based ones? Various flavors of ubuntu? Tried fedora / arch or other non .deb based distros?
 
Old 07-30-2019, 12:17 PM   #3
allpurpbox
LQ Newbie
 
Registered: Jan 2006
Posts: 11

Original Poster
Rep: Reputation: 0
The audio is behind the video by about 1.5 seconds, odd right? When I use the Intel integrated graphics HDMI output, video and audio sync fine but it is only 30 hz at 4K. With the NVIDIA 780 GTX HDMI, audio lags every boot. I would think it was a driver issue but it occurs with both the free open source driver and the proprietary NVIDIA driver. No I have pretty much only tried debian on it as well is Ubuntu very briefly. I’ve tried many distros over the years but have settled on Debian for both my desktop and server. I just like it.

The audio sync’s fine with the NVIDIA 780 GTX HDMI in windows 7, which I have since wiped off my desktop given it is reaching end of life, no more updates, in Jan 2020. I pretty much had Windows 7 for gaming but linuxing gaming is rapidly progressing.
 
Old 07-30-2019, 01:30 PM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
It's not a Linux issue. This is actually an engineering issue with the HDMI standard itself.

HDMI's Lip Sync and audio-video synchronization for broadcast and home video

Don't send audio over HDMI if you can avoid it.

(It's "fixed", as in it has workarounds available, as of HDMI 1.3. Some TVs have settings to explicitly enable these workarounds).

Last edited by dugan; 07-30-2019 at 02:03 PM.
 
Old 07-30-2019, 02:05 PM   #5
allpurpbox
LQ Newbie
 
Registered: Jan 2006
Posts: 11

Original Poster
Rep: Reputation: 0
If it is related to audio being processed faster as the article you linked says then why is audio coming a full 2 seconds late, not early? Also it does not explain why the NVIDIA HDMI works in windows and Intel HDMI works in windows and linux.
 
Old 07-30-2019, 04:55 PM   #6
allpurpbox
LQ Newbie
 
Registered: Jan 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Also the audio only sync's correctly if the TV is turned ON and OFF after logging into a desktop. Turning the TV ON and OFF while in the display manager before logging in has no effect. The same holds true with suspend and resume.

Last edited by allpurpbox; 07-30-2019 at 04:57 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HDMI Audio Sync allpurpbox Linux - Hardware 3 07-30-2019 04:51 PM
LXer: $50 Roku stick goes HDMI y HDMI with Chromecast LXer Syndicated Linux News 0 03-06-2014 01:00 PM
Is it possible to play Blu Ray through a video card HDMI output to HDMI TV? SharpyWarpy Linux - Hardware 5 10-28-2012 01:01 AM
[ProLiant MicroServer, ATI R6xx HDMI, Digital Out, HDMI] No HDMI sound at all vnatius Linux - Hardware 15 08-16-2012 01:09 PM
HDMI Audio doesn't work - Debian Squeeze (Intel HDMI) felipefv Linux - Hardware 8 02-06-2012 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration