Mailinglist Archive: opensuse-factory (454 mails)

< Previous Next >
Re: [opensuse-factory] Sound delayed when playing via HDMI
  • From: Freek de Kruijf <freek@xxxxxxxxxxxx>
  • Date: Tue, 26 Dec 2017 11:47:15 +0100
  • Message-id: <16644774.TrhcYeAW61@eiktum>
Op zondag 24 december 2017 07:48:49 CET schreef Simon Lees:
On 24/12/17 16:31, Basil Chupin wrote:
PS You don't mention whether you are using the sound on the mobo or a
PCI(e) sound card, nor which video card to be able to use VLC, nor which
monitor you have. Providing such info is most useful to have one's
problem resolved (often) quicker.

The sound goes through the graphical card:

# hwinfo --gfxcard

14: PCI 500.0: 0300 VGA compatible controller (VGA)
[Created at pci.378]
Unique ID: Ddhb.zvQlrOmSRQ8
Parent ID: _Znp.ZJmKoWxd6BF
SysFS ID: /devices/pci0000:00/0000:00:02.0/0000:05:00.0
SysFS BusID: 0000:05:00.0
Hardware Class: graphics card
Model: "ATI RV770 [Radeon HD 4850]"
Vendor: pci 0x1002 "ATI Technologies Inc"
Device: pci 0x9442 "RV770 [Radeon HD 4850]"
SubVendor: pci 0x1787 "Hightech Information System Ltd."
SubDevice: pci 0x2266
Driver: "radeon"
Driver Modules: "radeon"
Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
Memory Range: 0xfe9f0000-0xfe9fffff (rw,non-prefetchable)
I/O Ports: 0xe000-0xefff (rw)
Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
IRQ: 34 (38330 events)
I/O Ports: 0x3c0-0x3df (rw)
Module Alias: "pci:v00001002d00009442sv00001787sd00002266bc03sc00i00"
Driver Info #0:
Driver Status: radeon is active
Driver Activation Cmd: "modprobe radeon"
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #19 (PCI bridge)

I have two sound devices:

# hwinfo --sound
17: PCI 14.2: 0403 Audio device
[Created at pci.378]
Unique ID: 5Dex.BDUuYMOWyw7
SysFS ID: /devices/pci0000:00/0000:00:14.2
SysFS BusID: 0000:00:14.2
Hardware Class: sound
Model: "ATI SBx00 Azalia (Intel HDA)"
Vendor: pci 0x1002 "ATI Technologies Inc"
Device: pci 0x4383 "SBx00 Azalia (Intel HDA)"
SubVendor: pci 0x1002 "ATI Technologies Inc"
SubDevice: pci 0x4383
Revision: 0x40
Memory Range: 0xfe6f8000-0xfe6fbfff (rw,non-prefetchable)
IRQ: 10 (no events)
Module Alias: "pci:v00001002d00004383sv00001002sd00004383bc04sc03i00"
Driver Info #0:
Driver Status: snd_hda_intel is active
Driver Activation Cmd: "modprobe snd_hda_intel"
Config Status: cfg=yes, avail=yes, need=no, active=unknown

27: PCI 500.1: 0403 Audio device
[Created at pci.378]
Unique ID: 5yAR.dhjYDcGDBr3
Parent ID: _Znp.ZJmKoWxd6BF
SysFS ID: /devices/pci0000:00/0000:00:02.0/0000:05:00.1
SysFS BusID: 0000:05:00.1
Hardware Class: sound
Model: "ATI RV770 HDMI Audio [Radeon HD 4850/4870]"
Vendor: pci 0x1002 "ATI Technologies Inc"
Device: pci 0xaa30 "RV770 HDMI Audio [Radeon HD 4850/4870]"
SubVendor: pci 0x1787 "Hightech Information System Ltd."
SubDevice: pci 0xaa30
Driver: "snd_hda_intel"
Driver Modules: "snd_hda_intel"
Memory Range: 0xfe9ec000-0xfe9effff (rw,non-prefetchable)
IRQ: 36 (157 events)
Module Alias: "pci:v00001002d0000AA30sv00001787sd0000AA30bc04sc03i00"
Driver Info #0:
Driver Status: snd_hda_intel is active
Driver Activation Cmd: "modprobe snd_hda_intel"
Config Status: cfg=yes, avail=yes, need=no, active=unknown
Attached to: #19 (PCI bridge)

The system is configured to use the HDMI sound device as the default.

The thing that raises my attention is that both devices use the same driver,
snd_hda_intel.

If the sound is going through HDMI then the Video card that is
outputting the HDMI signal will also be treated as the sound card. Given
it is just forwarding the digital audio signal via HDMI it shouldn't be
doing much processing though.

Another thing to check is that your playback sample rate isn't too high
and matches one that can be sent over HDMI otherwise your sound card is
having to convert the digital signal which it may not be good at. I
don't know how to check / set that with pulse audio though.

I have no possibility to set anything in my monitor concerning sound, which is
an ACER.

# hwinfo --monitor
29: None 00.0: 10002 LCD Monitor
[Created at monitor.125]
Unique ID: rdCR.ukgc1_4VzS0
Parent ID: Ddhb.zvQlrOmSRQ8
Hardware Class: monitor
Model: "R231"
Vendor: ACR
Device: eisa 0x0504 "R231"
Serial ID: "T6GEE0012400"
Resolution: 720x400@70Hz
Resolution: 640x480@60Hz
Resolution: 640x480@67Hz
Resolution: 800x600@56Hz
Resolution: 800x600@60Hz
Resolution: 1024x768@60Hz
Resolution: 1024x768@70Hz
Resolution: 1152x864@75Hz
Resolution: 1280x1024@60Hz
Resolution: 1280x720@60Hz
Resolution: 1920x1080@60Hz
Size: 509x286 mm
Year of Manufacture: 2016
Week of Manufacture: 4
Detailed Timings #0:
Resolution: 1920x1080
Horizontal: 1920 2008 2052 2200 (+88 +132 +280) +hsync
Vertical: 1080 1084 1089 1125 (+4 +9 +45) +vsync
Frequencies: 148.50 MHz, 67.50 kHz, 60.00 Hz
Driver Info #0:
Max. Resolution: 1920x1080
Vert. Sync Range: 56-75 Hz
Hor. Sync Range: 31-75 kHz
Bandwidth: 148 MHz
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #8 (VGA compatible controller)

Besides, there was a suggestion to delay sound, but the problem is that the
sound is about one second later than what is on the screen. Mouse movement on
the screen is in sync with moving the mouse. The only solution is to have the
sound processing faster.

--
fr.gr.

member openSUSE
Freek de Kruijf



--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >